/*
Theme Name: Micro Image
Theme URI: https://microimage.in
Author: Micro Image
Author URI: https://microimage.in
Description: Premium WordPress theme for Micro Image – Authorized APOLO SYSTEM CCTV & Security Solutions dealer in Agra. Features product catalogue, enquiry forms, WhatsApp CTA, and modern responsive design.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: micro-image
Tags: business, security, cctv, custom-post-types, responsive, e-commerce
*/

/* ================================================================
   DESIGN TOKENS
   ================================================================ */
:root {
  --white:        #FFFFFF;
  --off-white:    #F8F9FC;
  --bg-subtle:    #F0F3F9;

  --ink:          #0A0F1E;
  --ink-mid:      #1C2844;
  --ink-soft:     #364268;

  --blue:         #1B4FD8;
  --blue-dark:    #1338A8;
  --blue-light:   #3B6EF5;
  --blue-glow:    rgba(27,79,216,.12);
  --blue-pale:    #EEF3FF;

  --amber:        #F59E0B;
  --amber-light:  #FEF3C7;

  --body-text:    #4A5568;
  --muted:        #8892A4;
  --border:       #E4E9F2;

  --whatsapp:     #25D366;
  --success:      #10B981;

  --sh-xs:  0 1px 3px rgba(10,15,30,.06);
  --sh-sm:  0 2px 12px rgba(10,15,30,.08);
  --sh-md:  0 6px 28px rgba(10,15,30,.11);
  --sh-lg:  0 12px 48px rgba(10,15,30,.14);
  --sh-xl:  0 24px 72px rgba(10,15,30,.18);

  --r-xs: 4px;
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 20px;
  --r-xl: 28px;
  --r-full: 999px;

  --font-head: 'Syne', system-ui, sans-serif;
  --font-body: 'DM Sans', system-ui, sans-serif;

  --t: 240ms cubic-bezier(.4,0,.2,1);
  --container: 1240px;
}

/* ================================================================
   RESET & BASE
   ================================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--body-text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul, ol { list-style: none; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; }

/* ================================================================
   UTILITIES
   ================================================================ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.section-bg { background: var(--off-white); }
.section-dark { background: var(--ink); color: var(--white); }
.section-blue { background: var(--blue); color: var(--white); }

.section-header { margin-bottom: 52px; }
.section-header--center { text-align: center; }

.section-label {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: .75rem; font-weight: 600;
  letter-spacing: .1em; text-transform: uppercase;
  color: var(--blue); background: var(--blue-pale);
  padding: 5px 14px; border-radius: var(--r-full); margin-bottom: 16px;
}
.section-title {
  font-family: var(--font-head); font-size: clamp(1.9rem,4vw,2.8rem);
  font-weight: 800; color: var(--ink); line-height: 1.15; letter-spacing: -.02em;
}
.section-title span { color: var(--blue); }
.section-sub {
  font-size: 1.05rem; color: var(--body-text);
  max-width: 580px; margin-top: 14px; line-height: 1.7;
}
.section-header--center .section-sub { margin-left: auto; margin-right: auto; }

/* ================================================================
   BUTTONS
   ================================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font-body); font-size: .9rem; font-weight: 600;
  padding: 12px 26px; border-radius: var(--r-sm);
  transition: all var(--t); white-space: nowrap; cursor: pointer;
  border: 2px solid transparent;
}
.btn-primary { background: var(--blue); color: var(--white); border-color: var(--blue); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-1px); box-shadow: var(--sh-md); }
.btn-outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: var(--white); }
.btn-white { background: var(--white); color: var(--blue); border-color: var(--white); }
.btn-white:hover { background: var(--blue-pale); border-color: var(--blue-pale); }
.btn-outline-white { background: transparent; color: var(--white); border-color: rgba(255,255,255,.5); }
.btn-outline-white:hover { background: rgba(255,255,255,.1); border-color: var(--white); }
.btn-whatsapp { background: var(--whatsapp); color: var(--white); border-color: var(--whatsapp); }
.btn-whatsapp:hover { background: #1ebe59; border-color: #1ebe59; }
.btn-lg { padding: 15px 34px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

/* ================================================================
   ANIMATE ON SCROLL
   ================================================================ */
[data-aos] { opacity: 0; transform: translateY(28px); transition: opacity .6s ease, transform .6s ease; }
[data-aos].aos-active { opacity: 1; transform: none; }
[data-aos][data-delay="100"] { transition-delay: .1s; }
[data-aos][data-delay="200"] { transition-delay: .2s; }
[data-aos][data-delay="300"] { transition-delay: .3s; }
[data-aos][data-delay="400"] { transition-delay: .4s; }

/* ================================================================
   HEADER
   ================================================================ */
#mi-header {
  position: sticky; top: 0; z-index: 1000;
  background: rgba(255,255,255,.96); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow var(--t);
}
#mi-header.scrolled { box-shadow: var(--sh-md); }

.header-inner { display: flex; align-items: center; gap: 20px; height: 70px; }

.site-logo { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.logo-mark {
  width: 40px; height: 40px; background: var(--blue); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: .85rem; font-weight: 800;
  color: var(--white); letter-spacing: .05em; flex-shrink: 0;
}
.logo-mark img { width: 100%; height: 100%; object-fit: contain; border-radius: var(--r-sm); }
.logo-text .name {
  display: block; font-family: var(--font-head); font-size: 1.1rem;
  font-weight: 800; color: var(--ink); line-height: 1;
}
.logo-text .tagline {
  display: block; font-size: .65rem; font-weight: 500;
  color: var(--muted); letter-spacing: .06em; text-transform: uppercase; margin-top: 2px;
}

.primary-nav { display: flex; align-items: center; gap: 4px; margin-left: auto; }
.primary-nav a {
  padding: 7px 14px; border-radius: var(--r-sm);
  font-size: .88rem; font-weight: 500; color: var(--ink-soft); transition: all var(--t);
}
.primary-nav a:hover, .primary-nav a.active { color: var(--blue); background: var(--blue-pale); }

.header-actions { display: flex; align-items: center; gap: 10px; margin-left: 16px; }
.header-call {
  display: flex; align-items: center; gap: 7px;
  font-size: .83rem; font-weight: 600; color: var(--ink);
  padding: 8px 14px; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  transition: all var(--t);
}
.header-call:hover { border-color: var(--blue); color: var(--blue); }
.header-wa {
  display: flex; align-items: center; gap: 7px;
  font-size: .83rem; font-weight: 600; color: var(--white);
  padding: 8px 14px; background: var(--whatsapp); border-radius: var(--r-sm);
  transition: all var(--t);
}
.header-wa:hover { background: #1ebe59; }

/* Mobile toggle */
.nav-toggle {
  display: none; flex-direction: column; justify-content: space-between;
  width: 26px; height: 19px; margin-left: auto; padding: 0;
}
.nav-toggle span {
  display: block; height: 2.5px; background: var(--ink); border-radius: 2px;
  transition: all var(--t);
}
.nav-toggle.open span:nth-child(1) { transform: rotate(45deg) translate(6px,6px); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: rotate(-45deg) translate(6px,-6px); }

/* Mobile nav drawer */
.mobile-nav {
  position: fixed; top: 0; right: -100%; width: min(320px,100vw); height: 100vh;
  background: var(--white); z-index: 1100;
  padding: 24px; display: flex; flex-direction: column; gap: 0;
  box-shadow: var(--sh-xl); transition: right .35s cubic-bezier(.4,0,.2,1);
  overflow-y: auto;
}
.mobile-nav.open { right: 0; }
.mobile-nav-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; }
.mobile-close { font-size: 1.4rem; color: var(--muted); padding: 4px; }
.mobile-nav-links a {
  display: flex; align-items: center; gap: 12px; padding: 14px 0;
  font-size: .95rem; font-weight: 500; color: var(--ink-soft);
  border-bottom: 1px solid var(--border); transition: color var(--t);
}
.mobile-nav-links a:hover { color: var(--blue); }
.mobile-nav-actions { margin-top: 24px; display: flex; flex-direction: column; gap: 10px; }
.mobile-overlay {
  position: fixed; inset: 0; background: rgba(10,15,30,.5);
  z-index: 1099; opacity: 0; pointer-events: none; transition: opacity .35s ease;
}
.mobile-overlay.open { opacity: 1; pointer-events: all; }

/* ================================================================
   HERO
   ================================================================ */
.hero {
  position: relative; overflow: hidden;
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-mid) 50%, #0D2354 100%);
  padding: 80px 0 70px; min-height: 600px; display: flex; align-items: center;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(27,79,216,.12) 1px, transparent 0);
  background-size: 32px 32px;
}
.hero-inner {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 60px; align-items: center; position: relative; z-index: 1;
}
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(27,79,216,.3); border: 1px solid rgba(27,79,216,.5);
  color: #93B8FF; font-size: .75rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  padding: 6px 14px; border-radius: var(--r-full); margin-bottom: 22px;
}
.hero-badge-dot {
  width: 6px; height: 6px; background: #4ADE80;
  border-radius: 50%; animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity:1; transform:scale(1); } 50% { opacity:.5; transform:scale(1.4); } }

.hero h1 {
  font-family: var(--font-head); font-size: clamp(2.1rem,4.5vw,3.4rem);
  font-weight: 800; color: var(--white); line-height: 1.1;
  letter-spacing: -.025em; margin-bottom: 22px;
}
.hero h1 span { color: var(--blue-light); }
.hero-desc { font-size: 1.05rem; color: rgba(255,255,255,.75); max-width: 480px; line-height: 1.75; margin-bottom: 36px; }
.hero-buttons { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 50px; }
.hero-stats {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: 1px; background: rgba(255,255,255,.1);
  border-radius: var(--r-md); overflow: hidden; border: 1px solid rgba(255,255,255,.1);
}
.hero-stat { padding: 18px 12px; text-align: center; background: rgba(255,255,255,.05); }
.hero-stat-num { font-family: var(--font-head); font-size: 1.6rem; font-weight: 800; color: var(--white); }
.hero-stat-num span { font-size: 1rem; }
.hero-stat-label { font-size: .7rem; color: rgba(255,255,255,.55); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }

/* Hero Visual */
.hero-visual { position: relative; }
.hero-img-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  grid-template-rows: 200px 140px; gap: 12px;
  border-radius: var(--r-lg); overflow: hidden;
}
.hero-img-item { position: relative; overflow: hidden; background: var(--ink-mid); }
.hero-img-item:first-child { grid-column: 1 / -1; }
.hero-img-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.hero-img-item:hover img { transform: scale(1.05); }
.hero-float {
  position: absolute; bottom: -16px; left: -16px;
  background: var(--white); padding: 12px 18px; border-radius: var(--r-md);
  box-shadow: var(--sh-xl); display: flex; align-items: center; gap: 10px;
}
.hero-float-icon {
  width: 38px; height: 38px; background: var(--blue-pale); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; color: var(--blue);
}
.hero-float strong { display: block; font-size: .85rem; font-weight: 700; color: var(--ink); }
.hero-float span { font-size: .72rem; color: var(--muted); }
.hero-rating {
  position: absolute; top: -16px; right: -16px;
  background: var(--amber); color: var(--ink);
  padding: 8px 14px; border-radius: var(--r-md);
  font-size: .8rem; font-weight: 700; box-shadow: var(--sh-md);
}

/* ================================================================
   TRUST BAR
   ================================================================ */
.trust-bar { background: var(--white); border-bottom: 1px solid var(--border); padding: 18px 0; }
.trust-bar-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-icon {
  width: 36px; height: 36px; background: var(--blue-pale); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0;
}
.trust-text strong { display: block; font-size: .82rem; font-weight: 600; color: var(--ink); }
.trust-text span { font-size: .72rem; color: var(--muted); }

/* ================================================================
   ABOUT
   ================================================================ */
.about-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; align-items: center; }
.about-img-wrap { position: relative; }
.about-img-main { border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--sh-xl); aspect-ratio: 4/3; }
.about-img-main img { width: 100%; height: 100%; object-fit: cover; }
.about-badge {
  position: absolute; bottom: -20px; right: -20px;
  background: var(--blue); color: var(--white);
  padding: 16px 20px; border-radius: var(--r-lg);
  box-shadow: var(--sh-lg); text-align: center; min-width: 120px;
}
.about-badge .num { font-family: var(--font-head); font-size: 2rem; font-weight: 800; line-height: 1; }
.about-badge .lbl { font-size: .7rem; opacity: .8; margin-top: 4px; text-transform: uppercase; letter-spacing: .06em; }
.about-points { display: flex; flex-direction: column; gap: 14px; margin-top: 28px; }
.about-point {
  display: flex; align-items: flex-start; gap: 14px; padding: 16px;
  background: var(--off-white); border-radius: var(--r-md); border-left: 3px solid var(--blue);
}
.about-point-icon {
  width: 36px; height: 36px; background: var(--blue-pale); border-radius: var(--r-sm);
  display: flex; align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0;
}
.about-point-text strong { display: block; font-size: .88rem; font-weight: 600; color: var(--ink); margin-bottom: 2px; }
.about-point-text span { font-size: .8rem; color: var(--body-text); }

/* ================================================================
   PRODUCTS & CATEGORIES
   ================================================================ */
.filter-bar { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 40px; justify-content: center; }
.filter-btn {
  padding: 8px 20px; border-radius: var(--r-full);
  font-size: .83rem; font-weight: 600; cursor: pointer;
  border: 1.5px solid var(--border); background: var(--white);
  color: var(--body-text); transition: all var(--t);
}
.filter-btn:hover, .filter-btn.active { background: var(--blue); color: var(--white); border-color: var(--blue); }

.products-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 28px; }

.product-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); overflow: hidden;
  transition: all var(--t); display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-5px); box-shadow: var(--sh-lg); border-color: var(--blue); }
.product-card-img { position: relative; overflow: hidden; background: var(--bg-subtle); aspect-ratio: 4/3; }
.product-card-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.product-card:hover .product-card-img img { transform: scale(1.06); }
.product-cat-badge {
  position: absolute; top: 12px; left: 12px;
  background: var(--white); border: 1px solid var(--border);
  font-size: .68rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
  color: var(--blue); padding: 4px 10px; border-radius: var(--r-full);
}
.product-price-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--blue); color: var(--white);
  font-size: .82rem; font-weight: 700;
  padding: 5px 12px; border-radius: var(--r-full);
}
.product-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.product-card-model { font-size: .7rem; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); margin-bottom: 6px; }
.product-card-title { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.3; margin-bottom: 10px; }
.product-card-desc { font-size: .83rem; color: var(--body-text); line-height: 1.6; flex: 1; margin-bottom: 14px; }
.product-features { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 18px; }
.product-feat-tag { font-size: .68rem; font-weight: 500; background: var(--blue-pale); color: var(--blue); padding: 3px 9px; border-radius: var(--r-full); }
.product-card-footer { display: flex; gap: 8px; border-top: 1px solid var(--border); padding-top: 16px; }
.product-card-footer .btn { flex: 1; font-size: .8rem; padding: 9px 12px; }

/* Categories */
.categories-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 20px; }
.cat-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 28px 22px; text-align: center;
  cursor: pointer; transition: all var(--t);
}
.cat-card:hover { background: var(--blue); border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--sh-md); }
.cat-card:hover .cat-icon { background: rgba(255,255,255,.15); }
.cat-card:hover .cat-name { color: var(--white); }
.cat-card:hover .cat-count { color: rgba(255,255,255,.75); }
.cat-icon {
  width: 56px; height: 56px; background: var(--blue-pale); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 14px; color: var(--blue); transition: all var(--t);
}
.cat-name { font-family: var(--font-head); font-size: .92rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; transition: color var(--t); }
.cat-count { font-size: .75rem; color: var(--muted); transition: color var(--t); }

/* ================================================================
   WHY CHOOSE US
   ================================================================ */
.why-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px,1fr)); gap: 28px; }
.why-card { padding: 28px; background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); transition: all var(--t); }
.why-card:hover { border-color: var(--blue); box-shadow: var(--sh-md); transform: translateY(-3px); }
.why-card-icon { width: 52px; height: 52px; background: var(--blue); border-radius: var(--r-md); display: flex; align-items: center; justify-content: center; margin-bottom: 16px; color: var(--white); }
.why-card h3 { font-family: var(--font-head); font-size: 1rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.why-card p { font-size: .85rem; color: var(--body-text); line-height: 1.7; }

/* ================================================================
   PROCESS
   ================================================================ */
.process-steps { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 0; position: relative; }
.process-steps::before {
  content: ''; position: absolute; top: 36px; left: 10%; right: 10%;
  height: 2px; background: linear-gradient(90deg, var(--blue), var(--blue-light)); z-index: 0;
}
.process-step { padding: 0 20px; text-align: center; position: relative; z-index: 1; }
.process-num {
  width: 72px; height: 72px; background: var(--blue); color: var(--white);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: 1.3rem; font-weight: 800;
  margin: 0 auto 20px; border: 4px solid var(--white); box-shadow: var(--sh-md);
}
.process-title { font-family: var(--font-head); font-size: .95rem; font-weight: 700; color: var(--ink); margin-bottom: 8px; }
.process-desc { font-size: .82rem; color: var(--body-text); line-height: 1.6; }

/* ================================================================
   INDUSTRIES
   ================================================================ */
.industries-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px,1fr)); gap: 14px; }
.industry-card {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 14px; background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-md); text-align: center; transition: all var(--t);
}
.industry-card:hover { background: var(--blue-pale); border-color: var(--blue); }
.industry-icon { color: var(--blue); }
.industry-name { font-size: .78rem; font-weight: 600; color: var(--ink-soft); }

/* ================================================================
   GALLERY
   ================================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(3,1fr); grid-template-rows: auto auto; gap: 16px; }
.gallery-item { border-radius: var(--r-md); overflow: hidden; cursor: pointer; position: relative; background: var(--bg-subtle); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gallery-item:nth-child(1) { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-item:nth-child(2) { aspect-ratio: 1/1; }
.gallery-item:nth-child(3) { aspect-ratio: 1/1; }
.gallery-item:nth-child(4) { grid-column: span 2; aspect-ratio: 16/9; }
.gallery-item:nth-child(5) { aspect-ratio: 1/1; }
.gallery-overlay {
  position: absolute; inset: 0; background: rgba(27,79,216,.5);
  display: flex; align-items: center; justify-content: center;
  opacity: 0; transition: opacity var(--t);
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay svg { color: var(--white); }

/* ================================================================
   TESTIMONIALS
   ================================================================ */
.testi-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px,1fr)); gap: 24px; }
.testi-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 28px; transition: all var(--t); }
.testi-card:hover { box-shadow: var(--sh-md); border-color: var(--blue); }
.testi-stars { display: flex; gap: 3px; margin-bottom: 14px; color: var(--amber); font-size: 1.1rem; }
.testi-text { font-size: .9rem; color: var(--body-text); line-height: 1.7; margin-bottom: 18px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 42px; height: 42px; border-radius: 50%; background: var(--blue);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-size: .85rem; font-weight: 700; color: var(--white); flex-shrink: 0;
}
.testi-name { font-size: .88rem; font-weight: 600; color: var(--ink); }
.testi-role { font-size: .75rem; color: var(--muted); }

/* ================================================================
   FAQ
   ================================================================ */
.faq-list { max-width: 760px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-md); overflow: hidden; }
.faq-q {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 22px; cursor: pointer;
  font-size: .93rem; font-weight: 600; color: var(--ink); transition: background var(--t);
}
.faq-q:hover { background: var(--blue-pale); }
.faq-q.open { background: var(--blue); color: var(--white); }
.faq-icon { flex-shrink: 0; transition: transform var(--t); }
.faq-q.open .faq-icon { transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .35s ease, padding .35s ease; font-size: .87rem; color: var(--body-text); line-height: 1.7; padding: 0 22px; }
.faq-a.open { max-height: 200px; padding: 16px 22px; }

/* ================================================================
   CONTACT
   ================================================================ */
.contact-inner { display: grid; grid-template-columns: 1fr 1.4fr; gap: 60px; align-items: start; }
.contact-info { display: flex; flex-direction: column; gap: 24px; }
.contact-info-item { display: flex; gap: 16px; align-items: flex-start; }
.contact-info-icon {
  width: 44px; height: 44px; background: var(--blue-pale); border-radius: var(--r-md);
  display: flex; align-items: center; justify-content: center; color: var(--blue); flex-shrink: 0;
}
.contact-info-item strong { display: block; font-size: .82rem; font-weight: 700; color: var(--ink); text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.contact-info-item span { font-size: .9rem; color: var(--body-text); }
.contact-map { height: 200px; border-radius: var(--r-lg); overflow: hidden; border: 1px solid var(--border); margin-top: 24px; }
.contact-map iframe { width: 100%; height: 100%; border: none; }

.contact-form { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 36px; }
.contact-form h3 { font-family: var(--font-head); font-size: 1.4rem; font-weight: 800; color: var(--ink); margin-bottom: 6px; }
.contact-form > p { font-size: .85rem; color: var(--muted); margin-bottom: 28px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: .78rem; font-weight: 600; color: var(--ink); letter-spacing: .03em; }
.form-group input, .form-group select, .form-group textarea {
  padding: 11px 14px; border: 1.5px solid var(--border); border-radius: var(--r-sm);
  font-family: var(--font-body); font-size: .9rem; color: var(--ink);
  background: var(--off-white); transition: border-color var(--t); outline: none;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  border-color: var(--blue); background: var(--white);
}
.form-group textarea { resize: vertical; min-height: 100px; }

/* ================================================================
   CTA BANNER
   ================================================================ */
.cta-banner {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: var(--r-xl); padding: 56px; text-align: center;
  position: relative; overflow: hidden;
}
.cta-banner::before { content: ''; position: absolute; top: -60px; right: -60px; width: 240px; height: 240px; background: rgba(255,255,255,.05); border-radius: 50%; }
.cta-banner::after { content: ''; position: absolute; bottom: -80px; left: -40px; width: 300px; height: 300px; background: rgba(255,255,255,.03); border-radius: 50%; }
.cta-banner h2 { font-family: var(--font-head); font-size: clamp(1.7rem,3.5vw,2.4rem); font-weight: 800; color: var(--white); margin-bottom: 12px; position: relative; z-index: 1; }
.cta-banner p { color: rgba(255,255,255,.8); font-size: 1.02rem; margin-bottom: 32px; position: relative; z-index: 1; }
.cta-banner-btns { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; position: relative; z-index: 1; }

/* ================================================================
   PAGE HERO (inner pages)
   ================================================================ */
.page-hero {
  background: linear-gradient(135deg, var(--ink) 0%, var(--ink-mid) 100%);
  padding: 60px 0 50px; color: var(--white);
}
.page-hero-label { font-size: .75rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--blue-light); margin-bottom: 10px; }
.page-hero-title { font-family: var(--font-head); font-size: clamp(1.8rem,4vw,2.6rem); font-weight: 800; color: var(--white); }
.page-hero-sub { font-size: .95rem; color: rgba(255,255,255,.65); margin-top: 8px; }

/* Breadcrumb */
.mi-breadcrumb { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; }
.mi-breadcrumb a, .mi-breadcrumb span { font-size: .78rem; color: rgba(255,255,255,.55); }
.mi-breadcrumb a:hover { color: var(--white); }
.mi-breadcrumb-sep { color: rgba(255,255,255,.3); }

/* ================================================================
   PRODUCT DETAIL PAGE
   ================================================================ */
.product-detail { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start; }
.product-gallery { }
.product-main-img { border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 4/3; background: var(--bg-subtle); margin-bottom: 12px; }
.product-main-img img { width: 100%; height: 100%; object-fit: cover; }
.product-thumbs { display: flex; gap: 10px; flex-wrap: wrap; }
.product-thumb { width: 72px; height: 72px; border-radius: var(--r-sm); overflow: hidden; border: 2px solid var(--border); cursor: pointer; transition: all var(--t); padding: 0; }
.product-thumb.active, .product-thumb:hover { border-color: var(--blue); }
.product-thumb img { width: 100%; height: 100%; object-fit: cover; }

.inquiry-box { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); padding: 28px; position: sticky; top: 88px; }
.inquiry-box-title { font-family: var(--font-head); font-size: 1.25rem; font-weight: 800; color: var(--ink); margin-bottom: 8px; }
.inquiry-box-sub { font-size: .9rem; color: var(--body-text); margin-bottom: 16px; }
.inquiry-box-btns { display: flex; flex-direction: column; gap: 10px; }
.inquiry-divider { text-align: center; font-size: .78rem; color: var(--muted); position: relative; }
.inquiry-divider::before, .inquiry-divider::after { content: ''; position: absolute; top: 50%; width: 42%; height: 1px; background: var(--border); }
.inquiry-divider::before { left: 0; }
.inquiry-divider::after { right: 0; }

/* Badges */
.badge { display: inline-flex; align-items: center; padding: 4px 10px; border-radius: var(--r-full); font-size: .72rem; font-weight: 600; }
.badge-navy { background: var(--ink); color: var(--white); }
.badge-green { background: var(--success); color: var(--white); }
.badge-sky { background: var(--blue-pale); color: var(--blue); }

/* Product features & specs */
.product-features-title, .product-specs-title, .product-suitable-title { font-family: var(--font-head); font-size: 1.1rem; font-weight: 700; color: var(--ink); margin-bottom: 14px; }
.product-features-list { display: flex; flex-direction: column; gap: 8px; }
.product-features-list li { display: flex; align-items: flex-start; gap: 10px; font-size: .9rem; color: var(--body-text); }
.feature-check { width: 20px; height: 20px; background: var(--success); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--white); flex-shrink: 0; margin-top: 2px; }
.specs-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 10px 14px; }
.specs-table td:first-child { font-weight: 600; color: var(--ink); background: var(--off-white); width: 40%; }
.specs-table td:last-child { color: var(--body-text); }
.suitable-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.suitable-tag { padding: 6px 14px; background: var(--blue-pale); color: var(--blue); border-radius: var(--r-full); font-size: .82rem; font-weight: 500; }

/* ================================================================
   FOOTER
   ================================================================ */
#mi-footer { background: var(--ink); color: rgba(255,255,255,.75); }
.footer-main { padding: 72px 0 48px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 48px; }
.footer-brand .logo-mark { background: var(--blue); }
.footer-brand .logo-text .name { color: var(--white); }
.footer-brand .logo-text .tagline { color: rgba(255,255,255,.4); }
.footer-brand > p { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.7; margin-top: 16px; margin-bottom: 20px; }
.footer-social { display: flex; gap: 8px; }
.social-btn {
  width: 34px; height: 34px; background: rgba(255,255,255,.08);
  border-radius: var(--r-sm); display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.6); transition: all var(--t);
}
.social-btn:hover { background: var(--blue); color: var(--white); }
.footer-col h4 { font-family: var(--font-head); font-size: .82rem; font-weight: 700; color: var(--white); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 20px; }
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a { font-size: .84rem; color: rgba(255,255,255,.55); transition: color var(--t); display: flex; align-items: center; gap: 6px; }
.footer-links a:hover { color: var(--white); }
.footer-contact-item { display: flex; gap: 10px; margin-bottom: 14px; align-items: flex-start; }
.footer-contact-item svg { flex-shrink: 0; margin-top: 3px; color: var(--blue); }
.footer-contact-item span { font-size: .84rem; color: rgba(255,255,255,.55); line-height: 1.5; }
.footer-bottom {
  padding: 22px 0; border-top: 1px solid rgba(255,255,255,.07);
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.35); }

/* ================================================================
   FLOATING BUTTONS
   ================================================================ */
.float-wa {
  position: fixed; bottom: 28px; right: 28px; z-index: 999;
  width: 58px; height: 58px; background: var(--whatsapp);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--white); box-shadow: var(--sh-lg); transition: transform var(--t);
}
.float-wa:hover { transform: scale(1.1); }
.float-wa::before {
  content: ''; position: absolute; inset: 0; border-radius: 50%;
  background: var(--whatsapp); animation: ring 2.5s ease infinite;
}
@keyframes ring { 0% { transform: scale(1); opacity: .7; } 100% { transform: scale(1.6); opacity: 0; } }
.float-wa svg { position: relative; z-index: 1; }
.float-call {
  position: fixed; bottom: 96px; right: 28px; z-index: 999;
  width: 48px; height: 48px; background: var(--blue);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: var(--white); box-shadow: var(--sh-md); transition: transform var(--t);
}
.float-call:hover { transform: scale(1.1); }

/* ================================================================
   CONTACT US PAGE — QUICK CONTACT STRIP
   ================================================================ */
.quick-contact-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.quick-contact-card {
  display: flex; align-items: center; gap: 14px; padding: 20px;
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  transition: all var(--t);
}
.quick-contact-card:hover { border-color: var(--blue); box-shadow: var(--sh-md); transform: translateY(-3px); }
.quick-contact-icon {
  flex-shrink: 0; width: 46px; height: 46px; border-radius: var(--r-md);
  background: var(--blue-pale); color: var(--blue); display: flex; align-items: center; justify-content: center;
}
.quick-contact-card strong { display: block; font-size: .82rem; font-weight: 700; color: var(--ink); margin-bottom: 2px; }
.quick-contact-card span { font-size: .8rem; color: var(--body-text); word-break: break-word; }
.contact-map-lg { height: 280px; }

/* ================================================================
   ABOUT US PAGE — STATS / TEAM / TIMELINE
   ================================================================ */
.about-stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; text-align: center; }
.about-stat-num { font-family: var(--font-head); font-size: clamp(1.8rem,3vw,2.4rem); font-weight: 800; color: var(--white); line-height: 1; }
.about-stat-lbl { font-size: .82rem; color: rgba(255,255,255,.75); margin-top: 8px; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 28px; }
.team-card {
  background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg);
  padding: 32px 24px; text-align: center; transition: all var(--t);
}
.team-card:hover { border-color: var(--blue); box-shadow: var(--sh-md); transform: translateY(-3px); }
.team-avatar {
  width: 72px; height: 72px; margin: 0 auto 18px; border-radius: var(--r-full);
  background: var(--blue-pale); color: var(--blue); display: flex; align-items: center; justify-content: center;
}
.team-name { font-family: var(--font-head); font-size: 1.02rem; font-weight: 700; color: var(--ink); margin-bottom: 4px; }
.team-role { font-size: .82rem; color: var(--muted); }

.timeline { position: relative; max-width: 760px; margin: 0 auto; }
.timeline::before { content: ''; position: absolute; left: 19px; top: 4px; bottom: 4px; width: 2px; background: var(--border); }
.timeline-item { position: relative; display: flex; gap: 24px; padding-bottom: 36px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  flex-shrink: 0; width: 40px; height: 40px; border-radius: var(--r-full);
  background: var(--blue); color: var(--white); display: flex; align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 800; text-align: center; line-height: 1.1; position: relative; z-index: 1;
  box-shadow: 0 0 0 4px var(--white);
}
.timeline-content { padding-top: 4px; }
.timeline-content h3 { font-family: var(--font-head); font-size: 1.05rem; font-weight: 700; color: var(--ink); margin-bottom: 6px; }
.timeline-content p { font-size: .88rem; color: var(--body-text); line-height: 1.7; }

/* ================================================================
   ARCHIVE PAGE
   ================================================================ */
.archive-filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 36px; }
.archive-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px,1fr)); gap: 28px; }
.no-products { text-align: center; padding: 60px 20px; color: var(--muted); }

/* ================================================================
   BLOG — CARDS
   ================================================================ */
.blog-card { display: flex; flex-direction: column; }
.blog-card-img { aspect-ratio: 16/10; }
.blog-card-img-link { display: block; }
.blog-card-body { display: flex; flex-direction: column; }
.blog-card-meta {
  display: flex; align-items: center; gap: 6px;
  font-size: .74rem; font-weight: 600; letter-spacing: .03em;
  color: var(--muted); text-transform: uppercase; margin-bottom: 10px;
}
.blog-card-meta svg { flex-shrink: 0; }
.blog-card-meta-sep { color: var(--border); }
.blog-card-title a { color: var(--ink); transition: color var(--t); }
.blog-card-title a:hover { color: var(--blue); }
.blog-card-footer { margin-top: auto; }
.blog-read-more {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .85rem; font-weight: 700; color: var(--blue);
  transition: gap var(--t);
}
.blog-read-more:hover { gap: 10px; }

/* ================================================================
   BLOG — SINGLE POST
   ================================================================ */
.blog-single-meta { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 14px; }
.blog-single-meta-item {
  display: flex; align-items: center; gap: 7px;
  font-size: .85rem; color: rgba(255,255,255,.7);
}
.blog-single-layout {
  display: grid; grid-template-columns: minmax(0,1fr) 320px; gap: 56px; align-items: start;
}
.blog-single-thumb {
  border-radius: var(--r-lg); overflow: hidden; margin-bottom: 36px;
  aspect-ratio: 16/9; background: var(--bg-subtle); box-shadow: var(--sh-sm);
}
.blog-single-thumb img { width: 100%; height: 100%; object-fit: cover; }

.entry-content { color: var(--body-text); font-size: 1rem; line-height: 1.8; }
.entry-content > *:first-child { margin-top: 0; }
.entry-content p { margin-bottom: 20px; }
.entry-content h2 {
  font-family: var(--font-head); font-size: 1.4rem; font-weight: 800;
  color: var(--ink); margin: 36px 0 16px;
}
.entry-content h3 {
  font-family: var(--font-head); font-size: 1.15rem; font-weight: 700;
  color: var(--ink); margin: 28px 0 14px;
}
.entry-content h4 { font-size: 1rem; font-weight: 700; color: var(--ink); margin: 22px 0 10px; }
.entry-content ul, .entry-content ol { margin: 0 0 20px 1.3em; }
.entry-content ul { list-style: disc; }
.entry-content ol { list-style: decimal; }
.entry-content li { margin-bottom: 8px; }
.entry-content a { color: var(--blue); text-decoration: underline; text-decoration-color: var(--blue-glow); }
.entry-content a:hover { text-decoration-color: var(--blue); }
.entry-content strong { color: var(--ink); font-weight: 700; }
.entry-content img { border-radius: var(--r-md); margin: 24px 0; box-shadow: var(--sh-sm); }
.entry-content blockquote {
  border-left: 3px solid var(--blue); background: var(--blue-pale);
  padding: 18px 22px; border-radius: 0 var(--r-md) var(--r-md) 0;
  margin: 24px 0; font-style: italic; color: var(--ink-mid);
}
.entry-content table { width: 100%; border-collapse: collapse; margin: 24px 0; font-size: .9rem; }
.entry-content table th, .entry-content table td { border: 1px solid var(--border); padding: 10px 14px; text-align: left; }
.entry-content table th { background: var(--bg-subtle); font-weight: 700; color: var(--ink); }
.entry-content hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.entry-content code {
  background: var(--bg-subtle); color: var(--blue-dark); padding: 2px 7px;
  border-radius: var(--r-xs); font-size: .88em;
}

.blog-share { display: flex; align-items: center; gap: 12px; margin-top: 36px; padding-top: 28px; border-top: 1px solid var(--border); }
.blog-share-label { font-size: .85rem; font-weight: 600; color: var(--ink); margin-right: 4px; }
.blog-share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: var(--r-full);
  background: var(--bg-subtle); color: var(--ink-mid);
  transition: background var(--t), color var(--t), transform var(--t);
}
.blog-share-btn:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }

.blog-sidebar { display: flex; flex-direction: column; gap: 28px; position: sticky; top: 110px; }
.blog-sidebar-recent {
  background: var(--off-white); border: 1px solid var(--border);
  border-radius: var(--r-lg); padding: 22px;
}
.blog-sidebar-title {
  font-family: var(--font-head); font-size: .95rem; font-weight: 800;
  color: var(--ink); margin-bottom: 16px;
}
.blog-sidebar-item { display: flex; gap: 12px; align-items: flex-start; padding: 10px 0; border-bottom: 1px solid var(--border); }
.blog-sidebar-item:last-child { border-bottom: none; padding-bottom: 0; }
.blog-sidebar-item:first-of-type { padding-top: 0; }
.blog-sidebar-item-img { width: 56px; height: 56px; flex-shrink: 0; border-radius: var(--r-sm); overflow: hidden; background: var(--bg-subtle); }
.blog-sidebar-item-img img { width: 100%; height: 100%; object-fit: cover; }
.blog-sidebar-item-title {
  font-size: .85rem; font-weight: 700; color: var(--ink); line-height: 1.4;
  margin-bottom: 4px; transition: color var(--t);
}
.blog-sidebar-item:hover .blog-sidebar-item-title { color: var(--blue); }
.blog-sidebar-item-date { font-size: .72rem; color: var(--muted); }

/* ================================================================
   HOME — BLOG TEASER SECTION
   ================================================================ */
.home-blog-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 28px; }
.home-blog-card { display: flex; flex-direction: column; }

/* ================================================================
   RESPONSIVE
   ================================================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .product-detail { grid-template-columns: 1fr; }
  .inquiry-box { position: static; }
  .blog-single-layout { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .home-blog-grid { grid-template-columns: 1fr 1fr; }
  .about-stats-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .quick-contact-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .primary-nav, .header-actions { display: none; }
  .nav-toggle { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { display: none; }
  .hero-stats { grid-template-columns: repeat(2,1fr); }
  .about-inner { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { right: 0; bottom: -12px; }
  .contact-inner { grid-template-columns: 1fr; gap: 36px; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .process-steps::before { display: none; }
  .process-steps { gap: 28px; }
  .process-step { padding: 0; }
  .form-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item:nth-child(1) { grid-column: 1 / -1; }
  .gallery-item:nth-child(4) { grid-column: 1 / -1; }
  .trust-bar-inner { justify-content: center; }
  .cta-banner { padding: 36px 24px; }
  .home-blog-grid { grid-template-columns: 1fr; }
  .timeline::before { left: 15px; }
  .timeline-dot { width: 32px; height: 32px; font-size: .6rem; }
  .timeline-item { gap: 16px; }
}
@media (max-width: 480px) {
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { justify-content: center; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { aspect-ratio: 4/3 !important; grid-column: span 1 !important; }
  .products-grid { grid-template-columns: 1fr; }
  .categories-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-stats-grid { grid-template-columns: 1fr 1fr; gap: 20px; }
  .quick-contact-grid { grid-template-columns: 1fr; }
}
