/* ==========================================================================
   India Battery Works — Main Stylesheet
   ========================================================================== */

:root {
  /* Theme: Heritage Green + Brass */
  --navy: #123b2d;       /* deep forest — dark surfaces */
  --navy-2: #1d5c45;     /* raised forest green */
  --blue: #1d5c45;       /* primary green — buttons, links, icons */
  --blue-dark: #164a38;  /* hover green */
  --blue-light: #e6f0e9; /* pale green tint */
  --amber: #c9a227;      /* brass highlight */
  --amber-dark: #a8871d; /* hover brass */
  --ink: #1b2a25;
  --muted: #617168;
  --line: #e4e6dc;
  --bg: #f7f3e8;
  --white: #ffffff;
  --radius: 12px;
  --radius-sm: 7px;
  --shadow: 0 12px 34px rgba(18, 59, 45, 0.09);
  --shadow-lg: 0 24px 60px rgba(18, 59, 45, 0.17);
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --max: 1200px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 100px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  color: var(--ink);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6, .brand-name {
  font-family: 'Manrope', 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
}

a { text-decoration: none; color: inherit; transition: color var(--transition); }
a:hover { color: var(--blue); }

/* Links inside text blocks stay distinguishable without relying on colour alone */
.topbar a, .breadcrumb a, .footer-col a, .footer-contact a {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: rgba(255,255,255,0.38);
  text-underline-offset: 3px;
}
img, svg { max-width: 100%; display: block; }
button, input, textarea, select { font: inherit; }
ul { list-style: none; }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section-sm { padding: 60px 0; }
.bg-light { background: var(--bg); }
.bg-navy { background: var(--navy); }
.text-center { text-align: center; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 12px;
}
.eyebrow::before { content: ''; width: 26px; height: 2px; background: var(--amber); }

.section-title { font-size: clamp(28px, 3.2vw, 40px); margin-bottom: 14px; }
.section-sub { color: var(--muted); font-size: 16px; max-width: 680px; }
.section-head { margin-bottom: 46px; }
.section-head.center { text-align: center; }
.section-head.center .section-sub { margin: 0 auto; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 15px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(29, 92, 69, 0.25); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; transform: translateY(-2px); box-shadow: 0 12px 26px rgba(29, 92, 69, 0.32); }
.btn-amber { background: var(--amber); color: var(--navy); box-shadow: 0 8px 20px rgba(201, 162, 39, 0.3); }
.btn-amber:hover { background: var(--amber-dark); color: var(--navy); transform: translateY(-2px); }
.btn-outline { border-color: var(--blue); color: var(--blue); background: transparent; }
.btn-outline:hover { background: var(--blue); color: #fff; transform: translateY(-2px); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--amber); color: var(--navy); transform: translateY(-2px); }
.btn-ghost-light { border-color: rgba(255,255,255,0.55); color: #fff; }
.btn-ghost-light:hover { background: #fff; color: var(--navy); }

/* ---------- Top bar ---------- */
.topbar {
  background: var(--navy);
  color: rgba(255,255,255,0.82);
  font-size: 13px;
  padding: 9px 0;
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 18px; flex-wrap: wrap; }
.topbar a:hover { color: var(--amber); }
.topbar-list { display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.topbar-list li { display: flex; align-items: center; gap: 7px; }
.topbar-list svg { width: 14px; height: 14px; color: var(--amber); }
.topbar-right { display: flex; gap: 16px; align-items: center; }
.social-links { display: flex; gap: 9px; }
.social-links a {
  width: 28px; height: 28px; border-radius: 50%;
  display: grid; place-items: center;
  background: rgba(255,255,255,0.1); color: #fff;
}
.social-links a:hover { background: var(--amber); color: var(--navy); }
.social-links svg { width: 14px; height: 14px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
  transition: box-shadow var(--transition);
}
.site-header.scrolled { box-shadow: 0 6px 24px rgba(18,59,45,0.1); }
.navbar { display: flex; align-items: center; justify-content: space-between; min-height: 74px; gap: 24px; }
.brand { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.brand img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.05; }
.brand-name { font-size: 19px; letter-spacing: -0.4px; color: var(--navy); }
.brand-tag { font-size: 9px; letter-spacing: 2px; text-transform: uppercase; color: var(--blue); font-weight: 700; }
.nav-links { display: flex; align-items: center; gap: 4px; }
.nav-links > li > a {
  display: flex; align-items: center; gap: 5px;
  padding: 11px 13px;
  font-size: 14px; font-weight: 600; color: var(--ink);
  border-radius: 7px;
}
.nav-links > li > a:hover, .nav-links > li.active > a { color: var(--blue); background: var(--blue-light); }
.nav-links .chev { width: 13px; height: 13px; transition: transform var(--transition); }
.has-dropdown:hover .chev { transform: rotate(180deg); }
.dropdown {
  position: absolute; top: 100%; left: 0;
  min-width: 230px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue);
  border-radius: 0 0 10px 10px;
  box-shadow: var(--shadow-lg);
  padding: 10px;
  opacity: 0; visibility: hidden;
  transform: translateY(10px);
  transition: all var(--transition);
}
.has-dropdown { position: relative; }
.has-dropdown:hover .dropdown, .has-dropdown:focus-within .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { display: block; padding: 9px 12px; font-size: 14px; border-radius: 6px; color: var(--ink); }
.dropdown a:hover { background: var(--blue-light); color: var(--blue); }
.dropdown a + a { border-top: 1px solid #e6ebe0; }
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-phone { display: flex; flex-direction: column; line-height: 1.2; }
.nav-phone small { font-size: 10px; color: var(--muted); text-transform: uppercase; letter-spacing: 1px; }
.nav-phone strong { font-size: 15px; color: var(--navy); }
.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 8px; }
.nav-toggle span { display: block; width: 25px; height: 2px; background: var(--navy); margin: 5px 0; transition: var(--transition); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--navy);
  color: #fff;
  padding: 92px 0 64px;
}
.hero::before {
  content: '';
  position: absolute; inset: 0; z-index: -2;
  background:
    linear-gradient(90deg, rgba(14, 49, 37, 0.98) 0%, rgba(14, 49, 37, 0.94) 38%, rgba(14, 49, 37, 0.74) 68%, rgba(14, 49, 37, 0.48) 100%),
    url('../img/hero-exide.jpg') right center / cover no-repeat;
}
.hero::after {
  content: '';
  position: absolute; left: 0; right: 0; bottom: 0; height: 160px; z-index: -1;
  background: linear-gradient(transparent, rgba(14, 49, 37, 0.55));
}
.hero-inner {
  position: relative;
  display: grid; grid-template-columns: 1.15fr 0.85fr;
  gap: 60px; align-items: center;
}
.hero-kicker {
  display: flex; align-items: center; gap: 12px;
  font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase;
  color: var(--amber); margin-bottom: 22px;
}
.hero-kicker span { width: 34px; height: 2px; background: var(--amber); }
.hero h1 {
  color: #fff; font-size: clamp(42px, 5.4vw, 68px);
  line-height: 1.06; letter-spacing: -2px; margin-bottom: 22px;
}
.hero h1 .accent { color: var(--amber); }
.hero p.lead {
  font-size: 17px; line-height: 1.75;
  color: rgba(255,255,255,0.82); max-width: 610px; margin-bottom: 32px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-call { margin-top: 20px; font-size: 13px; color: rgba(255,255,255,0.65); }
.hero-call a { color: #fff; font-weight: 700; text-decoration: underline; text-decoration-color: var(--amber); text-underline-offset: 3px; }

.hero-card {
  background: #fff; color: var(--ink);
  border-radius: var(--radius);
  box-shadow: 0 30px 70px rgba(0,0,0,0.34);
  overflow: hidden;
  transform: rotate(1.2deg);
}
.hero-card-photo { position: relative; height: 250px; overflow: hidden; }
.hero-card-photo img { width: 100%; height: 100%; object-fit: cover; }
.hero-card-year {
  position: absolute; left: 16px; bottom: 16px;
  background: var(--navy); color: #fff;
  padding: 8px 14px; border-radius: 4px;
  font-size: 11px; letter-spacing: 1.4px; text-transform: uppercase;
}
.hero-card-year strong { color: var(--amber); font-size: 15px; margin-left: 4px; }
.hero-card-body { display: flex; align-items: center; gap: 14px; padding: 18px 20px; }
.hero-card-body > img { width: 74px; height: 44px; object-fit: contain; flex-shrink: 0; }
.hero-card-body strong { display: block; font-size: 15px; color: var(--navy); }
.hero-card-body span { display: block; font-size: 11.5px; line-height: 1.5; color: var(--muted); margin-top: 2px; }

.hero-stats {
  position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr);
  margin-top: 66px;
  background: #fff;
  border-top: 3px solid var(--amber);
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
}
.hero-stat { padding: 24px 20px; text-align: center; border-right: 1px solid var(--line); }
.hero-stat:last-child { border-right: 0; }
.hero-stat strong { display: block; font-family: 'Manrope', sans-serif; font-size: 32px; color: var(--navy); line-height: 1; }
.hero-stat span { font-size: 11px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); }

/* ---------- Categories ---------- */
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.category-card {
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 22px 24px;
  overflow: hidden;
  transition: all var(--transition);
}
.category-card::before {
  content: ''; position: absolute; left: 0; top: 0; height: 3px; width: 0;
  background: linear-gradient(90deg, var(--blue), var(--amber));
  transition: width var(--transition);
}
.category-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: transparent; }
.category-card:hover::before { width: 100%; }
.category-icon {
  width: 76px; height: 76px; border-radius: 18px;
  background: var(--blue-light);
  display: grid; place-items: center;
  margin-bottom: 18px;
}
.category-icon { overflow: hidden; }
.category-icon img { width: 100%; height: 100%; object-fit: cover; border-radius: 18px; }
.category-card h3 { font-size: 18px; margin-bottom: 6px; }
.category-card p { font-size: 13.5px; color: var(--muted); margin-bottom: 14px; min-height: 44px; }
.category-card .learn { font-size: 13px; font-weight: 700; color: var(--blue); display: inline-flex; align-items: center; gap: 6px; }
.category-card:hover .learn { gap: 11px; }
.category-card .learn svg { width: 15px; height: 15px; }
.category-count {
  position: absolute; right: 16px; top: 16px;
  font-size: 11px; font-weight: 700; color: var(--blue);
  background: var(--blue-light); padding: 4px 9px; border-radius: 20px;
}

/* ---------- Features / why us ---------- */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px 34px; }
.feature { display: flex; gap: 16px; }
.feature-icon {
  flex: 0 0 54px; height: 54px;
  border-radius: 14px; background: var(--blue-light);
  display: grid; place-items: center; color: var(--blue);
}
.feature-icon svg { width: 25px; height: 25px; }
.feature h3 { font-size: 17px; margin-bottom: 5px; }
.feature p { font-size: 14px; color: var(--muted); }

/* ---------- Split / about preview ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split-visual { position: relative; }
.split-visual > img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.split-badge {
  position: absolute; right: -16px; bottom: -22px;
  background: var(--amber); color: var(--navy);
  padding: 18px 22px; border-radius: var(--radius);
  box-shadow: var(--shadow-lg); text-align: center;
}
.split-badge strong { display: block; font-family: 'Manrope', sans-serif; font-size: 32px; line-height: 1; }
.split-badge span { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; }
.split-content h2 { font-size: clamp(28px, 3vw, 38px); margin-bottom: 18px; }
.split-content > p { color: var(--muted); margin-bottom: 20px; }
.check-list li { display: flex; gap: 11px; align-items: flex-start; margin-bottom: 12px; font-size: 15px; }
.check-list svg { flex: 0 0 20px; width: 20px; height: 20px; color: var(--blue); margin-top: 3px; }
.split-content .btn { margin-top: 14px; }

/* ---------- Brands ---------- */
.brands-wrap { overflow: hidden; position: relative; }
.brands-wrap::before, .brands-wrap::after {
  content: ''; position: absolute; top: 0; bottom: 0; width: 80px; z-index: 2; pointer-events: none;
}
.brands-wrap::before { left: 0; background: linear-gradient(90deg, var(--bg), transparent); }
.brands-wrap::after { right: 0; background: linear-gradient(-90deg, var(--bg), transparent); }
.brands-track { display: flex; gap: 18px; width: max-content; animation: marquee 36s linear infinite; }
.brands-track:hover { animation-play-state: paused; }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.brand-tile {
  width: 168px; height: 96px;
  background: #fff; border: 1px solid var(--line); border-radius: 12px;
  display: grid; place-items: center;
  font-family: 'Manrope', sans-serif;
  font-size: 20px; font-weight: 800; letter-spacing: -0.5px;
  color: var(--navy); text-align: center;
  padding: 10px; transition: var(--transition);
}
.brand-tile span { display: block; font-size: 9px; font-weight: 600; letter-spacing: 1.5px; color: var(--muted); text-transform: uppercase; text-align: center; }
.brand-tile img { max-width: 126px; max-height: 58px; width: auto; height: auto; object-fit: contain; margin-bottom: 4px; }
.brands-grid .brand-tile img { max-width: 140px; max-height: 72px; }
.brand-tile:hover { transform: translateY(-5px); border-color: var(--blue); box-shadow: var(--shadow); color: var(--blue); }

/* ---------- Stats band ---------- */
.stats-band { background: linear-gradient(120deg, #0e3125, #1d5c45); color: #fff; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-item { text-align: center; padding: 20px 10px; }
.stat-item strong { display: block; font-family: 'Manrope', sans-serif; font-size: 38px; color: #fff; line-height: 1.1; }
.stat-item span { font-size: 13px; color: rgba(255,255,255,0.8); }

/* ---------- Testimonials ---------- */
.test-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.test-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow); }
.stars { color: var(--amber); font-size: 16px; letter-spacing: 2px; margin-bottom: 12px; }
.test-card p { font-size: 14.5px; color: var(--muted); font-style: italic; margin-bottom: 20px; }
.test-author { display: flex; align-items: center; gap: 12px; }
.avatar { width: 42px; height: 42px; border-radius: 50%; background: var(--blue-light); color: var(--blue); display: grid; place-items: center; font-weight: 700; font-family: 'Manrope', sans-serif; }
.test-author strong { display: block; font-size: 14px; color: var(--navy); }
.test-author small { font-size: 12px; color: var(--muted); }

/* ---------- Service areas ---------- */
.areas-grid { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.area-pill {
  padding: 10px 20px; border-radius: 30px;
  background: #fff; border: 1px solid var(--line);
  font-size: 14px; font-weight: 600; color: var(--ink);
  display: inline-flex; align-items: center; gap: 8px;
  transition: var(--transition);
}
.area-pill::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--amber); }
.area-pill:hover { border-color: var(--blue); color: var(--blue); transform: translateY(-3px); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--navy); color: #fff; padding: 64px 0; position: relative; overflow: hidden; }
.cta-band::before {
  content: ''; position: absolute; width: 400px; height: 400px; border-radius: 50%;
  border: 60px solid rgba(201,162,39,0.1); right: -90px; top: -150px;
}
.cta-inner { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.cta-inner h2 { color: #fff; font-size: clamp(26px, 3vw, 36px); margin-bottom: 8px; }
.cta-inner p { color: rgba(255,255,255,0.75); }
.cta-actions { display: flex; gap: 12px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.site-footer { background: #0d271d; color: rgba(255,255,255,0.7); padding-top: 66px; font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 44px; padding-bottom: 50px; }
.footer-brand img { width: 48px; height: 48px; margin-bottom: 14px; }
.footer-brand h3 { color: #fff; font-size: 19px; margin-bottom: 4px; }
.footer-brand p { max-width: 300px; font-size: 13.5px; }
.footer-col h2 { color: #fff; font-size: 16px; margin-bottom: 18px; position: relative; padding-bottom: 10px; }
.footer-col h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--amber); }
.footer-col li { margin-bottom: 10px; }
.footer-col a:hover, .footer-contact a:hover { color: var(--amber); }
.footer-contact li { display: flex; gap: 11px; margin-bottom: 14px; align-items: flex-start; line-height: 1.5; }
.footer-contact svg { flex: 0 0 16px; width: 16px; height: 16px; color: var(--amber); margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap;
  font-size: 12.5px;
}
.footer-bottom a { color: var(--amber); text-decoration: underline; text-underline-offset: 2px; }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  background: linear-gradient(115deg, #0e3125, #234f3d);
  color: #fff;
  padding: 62px 0 58px;
  overflow: hidden;
}
.page-hero::after {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 4px; background: var(--amber);
}
.page-hero .container { position: relative; z-index: 1; }
.breadcrumb { display: flex; gap: 8px; align-items: center; font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 14px; }
.breadcrumb a:hover { color: var(--amber); }
.page-hero h1 { color: #fff; font-size: clamp(32px, 4vw, 46px); margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.75); max-width: 640px; font-size: 16px; }

/* ---------- Products ---------- */
.filter-tabs { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 38px; }
.filter-tab {
  padding: 9px 18px; border-radius: 30px;
  border: 1px solid var(--line); background: #fff;
  font-size: 13.5px; font-weight: 600; color: var(--ink);
  cursor: pointer; transition: var(--transition);
}
.filter-tab:hover { border-color: var(--blue); color: var(--blue); }
.filter-tab.active { background: var(--blue); border-color: var(--blue); color: #fff; box-shadow: 0 6px 16px rgba(29,92,69,0.25); }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  overflow: hidden; transition: var(--transition); display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-lg); }
.product-thumb { height: 180px; background: linear-gradient(145deg, #eef4ee, #e0ede4); display: grid; place-items: center; padding: 18px; position: relative; }
.product-thumb img { max-width: 100%; max-height: 140px; object-fit: contain; border-radius: 8px; transition: transform var(--transition); }
.product-card:hover .product-thumb img { transform: scale(1.07); }
.product-tag { position: absolute; top: 12px; left: 12px; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; background: var(--amber); color: var(--navy); padding: 4px 9px; border-radius: 4px; }
.product-body { padding: 20px; flex: 1; display: flex; flex-direction: column; }
.product-body h3 { font-size: 16px; margin-bottom: 5px; }
.product-brand { font-size: 11px; font-weight: 700; color: var(--blue); text-transform: uppercase; letter-spacing: 1px; margin-bottom: 10px; }
.product-body p { font-size: 13px; color: var(--muted); margin-bottom: 16px; }
.product-body .btn { margin-top: auto; align-self: flex-start; padding: 9px 17px; font-size: 13px; }
/* hidden state for filtering */
.product-card.hide { display: none; }

/* ---------- Services / timeline ---------- */
.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px; transition: var(--transition); position: relative; overflow: hidden;
}
.service-card:hover { box-shadow: var(--shadow); transform: translateY(-5px); }
.service-num { position: absolute; right: 18px; top: 8px; font-family: 'Manrope', sans-serif; font-size: 58px; font-weight: 800; color: #edf2ea; line-height: 1; }
.service-icon { width: 58px; height: 58px; border-radius: 15px; background: var(--blue-light); color: var(--blue); display: grid; place-items: center; margin-bottom: 18px; }
.service-icon svg { width: 27px; height: 27px; }
.service-card h3 { font-size: 19px; margin-bottom: 9px; }
.service-card p { font-size: 14px; color: var(--muted); }
.process-step { display: flex; gap: 18px; padding: 22px 0; border-bottom: 1px dashed var(--line); }
.process-step:last-child { border-bottom: 0; }
.process-step .step-no { flex: 0 0 44px; height: 44px; border-radius: 50%; background: var(--blue); color: #fff; display: grid; place-items: center; font-weight: 700; font-family: 'Manrope', sans-serif; }
.process-step h3 { font-size: 17px; margin-bottom: 4px; }
.process-step p { font-size: 14px; color: var(--muted); }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.gallery-item {
  position: relative; border-radius: var(--radius); overflow: hidden;
  aspect-ratio: 4 / 3; cursor: pointer; border: 0; padding: 0; background: var(--blue-light);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.gallery-item::after {
  content: '+'; position: absolute; inset: 0;
  display: grid; place-items: center;
  background: rgba(18,59,45,0.55); color: #fff;
  font-size: 34px; font-weight: 300; opacity: 0; transition: var(--transition);
}
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item:hover::after { opacity: 1; }
.lightbox {
  position: fixed; inset: 0; z-index: 1000;
  background: rgba(9,26,19,0.94);
  display: none; align-items: center; justify-content: center; padding: 30px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 85vh; border-radius: 10px; }
.lightbox-close { position: absolute; right: 26px; top: 22px; background: rgba(255,255,255,0.15); border: 0; color: #fff; width: 42px; height: 42px; border-radius: 50%; font-size: 26px; cursor: pointer; }
.lightbox-prev, .lightbox-next { position: absolute; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: 0; color: #fff; width: 44px; height: 44px; border-radius: 50%; font-size: 22px; cursor: pointer; }
.lightbox-prev { left: 22px; } .lightbox-next { right: 22px; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 50px; align-items: start; }
.contact-info-card { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 34px; }
.contact-info-card h2 { color: #fff; font-size: 24px; margin-bottom: 18px; }
.info-row { display: flex; gap: 14px; margin-bottom: 20px; }
.info-row .info-icon { flex: 0 0 42px; height: 42px; border-radius: 11px; background: rgba(201,162,39,0.18); color: var(--amber); display: grid; place-items: center; }
.info-row svg { width: 19px; height: 19px; }
.info-row h3 { color: #fff; font-size: 14px; margin-bottom: 2px; }
.info-row p, .info-row a { font-size: 14px; color: rgba(255,255,255,0.75); }
.info-row a:hover { color: var(--amber); }
.map-embed { margin-top: 22px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); }
.map-embed iframe { width: 100%; height: 240px; border: 0; display: block; }
.form-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; box-shadow: var(--shadow); }
.form-card h2 { font-size: 24px; margin-bottom: 6px; }
.form-card > p { color: var(--muted); font-size: 14px; margin-bottom: 24px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--ink); }
.form-group label .req { color: #b00020; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; padding: 11px 14px;
  border: 1px solid var(--line); border-radius: var(--radius-sm);
  background: #fbfaf5; color: var(--ink); font-size: 14px;
  transition: var(--transition); outline: none;
}
.form-group textarea { resize: vertical; min-height: 120px; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(29,92,69,0.1); background: #fff; }
.form-group input.error, .form-group select.error, .form-group textarea.error { border-color: #b00020; }
.error-text { display: none; color: #b00020; font-size: 12px; margin-top: 4px; }
.form-group.has-error .error-text { display: block; }
.form-note { font-size: 12px; color: var(--muted); margin-top: 12px; }
.form-success { display: none; background: #ecfdf3; border: 1px solid #abefc6; color: #067647; padding: 13px 16px; border-radius: var(--radius-sm); font-size: 14px; margin-bottom: 18px; }
.form-success.show { display: block; }

/* ---------- Accordion / FAQ ---------- */
.accordion { max-width: 820px; margin: 0 auto; }
.acc-item { background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); margin-bottom: 12px; overflow: hidden; }
.acc-header { width: 100%; display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 18px 22px; background: none; border: 0; cursor: pointer; text-align: left; font-weight: 600; font-size: 15px; color: var(--navy); }
.acc-header svg { width: 18px; height: 18px; flex: 0 0 18px; color: var(--blue); transition: transform var(--transition); }
.acc-item.open .acc-header svg { transform: rotate(180deg); }
.acc-body { max-height: 0; overflow: hidden; transition: max-height 0.35s ease; }
.acc-body p { padding: 0 22px 18px; color: var(--muted); font-size: 14px; }

/* ---------- Floating actions ---------- */
.floating-actions { position: fixed; right: 20px; bottom: 24px; z-index: 90; display: flex; flex-direction: column; gap: 10px; }
.float-btn {
  width: 48px; height: 48px; border-radius: 50%; display: grid; place-items: center;
  background: var(--blue); color: #fff; box-shadow: 0 8px 22px rgba(18,59,45,0.25);
  transition: var(--transition); border: 0; cursor: pointer;
}
.float-btn:hover { transform: translateY(-3px) scale(1.05); color: #fff; }
.float-btn.whatsapp { background: #25d366; }
.float-btn svg { width: 22px; height: 22px; }
.float-btn.top { opacity: 0; visibility: hidden; }
.float-btn.top.visible { opacity: 1; visibility: visible; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity 0.65s ease, transform 0.65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .nav-links > li > a { padding: 10px 8px; font-size: 13px; }
  .nav-phone { display: none; }
  .category-grid, .product-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 992px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute; top: 100%; left: 0; right: 0;
    background: #fff; border-top: 1px solid var(--line);
    flex-direction: column; align-items: stretch; gap: 0;
    padding: 12px 24px 20px;
    box-shadow: var(--shadow-lg);
    max-height: 0; overflow: hidden; opacity: 0; visibility: hidden;
    transition: all var(--transition);
  }
  .nav-links.open { max-height: 76vh; overflow-y: auto; opacity: 1; visibility: visible; }
  .nav-links > li > a { padding: 12px 4px; font-size: 15px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--blue-light); border-radius: 0; margin: 0 0 8px 12px; padding: 4px; min-width: 0; display: none; }
  .has-dropdown.open .dropdown { display: block; }
  .nav-cta { display: none; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-card { max-width: 460px; margin: 0 auto; transform: none; }
  .hero-stats { margin-top: 50px; }
  .split { gap: 40px; }
  .features-grid, .test-grid, .service-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .hero { padding-top: 60px; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stat:nth-child(2) { border-right: 0; }
  .hero-stat:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .category-grid, .product-grid, .features-grid, .test-grid, .service-grid, .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .split { grid-template-columns: 1fr; }
  .split-visual { max-width: 520px; }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  .topbar-right span { display: none; }
  .brand-name { font-size: 17px; }
  .brand img { width: 40px; height: 40px; }
  .hero h1 { font-size: 36px; }
  .hero-actions .btn { width: 100%; }
  .category-grid, .product-grid, .features-grid, .test-grid, .service-grid, .gallery-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .form-card, .contact-info-card { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-title { font-size: 27px; }
  .floating-actions { right: 14px; bottom: 16px; }
}

/* ---------- Brands page grid ---------- */
.brands-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.brands-grid .brand-tile { width: 100%; height: 126px; font-size: 22px; }
.brands-grid .brand-tile span { font-size: 10px; margin-top: 6px; }
@media (max-width: 992px) { .brands-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px) { .brands-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 420px) { .brands-grid { grid-template-columns: 1fr; } }

/* ==========================================================================
   Mobile polish — touch targets, spacing, overflow and iOS input zoom
   ========================================================================== */
button, .btn, a { -webkit-tap-highlight-color: transparent; touch-action: manipulation; }

@media (max-width: 992px) {
  .topbar { font-size: 12px; }
  .topbar-list li:nth-child(3) { display: none; }
  .split-badge { right: 8px; bottom: 8px; }
  .cta-actions { width: 100%; }
}

@media (max-width: 768px) {
  html { scroll-padding-top: 84px; }
  .hero { padding-top: 52px; }
  .hero h1 { font-size: clamp(34px, 9vw, 46px); letter-spacing: -1.2px; }
  .hero-card-photo { height: 210px; }
  .hero-stat { padding: 20px 10px; }
  .hero-stat strong { font-size: 26px; }
  .section-head { margin-bottom: 34px; }
  .category-card, .service-card, .test-card, .product-card { padding: 22px 18px; }
  .cta-actions { flex-direction: row; }
  .cta-actions .btn { flex: 1 1 160px; }
  .footer-grid { gap: 32px; }
  .form-card { padding: 28px 20px; }
}

@media (max-width: 560px) {
  html { scroll-padding-top: 76px; }
  body { font-size: 15px; }
  .topbar { padding: 7px 0; }
  .topbar-inner { justify-content: center; }
  .topbar-list { justify-content: center; gap: 0; }
  .topbar-list li:nth-child(2),
  .topbar-list li:nth-child(3) { display: none; }
  .topbar-right { display: none; }

  .navbar { min-height: 64px; }
  .brand img { width: 38px; height: 38px; }
  .brand-name { font-size: 16px; }
  .brand-tag { font-size: 8px; letter-spacing: 1.4px; }
  .nav-toggle { padding: 6px; }
  .nav-links { padding: 10px 20px 18px; }
  .nav-links > li > a { padding: 13px 4px; }

  .hero { padding-top: 44px; }
  .hero h1 { font-size: clamp(30px, 9.5vw, 38px); letter-spacing: -0.8px; }
  .hero p.lead { font-size: 15px; margin-bottom: 24px; }
  .hero-kicker { font-size: 10px; letter-spacing: 1.4px; margin-bottom: 16px; }
  .hero-actions .btn { padding: 12px 18px; font-size: 14px; }
  .hero-card-photo { height: 180px; }
  .hero-card-body { padding: 14px; gap: 10px; }
  .hero-card-body > img { width: 62px; height: 38px; }
  .hero-stats { margin-top: 40px; }
  .hero-stat { padding: 18px 8px; }
  .hero-stat strong { font-size: 24px; }
  .hero-stat span { font-size: 10px; letter-spacing: 0.5px; }

  .section { padding: 56px 0; }
  .section-title { font-size: 26px; }
  .section-sub { font-size: 14px; }
  .eyebrow { font-size: 11px; }

  .features-grid { gap: 22px; }
  .feature-icon { flex: 0 0 46px; height: 46px; border-radius: 12px; }
  .feature-icon svg { width: 21px; height: 21px; }
  .feature h3 { font-size: 16px; }
  .feature p { font-size: 13.5px; }

  .split-badge { right: 0; bottom: 0; padding: 12px 16px; }
  .split-badge strong { font-size: 26px; }
  .brands-grid .brand-tile { height: 104px; font-size: 19px; }
  .stat-item strong { font-size: 32px; }
  .stat-item span { font-size: 11px; }

  .filter-tabs { gap: 7px; margin-bottom: 26px; }
  .filter-tab { padding: 9px 13px; font-size: 12.5px; }
  .product-thumb { height: 160px; }
  .product-thumb img { max-height: 125px; }
  .process-step { gap: 12px; padding: 18px 0; }
  .process-step .step-no { flex: 0 0 38px; height: 38px; font-size: 14px; }
  .acc-header { padding: 15px 16px; font-size: 14px; }
  .acc-body p { padding: 0 16px 15px; font-size: 13.5px; }
  .area-pill { padding: 8px 15px; font-size: 13px; }

  .cta-band { padding: 48px 0; }
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }

  .page-hero { padding: 46px 0 42px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero p { font-size: 14.5px; }
  .breadcrumb { font-size: 12px; }

  .contact-info-card, .form-card { padding: 24px 18px; }
  .info-row { gap: 11px; }
  .info-row .info-icon { flex: 0 0 38px; height: 38px; }
  .map-embed iframe { height: 200px; }
  /* Prevent iOS Safari auto-zoom when focusing inputs */
  .form-group input, .form-group select, .form-group textarea { font-size: 16px; }

  .gallery-item { aspect-ratio: 1 / 1; }
  .lightbox { padding: 16px; }
  .lightbox-prev, .lightbox-next { width: 36px; height: 36px; font-size: 18px; }
  .lightbox-prev { left: 8px; }
  .lightbox-next { right: 8px; }
  .lightbox-close { right: 10px; top: 10px; width: 36px; height: 36px; }

  .floating-actions { right: 12px; bottom: calc(14px + env(safe-area-inset-bottom)); gap: 8px; }
  .float-btn { width: 44px; height: 44px; }
  .footer-bottom { font-size: 11.5px; }
}

@media (max-width: 380px) {
  .hero h1 { font-size: 28px; }
  .hero-actions .btn { width: 100%; }
  .brand-tag { letter-spacing: 1px; }
  .cta-actions .btn { padding: 12px 14px; font-size: 14px; }
  .filter-tab { padding: 8px 11px; font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
  .reveal { opacity: 1; transform: none; }
}
