/* =========================================================
   Earthing Masters — Global Stylesheet
   Palette: Deep navy + electric cyan + lightning gold
   ========================================================= */

:root {
  --bg: #060d1a;
  --bg-2: #0a1629;
  --bg-3: #11223e;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-2: rgba(255, 255, 255, 0.07);
  --border: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.16);

  --text: #e8eefc;
  --text-muted: #9aa8c7;
  --text-dim: #6c7a98;

  --brand: #00d4ff;          /* electric cyan */
  --brand-2: #0077ff;         /* deep blue */
  --accent: #ffd600;          /* lightning gold */
  --accent-2: #ff8a00;        /* copper */
  --danger: #ff3b6b;
  --ok: #3bffb0;

  --grad-brand: linear-gradient(135deg, #00d4ff 0%, #0077ff 100%);
  --grad-gold: linear-gradient(135deg, #ffd600 0%, #ff8a00 100%);
  --grad-hero: radial-gradient(1200px 600px at 80% -10%, rgba(0,119,255,.35), transparent 60%),
               radial-gradient(900px 500px at 10% 10%, rgba(0,212,255,.22), transparent 60%),
               linear-gradient(180deg, #060d1a 0%, #09152a 100%);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-xl: 32px;

  --shadow-sm: 0 2px 10px rgba(0,0,0,.25);
  --shadow-md: 0 10px 30px rgba(0,0,0,.35);
  --shadow-glow: 0 0 40px rgba(0,212,255,.25);

  --container: 1240px;
  --ease: cubic-bezier(.2,.7,.2,1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: 'Inter', 'Segoe UI', system-ui, -apple-system, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--brand); text-decoration: none; transition: color .2s var(--ease); }
a:hover { color: var(--accent); }

h1,h2,h3,h4,h5 {
  font-family: 'Space Grotesk', 'Inter', sans-serif;
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin: 0 0 .6em;
}
h1 { font-size: clamp(2.2rem, 5vw, 4.2rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.8rem); }
h3 { font-size: 1.35rem; }
p { margin: 0 0 1em; color: var(--text-muted); }

.container { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 70px 0; }
.center { text-align: center; }
.grid { display: grid; gap: 28px; }

/* ---------- Top Bar ---------- */
.topbar {
  background: linear-gradient(90deg, #00182b, #0a1a33);
  color: var(--text-muted);
  font-size: .85rem;
  border-bottom: 1px solid var(--border);
}
.topbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 10px;
  padding-bottom: 10px;
  gap: 18px;
  flex-wrap: wrap;
}
.topbar .left span { margin-right: 22px; }
.topbar .left i { color: var(--brand); margin-right: 6px; }
.topbar .right a {
  color: var(--text-muted);
  margin-left: 14px;
  font-weight: 500;
}
.topbar .right a:hover { color: var(--accent); }

/* ---------- Header / Nav ---------- */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(6, 13, 26, .78);
  backdrop-filter: blur(16px) saturate(140%);
  -webkit-backdrop-filter: blur(16px) saturate(140%);
  border-bottom: 1px solid var(--border);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px 0;
}
.logo {
  display: flex; align-items: center; gap: 12px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 1.35rem;
  color: var(--text);
  letter-spacing: -0.01em;
}
.logo .bolt {
  width: 42px; height: 42px; border-radius: 12px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  box-shadow: var(--shadow-glow);
  position: relative;
}
.logo .bolt svg { width: 22px; height: 22px; }
.logo .bolt::after {
  content: ''; position: absolute; inset: -2px;
  border-radius: 14px;
  background: var(--grad-brand);
  filter: blur(14px); opacity: .45; z-index: -1;
}
.logo small {
  display: block;
  color: var(--text-dim);
  font-size: .7rem;
  font-weight: 500;
  letter-spacing: .18em;
  text-transform: uppercase;
  margin-top: 2px;
}

.nav-menu {
  display: flex; gap: 6px; list-style: none; padding: 0; margin: 0;
  align-items: center;
}
.nav-menu a {
  color: var(--text);
  padding: 10px 16px;
  font-weight: 500;
  font-size: .95rem;
  border-radius: 10px;
  transition: all .2s var(--ease);
  position: relative;
}
.nav-menu a:hover { background: var(--surface); color: var(--brand); }
.nav-menu a.active { color: var(--brand); }
.nav-menu a.active::after {
  content: ''; position: absolute; left: 16px; right: 16px; bottom: 4px;
  height: 2px; background: var(--grad-brand); border-radius: 2px;
}
.nav-cta {
  margin-left: 10px; padding: 11px 22px !important;
  background: var(--grad-brand); color: #001a2e !important;
  font-weight: 700 !important;
  box-shadow: 0 10px 24px rgba(0,212,255,.28);
}
.nav-cta:hover { background: var(--grad-gold); color: #2a1800 !important; }

.nav-toggle {
  display: none; background: none; border: 0; color: var(--text);
  width: 42px; height: 42px; border-radius: 10px;
  align-items: center; justify-content: center;
  cursor: pointer; font-size: 1.5rem;
}
.nav-toggle:hover { background: var(--surface); }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch;
    background: rgba(6,13,26,.98); backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 14px; gap: 4px;
    transform: translateY(-20px); opacity: 0; pointer-events: none;
    transition: all .25s var(--ease);
  }
  .nav-menu.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .nav-menu a { padding: 14px 16px; }
  .nav-cta { margin-left: 0; margin-top: 6px; text-align: center; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 14px 28px;
  font-weight: 700;
  font-size: .95rem;
  border-radius: 12px;
  border: 0; cursor: pointer;
  transition: all .25s var(--ease);
  letter-spacing: .01em;
}
.btn-primary {
  background: var(--grad-brand); color: #00172b;
  box-shadow: 0 12px 32px rgba(0,212,255,.28);
}
.btn-primary:hover {
  background: var(--grad-gold); color: #2a1800;
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(255,214,0,.32);
}
.btn-ghost {
  background: transparent; color: var(--text);
  border: 1px solid var(--border-strong);
}
.btn-ghost:hover { background: var(--surface); color: var(--brand); border-color: var(--brand); }
.btn-gold {
  background: var(--grad-gold); color: #241400;
  box-shadow: 0 12px 32px rgba(255,138,0,.28);
}
.btn-gold:hover { transform: translateY(-2px); }
.btn-arrow::after { content: '→'; display: inline-block; transition: transform .25s var(--ease); }
.btn:hover .btn-arrow::after, .btn-arrow:hover::after { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  min-height: 92vh;
  display: flex; align-items: center;
  background: var(--grad-hero);
  position: relative; overflow: hidden;
  padding: 100px 0 120px;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 40%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 70% 80% at 50% 40%, #000 40%, transparent 80%);
  pointer-events: none;
}
.hero-lightning {
  position: absolute; top: 0; right: 0; height: 100%; width: 55%;
  pointer-events: none; opacity: .85;
}
.hero-inner { position: relative; z-index: 2; display: grid; grid-template-columns: 1.1fr .9fr; gap: 60px; align-items: center; }
@media (max-width: 960px) { .hero-inner { grid-template-columns: 1fr; } .hero-lightning { display: none; } }
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  background: rgba(0,212,255,.1);
  border: 1px solid rgba(0,212,255,.3);
  border-radius: 100px;
  color: var(--brand);
  font-size: .8rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.eyebrow .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 12px var(--brand);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%,100% { opacity: 1; transform: scale(1); }
  50% { opacity: .4; transform: scale(1.4); }
}
.hero h1 {
  color: #fff;
  margin-bottom: 20px;
}
.hero h1 .grad {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero h1 .gold {
  background: var(--grad-gold);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero .lead {
  font-size: 1.15rem;
  max-width: 560px;
  margin-bottom: 36px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  margin-top: 56px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
  padding-top: 32px;
  border-top: 1px solid var(--border);
}
@media (max-width: 640px) { .hero-stats { grid-template-columns: repeat(2, 1fr); } }
.hero-stats .num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-stats .lbl { color: var(--text-dim); font-size: .82rem; text-transform: uppercase; letter-spacing: .1em; }

/* Hero visual */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  max-width: 520px; margin: 0 auto;
}
.hero-visual .orb {
  position: absolute; inset: 0;
  border-radius: 50%;
  background:
    radial-gradient(circle at 30% 30%, rgba(0,212,255,.4), transparent 60%),
    radial-gradient(circle at 70% 70%, rgba(255,138,0,.3), transparent 60%),
    linear-gradient(135deg, #0a1629, #11223e);
  box-shadow:
    inset 0 0 80px rgba(0,212,255,.2),
    0 40px 120px rgba(0,119,255,.3);
  border: 1px solid var(--border-strong);
  animation: rotate 30s linear infinite;
}
@keyframes rotate { to { transform: rotate(360deg); } }
.hero-visual .ring {
  position: absolute; inset: -30px;
  border-radius: 50%;
  border: 1px dashed rgba(0,212,255,.3);
  animation: rotate 40s linear infinite reverse;
}
.hero-visual .ring-2 {
  position: absolute; inset: -70px;
  border-radius: 50%;
  border: 1px dashed rgba(255,214,0,.2);
  animation: rotate 60s linear infinite;
}
.hero-visual .bolt-big {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 140px; height: 140px;
  z-index: 3;
  filter: drop-shadow(0 0 30px rgba(255,214,0,.7));
  animation: float 4s ease-in-out infinite;
}
@keyframes float { 0%,100%{ transform: translate(-50%,-50%); } 50%{ transform: translate(-50%, calc(-50% - 14px)); } }
.hero-visual .mini {
  position: absolute; width: 58px; height: 58px;
  border-radius: 16px;
  background: var(--surface-2);
  border: 1px solid var(--border-strong);
  backdrop-filter: blur(10px);
  display: grid; place-items: center;
  color: var(--brand);
  font-size: 1.4rem;
  box-shadow: var(--shadow-md);
}
.hero-visual .mini:nth-child(5) { top: 8%; left: 50%; transform: translateX(-50%); }
.hero-visual .mini:nth-child(6) { top: 50%; right: -4%; transform: translateY(-50%); color: var(--accent); }
.hero-visual .mini:nth-child(7) { bottom: 8%; left: 50%; transform: translateX(-50%); }
.hero-visual .mini:nth-child(8) { top: 50%; left: -4%; transform: translateY(-50%); color: var(--accent); }

/* ---------- Section headers ---------- */
.section-head { text-align: center; max-width: 760px; margin: 0 auto 60px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head h2 .grad {
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ---------- Marquee ---------- */
.marquee {
  overflow: hidden; border-block: 1px solid var(--border);
  background: linear-gradient(90deg, #0a1629, #060d1a);
}
.marquee-track {
  display: flex; gap: 80px; padding: 28px 0;
  animation: scroll 35s linear infinite;
  width: max-content;
}
@keyframes scroll { to { transform: translateX(-50%); } }
.marquee span {
  color: var(--text-dim); font-weight: 600;
  font-size: 1.05rem; letter-spacing: .05em;
  display: inline-flex; align-items: center; gap: 16px;
  white-space: nowrap;
}
.marquee span::before {
  content: '⚡';
  color: var(--accent);
  font-size: 1.1rem;
}

/* ---------- Card Grid ---------- */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .cards { grid-template-columns: 1fr; } }

.card {
  position: relative;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  transition: all .3s var(--ease);
  overflow: hidden;
}
.card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(400px circle at var(--mx, 50%) var(--my, 0%), rgba(0,212,255,.12), transparent 40%);
  opacity: 0; transition: opacity .3s;
  pointer-events: none;
}
.card:hover::before { opacity: 1; }
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-strong);
  box-shadow: 0 20px 60px rgba(0,212,255,.15);
}
.card .icon-wrap {
  width: 64px; height: 64px;
  border-radius: 16px;
  background: var(--grad-brand);
  display: grid; place-items: center;
  margin-bottom: 22px;
  box-shadow: 0 12px 28px rgba(0,212,255,.3);
  position: relative;
  color: #001a2e;
}
.card.gold .icon-wrap { background: var(--grad-gold); color: #241400; box-shadow: 0 12px 28px rgba(255,138,0,.3); }
.card .icon-wrap svg { width: 32px; height: 32px; }
.card h3 { color: #fff; margin-bottom: 12px; }
.card p { color: var(--text-muted); font-size: .95rem; }
.card .learn {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand); font-weight: 600;
  margin-top: 16px; font-size: .9rem;
}
.card .learn::after { content: '→'; transition: transform .25s var(--ease); }
.card:hover .learn::after { transform: translateX(4px); }

/* ---------- Split layout ---------- */
.split {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 70px; align-items: center;
}
.split.reverse { direction: rtl; }
.split.reverse > * { direction: ltr; }
@media (max-width: 960px) { .split { grid-template-columns: 1fr; gap: 40px; } .split.reverse { direction: ltr; } }
.split-visual {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: linear-gradient(135deg, #0a1629, #11223e);
  border: 1px solid var(--border);
  display: grid; place-items: center;
}
.split-visual .glow {
  position: absolute; width: 60%; aspect-ratio: 1;
  border-radius: 50%;
  background: var(--grad-brand); filter: blur(80px);
  opacity: .5;
}

/* ---------- Feature list ---------- */
.feature-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 16px; }
.feature-list li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 1rem; color: var(--text-muted);
}
.feature-list .check {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: rgba(0,212,255,.12);
  color: var(--brand);
  display: grid; place-items: center;
  font-weight: 700; font-size: .85rem;
  margin-top: 2px;
}
.feature-list.gold .check { background: rgba(255,214,0,.12); color: var(--accent); }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: linear-gradient(135deg, #0a1629, #060d1a);
  border-block: 1px solid var(--border);
  padding: 60px 0;
}
.stats-strip .grid { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 640px) { .stats-strip .grid { grid-template-columns: repeat(2,1fr); gap: 32px; } }
.stat { text-align: center; }
.stat .num {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3.2rem);
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.stat .lbl { color: var(--text-muted); font-weight: 500; }

/* ---------- CTA banner ---------- */
.cta-banner {
  margin: 0 24px;
  background:
    radial-gradient(600px circle at 20% 20%, rgba(0,212,255,.25), transparent 60%),
    radial-gradient(500px circle at 80% 80%, rgba(255,138,0,.25), transparent 60%),
    linear-gradient(135deg, #0a1629, #11223e);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-xl);
  padding: 70px 60px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 40px;
  align-items: center;
  position: relative; overflow: hidden;
  max-width: var(--container); margin-inline: auto;
}
@media (max-width: 800px) { .cta-banner { grid-template-columns: 1fr; padding: 50px 30px; } }
.cta-banner h2 { color: #fff; margin-bottom: 14px; }
.cta-banner h2 .grad { background: var(--grad-gold); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.cta-banner .actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ---------- Footer ---------- */
.footer {
  background: #030812;
  border-top: 1px solid var(--border);
  padding: 80px 0 0;
  color: var(--text-muted);
}
.footer-grid {
  display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 50px;
  margin-bottom: 60px;
}
@media (max-width: 960px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h5 {
  color: #fff; font-size: .95rem; text-transform: uppercase;
  letter-spacing: .12em; margin-bottom: 22px;
}
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.footer a { color: var(--text-muted); font-size: .92rem; }
.footer a:hover { color: var(--brand); }
.footer .about p { font-size: .92rem; }
.office-card {
  padding: 20px;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  background: var(--surface);
  margin-bottom: 14px;
}
.office-card strong { color: #fff; display: block; margin-bottom: 6px; }
.office-card span { display: block; font-size: .88rem; color: var(--text-muted); }

.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a {
  width: 40px; height: 40px; border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--border);
  display: grid; place-items: center;
  color: var(--text-muted);
  transition: all .25s var(--ease);
}
.socials a:hover {
  background: var(--grad-brand); color: #001a2e;
  border-color: transparent;
  transform: translateY(-3px);
}

.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 14px;
  font-size: .85rem;
  color: var(--text-dim);
}

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  position: relative;
  padding: 140px 0 90px;
  background: var(--grad-hero);
  overflow: hidden;
  text-align: center;
}
.page-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,.06) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 80%);
}
.page-hero h1 { color: #fff; position: relative; z-index: 2; margin-bottom: 16px; }
.page-hero h1 .grad { background: var(--grad-brand); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.page-hero .crumb {
  position: relative; z-index: 2;
  color: var(--text-muted); font-size: .9rem;
}
.page-hero .crumb a { color: var(--brand); }
.page-hero .lead {
  position: relative; z-index: 2;
  font-size: 1.1rem; max-width: 680px; margin: 0 auto;
  color: var(--text-muted);
}

/* ---------- Product / Service detail block ---------- */
.detail-block {
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.detail-block:last-child { border-bottom: 0; }
.detail-block .split { gap: 70px; }
.detail-block .eyebrow { background: rgba(255,214,0,.08); border-color: rgba(255,214,0,.3); color: var(--accent); }
.detail-block h2 { color: #fff; }
.detail-block .visual {
  aspect-ratio: 4/3;
  background: linear-gradient(135deg, #0a1629, #11223e);
  border-radius: var(--radius-xl);
  border: 1px solid var(--border);
  position: relative; overflow: hidden;
  display: grid; place-items: center;
}
.detail-block .visual::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 30% 20%, rgba(0,212,255,.2), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,138,0,.15), transparent 50%);
}
.detail-block .visual svg { position: relative; width: 55%; height: auto; filter: drop-shadow(0 10px 30px rgba(0,212,255,.3)); }

/* ---------- Contact form ---------- */
.contact-wrap { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
@media (max-width: 900px) { .contact-wrap { grid-template-columns: 1fr; } }
.contact-card {
  padding: 36px;
  background: linear-gradient(180deg, rgba(255,255,255,.04), rgba(255,255,255,.01));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.contact-card h3 { color: #fff; }
.contact-info { display: grid; gap: 28px; }
.contact-info .row { display: flex; gap: 16px; align-items: flex-start; }
.contact-info .icon {
  width: 50px; height: 50px; border-radius: 12px;
  background: rgba(0,212,255,.1); color: var(--brand);
  display: grid; place-items: center; flex-shrink: 0;
  font-size: 1.1rem;
}
.contact-info h4 { color: #fff; font-size: 1.05rem; margin: 0 0 4px; }
.contact-info p, .contact-info a { color: var(--text-muted); font-size: .95rem; margin: 0; display: block; }
.contact-info a:hover { color: var(--brand); }

.form { display: grid; gap: 16px; }
.form .row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 500px) { .form .row2 { grid-template-columns: 1fr; } }
.form input, .form select, .form textarea {
  width: 100%;
  padding: 14px 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid var(--border-strong);
  border-radius: 12px;
  color: var(--text);
  font: inherit;
  transition: all .2s var(--ease);
}
.form input:focus, .form select:focus, .form textarea:focus {
  outline: none; border-color: var(--brand);
  box-shadow: 0 0 0 4px rgba(0,212,255,.12);
  background: rgba(255,255,255,.06);
}
.form textarea { min-height: 130px; resize: vertical; }
.form label { display: block; color: var(--text-muted); font-size: .85rem; margin-bottom: 6px; font-weight: 500; }

/* ---------- Timeline / Process ---------- */
.process { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; position: relative; }
@media (max-width: 900px) { .process { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .process { grid-template-columns: 1fr; } }
.step {
  position: relative; padding: 28px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
}
.step .n {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700; font-size: 2.6rem;
  background: var(--grad-brand);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1; margin-bottom: 10px;
}
.step h4 { color: #fff; margin-bottom: 8px; font-size: 1.05rem; }
.step p { font-size: .92rem; margin: 0; }

/* ---------- Badge ---------- */
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 4px 10px;
  background: rgba(59, 255, 176, .1);
  color: var(--ok);
  font-size: .75rem; font-weight: 600;
  border-radius: 100px;
  border: 1px solid rgba(59, 255, 176, .3);
  letter-spacing: .05em; text-transform: uppercase;
}
.badge.gold { background: rgba(255,214,0,.1); color: var(--accent); border-color: rgba(255,214,0,.3); }

/* ---------- Whatsapp float ---------- */
.wa-float {
  position: fixed; bottom: 24px; right: 24px; z-index: 80;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25d366; color: #fff;
  display: grid; place-items: center;
  box-shadow: 0 12px 30px rgba(37, 211, 102, .4);
  animation: pulse-wa 2.5s infinite;
}
.wa-float:hover { transform: scale(1.1); color: #fff; }
.wa-float svg { width: 28px; height: 28px; }
@keyframes pulse-wa {
  0% { box-shadow: 0 12px 30px rgba(37, 211, 102, .4), 0 0 0 0 rgba(37, 211, 102, .6); }
  70% { box-shadow: 0 12px 30px rgba(37, 211, 102, .4), 0 0 0 16px rgba(37, 211, 102, 0); }
  100% { box-shadow: 0 12px 30px rgba(37, 211, 102, .4), 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ---------- Utilities ---------- */
.hide-sm { }
@media (max-width: 640px) { .hide-sm { display: none; } }
.mb-12 { margin-bottom: 12px; } .mb-24 { margin-bottom: 24px; } .mb-40 { margin-bottom: 40px; }
.mt-24 { margin-top: 24px; }

/* Fade in on scroll */
.reveal { opacity: 0; transform: translateY(24px); transition: all .7s var(--ease); }
.reveal.on { opacity: 1; transform: none; }

/* ---------- Product Gallery ---------- */
.pgallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 40px; }
@media (max-width: 900px) { .pgallery { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .pgallery { grid-template-columns: 1fr; } }
.pitem {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--surface);
  border: 1px solid var(--border);
  transition: all .35s var(--ease);
  cursor: pointer;
}
.pitem:hover {
  transform: translateY(-6px);
  border-color: var(--brand);
  box-shadow: 0 25px 60px rgba(0,212,255,.2);
}
.pitem-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f4f8, #dde6ee);
}
.pitem-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.pitem:hover .pitem-img img { transform: scale(1.08); }
.pitem-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6,13,26,.85));
}
.pitem-body { padding: 20px 22px 22px; position: relative; z-index: 2; }
.pitem-body h4 {
  color: #fff; font-size: 1.02rem;
  margin: 0 0 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}
.pitem-body p { color: var(--text-dim); font-size: .85rem; margin: 0; }
.pitem-tag {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  padding: 4px 10px;
  background: rgba(0,212,255,.9);
  color: #00172b;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 4px;
}
.pitem-tag.gold { background: rgba(255,214,0,.95); color: #2a1800; }

/* Hero image blend for detail block */
.detail-block .visual.photo {
  background: #0a1629;
  padding: 0;
}
.detail-block .visual.photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  border-radius: var(--radius-xl);
  opacity: .95;
}
.detail-block .visual.photo {
  overflow: hidden;
  border-radius: var(--radius-xl);
}

/* Product banner hero */
.product-hero-banner {
  position: relative;
  height: 340px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 40px;
  border: 1px solid var(--border);
}
.product-hero-banner img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.1) brightness(.85);
}
.product-hero-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,13,26,.92), rgba(6,13,26,.55) 60%, transparent);
}
.product-hero-banner .caption {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 0 50px;
  max-width: 600px;
  z-index: 2;
}
.product-hero-banner .caption h2 { color: #fff; margin-bottom: 10px; }
.product-hero-banner .caption p { color: var(--text-muted); margin: 0; }
@media (max-width: 600px) {
  .product-hero-banner { height: 260px; }
  .product-hero-banner .caption { padding: 0 24px; }
}

/* Aamtron logo strip */
.aamtron-strip {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: #ffffff;
  border-radius: 10px;
  margin-top: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
}
.aamtron-strip img { height: 40px; width: auto; display: block; }
.aamtron-strip::before {
  content: 'A division of';
  font-size: .7rem;
  color: #7a8390;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  padding-right: 10px;
  border-right: 1px solid #e5e7eb;
}
.footer .aamtron-strip { background: #ffffff; }

.powered-by {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: .72rem;
  color: var(--text-dim);
  letter-spacing: .1em;
  text-transform: uppercase;
}

/* Service block with photos */
.srv-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--border); }
.srv-block:last-child { border-bottom: 0; }
.srv-block.reverse { direction: rtl; }
.srv-block.reverse > * { direction: ltr; }
@media (max-width: 900px) { .srv-block { grid-template-columns: 1fr; } .srv-block.reverse { direction: ltr; } }
.srv-photo {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}
.srv-photo img { width: 100%; height: 100%; object-fit: cover; }
.srv-photo::after {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(circle at 20% 20%, rgba(0,212,255,.18), transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(255,138,0,.1), transparent 50%),
    linear-gradient(180deg, transparent 60%, rgba(6,13,26,.3));
}
.srv-photo .ribbon {
  position: absolute; top: 20px; left: 20px;
  padding: 8px 14px;
  background: rgba(0,212,255,.95);
  color: #001a2e;
  font-weight: 700;
  font-size: .85rem;
  border-radius: 8px;
  letter-spacing: .02em;
  z-index: 2;
}
.srv-photo .ribbon.gold { background: rgba(255,214,0,.95); color: #2a1800; }

.srv-mini-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 24px;
}
.srv-mini-gallery img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: transform .3s;
}
.srv-mini-gallery img:hover { transform: scale(1.05); }

/* Service pill grid */
.pill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 40px 0; }
@media (max-width: 900px) { .pill-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .pill-grid { grid-template-columns: 1fr; } }
.pill {
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex; align-items: center; gap: 12px;
  color: var(--text);
  font-size: .92rem;
  transition: all .25s var(--ease);
}
.pill:hover { border-color: var(--brand); background: rgba(0,212,255,.05); color: var(--brand); }
.pill .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grad-brand); flex-shrink: 0; }

/* Partner strip */
.partner-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; flex-wrap: wrap;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-top: 30px;
}
.partner-strip .logo-mini {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-muted); font-weight: 600;
}
.partner-strip .sep { width: 1px; height: 20px; background: var(--border-strong); }
  cursor: pointer;
}
.pitem:hover {
  transform: translateY(-6px);
  border-color: var(--brand);
  box-shadow: 0 25px 60px rgba(0,212,255,.2);
}
.pitem-img {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background: linear-gradient(135deg, #f0f4f8, #dde6ee);
}
.pitem-img img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease);
}
.pitem:hover .pitem-img img { transform: scale(1.08); }
.pitem-img::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(6,13,26,.85));
}
.pitem-body { padding: 20px 22px 22px; position: relative; z-index: 2; }
.pitem-body h4 {
  color: #fff; font-size: 1.02rem;
  margin: 0 0 6px;
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 600;
}
.pitem-body p { color: var(--text-dim); font-size: .85rem; margin: 0; }
.pitem-tag {
  position: absolute; top: 14px; left: 14px; z-index: 3;
  padding: 4px 10px;
  background: rgba(0,212,255,.9);
  color: #00172b;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  border-radius: 4px;
}
.pitem-tag.gold { background: rgba(255,214,0,.95); color: #2a1800; }

/* Detail block photo */
.detail-block .visual.photo { background: #0a1629; padding: 0; overflow: hidden; border-radius: var(--radius-xl); }
.detail-block .visual.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-xl); opacity: .95; }

/* Product banner hero */
.product-hero-banner {
  position: relative;
  height: 340px;
  border-radius: var(--radius-xl);
  overflow: hidden;
  margin-bottom: 40px;
  border: 1px solid var(--border);
}
.product-hero-banner img {
  width: 100%; height: 100%; object-fit: cover;
  filter: saturate(1.1) brightness(.85);
}
.product-hero-banner::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(6,13,26,.92), rgba(6,13,26,.55) 60%, transparent);
}
.product-hero-banner .caption {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  justify-content: center;
  padding: 0 50px;
  max-width: 600px;
  z-index: 2;
}
.product-hero-banner .caption h2 { color: #fff; margin-bottom: 10px; }
.product-hero-banner .caption p { color: var(--text-muted); margin: 0; }
@media (max-width: 600px) {
  .product-hero-banner { height: 260px; }
  .product-hero-banner .caption { padding: 0 24px; }
}

/* Aamtron logo strip - inline, compact */
.aamtron-strip {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #ffffff;
  border-radius: 10px;
  margin-top: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  width: auto !important;
  max-width: 260px;
}
.aamtron-strip::before {
  content: 'A division of';
  font-size: .68rem;
  color: #7a8390;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  padding-right: 10px;
  border-right: 1px solid #e5e7eb;
  line-height: 1.2;
  max-width: 70px;
}
.aamtron-strip img {
  height: 38px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
}

/* Service block with photos */
.srv-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--border); }
.srv-block:last-child { border-bottom: 0; }
.srv-block.reverse { direction: rtl; }
.srv-block.reverse > * { direction: ltr; }
@media (max-width: 900px) { .srv-block { grid-template-columns: 1fr; } .srv-block.reverse { direction: ltr; } }
.srv-photo {
  position: relative;
  aspect-ratio: 4/3;
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid var(--border);
}
.srv-photo img { width: 100%; height: 100%; object-fit: cover; }
.srv-photo::after {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 20% 20%, rgba(0,212,255,.15), transparent 50%), linear-gradient(180deg, transparent 60%, rgba(6,13,26,.3));
}
.srv-photo .ribbon {
  position: absolute; top: 20px; left: 20px;
  padding: 8px 14px;
  background: rgba(0,212,255,.95);
  color: #001a2e;
  font-weight: 700;
  font-size: .85rem;
  border-radius: 8px;
  z-index: 2;
}
.srv-photo .ribbon.gold { background: rgba(255,214,0,.95); color: #2a1800; }
.srv-mini-gallery {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  margin-top: 24px;
}
.srv-mini-gallery img {
  width: 100%; aspect-ratio: 1; object-fit: cover;
  border-radius: 10px; border: 1px solid var(--border);
  transition: transform .3s;
}
.srv-mini-gallery img:hover { transform: scale(1.05); }

/* Pill grid */
.pill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 40px 0; }
@media (max-width: 900px) { .pill-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .pill-grid { grid-template-columns: 1fr; } }
.pill {
  padding: 14px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 14px;
  display: flex; align-items: center; gap: 12px;
  color: var(--text); font-size: .92rem;
  transition: all .25s var(--ease);
}
.pill:hover { border-color: var(--brand); background: rgba(0,212,255,.05); color: var(--brand); }
.pill .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grad-brand); flex-shrink: 0; }

/* Partner strip */
.partner-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 18px; flex-wrap: wrap;
  padding: 22px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  margin-top: 30px;
}
.partner-strip .logo-mini {
  display: inline-flex; align-items: center; gap: 10px;
  color: var(--text-muted); font-weight: 600;
}
.partner-strip .sep { width: 1px; height: 20px; background: var(--border-strong); }

/* ---------- Lightning canvas ---------- */
.lightning-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  mix-blend-mode: screen;
  opacity: .9;
}
.hero, .page-hero { position: relative; }
.hero-inner, .page-hero .container { position: relative; z-index: 2; }

/* ---------- Header Aamtron logo ---------- */
.header-partner {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-left: 18px;
  padding: 6px 12px 6px 12px;
  background: rgba(255,255,255,0.95);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.22);
}
.header-partner::before {
  content: 'BY';
  font-family: 'Space Grotesk', sans-serif;
  font-size: .62rem;
  color: #7a8390;
  letter-spacing: .15em;
  font-weight: 700;
  border-right: 1px solid #e5e7eb;
  padding-right: 8px;
}
.header-partner img {
  height: 26px;
  width: auto;
  display: block;
  max-width: none !important;
}
@media (max-width: 960px) {
  .header-partner { display: none; }
}

/* ---------- Service SVG container ---------- */
.srv-photo.svg {
  background: #0a1629;
  border: 1px solid var(--border-strong);
}
.srv-photo.svg img, .srv-photo.svg svg {
  width: 100%; height: 100%;
  object-fit: contain;
}
.srv-photo.svg::after {
  display: none;
}
.srv-photo.svg .ribbon {
  background: rgba(0,212,255,0.95);
  z-index: 5;
}

/* SVG mini gallery - use SVG thumbnails */
.srv-mini-gallery.svg img {
  background: #0a1629;
  object-fit: contain;
  padding: 10px;
}

/* Hero visual — fade lightning canvas into the existing orb */
.hero-visual { z-index: 3; }
to { background: #0a1629; padding: 0; overflow: hidden; border-radius: var(--radius-xl); }
.detail-block .visual.photo img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-xl); opacity: .95; }

/* Product banner hero */
.product-hero-banner { position: relative; height: 340px; border-radius: var(--radius-xl); overflow: hidden; margin-bottom: 40px; border: 1px solid var(--border); }
.product-hero-banner img { width: 100%; height: 100%; object-fit: cover; filter: saturate(1.1) brightness(.85); }
.product-hero-banner::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(6,13,26,.92), rgba(6,13,26,.55) 60%, transparent); }
.product-hero-banner .caption { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; padding: 0 50px; max-width: 600px; z-index: 2; }
.product-hero-banner .caption h2 { color: #fff; margin-bottom: 10px; }
.product-hero-banner .caption p { color: var(--text-muted); margin: 0; }
@media (max-width: 600px) { .product-hero-banner { height: 260px; } .product-hero-banner .caption { padding: 0 24px; } }

/* === Aamtron compact footer strip === */
.aamtron-strip {
  display: inline-flex !important;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: #ffffff;
  border-radius: 10px;
  margin-top: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.25);
  width: auto !important;
  max-width: 260px;
}
.aamtron-strip::before {
  content: 'A division of';
  font-size: .68rem;
  color: #7a8390;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-weight: 600;
  padding-right: 10px;
  border-right: 1px solid #e5e7eb;
  line-height: 1.2;
  max-width: 70px;
}
.aamtron-strip img {
  height: 38px !important;
  width: auto !important;
  max-width: none !important;
  display: block;
}

/* === Header Aamtron partner logo === */
.header-partner {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  margin-left: 14px;
  padding: 5px 10px 5px 10px;
  background: rgba(255,255,255,0.96);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,.22);
  flex-shrink: 0;
  width: auto !important;
  max-width: 150px !important;
  overflow: hidden;
}
.header-partner::before {
  content: 'BY';
  font-family: 'Space Grotesk', sans-serif;
  font-size: .58rem;
  color: #7a8390;
  letter-spacing: .12em;
  font-weight: 700;
  border-right: 1px solid #e5e7eb;
  padding-right: 7px;
  flex-shrink: 0;
}
.header-partner img {
  height: 22px !important;
  width: auto !important;
  max-width: 100px !important;
  display: block;
}
@media (max-width: 960px) { .header-partner { display: none !important; } }

/* === Service block with photos === */
.srv-block { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; padding: 70px 0; border-bottom: 1px solid var(--border); }
.srv-block:last-child { border-bottom: 0; }
.srv-block.reverse { direction: rtl; }
.srv-block.reverse > * { direction: ltr; }
@media (max-width: 900px) { .srv-block { grid-template-columns: 1fr; } .srv-block.reverse { direction: ltr; } }
.srv-photo { position: relative; aspect-ratio: 4/3; border-radius: var(--radius-xl); overflow: hidden; border: 1px solid var(--border); }
.srv-photo img { width: 100%; height: 100%; object-fit: cover; }
.srv-photo::after { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 20% 20%, rgba(0,212,255,.15), transparent 50%), linear-gradient(180deg, transparent 60%, rgba(6,13,26,.3)); }
.srv-photo .ribbon { position: absolute; top: 20px; left: 20px; padding: 8px 14px; background: rgba(0,212,255,.95); color: #001a2e; font-weight: 700; font-size: .85rem; border-radius: 8px; z-index: 3; }
.srv-photo .ribbon.gold { background: rgba(255,214,0,.95); color: #2a1800; }

.srv-photo.svg { background: #0a1629; border: 1px solid var(--border-strong); padding: 0; }
.srv-photo.svg img, .srv-photo.svg svg { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-xl); }
.srv-photo.svg::after { display: none; }

.srv-mini-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 24px; }
.srv-mini-gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; border: 1px solid var(--border); transition: transform .3s; }
.srv-mini-gallery img:hover { transform: scale(1.05); }

/* === Pill grid === */
.pill-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 40px 0; }
@media (max-width: 900px) { .pill-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .pill-grid { grid-template-columns: 1fr; } }
.pill { padding: 14px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 14px; display: flex; align-items: center; gap: 12px; color: var(--text); font-size: .92rem; transition: all .25s var(--ease); }
.pill:hover { border-color: var(--brand); background: rgba(0,212,255,.05); color: var(--brand); }
.pill .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--grad-brand); flex-shrink: 0; }

/* === Partner strip === */
.partner-strip { display: flex; align-items: center; justify-content: center; gap: 18px; flex-wrap: wrap; padding: 22px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-lg); margin-top: 30px; }
.partner-strip .logo-mini { display: inline-flex; align-items: center; gap: 10px; color: var(--text-muted); font-weight: 600; }
.partner-strip .sep { width: 1px; height: 20px; background: var(--border-strong); }

/* === Lightning canvas === */
.lightning-canvas {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
  mix-blend-mode: screen; opacity: .9;
}
.hero, .page-hero { position: relative; }
.hero-inner, .page-hero .container { position: relative; z-index: 2; }
.hero-visual { z-index: 3; }

/* ==============================================================
   RESPONSIVE — full-stack breakpoints for mobile, tablet, laptop
   ============================================================== */

/* === Large desktop (≥1440px) — keep hero breathing room === */
@media (min-width: 1440px) {
  :root { --container: 1320px; }
}

/* === Standard laptop (≤1280px) === */
@media (max-width: 1280px) {
  .section { padding: 90px 0; }
  .hero { padding: 80px 0 100px; min-height: 88vh; }
}

/* === Tablet landscape / small laptop (≤1024px) === */
@media (max-width: 1024px) {
  .container { padding: 0 22px; }
  .section { padding: 80px 0; }
  .hero { padding: 70px 0 90px; min-height: auto; }
  .hero-inner { gap: 40px; }
  .hero h1 { font-size: clamp(2rem, 4.5vw, 3.4rem); }
  .hero .lead { font-size: 1.05rem; }
  .page-hero { padding: 110px 0 70px; }
  .cta-banner { padding: 50px 40px; grid-template-columns: 1fr; gap: 30px; }
  .hero-stats { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .hero-stats .num { font-size: 1.6rem; }
}

/* === Tablet portrait (≤960px) === */
@media (max-width: 960px) {
  .topbar { font-size: .78rem; }
  .topbar .container { padding-top: 8px; padding-bottom: 8px; }
  .topbar .left { display: none; }  /* hide tagline to keep contact info visible */
  .topbar .right { margin: 0 auto; }
  .topbar .right a { margin-left: 0; margin-right: 12px; }

  .nav { padding: 14px 0; }
  .logo { font-size: 1.1rem; }
  .logo .bolt { width: 36px; height: 36px; border-radius: 10px; }
  .logo .bolt svg { width: 18px; height: 18px; }
  .logo small { font-size: .62rem; letter-spacing: .12em; }
  .header-partner { display: none !important; }  /* hamburger row keeps clean */

  .hero { padding: 50px 0 80px; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; text-align: center; }
  .hero h1 { font-size: clamp(1.9rem, 6vw, 2.8rem); }
  .hero .lead { max-width: none; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .eyebrow { margin-bottom: 14px; }
  .hero-visual { max-width: 340px; margin: 0 auto; }
  .hero-lightning { display: none; }
  .hero-stats { margin-top: 36px; padding-top: 24px; grid-template-columns: repeat(4, 1fr); gap: 14px; }
  .hero-stats .num { font-size: 1.5rem; }
  .hero-stats .lbl { font-size: .7rem; }

  .page-hero { padding: 80px 0 60px; }
  .section { padding: 70px 0; }
  .section-head { margin-bottom: 44px; }
  .split, .split.reverse { grid-template-columns: 1fr !important; gap: 34px; direction: ltr; }
  .split > * { direction: ltr; }
  .srv-block, .srv-block.reverse { grid-template-columns: 1fr; gap: 34px; padding: 50px 0; direction: ltr; }
  .srv-photo { max-width: 600px; margin: 0 auto; }

  .cards { grid-template-columns: repeat(2, 1fr); }
  .pgallery { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .pill-grid { grid-template-columns: repeat(3, 1fr) !important; }

  .product-hero-banner { height: 260px; margin-bottom: 30px; }
  .product-hero-banner .caption { padding: 0 30px; }
  .product-hero-banner .caption h2 { font-size: 1.6rem; }

  .cta-banner { padding: 40px 28px; border-radius: var(--radius-lg); }

  .process { grid-template-columns: repeat(2, 1fr); }

  .stats-strip .grid { grid-template-columns: repeat(4, 1fr); gap: 18px; }
  .stat .num { font-size: clamp(1.5rem, 4vw, 2.2rem); }

  .contact-wrap { grid-template-columns: 1fr; gap: 32px; }
  .contact-card { padding: 28px; }
}

/* === Mobile (≤640px) === */
@media (max-width: 640px) {
  html { font-size: 15px; }
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section-sm { padding: 36px 0; }

  .topbar { font-size: .72rem; padding: 6px 0; }
  .topbar .right { flex-wrap: wrap; justify-content: center; gap: 6px; }
  .topbar .right a { margin: 0; padding: 2px 6px; display: inline-block; }

  .nav { padding: 12px 0; }
  .logo { font-size: 1.02rem; gap: 8px; }
  .logo .bolt { width: 34px; height: 34px; }
  .logo small { font-size: .58rem; letter-spacing: .1em; }

  .nav-menu { padding: 10px; }
  .nav-menu a { padding: 13px 14px; font-size: .98rem; }
  .nav-cta { padding: 14px 18px !important; }

  .hero { padding: 36px 0 60px; }
  .hero h1 { font-size: clamp(1.7rem, 7vw, 2.3rem); line-height: 1.2; margin-bottom: 16px; }
  .hero .lead { font-size: 1rem; margin-bottom: 26px; }
  .hero-actions { flex-direction: column; gap: 10px; width: 100%; }
  .hero-actions .btn { width: 100%; justify-content: center; padding: 15px 20px; }
  .hero-visual { max-width: 280px; }
  .hero-visual .bolt-big { width: 100px; height: 100px; }
  .hero-visual .mini { width: 46px; height: 46px; font-size: 1.1rem; }
  .hero-visual .ring-2 { inset: -16px; }
  .hero-visual .ring { inset: -10px; }

  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; padding-top: 20px; }
  .hero-stats .num { font-size: 1.4rem; }

  .page-hero { padding: 56px 0 44px; }
  .page-hero h1 { font-size: clamp(1.7rem, 7vw, 2.3rem); }
  .page-hero .lead { font-size: .98rem; }

  .section-head { margin-bottom: 32px; }
  .section-head h2 { font-size: clamp(1.5rem, 5.6vw, 2rem); }

  h2 { font-size: clamp(1.5rem, 5.6vw, 2rem); }
  h3 { font-size: 1.12rem; }

  .cards { grid-template-columns: 1fr; gap: 18px; }
  .card { padding: 22px; border-radius: 18px; }
  .card .icon-wrap { width: 52px; height: 52px; border-radius: 13px; margin-bottom: 16px; }
  .card .icon-wrap svg { width: 26px; height: 26px; }

  .pgallery { grid-template-columns: 1fr; gap: 18px; }
  .pitem-body { padding: 16px 18px 18px; }

  .pill-grid { grid-template-columns: 1fr !important; gap: 10px; }
  .pill { padding: 13px 16px; font-size: .88rem; }

  .product-hero-banner { height: 220px; }
  .product-hero-banner .caption { padding: 0 22px; max-width: none; }
  .product-hero-banner .caption h2 { font-size: 1.35rem; }
  .product-hero-banner .caption p { font-size: .88rem; }
  .product-hero-banner .caption .eyebrow { padding: 4px 10px; font-size: .7rem; }

  .srv-block { padding: 36px 0; gap: 26px; }

/* === Aamtron primary brand logo (final authoritative rules) === */
.logo.aamtron-brand,
a.logo.aamtron-brand {
  display: inline-flex !important;
  align-items: center;
  gap: 0;
  padding: 6px 14px !important;
  background: #ffffff !important;
  border-radius: 10px !important;
  box-shadow: 0 6px 18px rgba(0,0,0,.35);
  transition: transform .25s ease, box-shadow .25s ease;
  text-decoration: none;
  width: auto !important;
  max-width: 200px;
  font-size: 0;
  line-height: 0;
}
.logo.aamtron-brand:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0,212,255,.28);
}
.logo.aamtron-brand img,
.logo.aamtron-brand > img,
a.logo.aamtron-brand img {
  height: 40px !important;
  width: auto !important;
  max-width: 170px !important;
  max-height: 40px !important;
  display: block !important;
}
.logo.aamtron-brand.footer-brand { padding: 10px 18px !important; max-width: 240px; }
.logo.aamtron-brand.footer-brand img { height: 50px !important; max-height: 50px !important; max-width: 200px !important; }

@media (max-width: 640px) {
  .logo.aamtron-brand { padding: 5px 10px !important; max-width: 160px; }
  .logo.aamtron-brand img { height: 34px !important; max-height: 34px !important; max-width: 140px !important; }
}
@media (max-width: 420px) {
  .logo.aamtron-brand img { height: 30px !important; max-height: 30px !important; max-width: 110px !important; }
}
