/* ============================================================
   AIRSTREAM SOC THEME — MAIN STYLESHEET
   Airstream brand palette — blue gradient design
   ============================================================ */

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  /* Backgrounds */
  --bg:           #ffffff;
  --bg-2:         #f7f8fc;
  --bg-3:         #e6e8f2;
  --bg-card:      #ffffff;

  /* Borders */
  --border:       rgba(8,8,38,0.08);
  --border-2:     rgba(8,8,38,0.14);

  /* Text */
  --text:         #080826;
  --text-muted:   #565873;
  --text-dim:     #828499;

  /* Primary Blue */
  --blue:         #5f82ff;
  --blue-2:       #78a5ff;
  --blue-3:       #cde1ff;
  --blue-dim:     rgba(95,130,255,0.10);
  --blue-dim2:    rgba(95,130,255,0.18);

  /* Accent */
  --accent:       #6979fb;
  --accent-2:     #a5b3fb;

  /* Gradient */
  --grad-start:   #4512ff;
  --grad-end:     #3ba5ff;
  --gradient:     linear-gradient(135deg, #4512ff 0%, #3ba5ff 100%);
  --gradient-h:   linear-gradient(135deg, #3ba5ff 0%, #50b4ff 100%);

  /* Dark shades */
  --dark:         #080826;
  --dark-2:       #292940;
  --dark-3:       #3e3e59;

  /* Semantic */
  --green:        #00c48c;
  --orange:       #ffa26b;
  --red:          #ff647c;
  --yellow:       #ffcf5c;

  /* Fonts */
  --font:         'Inter', system-ui, -apple-system, sans-serif;
  --font-mono:    'JetBrains Mono', 'Fira Code', monospace;

  /* Radius */
  --radius:       8px;
  --radius-lg:    14px;
  --radius-xl:    20px;
  --radius-full:  9999px;

  --transition:   200ms cubic-bezier(0.4,0,0.2,1);
  --shadow:       0 2px 12px rgba(8,8,38,0.08);
  --shadow-md:    0 4px 24px rgba(8,8,38,0.12);
  --shadow-lg:    0 8px 40px rgba(8,8,38,0.16);
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background-color: var(--bg);
  color: var(--text);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; transition: color var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ── Container ── */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Buttons ── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: all var(--transition);
  border: none;
  outline: none;
  white-space: nowrap;
  font-family: var(--font);
  text-decoration: none;
}
.btn-primary {
  background: var(--gradient);
  color: #fff;
}
.btn-primary:hover { background: var(--gradient-h); transform: translateY(-1px); box-shadow: 0 4px 20px rgba(69,18,255,0.30); }
.btn-secondary {
  background: var(--blue-dim2);
  color: var(--blue);
  border: 1.5px solid var(--blue-dim2);
}
.btn-secondary:hover { background: var(--blue-dim); color: var(--accent); }
.btn-outline {
  background: transparent;
  border: 1.5px solid var(--blue);
  color: var(--blue);
}
.btn-outline:hover { background: var(--blue-dim); }
.btn-ghost {
  background: transparent;
  border: 1.5px solid var(--border-2);
  color: var(--text-muted);
}
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-phone {
  background: var(--gradient);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.02em;
  padding: 10px 18px;
  border-radius: var(--radius-full);
}
.btn-phone:hover { background: var(--gradient-h); box-shadow: 0 4px 20px rgba(69,18,255,0.30); }
.btn-lg { padding: 14px 28px; font-size: 15px; border-radius: var(--radius-lg); }
.btn-block { width: 100%; justify-content: center; }

/* ══════════════════════════════════════
   HEADER
══════════════════════════════════════ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 8px rgba(8,8,38,0.06);
}

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

/* Logo */
.site-logo {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  margin-right: 32px;
}
.site-logo img {
  height: 36px;
  width: auto;
}
.logo-fallback {
  display: flex;
  align-items: center;
  gap: 8px;
}
.logo-fallback .logo-text {
  font-size: 18px;
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.5px;
}
.logo-fallback .logo-accent { color: var(--blue); }

/* Main nav */
.primary-nav {
  flex: 1;
  display: flex;
  align-items: center;
}
.nav-list {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Top-level nav items */
.nav-item {
  position: relative;
}
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 12px;
  font-size: 14px;
  font-weight: 500;
  color: var(--dark-2);
  border-radius: var(--radius);
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
  background: none;
  border: none;
  font-family: var(--font);
  line-height: 1;
  text-decoration: none;
}
.nav-link:hover, .nav-item:hover > .nav-link { color: var(--blue); background: var(--blue-dim); }
.nav-link .chevron {
  width: 14px; height: 14px;
  transition: transform var(--transition);
  flex-shrink: 0;
  opacity: 0.6;
}
.nav-item:hover .chevron, .nav-item.open .chevron { transform: rotate(180deg); }

/* Invisible hover bridge: covers the gap so mouse doesn't break :hover */
.nav-item.has-dropdown::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}
/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 260px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 8px;
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(-6px);
  transition: opacity var(--transition), transform var(--transition);
  z-index: 200;
}
.nav-item:hover .nav-dropdown,
.nav-item.open .nav-dropdown {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown a {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 12px;
  border-radius: var(--radius);
  font-size: 13.5px;
  font-weight: 500;
  color: var(--dark-2);
  transition: all var(--transition);
  line-height: 1.3;
}
.nav-dropdown a:hover { background: var(--blue-dim); color: var(--blue); }
.nav-dropdown .dd-icon {
  width: 16px; height: 16px;
  flex-shrink: 0;
  margin-top: 1px;
  opacity: 0.65;
}
.nav-dropdown a:hover .dd-icon { opacity: 1; }
.nav-dropdown .dd-sep {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}
.nav-dropdown .dd-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-dim);
  padding: 8px 12px 4px;
}
/* Stub / Soon badges in dropdown */
.dd-stub,
.dd-soon {
  display: inline-block;
  font-size: 10px;
  font-weight: 700;
  background: var(--blue-dim2);
  color: var(--blue);
  border-radius: var(--radius-full);
  padding: 1px 7px;
  margin-left: auto;
  flex-shrink: 0;
}
.dd-item-soon {
  opacity: 0.7;
  pointer-events: none;
}

/* Header right area */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}

/* Language switcher */
.lang-switcher {
  position: relative;
}
.lang-current {
  display: flex;
  align-items: center;
  gap: 4px;
  height: 36px;
  background: var(--bg-2);
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius-full);
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  padding: 0 12px;
  cursor: pointer;
  transition: all var(--transition);
  line-height: 1;
  box-sizing: border-box;
}
/* Phone button — same height as lang-switcher */
.btn-phone {
  height: 36px;
  padding-top: 0;
  padding-bottom: 0;
  box-sizing: border-box;
}
.lang-current:hover, .lang-current[aria-expanded="true"] {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-dim);
}
.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  min-width: 90px;
  list-style: none;
  padding: 6px;
  margin: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}
.lang-switcher.open .lang-dropdown { display: block; }
.lang-dropdown li a {
  display: block;
  padding: 8px 14px;
  color: var(--text-muted);
  font-size: 12px;
  font-weight: 700;
  font-family: var(--font-mono);
  letter-spacing: 0.06em;
  border-radius: var(--radius);
  transition: all var(--transition);
  text-decoration: none;
}
.lang-dropdown li.current a, .lang-dropdown li a:hover {
  background: var(--blue-dim);
  color: var(--blue);
}

/* Mobile menu toggle */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  border-radius: var(--radius);
}
.mobile-menu-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--dark-2);
  border-radius: 2px;
  transition: all var(--transition);
}
.mobile-menu-toggle.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav */
/* ── MOBILE NAV BACKDROP ── */
.mobile-nav-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(8,8,38,0.55);
  z-index: 998;
  opacity: 0;
  transition: opacity 0.32s ease;
  backdrop-filter: blur(2px);
}
.mobile-nav-backdrop.visible { display: block; }
.mobile-nav-backdrop.active  { opacity: 1; }

/* ── MOBILE SIDEBAR DRAWER ── */
.mobile-nav {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 82vw;
  max-width: 320px;
  background: #fff;
  z-index: 999;
  transform: translateX(100%);
  transition: transform 0.32s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -12px 0 48px rgba(8,8,38,0.22);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.mobile-nav.open { transform: translateX(0); }

/* Drawer dark header */
.mobile-drawer-header {
  background: linear-gradient(145deg, #0d0d2b 0%, #1a1a50 70%, #0f1f45 100%);
  padding: 18px 20px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.mobile-drawer-logo { display: flex; align-items: center; opacity: 0.92; }
.mobile-close-btn {
  width: 34px; height: 34px;
  border-radius: 9px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: #fff; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s;
  flex-shrink: 0;
}
.mobile-close-btn:hover { background: rgba(255,255,255,0.22); }

/* Scrollable menu items */
.mobile-nav-items { flex: 1; overflow-y: auto; padding: 6px 0; }

/* Category items */
.mobile-nav-item { border-bottom: 1px solid #f1f5f9; }

/* Row = link area + chevron button side by side */
.mobile-nav-link {
  display: flex;
  align-items: stretch;
}

/* Clickable link to category page */
.mob-cat-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 14px 13px 18px;
  flex: 1;
  text-decoration: none;
  color: #1e293b;
  font-size: 14.5px;
  font-weight: 600;
  transition: background 0.15s;
  min-width: 0;
}
.mob-cat-link:hover { background: #f8fafc; color: #1e293b; }
.mob-cat-label { flex: 1; }

/* Chevron toggle button (accordion only) */
.mob-cat-chevron {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 13px 18px;
  background: none;
  border: none;
  border-left: 1px solid #f1f5f9;
  color: #94a3b8;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.15s, color 0.15s;
}
.mob-cat-chevron:hover { background: #f1f5f9; color: #4338ca; }
.mob-cat-chevron .chevron { transition: transform 0.3s; display: block; }

/* Category icons */
.mob-cat-icon {
  width: 36px; height: 36px;
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.mob-cat-icon.ico-cyber  { background: rgba(67,56,202,0.1);  color: #4338ca; }
.mob-cat-icon.ico-it     { background: rgba(21,128,61,0.1);   color: #15803d; }
.mob-cat-icon.ico-dev    { background: rgba(124,58,237,0.1);  color: #7c3aed; }
.mob-cat-icon.ico-about  { background: rgba(2,132,199,0.1);   color: #0284c7; }

.mobile-nav-item.open .mob-cat-chevron .chevron { transform: rotate(180deg); }
.mobile-nav-item.open > .mobile-nav-link { background: #f8fafc; }

/* Sub-menu */
.mobile-sub {
  display: none;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  padding: 4px 0;
}
.mobile-nav-item.open .mobile-sub { display: block; }
.mobile-sub a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px 10px 66px;
  font-size: 13.5px;
  color: #475569;
  text-decoration: none;
  transition: color 0.2s, background 0.15s;
}
.mobile-sub a::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: currentColor;
  opacity: 0.4;
  flex-shrink: 0;
}
.mobile-sub a:hover { color: #4338ca; background: #eef2ff; }

/* Drawer footer */
.mobile-nav-footer {
  padding: 14px 18px 20px;
  border-top: 1px solid #e2e8f0;
  background: #f8fafc;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.mobile-lang-row {
  display: flex; gap: 8px;
}
.mobile-lang-btn {
  flex: 1; text-align: center;
  padding: 8px 4px;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  background: #fff;
  font-size: 12px; font-weight: 700;
  color: #64748b;
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: all 0.2s;
}
.mobile-lang-btn:hover,
.mobile-lang-btn.lang-active { background: #4338ca; border-color: #4338ca; color: #fff; }
.mobile-cta-btn {
  display: flex; align-items: center; justify-content: center; gap: 8px;
  padding: 13px 16px;
  background: linear-gradient(105deg, #4338ca 0%, #6366f1 100%);
  color: #fff; border-radius: 12px;
  font-size: 14px; font-weight: 600;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(67,56,202,0.32);
  transition: opacity 0.2s, transform 0.15s;
}
.mobile-cta-btn:hover { opacity: 0.9; transform: translateY(-1px); }

/* ══════════════════════════════════════
   HERO SECTION
══════════════════════════════════════ */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #f0f4ff 0%, #e8f0ff 40%, #f7f8fc 100%);
  padding: 80px 0 90px;
  min-height: 520px;
  display: flex;
  align-items: center;
}
.hero-bg-wave {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.hero-bg-wave::before {
  content: '';
  position: absolute;
  top: -60px; right: -100px;
  width: 600px; height: 500px;
  background: radial-gradient(ellipse, rgba(95,130,255,0.18) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-bg-wave::after {
  content: '';
  position: absolute;
  bottom: -100px; left: 10%;
  width: 400px; height: 300px;
  background: radial-gradient(ellipse, rgba(59,165,255,0.12) 0%, transparent 70%);
  border-radius: 50%;
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}
.hero-content {}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(95,130,255,0.10);
  border: 1px solid rgba(95,130,255,0.20);
  border-radius: var(--radius-full);
  padding: 6px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 2px rgba(0,196,140,0.25);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 2px rgba(0,196,140,0.25); }
  50% { box-shadow: 0 0 0 5px rgba(0,196,140,0.10); }
}
.hero-title {
  font-size: clamp(32px, 4.5vw, 52px);
  font-weight: 800;
  color: var(--dark);
  line-height: 1.12;
  letter-spacing: -1.5px;
  margin-bottom: 20px;
}
.hero-highlight {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 32px;
  max-width: 480px;
}
.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-shield {
  width: 280px; height: 280px;
  background: linear-gradient(135deg, rgba(95,130,255,0.15) 0%, rgba(59,165,255,0.08) 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.hero-shield::before {
  content: '';
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  border: 2px solid rgba(95,130,255,0.15);
  animation: spin 20s linear infinite;
}
.hero-shield::after {
  content: '';
  position: absolute;
  inset: -32px;
  border-radius: 50%;
  border: 1px solid rgba(95,130,255,0.08);
  animation: spin 35s linear infinite reverse;
}
@keyframes spin { from { transform: rotate(0deg); } to { transform: rotate(360deg); } }

/* ── STATS ── */
.stats-section {
  background: #fff;
  padding: 40px 0;
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 16px 24px;
  text-align: center;
  border-right: 1px solid var(--border);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-size: 36px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-family: var(--font-mono);
  line-height: 1.1;
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  font-weight: 500;
  margin-top: 4px;
}

/* ── SECTION COMMON ── */
.section-header {
  text-align: center;
  margin-bottom: 48px;
}
.section-tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: var(--blue-dim);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.section-header h2 {
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.8px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.section-header p {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.6;
}

/* ── SOLUTIONS ── */
.solutions-section {
  padding: 80px 0;
  background: var(--bg-2);
}
.solutions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.solution-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  transition: all var(--transition);
  display: block;
  position: relative;
  overflow: hidden;
}
.solution-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--gradient);
  opacity: 0;
  transition: opacity var(--transition);
}
.solution-card:hover {
  border-color: var(--blue-2);
  box-shadow: 0 8px 40px rgba(95,130,255,0.15);
  transform: translateY(-3px);
}
.solution-card:hover::before { opacity: 1; }
.solution-card-featured {
  grid-column: span 3;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
  border-color: rgba(95,130,255,0.25);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: start;
}
.solution-card-featured::before { opacity: 1; }
.solution-card-featured .solution-content { grid-column: 1; }
.solution-card-featured .solution-cta { grid-column: 2; align-self: center; }
.solution-icon {
  width: 44px; height: 44px;
  background: var(--blue-dim);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}
.solution-card h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 8px;
  line-height: 1.3;
}
.solution-card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 12px;
}
.solution-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.solution-features span {
  font-size: 11px;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-dim);
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.card-arrow {
  width: 32px; height: 32px;
  background: var(--blue-dim);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--blue);
  position: absolute;
  bottom: 20px; right: 20px;
  transition: all var(--transition);
}
.solution-card:hover .card-arrow { background: var(--blue); color: #fff; }
.solutions-cta { text-align: center; margin-top: 36px; }

/* ── WHY ── */
.why-section {
  padding: 80px 0;
  background: #fff;
}
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-item {
  text-align: center;
  padding: 28px 20px;
  border-radius: var(--radius-xl);
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.why-body { flex: 1; margin: 0; }
.why-body p { margin: 0; }
.why-divider { border: none; border-top: 1px solid var(--border); margin: 20px 0; }
.why-item > p { min-height: 80px; margin: 0; padding-top: 4px; }
.why-item:hover {
  border-color: var(--blue-2);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.why-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  background: var(--blue-dim);
  color: var(--blue);
}
.why-item h4 {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  margin-top: 0;
  margin-bottom: 8px;
}
.why-item p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }

/* ── INTERNET SERVICES ── */
.internet-section {
  padding: 80px 0;
  background: var(--bg-2);
}
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 8px;
}
.plan-card {
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  transition: all var(--transition);
  position: relative;
}
.plan-card:hover {
  border-color: var(--blue-2);
  box-shadow: 0 8px 40px rgba(95,130,255,0.15);
  transform: translateY(-3px);
}
.plan-featured {
  background: linear-gradient(135deg, #f0f4ff, #e8f0ff);
  border-color: rgba(95,130,255,0.30);
  box-shadow: 0 4px 24px rgba(95,130,255,0.12);
}
.plan-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gradient);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--radius-full);
  white-space: nowrap;
}
.plan-header { margin-bottom: 16px; }
.plan-header h3 { font-size: 17px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.plan-price { font-size: 28px; font-weight: 800; color: var(--dark); line-height: 1; }
.plan-price span { font-size: 14px; font-weight: 500; color: var(--text-muted); }
.plan-speed {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  background: var(--blue-dim);
  color: var(--blue);
  padding: 3px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 16px;
}
.plan-features {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
}
.plan-features li {
  font-size: 13.5px;
  color: var(--text-muted);
  padding: 6px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 8px;
}
.plan-features li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}
.plan-features li:last-child { border-bottom: none; }

/* ── ADDITIONAL SERVICES ── */
.addl-services-section {
  padding: 80px 0;
  background: #fff;
}
.addl-services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.addl-card {
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 24px 20px;
  display: block;
  transition: all var(--transition);
}
.addl-card:hover {
  border-color: var(--blue-2);
  background: #fff;
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.addl-icon {
  width: 44px; height: 44px;
  background: var(--blue-dim);
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  color: var(--blue);
}
.addl-card h4 { font-size: 14px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.addl-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }

/* ── CTA SECTION ── */
.cta-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #2238b2, #4f46e5, #6366f1);
  padding: 72px 0;
  text-align: center;
}
.cta-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.07) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}
.cta-inner { position: relative; z-index: 1; }
.cta-section h2 { font-size: clamp(24px, 3vw, 36px); font-weight: 800; color: #fff; letter-spacing: -0.8px; margin-bottom: 12px; }
.cta-section p { font-size: 16px; color: rgba(255,255,255,0.8); margin-bottom: 32px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
/* CTA button overrides — white on blue gradient */
.cta-section .btn-primary {
  background: #fff;
  color: #3730a3;
  box-shadow: 0 4px 16px rgba(0,0,0,.15);
}
.cta-section .btn-primary:hover {
  background: #f1f5ff;
  color: #3730a3;
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(0,0,0,.2);
}
.cta-section .btn-outline {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.5);
  color: #fff;
}
.cta-section .btn-outline:hover {
  border-color: #fff;
  background: rgba(255,255,255,.12);
  color: #fff;
}
.cta-section .btn-ghost {
  background: transparent;
  border: 1.5px solid rgba(255,255,255,.4);
  color: #fff;
}
.cta-section .btn-ghost:hover {
  border-color: #fff;
  background: rgba(255,255,255,.12);
  color: #fff;
}
.btn-cta-white { background: #fff; color: #3730a3; box-shadow: 0 4px 16px rgba(0,0,0,.15); }
.btn-cta-white:hover { background: #f1f5ff; color: #3730a3; box-shadow: 0 6px 22px rgba(0,0,0,.2); transform: translateY(-2px); }
.btn-cta-outline { background: transparent; border: 1.5px solid rgba(255,255,255,.5); color: #fff; }
.btn-cta-outline:hover { border-color: #fff; background: rgba(255,255,255,.10); color: #fff; }

/* ══════════════════════════════════════
   FOOTER
══════════════════════════════════════ */
.site-footer {
  background: var(--dark);
  color: rgba(255,255,255,0.75);
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.2fr 1.2fr 1.2fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 16px;
}
.footer-logo img { height: 32px; width: auto; filter: brightness(0) invert(1); }
.footer-logo-text {
  display: flex;
  align-items: center;
  gap: 8px;
}
.footer-logo-text .logo-text {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}
.footer-tagline { font-size: 13.5px; color: rgba(255,255,255,0.55); line-height: 1.6; margin-bottom: 20px; max-width: 280px; }
.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 20px; }
.badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--blue-2);
  border: 1px solid rgba(95,130,255,0.3);
  padding: 4px 10px;
  border-radius: var(--radius-full);
}
.footer-social { display: flex; gap: 8px; margin-top: 16px; }
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.6);
  transition: all var(--transition);
}
.social-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; }
.footer-col h4 {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  margin-bottom: 16px;
}
.footer-col ul { list-style: none; padding: 0; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a {
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
  transition: color var(--transition);
}
.footer-col ul li a:hover { color: var(--blue-2); }
.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13.5px;
  color: rgba(255,255,255,0.55);
}
.contact-list li a { color: rgba(255,255,255,0.55); }
.contact-list li a:hover { color: var(--blue-2); }
.contact-list svg { flex-shrink: 0; margin-top: 2px; opacity: 0.5; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 20px 0;
}
.footer-bottom-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.40); }
.footer-legal { display: flex; gap: 20px; }
.footer-legal a { font-size: 13px; color: rgba(255,255,255,0.40); transition: color var(--transition); }
.footer-legal a:hover { color: var(--blue-2); }

/* Page templates */
.page-hero {
  background: linear-gradient(160deg, #f0f4ff 0%, #e8f0ff 50%, #f7f8fc 100%);
  padding: 60px 0;
  border-bottom: 1px solid var(--border);
}
.page-hero-badge { margin-bottom: 12px; }
.page-hero h1 {
  font-size: clamp(26px, 3.5vw, 44px);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 12px;
}
.page-hero .subtitle { font-size: 16px; color: var(--text-muted); max-width: 560px; line-height: 1.6; }
.page-content { padding: 60px 0; }
.content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.content-section h2 { font-size: 24px; font-weight: 700; color: var(--dark); margin-bottom: 16px; letter-spacing: -0.5px; }
.content-section p { color: var(--text-muted); line-height: 1.65; margin-bottom: 16px; }
.feature-list { list-style: none; padding: 0; }
.feature-list li {
  display: flex;
  gap: 12px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  font-size: 14px;
  color: var(--text-muted);
}
.feature-list li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }
.info-card {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
  border: 1.5px solid rgba(95,130,255,0.20);
  border-radius: var(--radius-xl);
  padding: 32px;
}
.info-card h3 { font-size: 18px; font-weight: 700; color: var(--dark); margin-bottom: 16px; }
.contact-form { background: #fff; border: 1.5px solid var(--border); border-radius: var(--radius-xl); padding: 32px; box-shadow: var(--shadow); }
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--dark-2); margin-bottom: 6px; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border-2);
  border-radius: var(--radius);
  font-family: var(--font);
  font-size: 14px;
  color: var(--dark);
  background: var(--bg-2);
  transition: border-color var(--transition);
  outline: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 3px var(--blue-dim);
}
.form-group textarea { min-height: 110px; resize: vertical; }
.form-message { display: none; padding: 12px 16px; border-radius: var(--radius); font-size: 14px; margin-top: 12px; }
.form-message.success { background: rgba(0,196,140,0.10); color: #00c48c; border: 1px solid rgba(0,196,140,0.25); }
.form-message.error { background: rgba(255,100,124,0.10); color: #ff647c; border: 1px solid rgba(255,100,124,0.25); }

/* ── Responsive ── */
@media (max-width: 1024px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .addl-services-grid { grid-template-columns: repeat(2, 1fr); }
  .solutions-grid { grid-template-columns: repeat(2, 1fr); }
  .solution-card-featured { grid-column: span 2; }
}

@media (max-width: 768px) {
  /* Fixed header on mobile — position:sticky is unreliable on iOS Safari */
  .site-header {
    position: fixed !important;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
  }
  /* Push page content below the fixed header */
  body { padding-top: 68px; }

  .primary-nav, .header-right .lang-switcher, .header-right .btn-phone { display: none !important; }
  .mobile-menu-toggle { display: flex !important; }
  .header-inner { justify-content: space-between; }
  .header-right { gap: 8px; }

  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero-section { padding: 60px 0 70px; }

  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-right: none; }

  .solutions-grid { grid-template-columns: 1fr; }
  .solution-card-featured { grid-column: span 1; grid-template-columns: 1fr; }
  .solution-card-featured .solution-cta { display: none; }

  .plans-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .addl-services-grid { grid-template-columns: repeat(2, 1fr); }
  .content-grid { grid-template-columns: 1fr; }

  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom-inner { flex-direction: column; align-items: flex-start; gap: 8px; }

  /* Hide solutions & services footer cols on mobile */
  .footer-col.footer-solutions,
  .footer-col.footer-services { display: none; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; }
  .addl-services-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 28px; }
}

/* ── Language Switcher ── */
.lang-current svg { flex-shrink: 0; opacity: 0.6; transition: transform var(--transition); }
.lang-current[aria-expanded="true"] svg { transform: rotate(180deg); }

/* ============================================================
   INNER PAGE TEMPLATES — extended styles
   ============================================================ */

/* ── Hero background grid overlay ── */
.hero-bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(95,130,255,0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(95,130,255,0.05) 1px, transparent 1px);
  background-size: 40px 40px;
}
.cta-bg-grid {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255,255,255,0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
}

/* ── Page Hero (inner pages) ── */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, #f0f4ff 0%, #e8f0ff 50%, #f7f8fc 100%);
  padding: 72px 0 60px;
  border-bottom: 1px solid var(--border);
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-title {
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -1.2px;
  line-height: 1.12;
  margin-bottom: 16px;
}
.page-hero-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.65;
  margin-bottom: 28px;
}

/* ── Detail Grid (2-col: content + sidebar) ── */
.detail-section { padding: 72px 0; }
.detail-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 48px;
  align-items: start;
}
.detail-content h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.8px;
  margin-bottom: 28px;
}
.detail-content p { color: var(--text-muted); line-height: 1.7; margin-bottom: 16px; }
.detail-sidebar { position: sticky; top: 100px; }

/* ── Sidebar Card ── */
.sidebar-card {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
  border: 1.5px solid rgba(95,130,255,0.20);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  margin-bottom: 20px;
}
.sidebar-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 12px;
}
.sidebar-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── Metric (SOC sidebar stats) ── */
.metric { padding: 14px 0; border-bottom: 1px solid rgba(95,130,255,0.15); }
.metric:last-child { border-bottom: none; }
.metric-value {
  font-size: 26px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
  margin-bottom: 2px;
}
.metric-label { font-size: 12px; color: var(--text-muted); font-weight: 500; }

/* ── Feature Items (div-based) ── */
.feature-list { margin-bottom: 24px; }
.feature-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.feature-item:last-child { border-bottom: none; }
.feature-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 6px;
}
.feature-dot.orange { background: #f97316; box-shadow: 0 0 0 3px rgba(249,115,22,0.15); }
.feature-dot.blue { background: var(--blue); box-shadow: 0 0 0 3px rgba(95,130,255,0.15); }
.feature-dot.green { background: var(--green); box-shadow: 0 0 0 3px rgba(0,196,140,0.15); }
.feature-dot.purple { background: #8b5cf6; box-shadow: 0 0 0 3px rgba(139,92,246,0.15); }
.feature-item h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.feature-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ── Numbered List ── */
.numbered-list { margin-bottom: 24px; }
.numbered-item {
  display: flex;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  align-items: flex-start;
}
.numbered-item:last-child { border-bottom: none; }
.num {
  font-size: 28px;
  font-weight: 800;
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  flex-shrink: 0;
  min-width: 42px;
}
.numbered-item h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 6px; }
.numbered-item p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ── Advantage Grid ── */
.wireless-advantages { padding: 72px 0; background: #fff; }
.adv-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.adv-card {
  background: var(--bg-2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  transition: all var(--transition);
}
.adv-card:hover {
  border-color: var(--blue-2);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
  background: #fff;
}
.adv-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  background: var(--blue-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.adv-card h4 { font-size: 15px; font-weight: 700; color: var(--dark); margin-bottom: 8px; }
.adv-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0; }

/* ── Plans Section wrapper ── */
.plans-section { padding: 72px 0; background: var(--bg-2); }
.plans-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
/* Mobile: override — must come AFTER the definition above */
@media (max-width: 768px) {
  .plans-section { padding: 48px 0 56px; }
  .plans-grid { grid-template-columns: 1fr; gap: 20px; }
  .plan-card { padding: 22px 20px; }
  .plan-featured { margin-top: 8px; }
}
@media (max-width: 480px) {
  .plans-grid { gap: 16px; }
  .plan-card { padding: 20px 16px; }
  .plan-price { font-size: 24px; }
  .plan-badge { font-size: 10px; padding: 3px 12px; }
}

/* ── Solutions Hub ── */
.solutions-hub { padding: 72px 0; }
.hub-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.hub-card {
  display: block;
  background: #fff;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  text-decoration: none;
  transition: all var(--transition);
  color: inherit;
}
.hub-card:hover {
  border-color: var(--blue-2);
  box-shadow: 0 8px 40px rgba(95,130,255,0.15);
  transform: translateY(-4px);
  text-decoration: none;
}
.hub-card-lg {
  grid-column: span 3;
  display: grid;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto auto auto;
  gap: 0 24px;
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
  border-color: rgba(95,130,255,0.25);
}
.hub-card-lg .hub-card-icon { grid-row: 1; grid-column: 1; }
.hub-card-lg h2 { grid-row: 1; grid-column: 2; font-size: 22px; font-weight: 800; color: var(--dark); align-self: center; margin: 0 0 10px; }
.hub-card-lg p { grid-row: 2; grid-column: 2; font-size: 14px; color: var(--text-muted); line-height: 1.6; margin-bottom: 16px; }
.hub-card-lg .hub-features { grid-row: 3; grid-column: 2; }
.hub-card-lg .hub-link { grid-row: 4; grid-column: 2; }
.hub-card h3 { font-size: 16px; font-weight: 700; color: var(--dark); margin: 14px 0 8px; }
.hub-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; margin: 0 0 16px; }
.hub-card-icon {
  width: 52px; height: 52px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  flex-shrink: 0;
}
.hub-card-icon.orange { background: rgba(249,115,22,0.12); color: #f97316; }
.hub-card-icon.blue { background: var(--blue-dim); color: var(--blue); }
.hub-card-icon.green { background: rgba(0,196,140,0.12); color: var(--green); }
.hub-card-icon.purple { background: rgba(139,92,246,0.12); color: #8b5cf6; }
.hub-card-icon.cyan { background: rgba(14,165,233,0.12); color: #0ea5e9; }
.hub-features {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  columns: 2;
}
.hub-features li {
  font-size: 13px;
  color: var(--text-muted);
  padding: 5px 0;
  display: flex;
  align-items: center;
  gap: 8px;
  break-inside: avoid;
}
.hub-features li::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--green);
  border-radius: 50%;
  flex-shrink: 0;
}
.hub-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: gap var(--transition);
}
.hub-card:hover .hub-link { gap: 8px; }

/* ── Contact Page ── */
.contact-form-section { padding: 72px 0; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 48px;
  align-items: start;
}
.contact-form-wrapper h2 {
  font-size: clamp(22px, 2.5vw, 30px);
  font-weight: 800;
  color: var(--dark);
  letter-spacing: -0.8px;
  margin-bottom: 8px;
}
.contact-form-wrapper > p { color: var(--text-muted); margin-bottom: 28px; font-size: 15px; }
.contact-info {
  background: linear-gradient(135deg, #f0f4ff 0%, #e8f0ff 100%);
  border: 1.5px solid rgba(95,130,255,0.20);
  border-radius: var(--radius-xl);
  padding: 28px 24px;
  position: sticky;
  top: 100px;
}
.contact-info h2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 20px;
}
.contact-info-item {
  display: flex;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid rgba(95,130,255,0.12);
  align-items: flex-start;
}
.contact-info-item:last-child { border-bottom: none; }
.ci-icon {
  width: 40px; height: 40px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.ci-icon.orange { background: rgba(249,115,22,0.12); color: #f97316; }
.ci-icon.blue { background: var(--blue-dim); color: var(--blue); }
.ci-icon.green { background: rgba(0,196,140,0.12); color: var(--green); }
.ci-icon.purple { background: rgba(139,92,246,0.12); color: #8b5cf6; }
.contact-info-item h4 { font-size: 13px; font-weight: 700; color: var(--dark); margin-bottom: 4px; }
.contact-info-item p, .contact-info-item a {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.5;
  text-decoration: none;
  display: block;
}
.contact-info-item a:hover { color: var(--blue); }
.ci-note { font-size: 11px; color: var(--text-muted); margin-top: 2px; opacity: 0.7; }

/* ── btn-block ── */
.btn-block { display: block; width: 100%; text-align: center; }

/* ── Responsive for inner pages ── */
@media (max-width: 1024px) {
  .detail-grid { grid-template-columns: 1fr; }
  .detail-sidebar { position: static; }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .hub-card-lg { grid-column: span 2; grid-template-columns: 1fr; }
  .hub-card-lg h2, .hub-card-lg p, .hub-card-lg .hub-features, .hub-card-lg .hub-link { grid-column: 1; }
  .hub-card-lg .hub-card-icon { grid-column: 1; grid-row: auto; }
  .contact-grid { grid-template-columns: 1fr; }
  .contact-info { position: static; }
}
@media (max-width: 768px) {
  .adv-grid { grid-template-columns: 1fr; }
  .hub-grid { grid-template-columns: 1fr; }
  .hub-card-lg { grid-column: span 1; }
  .hub-features { columns: 1; }
  .page-hero { padding: 48px 0 40px; }
  .detail-section { padding: 48px 0; }
  .solutions-hub { padding: 48px 0; }
}

/* 3-equal-column solutions grid (when featured card is removed) */
.solutions-grid-3 {
  grid-template-columns: repeat(3, 1fr);
}
.solutions-grid-3 .solution-card { grid-column: span 1; }
@media (max-width: 768px) { .solutions-grid-3 { grid-template-columns: 1fr; } }

/* ── Consulting page ── */
.consult-topics { list-style:none; padding:0; margin:0 0 1rem; display:flex; flex-direction:column; gap:.65rem; }
.consult-topic-item { display:flex; align-items:flex-start; gap:.75rem; font-size:.95rem; color:var(--muted); line-height:1.5; }
.topic-check { flex-shrink:0; width:26px; height:26px; border-radius:50%; background:linear-gradient(135deg,#4512ff22,#3ba5ff22); display:flex; align-items:center; justify-content:center; color:var(--blue); margin-top:.05rem; }
.format-badges { display:flex; flex-wrap:wrap; gap:.5rem; }
.format-badge { display:inline-flex; align-items:center; gap:.4rem; padding:.35rem .75rem; background:rgba(95,130,255,.08); border:1px solid rgba(95,130,255,.2); border-radius:20px; font-size:.78rem; color:var(--dark); font-weight:500; }

/* ── Consulting page — additional styles ── */
.body-text { color:var(--muted); line-height:1.8; margin-bottom:1.1rem; font-size:.97rem; }
.topics-lead { color:var(--dark); font-weight:500; margin:1.75rem 0 .75rem; font-size:.97rem; }
.body-text-highlight { color:var(--dark); font-weight:600; font-style:italic; border-left:3px solid var(--blue); padding-left:1rem; margin-top:1.5rem; }
.content-divider { border:none; border-top:1px solid rgba(0,0,0,.08); margin:2.5rem 0; }
.sidebar-card-sticky { position:sticky; top:100px; }
.sidebar-note { font-size:.78rem; color:var(--muted); text-align:center; margin-top:.75rem; line-height:1.4; }
.sidebar-mini-title { font-size:.9rem; font-weight:700; color:var(--dark); margin-bottom:.85rem; }
.sidebar-links { list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:.5rem; }
.sidebar-links li a { display:flex; align-items:center; gap:.5rem; font-size:.88rem; color:var(--muted); text-decoration:none; transition:color .2s; }
.sidebar-links li a:hover { color:var(--blue); }
.sidebar-links li a svg { flex-shrink:0; color:var(--blue); opacity:.7; }

/* ── Smart Home page ── */
.sh-systems-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1.25rem; margin:1.5rem 0; }
@media(max-width:600px){ .sh-systems-grid { grid-template-columns:1fr; } }
.sh-system-card { background:var(--bg-card,#f7f8fc); border:1px solid rgba(95,130,255,.12); border-radius:12px; padding:1.25rem; transition:box-shadow .2s,border-color .2s; }
.sh-system-card:hover { box-shadow:0 4px 20px rgba(95,130,255,.13); border-color:rgba(95,130,255,.3); }
.sh-system-icon { font-size:1.75rem; margin-bottom:.6rem; line-height:1; }
.sh-system-card h4 { font-size:.95rem; font-weight:700; color:var(--dark); margin:0 0 .4rem; }
.sh-system-card p { font-size:.86rem; color:var(--muted); line-height:1.6; margin:0; }

.sh-why-grid { display:grid; grid-template-columns:repeat(2,1fr); gap:1rem; margin:1.5rem 0; }
@media(max-width:600px){ .sh-why-grid { grid-template-columns:1fr; } }
.sh-why-card { display:flex; gap:.85rem; align-items:flex-start; background:#f7f8fc; border-radius:10px; padding:1rem 1.1rem; }
.sh-why-dot { width:10px; height:10px; border-radius:50%; background:var(--gradient,linear-gradient(135deg,#4512ff,#3ba5ff)); flex-shrink:0; margin-top:5px; }
.sh-why-card h4 { font-size:.9rem; font-weight:700; color:var(--dark); margin:0 0 .25rem; }
.sh-why-card p { font-size:.84rem; color:var(--muted); line-height:1.55; margin:0; }

.sh-steps { display:flex; flex-direction:column; gap:1rem; margin:1.5rem 0; }
.sh-step { display:flex; gap:1.25rem; align-items:flex-start; }
.sh-step-num { font-size:1.6rem; font-weight:800; color:var(--blue,#5f82ff); opacity:.22; flex-shrink:0; line-height:1; min-width:2.5rem; }
.sh-step-body h4 { font-size:.93rem; font-weight:700; color:var(--dark); margin:0 0 .25rem; }
.sh-step-body p { font-size:.86rem; color:var(--muted); line-height:1.6; margin:0; }

/* ============================================================
   MOBILE / TABLET RESPONSIVE — GLOBAL FIXES
   ============================================================ */

/* Prevent horizontal scroll — use clip so position:sticky works on mobile */
html { overflow-x: hidden; }
body { overflow-x: hidden; overflow-x: clip; } /* clip = no scroll container, sticky survives */

/* ── Container padding reduction on small phones ── */
@media (max-width: 640px) {
  .container { padding: 0 16px; }
}
@media (max-width: 380px) {
  .container { padding: 0 12px; }
  .site-logo svg { height: 26px !important; }
}

/* ── CONTACT FORM: override inline grid on mobile ── */
@media (max-width: 600px) {
  .form-row {
    display: block !important;
  }
  .form-row .form-group { margin-bottom: 0; }
}

/* ── PAYMENT: term-grid and req-grid on mobile ── */
@media (max-width: 640px) {
  .term-grid { grid-template-columns: 1fr !important; }
  .req-grid  { grid-template-columns: 1fr !important; }
}

/* ── INNER PAGE hero sections: reduce padding + font ── */
@media (max-width: 768px) {
  .page-hero { padding: 40px 0 36px; }
  .page-hero-title { font-size: clamp(24px, 6vw, 36px); letter-spacing: -.5px; }
  .page-hero-subtitle { font-size: 15px; }
}
@media (max-width: 480px) {
  .page-hero { padding: 32px 0 28px; }
  .page-hero-title { font-size: clamp(22px, 7vw, 30px); }
}

/* ── SECTION HEADINGS scale down on mobile ── */
@media (max-width: 640px) {
  h2, .section-header h2 { font-size: clamp(20px, 5.5vw, 28px) !important; }
}

/* ── FRONT PAGE: hero buttons stack on very small screens ── */
@media (max-width: 460px) {
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { justify-content: center; width: 100%; }
  .hero-title { font-size: 26px; }
}


/* ── EPA/NAS/CRM/ERP: hero visuals hidden on mobile ── */
@media (max-width: 768px) {
  .nas-hero-visual,
  .epa-hero-visual,
  .crm-hero-visual,
  .erp-hero-visual { display: none !important; }
}

/* ── EPA pilot connecting line: hide when steps are stacked ── */
@media (max-width: 900px) {
  .epa-pilot-line { display: none !important; }
}

/* ── CTA button rows: stack on mobile ── */
@media (max-width: 540px) {
  .crm-hero-btns,
  .erp-hero-btns,
  .crm-cta-btns,
  .erp-cta-btns { flex-direction: column; align-items: stretch; }
  .crm-hero-btns .btn,
  .erp-hero-btns .btn,
  .crm-cta-btns a,
  .erp-cta-btns a { width: 100%; justify-content: center; text-align: center; }
}

/* ── EPA implementation cards: stack icon+text on mobile ── */
@media (max-width: 540px) {
  .epa-impl-card { flex-direction: column; gap: 16px; }
}

/* ── Price cards padding reduction on mobile ── */
@media (max-width: 480px) {
  .epa-pkg-card,
  .nas-model-card,
  .crm-pkg-card,
  .erp-pkg-card { padding: 24px 18px; }
  .epa-pkg-card .epa-pkg-price,
  .crm-pkg-price,
  .erp-pkg-price { font-size: 2rem; }
}

/* ── NAS models grid: ensure 1-col on small phones ── */
@media (max-width: 540px) {
  .nas-models-grid { grid-template-columns: 1fr !important; }
  .nas-stats-grid  { grid-template-columns: repeat(2,1fr) !important; }
}

/* ── About-us: team/partner grid fix ── */
@media (max-width: 640px) {
  .about-partners-grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 380px) {
  .about-partners-grid { grid-template-columns: 1fr !important; }
}

/* ── Stats counter: 2 cols on mobile (global) ── */
@media (max-width: 480px) {
  .stats-grid { grid-template-columns: repeat(2,1fr) !important; }
  .stat-item { border-right: none !important; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border) !important; }
}

/* ── Footer: improvements ── */
@media (max-width: 480px) {
  .footer-logo-block { gap: 10px; }
  .footer-tagline { font-size: 13px; }
  .footer-legal { font-size: 11px; }
  .footer-bottom-inner { gap: 8px; }
}

/* ── Tables overflow scroll on mobile ── */
@media (max-width: 768px) {
  table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    max-width: 100%;
  }
}

/* ── Buttons: ensure min touch target size ── */
.btn {
  min-height: 44px;
}

/* ── Why/feature items: stack icon + text on tiny screens ── */
@media (max-width: 400px) {
  .nas-why-item,
  .epa-why-item { flex-direction: column; }
}

/* ── Tablet range (768–1024px): 2-col grids ── */
@media (max-width: 1024px) and (min-width: 769px) {
  .nas-models-grid { grid-template-columns: repeat(2,1fr); }
  .epa-pkg-grid    { grid-template-columns: repeat(2,1fr); }
}

/* ═══════════════════════════════════════════
   GLOBAL MOBILE IMPROVEMENTS — all inner pages
   ═══════════════════════════════════════════ */
@media (max-width: 640px) {
  /* About-us sections */
  .about-hero    { padding: 52px 0 44px !important; }
  .about-story   { padding: 48px 0 !important; }
  .about-team    { padding: 48px 0 !important; }
  .about-certs   { padding: 48px 0 !important; }
  .about-stats   { padding: 44px 0 !important; }

  /* Section heading scale */
  .section-title { font-size: clamp(1.3rem, 5vw, 1.7rem) !important; }
  .section-sub   { font-size: .9rem !important; }

  /* Related cards grid on all pages */
  .related-grid  { grid-template-columns: 1fr !important; }

  /* Contact page improvements */
  .contact-hero  { padding: 52px 0 44px !important; }

  /* General inner page hero */
  .page-hero     { padding: 44px 0 36px !important; }
  .hero-tag      { font-size: .72rem !important; }

  /* Accordion items */
  .faq-q, .accordion-q { font-size: .9rem; }
}

/* Fix tablet: about-us story grid */
@media (max-width: 860px) {
  .about-story-inner { grid-template-columns: 1fr; gap: 36px; }
}
