/* ==========================================================================
   NAG Technosolution - Main Stylesheet (original work)
   ========================================================================== */

@font-face {
  font-family: 'Wallpoet';
  src: url('../fonts/Wallpoet.ttf') format('truetype');
  font-display: swap;
}
@font-face {
  font-family: 'KabelBookBT';
  src: url('../fonts/Kabel_Book_BT.ttf') format('truetype');
  font-display: swap;
}

:root {
  --bg-base: #050d18;
  --bg-elev-1: #0a1626;
  --bg-elev-2: #0f1f33;
  --bg-elev-3: #14283f;
  --line: rgba(0, 170, 184, 0.12);
  --line-strong: rgba(0, 170, 184, 0.28);

  --brand: #009cad;
  --brand-2: #00c0d4;
  --brand-light: #7bbdd6;
  --brand-soft: rgba(0, 156, 173, 0.12);
  --accent: #ffd166;

  --text: #e7eef5;
  --text-dim: #9aa9b8;
  --text-muted: #6b7a8a;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --radius-pill: 999px;

  --shadow-sm: 0 4px 16px rgba(0, 0, 0, 0.25);
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.35);
  --shadow-glow: 0 10px 40px rgba(0, 156, 173, 0.18);

  --font-body: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, sans-serif;
  --font-display: 'Space Grotesk', 'Inter', sans-serif;
  --font-accent: 'Wallpoet', monospace;

  --container: 1240px;
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--bg-base);
  color: var(--text);
  line-height: 1.65;
  font-size: 16px;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  cursor: none;
}
@media (max-width: 991px) { body { cursor: auto; } }

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-2); text-decoration: none; transition: color .25s ease; }
a:hover { color: var(--brand-light); }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--text);
  margin: 0 0 .6em;
  letter-spacing: -.01em;
}
h1 { font-size: clamp(2.4rem, 4.4vw, 4.4rem); line-height: 1.05; }
h2 { font-size: clamp(1.9rem, 3vw, 3rem); line-height: 1.15; }
h3 { font-size: clamp(1.3rem, 1.8vw, 1.7rem); line-height: 1.25; }
p { margin: 0 0 1em; color: var(--text-dim); }

.container-xl-custom { max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.section { padding: 110px 0; position: relative; }
.section-sm { padding: 70px 0; }
.section-tight { padding: 80px 0; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .82rem;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--brand-2);
  padding: 8px 16px;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  background: var(--brand-soft);
  margin-bottom: 18px;
}
.eyebrow::before {
  content: '';
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--brand-2);
  box-shadow: 0 0 0 4px rgba(0, 192, 212, .18);
  animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 4px rgba(0, 192, 212, .18); }
  50% { box-shadow: 0 0 0 8px rgba(0, 192, 212, .04); }
}

.section-title { max-width: 760px; margin-bottom: 56px; }
.section-title.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-title h2 .grad { background: linear-gradient(90deg, var(--brand-2), var(--brand-light)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.section-title p { font-size: 1.05rem; }

/* ============== BUTTONS ============== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .95rem;
  text-decoration: none;
  border: 1px solid transparent;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), color .25s ease, border-color .25s ease;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  color: #fff;
  box-shadow: var(--shadow-glow);
}
.btn-primary::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, var(--brand-2) 0%, var(--brand-light) 100%);
  opacity: 0;
  transition: opacity .35s ease;
}
.btn-primary > * { position: relative; }
.btn-primary:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 16px 50px rgba(0, 192, 212, .4); }
.btn-primary:hover::before { opacity: 1; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border-color: var(--line-strong);
}
.btn-ghost:hover { background: var(--brand-soft); color: var(--text); border-color: var(--brand-2); transform: translateY(-3px); }
.btn .arrow {
  display: inline-flex; width: 28px; height: 28px;
  background: rgba(255, 255, 255, .15);
  border-radius: 50%;
  align-items: center; justify-content: center;
  transition: transform .35s var(--ease-out);
  position: relative;
}
.btn:hover .arrow { transform: translateX(4px) rotate(-45deg); }

/* Magnetic wrapper */
.magnetic { display: inline-block; will-change: transform; }

/* ============== HEADER ============== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 50;
  padding: 16px 0;
  transition: background .4s var(--ease), box-shadow .4s var(--ease), padding .4s var(--ease);
}
.site-header.scrolled {
  background: rgba(5, 13, 24, .85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 6px 24px rgba(0, 0, 0, .35);
  padding: 10px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand-mark { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand-mark img { height: 44px; width: auto; transition: transform .35s var(--ease-out); }
.brand-mark:hover img { transform: rotate(-6deg) scale(1.04); }
.brand-mark .brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-mark .brand-name { font-family: var(--font-accent); color: var(--brand-2); font-size: 1.3rem; letter-spacing: .04em; }
.brand-mark .brand-sub { font-family: var(--font-display); font-size: .65rem; letter-spacing: .3em; color: var(--text-dim); margin-top: 4px; text-transform: uppercase; }

.main-nav { display: flex; align-items: center; gap: 4px; }
.main-nav a {
  position: relative;
  color: var(--text-dim);
  padding: 10px 16px;
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .95rem;
  border-radius: var(--radius-pill);
  transition: color .25s ease, background .25s ease;
}
.main-nav a:hover, .main-nav a.active { color: var(--text); background: var(--brand-soft); }
.header-cta { display: flex; align-items: center; gap: 14px; }
.header-cta .phone { display: flex; align-items: center; gap: 10px; color: var(--text-dim); font-family: var(--font-display); font-weight: 500; transition: color .25s ease; }
.header-cta .phone:hover { color: var(--brand-2); }
.header-cta .phone i { color: var(--brand-2); }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  background: var(--brand-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  color: var(--text);
  cursor: pointer;
  align-items: center; justify-content: center;
}

/* ============== HERO ============== */
.hero {
  position: relative;
  padding: 180px 0 120px;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(60% 50% at 80% 20%, rgba(0, 192, 212, .22), transparent 60%),
    radial-gradient(45% 40% at 10% 90%, rgba(123, 189, 214, .14), transparent 60%);
  z-index: -1;
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 156, 173, .07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 156, 173, .07) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  z-index: -1;
}
.hero-inner { display: grid; grid-template-columns: 1.15fr .85fr; gap: 60px; align-items: center; }
.hero h1 { margin-bottom: 24px; }
.hero h1 .grad { background: linear-gradient(120deg, var(--brand-2), var(--brand-light) 60%, #fff); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero .lede { font-size: 1.15rem; max-width: 540px; }
.hero-actions { display: flex; gap: 16px; margin-top: 36px; flex-wrap: wrap; }
.hero-stats { display: flex; gap: 36px; margin-top: 56px; padding-top: 36px; border-top: 1px solid var(--line); }
.hero-stats .stat .num { font-family: var(--font-display); font-weight: 700; font-size: 2rem; color: var(--text); display: block; }
.hero-stats .stat .num small { color: var(--brand-2); }
.hero-stats .stat .lbl { font-size: .85rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .15em; }

/* Word reveal animation */
.word-reveal { display: inline-block; overflow: hidden; vertical-align: top; line-height: 1.1; }
.word-reveal > span { display: inline-block; transform: translateY(110%); transition: transform 1s var(--ease-out); }
.word-reveal.in > span { transform: translateY(0); }

.hero-visual { position: relative; aspect-ratio: 1; max-width: 500px; margin-left: auto; }
.hero-orb {
  position: absolute; inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(0, 192, 212, .35), rgba(0, 156, 173, .08) 60%, transparent);
  border: 1px solid var(--line-strong);
}
.hero-orb::before, .hero-orb::after {
  content: '';
  position: absolute; inset: 14%;
  border-radius: 50%;
  border: 1px dashed var(--line-strong);
  animation: spin 60s linear infinite;
}
.hero-orb::after { inset: 28%; animation-duration: 40s; animation-direction: reverse; border-style: solid; border-color: var(--line); }
.hero-orb-core {
  position: absolute; inset: 38%;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  display: grid; place-items: center;
  color: #fff;
  font-size: 2.4rem;
  box-shadow: 0 0 60px rgba(0, 192, 212, .5);
  animation: pulseCore 3s ease-in-out infinite;
}
@keyframes pulseCore {
  0%, 100% { transform: scale(1); box-shadow: 0 0 60px rgba(0, 192, 212, .5); }
  50% { transform: scale(1.06); box-shadow: 0 0 80px rgba(0, 192, 212, .7); }
}
@keyframes spin { to { transform: rotate(360deg); } }

.hero-chip {
  position: absolute;
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px;
  background: rgba(15, 31, 51, .9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: .85rem;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}
.hero-chip i { color: var(--brand-2); }
.hero-chip.c1 { top: 8%; right: -20px; animation: float 6s ease-in-out infinite; }
.hero-chip.c2 { bottom: 12%; left: -30px; animation: float 7s ease-in-out infinite reverse; }
.hero-chip.c3 { top: 50%; right: -10%; animation: float 8s ease-in-out infinite; animation-delay: .5s; }
@keyframes float { 50% { transform: translateY(-12px); } }

/* ============== TICKER (infinite marquee) ============== */
.ticker {
  border-block: 1px solid var(--line);
  background: var(--bg-elev-1);
  overflow: hidden;
  padding: 26px 0;
  position: relative;
}
.ticker::before, .ticker::after {
  content: '';
  position: absolute; top: 0; bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.ticker::before { left: 0; background: linear-gradient(90deg, var(--bg-elev-1), transparent); }
.ticker::after { right: 0; background: linear-gradient(-90deg, var(--bg-elev-1), transparent); }
.ticker-track {
  display: flex; gap: 64px;
  animation: ticker 40s linear infinite;
  width: max-content;
}
.ticker-track:hover { animation-play-state: paused; }
.ticker-track span {
  display: inline-flex; align-items: center; gap: 18px;
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--text-muted);
  white-space: nowrap;
  transition: color .25s ease;
}
.ticker-track span:hover { color: var(--brand-2); }
.ticker-track span::after {
  content: '';
  width: 8px; height: 8px;
  background: var(--brand-2);
  border-radius: 50%;
}
@keyframes ticker { to { transform: translateX(-50%); } }

/* ============== SERVICES GRID ============== */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.service-card {
  position: relative;
  padding: 36px 30px;
  background: linear-gradient(180deg, var(--bg-elev-1), var(--bg-elev-2));
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s var(--ease-out), border-color .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.service-card::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at var(--mx, 20%) var(--my, 0%), var(--brand-soft), transparent 50%);
  opacity: 0;
  transition: opacity .35s ease;
  pointer-events: none;
}
.service-card:hover { transform: translateY(-8px); border-color: var(--line-strong); box-shadow: var(--shadow-glow); }
.service-card:hover::before { opacity: 1; }
.service-card .icon {
  position: relative;
  width: 64px; height: 64px;
  display: grid; place-items: center;
  background: var(--brand-soft);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius);
  font-size: 1.6rem;
  color: var(--brand-2);
  margin-bottom: 22px;
  transition: transform .4s var(--ease-out), background .4s ease;
}
.service-card:hover .icon { transform: rotate(-8deg) scale(1.05); background: var(--brand); color: #fff; }
.service-card h3 { position: relative; margin-bottom: 12px; }
.service-card p { position: relative; margin-bottom: 22px; font-size: .95rem; }
.service-card .more {
  position: relative;
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--brand-2);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: .9rem;
}
.service-card .more i { transition: transform .35s var(--ease-out); }
.service-card:hover .more i { transform: translateX(6px); }

/* ============== ABOUT / TWO-COLUMN ============== */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center; }
.split.reverse > :first-child { order: 2; }
.about-image-wrap {
  position: relative;
  aspect-ratio: 4/5;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background:
    linear-gradient(135deg, rgba(0, 156, 173, .25), rgba(15, 31, 51, .8)),
    repeating-linear-gradient(45deg, var(--bg-elev-2) 0 20px, var(--bg-elev-1) 20px 40px);
}
.about-image-wrap .badge {
  position: absolute; right: -22px; bottom: 40px;
  width: 160px; height: 160px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  border-radius: 50%;
  display: grid; place-items: center;
  text-align: center;
  color: #fff;
  box-shadow: var(--shadow-glow);
  padding: 18px;
  animation: floatBadge 6s ease-in-out infinite;
}
@keyframes floatBadge { 50% { transform: translateY(-10px) rotate(-5deg); } }
.about-image-wrap .badge .num { font-family: var(--font-display); font-size: 2.6rem; font-weight: 800; line-height: 1; }
.about-image-wrap .badge .txt { font-size: .8rem; text-transform: uppercase; letter-spacing: .12em; margin-top: 6px; }

.values-list { list-style: none; padding: 0; margin: 28px 0; display: grid; gap: 14px; }
.values-list li { display: flex; align-items: flex-start; gap: 14px; color: var(--text); font-weight: 500; }
.values-list li i {
  flex-shrink: 0;
  width: 26px; height: 26px;
  background: var(--brand-soft);
  border: 1px solid var(--line-strong);
  color: var(--brand-2);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .7rem;
  margin-top: 4px;
}

/* ============== TECH CAPABILITIES ============== */
.tech-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.tech-card {
  padding: 28px 22px;
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  text-align: center;
  transition: transform .35s var(--ease-out), border-color .35s ease, background .35s ease;
}
.tech-card:hover { transform: translateY(-6px); border-color: var(--line-strong); background: var(--bg-elev-2); }
.tech-card .icon {
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  background: linear-gradient(135deg, var(--brand-soft), transparent);
  border: 1px solid var(--line-strong);
  border-radius: 14px;
  display: grid; place-items: center;
  color: var(--brand-2);
  font-size: 1.4rem;
  transition: transform .35s var(--ease-out);
}
.tech-card:hover .icon { transform: rotate(360deg); }
.tech-card h4 { font-size: 1rem; margin-bottom: 6px; }
.tech-card p { font-size: .85rem; color: var(--text-muted); margin: 0; }

/* ============== INDUSTRIES ============== */
.industries-section { background: var(--bg-elev-1); border-block: 1px solid var(--line); }
.industry-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.industry-card {
  position: relative;
  padding: 38px 26px;
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: transform .4s var(--ease-out), background .4s ease, border-color .4s ease;
}
.industry-card .num {
  position: absolute; top: 18px; right: 22px;
  font-family: var(--font-display);
  font-size: 1rem;
  color: var(--text-muted);
  transition: color .35s ease;
}
.industry-card .icon {
  width: 72px; height: 72px;
  background: var(--brand-soft);
  border-radius: var(--radius);
  display: grid; place-items: center;
  color: var(--brand-2);
  font-size: 1.8rem;
  margin-bottom: 22px;
  transition: background .35s ease, color .35s ease, transform .35s var(--ease-out);
}
.industry-card:hover { background: linear-gradient(135deg, var(--brand) 0%, #006671 100%); border-color: var(--brand-2); transform: translateY(-8px); }
.industry-card:hover h3, .industry-card:hover p, .industry-card:hover .num { color: #fff; }
.industry-card:hover p { opacity: .9; }
.industry-card:hover .icon { background: rgba(255, 255, 255, .14); color: #fff; transform: scale(1.08); }
.industry-card h3 { font-size: 1.2rem; margin-bottom: 8px; transition: color .35s ease; }
.industry-card p { font-size: .9rem; margin: 0; transition: color .35s ease, opacity .35s ease; }

/* ============== MQTT FEATURE ============== */
.feature-section {
  background:
    radial-gradient(50% 70% at 80% 50%, rgba(0, 192, 212, .12), transparent 60%),
    var(--bg-base);
}
.feature-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; margin-top: 32px; }
.feature-item {
  display: flex; gap: 18px;
  padding: 22px;
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color .3s ease, transform .3s var(--ease-out);
}
.feature-item:hover { border-color: var(--line-strong); transform: translateX(6px); }
.feature-item .ic {
  flex-shrink: 0;
  width: 44px; height: 44px;
  background: var(--brand-soft);
  color: var(--brand-2);
  border-radius: 10px;
  display: grid; place-items: center;
  transition: background .3s ease, color .3s ease;
}
.feature-item:hover .ic { background: var(--brand); color: #fff; }
.feature-item h4 { font-size: 1rem; margin-bottom: 4px; }
.feature-item p { font-size: .85rem; margin: 0; }

/* ============== TEAM / LEADERSHIP ============== */
.team-section { background: var(--bg-elev-1); }
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.team-card {
  position: relative;
  padding: 36px 28px;
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: transform .4s var(--ease-out), border-color .4s ease;
  overflow: hidden;
}
.team-card::before {
  content: '';
  position: absolute; inset: -1px;
  background: conic-gradient(from 0deg, transparent 0%, var(--brand-2) 50%, transparent 100%);
  border-radius: var(--radius-lg);
  opacity: 0;
  transition: opacity .4s ease;
  z-index: 0;
  animation: spin 4s linear infinite;
}
.team-card:hover::before { opacity: .35; }
.team-card > * { position: relative; z-index: 1; }
.team-card:hover { transform: translateY(-8px); }
.team-avatar {
  width: 130px; height: 130px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--brand), var(--brand-light));
  display: grid; place-items: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 2.6rem;
  color: #fff;
  border: 4px solid var(--bg-elev-1);
  box-shadow: var(--shadow-glow);
  transition: transform .4s var(--ease-out);
}
.team-card:hover .team-avatar { transform: scale(1.06); }
.team-card .role {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--brand-2);
  margin-bottom: 10px;
}
.team-card h3 { margin-bottom: 8px; }
.team-card .bio { font-size: .9rem; }
.team-card .socials { display: flex; gap: 10px; justify-content: center; margin-top: 16px; }
.team-card .socials a {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--text-dim);
  transition: all .3s ease;
}
.team-card .socials a:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-3px); }

/* ============== CTA STRIP ============== */
.cta-strip {
  position: relative;
  padding: 80px 0;
  background:
    linear-gradient(135deg, rgba(0, 156, 173, .9) 0%, rgba(0, 102, 113, .9) 100%),
    var(--bg-elev-2);
  overflow: hidden;
}
.cta-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255, 255, 255, .15) 1px, transparent 0);
  background-size: 28px 28px;
  opacity: .3;
}
.cta-strip-inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
}
.cta-strip h2 { color: #fff; margin: 0; max-width: 700px; }
.cta-strip .btn-primary { background: #fff; color: var(--brand); box-shadow: 0 10px 40px rgba(0, 0, 0, .25); }
.cta-strip .btn-primary:hover { background: #f4fcff; color: var(--brand); }
.cta-strip .btn-primary .arrow { background: var(--brand-soft); color: var(--brand); }

/* ============== FOOTER ============== */
.site-footer {
  background: var(--bg-elev-1);
  border-top: 1px solid var(--line);
  padding: 80px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr .8fr .8fr 1fr;
  gap: 48px;
  padding-bottom: 60px;
}
.footer-brand .brand-mark { margin-bottom: 22px; }
.footer-brand p { font-size: .95rem; max-width: 360px; }
.footer-brand .socials { display: flex; gap: 10px; margin-top: 20px; }
.footer-brand .socials a {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  display: grid; place-items: center;
  color: var(--text-dim);
  transition: all .3s ease;
}
.footer-brand .socials a:hover { background: var(--brand); color: #fff; border-color: var(--brand); transform: translateY(-3px); }
.footer-col h5 {
  font-family: var(--font-display);
  font-size: .85rem;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--text);
  margin-bottom: 22px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.footer-col a { color: var(--text-dim); font-size: .95rem; transition: color .25s ease, padding .25s ease; }
.footer-col a:hover { color: var(--brand-2); padding-left: 6px; }
.footer-col .contact-item { display: flex; gap: 12px; align-items: flex-start; color: var(--text-dim); font-size: .92rem; }
.footer-col .contact-item i { color: var(--brand-2); margin-top: 4px; }
.footer-bottom {
  border-top: 1px solid var(--line);
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: .9rem;
  color: var(--text-muted);
}
.footer-bottom a { color: var(--text-dim); }

/* ============== PAGE BANNER ============== */
.page-banner {
  position: relative;
  padding: 180px 0 80px;
  text-align: center;
  background:
    radial-gradient(50% 70% at 50% 30%, rgba(0, 192, 212, .15), transparent 60%),
    var(--bg-elev-1);
  border-bottom: 1px solid var(--line);
  overflow: hidden;
}
.page-banner::after {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(0, 156, 173, .06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 156, 173, .06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, #000 30%, transparent 80%);
  z-index: 0;
}
.page-banner > * { position: relative; z-index: 1; }
.page-banner h1 { margin-bottom: 14px; }
.breadcrumb {
  display: inline-flex; gap: 10px; align-items: center;
  font-family: var(--font-display);
  font-size: .9rem;
  color: var(--text-dim);
}
.breadcrumb a { color: var(--brand-2); }
.breadcrumb span.sep { color: var(--text-muted); }

/* ============== CONTACT ============== */
.contact-grid { display: grid; grid-template-columns: 1.2fr 1fr; gap: 60px; }
.contact-info-card {
  padding: 30px;
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  margin-bottom: 18px;
  display: flex; gap: 18px; align-items: flex-start;
  transition: border-color .3s ease, transform .3s var(--ease-out);
}
.contact-info-card:hover { border-color: var(--line-strong); transform: translateX(6px); }
.contact-info-card .ic {
  flex-shrink: 0;
  width: 52px; height: 52px;
  background: var(--brand-soft);
  border-radius: var(--radius);
  display: grid; place-items: center;
  color: var(--brand-2);
  font-size: 1.3rem;
}
.contact-info-card h4 { margin: 0 0 6px; font-size: 1.05rem; }
.contact-info-card p { margin: 0; font-size: .95rem; }
.contact-info-card a { color: var(--text); }

.contact-form {
  padding: 40px;
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
}
.contact-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 18px; }
.form-field label {
  display: block;
  font-family: var(--font-display);
  font-size: .82rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--text-dim);
  margin-bottom: 8px;
}
.form-field input,
.form-field textarea,
.form-field select {
  width: 100%;
  padding: 14px 16px;
  background: var(--bg-elev-2);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  color: var(--text);
  font-family: var(--font-body);
  font-size: .95rem;
  transition: border-color .25s ease, background .25s ease;
}
.form-field textarea { min-height: 140px; resize: vertical; }
.form-field input:focus,
.form-field textarea:focus,
.form-field select:focus {
  outline: none;
  border-color: var(--brand-2);
  background: var(--bg-elev-3);
}

/* ============== SERVICE DETAIL (sticky sidebar) ============== */
.detail-grid { display: grid; grid-template-columns: 320px 1fr; gap: 50px; align-items: start; }
.detail-sidebar { position: sticky; top: 100px; display: grid; gap: 18px; }
.sidebar-card {
  padding: 26px;
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.sidebar-card h4 { font-size: 1.05rem; margin-bottom: 18px; }
.sidebar-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 6px; }
.sidebar-card ul a {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 16px;
  background: var(--bg-elev-2);
  border: 1px solid transparent;
  border-radius: 10px;
  color: var(--text-dim);
  font-family: var(--font-display);
  font-weight: 500;
  font-size: .95rem;
  transition: all .25s ease;
}
.sidebar-card ul a:hover, .sidebar-card ul a.active {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand-2);
  padding-left: 22px;
}
.detail-content h2 { margin-top: 36px; }
.detail-content h2:first-child { margin-top: 0; }
.detail-content .lead { font-size: 1.08rem; color: var(--text); margin-bottom: 22px; }
.detail-content ul.bullet { list-style: none; padding: 0; display: grid; gap: 10px; margin: 22px 0; }
.detail-content ul.bullet li { padding-left: 32px; position: relative; }
.detail-content ul.bullet li::before {
  content: '\f00c';
  font-family: 'Font Awesome 6 Free'; font-weight: 900;
  position: absolute; left: 0; top: 4px;
  width: 22px; height: 22px;
  background: var(--brand-soft);
  color: var(--brand-2);
  border-radius: 50%;
  display: grid; place-items: center;
  font-size: .7rem;
}
.detail-image {
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(0, 156, 173, .35), rgba(15, 31, 51, .8)),
    repeating-linear-gradient(135deg, var(--bg-elev-2) 0 30px, var(--bg-elev-1) 30px 60px);
  border: 1px solid var(--line-strong);
  margin-bottom: 30px;
}

/* ============== PROJECTS GRID ============== */
.project-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.project-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--bg-elev-1);
  transition: transform .4s var(--ease-out), border-color .4s ease;
}
.project-card:hover { transform: translateY(-8px); border-color: var(--line-strong); }
.project-card .img-area {
  aspect-ratio: 16/10;
  background:
    linear-gradient(135deg, rgba(0, 156, 173, .25), rgba(15, 31, 51, .85)),
    repeating-linear-gradient(45deg, var(--bg-elev-2) 0 24px, var(--bg-elev-3) 24px 48px);
  position: relative;
  overflow: hidden;
}
.project-card .img-area::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 156, 173, .35) 100%);
  opacity: 0;
  transition: opacity .4s ease;
}
.project-card:hover .img-area::after { opacity: 1; }
.project-card .tag {
  position: absolute; top: 18px; left: 18px;
  padding: 6px 14px;
  background: rgba(5, 13, 24, .8);
  backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-pill);
  font-family: var(--font-display);
  font-size: .78rem;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--brand-2);
  z-index: 1;
}
.project-card .body { padding: 24px 26px 28px; }
.project-card h3 { margin-bottom: 8px; font-size: 1.25rem; transition: color .25s ease; }
.project-card:hover h3 { color: var(--brand-2); }
.project-card p { margin-bottom: 16px; font-size: .95rem; }
.project-card .meta {
  display: flex; gap: 14px; flex-wrap: wrap;
  font-family: var(--font-display);
  font-size: .82rem;
  color: var(--text-muted);
}
.project-card .meta span { display: inline-flex; align-items: center; gap: 6px; }
.project-card .meta i { color: var(--brand-2); }

/* ============== 404 ============== */
.error-page {
  min-height: 100vh;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 100px 24px;
}
.error-num {
  font-family: var(--font-display);
  font-size: clamp(7rem, 18vw, 14rem);
  line-height: 1;
  font-weight: 800;
  background: linear-gradient(135deg, var(--brand-2), var(--brand-light), var(--bg-elev-3));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 16px;
  animation: pulseText 3s ease-in-out infinite;
}
@keyframes pulseText { 50% { filter: brightness(1.3); } }

/* ============== CUSTOM CURSOR ============== */
.cursor-dot, .cursor-ring {
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 9998;
  transform: translate(-50%, -50%);
  mix-blend-mode: screen;
  display: none;
}
@media (min-width: 992px) {
  .cursor-dot, .cursor-ring { display: block; }
}
.cursor-dot {
  width: 6px; height: 6px;
  background: var(--brand-2);
  border-radius: 50%;
  transition: width .25s ease, height .25s ease, background .25s ease;
}
.cursor-ring {
  width: 36px; height: 36px;
  border: 1.5px solid var(--brand-2);
  border-radius: 50%;
  transition: width .25s ease, height .25s ease, border-color .25s ease, transform .15s ease;
}
.cursor-ring.hover { width: 60px; height: 60px; background: var(--brand-soft); border-color: var(--brand-light); }
.cursor-dot.hover { width: 0; height: 0; }

/* ============== UTILITY ============== */
.text-center { text-align: center; }
.mb-0 { margin-bottom: 0 !important; }
.mt-2 { margin-top: 18px; }
.mt-4 { margin-top: 36px; }
.flex-row { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }

/* ============== AOS-LIKE REVEAL ============== */
[data-reveal] {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s var(--ease-out), transform 1s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
[data-reveal="fade"] { transform: none; }
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="zoom"] { transform: scale(.92); }
[data-reveal].in { opacity: 1; transform: none; }

/* Stagger children */
[data-stagger] > * {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .8s var(--ease-out), transform .8s var(--ease-out);
}
[data-stagger].in > * { opacity: 1; transform: none; }
[data-stagger].in > *:nth-child(1) { transition-delay: 0s; }
[data-stagger].in > *:nth-child(2) { transition-delay: .08s; }
[data-stagger].in > *:nth-child(3) { transition-delay: .16s; }
[data-stagger].in > *:nth-child(4) { transition-delay: .24s; }
[data-stagger].in > *:nth-child(5) { transition-delay: .32s; }
[data-stagger].in > *:nth-child(6) { transition-delay: .40s; }
[data-stagger].in > *:nth-child(7) { transition-delay: .48s; }
[data-stagger].in > *:nth-child(8) { transition-delay: .56s; }

/* ============== PRELOADER ============== */
.preloader {
  position: fixed; inset: 0;
  background: var(--bg-base);
  display: grid; place-items: center;
  z-index: 9999;
  transition: opacity .6s ease, visibility .6s ease;
}
.preloader.hide { opacity: 0; visibility: hidden; }
.preloader-inner { display: grid; place-items: center; gap: 22px; }
.preloader .ring {
  width: 64px; height: 64px;
  border: 3px solid var(--line);
  border-top-color: var(--brand-2);
  border-radius: 50%;
  animation: spin 1s linear infinite;
}
.preloader .label {
  font-family: var(--font-display);
  font-size: .8rem;
  letter-spacing: .25em;
  color: var(--text-dim);
  text-transform: uppercase;
}

/* ============== BACK TO TOP ============== */
.back-top {
  position: fixed;
  right: 24px; bottom: 24px;
  width: 48px; height: 48px;
  background: var(--brand);
  color: #fff;
  border: none;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  z-index: 40;
  box-shadow: var(--shadow);
  opacity: 0; pointer-events: none;
  transition: opacity .3s ease, transform .3s var(--ease-out), background .3s ease;
}
.back-top.show { opacity: 1; pointer-events: auto; }
.back-top:hover { transform: translateY(-4px); background: var(--brand-2); }

/* ============== RESPONSIVE ============== */
@media (max-width: 1100px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { max-width: 380px; margin: 0 auto; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .industry-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .team-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .split.reverse > :first-child { order: 0; }
}

@media (max-width: 820px) {
  .section { padding: 80px 0; }
  .hero { padding: 140px 0 80px; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; }
  .header-cta .phone { display: none; }
  .header-cta .btn { display: none; }
  .services-grid { grid-template-columns: 1fr; }
  .industry-grid { grid-template-columns: 1fr; }
  .tech-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: 1fr; }
  .project-grid { grid-template-columns: 1fr; }
  .contact-form .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 22px; flex-wrap: wrap; }
  .cta-strip-inner { flex-direction: column; align-items: flex-start; }
}

/* Mobile drawer */
.mobile-drawer {
  position: fixed;
  inset: 0;
  background: rgba(5, 13, 24, .96);
  backdrop-filter: blur(14px);
  z-index: 100;
  visibility: hidden;
  opacity: 0;
  padding: 80px 32px 32px;
  overflow-y: auto;
  transition: opacity .35s ease, visibility .35s ease;
}
.mobile-drawer.open { visibility: visible; opacity: 1; }
.mobile-drawer .close-x {
  position: absolute; top: 22px; right: 22px;
  width: 44px; height: 44px;
  background: var(--brand-soft);
  border: 1px solid var(--line-strong);
  border-radius: 50%;
  color: var(--text);
  cursor: pointer;
  display: grid; place-items: center;
}
.mobile-drawer nav { display: grid; gap: 6px; margin-bottom: 32px; }
.mobile-drawer nav a {
  padding: 18px 20px;
  background: var(--bg-elev-1);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.05rem;
}
.mobile-drawer nav a:hover, .mobile-drawer nav a.active { border-color: var(--brand-2); background: var(--brand-soft); }

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
  [data-reveal], [data-stagger] > * { opacity: 1 !important; transform: none !important; }
}

/* ==========================================================================
   HEADER V2 — one-page nav, search button, divider, persistent hamburger.
   ========================================================================== */

.site-header .header-inner {
  justify-content: flex-start;
  gap: 22px;
}
.site-header .main-nav {
  margin-left: auto;
  gap: 2px;
}
.site-header .main-nav a {
  font-size: .95rem;
  padding: 10px 14px;
  background: transparent;
  border-radius: 8px;
}
.site-header .main-nav a:hover { color: var(--brand-2); background: transparent; }
.site-header .main-nav a.active {
  color: var(--brand-2);
  background: transparent;
  font-weight: 600;
}

/* Search button */
.search-btn {
  width: 42px; height: 42px;
  background: transparent;
  border: 1px solid transparent;
  color: var(--text);
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 1rem;
  border-radius: 50%;
  transition: color .25s ease, background .25s ease, border-color .25s ease, transform .25s var(--ease-out);
}
.search-btn:hover {
  color: var(--brand-2);
  background: var(--brand-soft);
  border-color: var(--line-strong);
  transform: scale(1.05);
}

/* Vertical divider in header */
.header-divider {
  width: 1px; height: 28px;
  background: var(--line-strong);
  display: inline-block;
  flex-shrink: 0;
}

/* CTA — softer rounded rectangle in header */
.site-header .header-cta .btn-primary {
  border-radius: 14px;
  padding: 12px 22px;
  font-size: .92rem;
}
.site-header .header-cta .btn-primary .arrow { display: none; }

/* Hamburger always visible */
.site-header .menu-toggle {
  display: inline-flex;
  width: 44px; height: 44px;
  background: var(--brand-soft);
  border: 1px solid var(--line-strong);
  border-radius: 12px;
  color: var(--text);
  cursor: pointer;
  align-items: center; justify-content: center;
  transition: background .25s ease, color .25s ease, transform .25s var(--ease-out);
}
.site-header .menu-toggle:hover {
  background: var(--brand);
  color: #fff;
  border-color: var(--brand);
  transform: rotate(8deg);
}

/* Hide phone in header for the new layout */
.site-header .header-cta .phone { display: none; }

/* Tighter responsive nav */
@media (max-width: 1100px) {
  .site-header .main-nav { gap: 0; }
  .site-header .main-nav a { padding: 8px 10px; font-size: .9rem; }
}
@media (max-width: 900px) {
  .site-header .main-nav { display: none; }
  .header-divider { display: none; }
}
@media (max-width: 540px) {
  .site-header .header-cta .btn-primary { display: none; }
}

/* ==========================================================================
   SEARCH MODAL
   ========================================================================== */
.search-modal {
  position: fixed; inset: 0;
  background: rgba(5, 13, 24, .92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 32px;
  visibility: hidden;
  opacity: 0;
  transition: opacity .35s var(--ease), visibility .35s var(--ease);
}
.search-modal.open { visibility: visible; opacity: 1; }
.search-modal form {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  max-width: 720px;
  padding: 22px 26px;
  background: var(--bg-elev-2);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}
.search-modal input[type="search"] {
  flex: 1;
  background: transparent;
  border: none;
  outline: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.4rem;
  padding: 8px 0;
}
.search-modal input[type="search"]::placeholder { color: var(--text-muted); }
.search-modal button[type="submit"] {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  color: #fff;
  border: none;
  border-radius: 50%;
  display: grid; place-items: center;
  cursor: pointer;
  transition: transform .25s var(--ease-out);
}
.search-modal button[type="submit"]:hover { transform: scale(1.06); }
.search-modal .search-close {
  position: absolute;
  top: 24px; right: 24px;
  width: 44px; height: 44px;
  background: var(--brand-soft);
  border: 1px solid var(--line-strong);
  color: var(--text);
  border-radius: 50%;
  cursor: pointer;
  display: grid; place-items: center;
  font-size: 1.1rem;
  transition: background .25s ease, transform .25s var(--ease-out);
}
.search-modal .search-close:hover { background: var(--brand); color: #fff; transform: rotate(90deg); }

/* ==========================================================================
   BANNER BACKGROUND IMAGE — applied to hero + page-banner.
   The SVG is original work generated by the theme author.
   ========================================================================== */
.hero, .page-banner {
  background-image: url('../img/banner-bg.svg'),
                    radial-gradient(60% 50% at 80% 20%, rgba(0,192,212,.18), transparent 60%),
                    radial-gradient(45% 40% at 10% 90%, rgba(123,189,214,.12), transparent 60%);
  background-size: cover, auto, auto;
  background-position: center, center, center;
  background-repeat: no-repeat, no-repeat, no-repeat;
}
.hero::before, .page-banner::after {
  background-image: none !important; /* defer to the SVG layer above */
}
.hero-grid { opacity: .35; }

/* ==========================================================================
   HEADER COLOR MATCH — warm peachy accent for active nav + CTA button.
   Logo and section accents stay teal (brand). All-original code; the colour
   palette is a generic warm sand and is not copied from any third-party.
   ========================================================================== */
:root {
  --accent-warm: #ffc46b;
  --accent-warm-2: #ffae3a;
  --accent-warm-deep: #e89a23;
  --accent-warm-soft: rgba(255, 196, 107, 0.16);
  --accent-warm-ink: #1a1208;
}

/* Active + hover state on nav links → warm */
.site-header .main-nav a.nav-link.active,
.site-header .main-nav a.nav-link:hover {
  color: var(--accent-warm);
  background: transparent;
}

/* CTA button → warm peach */
.site-header .header-cta .btn-primary {
  background: linear-gradient(135deg, var(--accent-warm) 0%, var(--accent-warm-2) 100%);
  color: var(--accent-warm-ink);
  box-shadow: 0 8px 28px rgba(255, 174, 58, 0.22);
  border-radius: 14px;
  padding: 13px 24px;
  font-weight: 700;
}
.site-header .header-cta .btn-primary::before {
  background: linear-gradient(135deg, var(--accent-warm-2) 0%, var(--accent-warm-deep) 100%);
}
.site-header .header-cta .btn-primary:hover {
  color: var(--accent-warm-ink);
  box-shadow: 0 14px 40px rgba(255, 174, 58, 0.40);
  transform: translateY(-2px);
}

/* Search button — slightly tighter */
.search-btn {
  width: 40px; height: 40px;
}

/* Logo polish — slightly larger, no rotation on hover */
.site-header .brand-mark img { height: 42px; }

/* Mobile drawer CTA also warm */
.mobile-drawer .btn-primary {
  background: linear-gradient(135deg, var(--accent-warm), var(--accent-warm-2));
  color: var(--accent-warm-ink);
  border-radius: 14px;
}

/* Header backdrop on scroll — slightly more opaque so text reads cleanly */
.site-header.scrolled {
  background: rgba(5, 13, 24, 0.92);
  border-bottom: 1px solid var(--line);
}

/* ==========================================================================
   HERO RING — rotating concentric rings + service tags arranged on a circle.
   Original implementation. The visual pattern (circular tag arrangement with
   pulsing core) is a generic UI pattern; the markup, classes and animations
   below are written from scratch.
   ========================================================================== */
.hero-visual { position: relative; aspect-ratio: 1; max-width: 540px; margin-left: auto; }

.ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed var(--line-strong);
}
.ring::before, .ring::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.ring::before {
  inset: 14%;
  border: 1px dashed var(--line-strong);
  animation: spin 60s linear infinite;
}
.ring::after {
  inset: 28%;
  border: 1px solid var(--line);
  animation: spin 40s linear infinite reverse;
}

.ring-pulse {
  position: absolute;
  inset: 0;
  border: 2px solid var(--brand-2);
  border-radius: 50%;
  opacity: 0;
  animation: hpulse 4s ease-out infinite;
  pointer-events: none;
}
.ring-pulse-2 { animation-delay: 2s; }
@keyframes hpulse {
  0%   { opacity: 0.55; transform: scale(0.7); }
  100% { opacity: 0;    transform: scale(1.0); }
}

.ring-core {
  position: absolute;
  inset: 36%;
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  border-radius: 50%;
  display: grid; place-items: center;
  color: #fff;
  box-shadow: 0 0 80px rgba(0, 192, 212, .5);
  z-index: 2;
  animation: pulseCore 3s ease-in-out infinite;
}
.ring-core i { font-size: 2.2rem; }

.ring-tags { position: absolute; inset: 0; }
.ring-tag {
  position: absolute;
  top: 50%; left: 50%;
  transform:
    translate(-50%, -50%)
    rotate(calc(var(--i) * 60deg))
    translateY(-46%)
    rotate(calc(-1 * var(--i) * 60deg));
  background: rgba(15, 31, 51, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--line-strong);
  padding: 10px 18px;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: var(--shadow-sm);
  transition: background .3s ease, border-color .3s ease, color .3s ease;
}
.ring-tag i { color: var(--accent-warm); }
.ring-tag:hover {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-2) 100%);
  border-color: var(--brand-2);
  color: #fff;
}
.ring-tag:hover i { color: #fff; }

/* Compact ring on smaller viewports */
@media (max-width: 1100px) {
  .hero-visual { max-width: 420px; margin: 0 auto; }
  .ring-tag { font-size: 0.78rem; padding: 8px 14px; }
}
@media (max-width: 540px) {
  .hero-visual { max-width: 320px; }
  .ring-tag { font-size: 0.72rem; padding: 6px 12px; }
  .ring-core i { font-size: 1.6rem; }
}
