/* ==========================================================================
   3nerds Technology Group — IT & Cybersecurity Blog Redesign
   Design System: 3nerds New Home & Professional Polish
   Authoritative enterprise typography, slate & blue palette, interactive canvas
   ========================================================================== */

:root {
  /* Primary 3nerds Palette */
  /* --blue: #2563eb;
  --blue-700: #1d4ed8;
  --blue-800: #1e40af;
  --blue-500: #3b82f6;
  --blue-400: #60a5fa;
  --blue-300: #93c5fd;
  --blue-100: #dbeafe;
  --blue-50: #eff6ff; */

  /* Refined Slate Neutrals */
  --slate-900: #0f172a;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50: #f8fafc;

  /* Semantic Mappings */
  --ink: #0f172a;
  --ink-600: #334155;
  --slate: #64748b;
  --line: #e2e8f0;
  --wash: #f8fafc;
  --wash-2: #f1f5f9;
  --white: #ffffff;

  /* State Alerts */
  --green: #16a34a;
  --green-bg: #f0fdf4;
  --green-line: #bbf7d0;
  --amber: #d97706;
  --amber-bg: #fffbeb;
  --amber-line: #fde68a;
  --red: #dc2626;
  --red-bg: #fef2f2;
  --red-line: #fecaca;

  /* Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
  --shadow-blue: 0 10px 25px -5px rgba(37, 99, 235, 0.35);

  /* Geometry & Layout */
  --r-sm: 6px;
  --r: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-full: 9999px;
  --maxw: 1200px;
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}
.foot-logo2 {
    display: inline-block;
    margin-bottom: 20px
}

.foot-logo2 img{
    width:50%;
}
/* * {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

/* body {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--slate-700);
  background: var(--wash);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
} */

/*h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Plus Jakarta Sans", "Inter", -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--slate-900);
  line-height: 1.25;
  letter-spacing: -0.025em;
  font-weight: 700;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

button {
  font-family: inherit;
}

svg {
  display: block;
  flex-shrink: 0;
} */

/* ==========================================================================
   Containers & Global Utilities
   ========================================================================== */

.wrap {
  max-width: 100%;
  width: 92%;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1280px) {
  .wrap {
    max-width: var(--maxw);
    width: 100%;
  }
}

.sprog {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, var(--blue), var(--blue-400));
  z-index: 100;
  transition: width 0.08s linear;
}

/* .eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--blue);
  display: inline-flex;
  align-items: center;
  gap: 0.6em;
}

.eyebrow::before {
  content: "";
  width: 18px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
  opacity: 0.85;
} */

.section {
  padding: 68px 0;
  position: relative;
}

.section-head {
  max-width: 760px;
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin: 10px 0 8px;
  color: var(--slate-900);
}

.section-head p {
  font-size: 1.02rem;
  color: var(--slate-500);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

/* .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55em;
  font-weight: 700;
  font-size: 0.92rem;
  padding: 11px 22px;
  border-radius: var(--r-md);
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.2s, color 0.2s, border-color 0.2s;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  user-select: none;
  line-height: 1.2;
}

.btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2;
  transition: transform 0.25s var(--ease);
}

.btn:hover svg {
  transform: translateX(3px);
}

.btn-primary {
  background: var(--blue);
  color: #fff;
  box-shadow: var(--shadow-blue);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 28px -4px rgba(37, 99, 235, 0.45);
  background: var(--blue-700);
}

.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: #fff;
  color: var(--slate-800);
  border-color: var(--slate-200);
  box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-white {
  background: #fff;
  color: var(--blue);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.btn-white:hover {
  transform: translateY(-2px);
  background: var(--blue-50);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.16);
} */

/* ==========================================================================
   Top Bar
   ========================================================================== */

/* .topbar {
  background: var(--slate-900);
  color: #94a3b8;
  font-size: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.topbar .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 38px;
  gap: 16px;
}

.topbar a {
  color: #cbd5e1;
  transition: color 0.2s;
}

.topbar a:hover {
  color: var(--blue-400);
}

.topbar-left {
  display: flex;
  gap: 20px;
  align-items: center;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
}

.topbar-left span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.topbar-right {
  display: flex;
  gap: 16px;
  align-items: center;
}

.topbar-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  color: #cbd5e1;
}

.dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #22c55e;
  animation: pulse 2.4s infinite;
  display: inline-block;
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6);
  }

  70% {
    box-shadow: 0 0 0 7px rgba(34, 197, 94, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(34, 197, 94, 0);
  }
}

.soc {
  display: inline-flex;
  width: 24px;
  height: 24px;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.08);
  transition: background 0.2s ease;
}

.soc:hover {
  background: var(--blue);
}

.soc svg {
  width: 12px;
  height: 12px;
  fill: #fff;
} */

/* ==========================================================================
   Navigation
   ========================================================================== */

/* .nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #ffffff;
  border-bottom: 1px solid var(--slate-200);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.04);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}

.nav.scrolled {
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.08);
  background: rgba(255, 255, 255, 0.98);
}

.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-logo img {
  height: 42px;
  width: auto;
  max-width: 175px;
  object-fit: contain;
}

.nav-links {
  display: flex;
  gap: 6px;
  align-items: center;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.8rem;
  color: var(--slate-600);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 8px 14px;
  border-radius: var(--r-full);
  transition: color 0.2s, background 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.nav-links a:hover {
  color: var(--blue);
  background: var(--slate-50);
}

.nav-links a.active {
  color: var(--blue);
  background: var(--blue-50);
  font-weight: 800;
}

.nav-links a .nav-badge {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.65rem;
  padding: 2px 6px;
  background: var(--blue-100);
  color: var(--blue-700);
  border-radius: 99px;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.nav-cta {
  display: flex;
  align-items: center;
  gap: 14px;
}

.nav-cta .btn-primary {
  border-radius: var(--r-full);
  padding: 9px 20px;
  font-size: 0.85rem;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.nav-phone {
  font-family: "IBM Plex Mono", monospace;
  font-weight: 700;
  font-size: 0.88rem;
  color: var(--slate-800);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 7px 12px;
  border-radius: var(--r-full);
  transition: color 0.2s, background 0.2s;
}

.nav-phone:hover {
  color: var(--blue);
  background: var(--slate-50);
}

.nav-phone svg {
  width: 15px;
  height: 15px;
  fill: var(--blue);
}

.burger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.burger span {
  width: 24px;
  height: 2px;
  background: var(--slate-800);
  border-radius: 2px;
  transition: 0.3s ease;
}

.burger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.burger.open span:nth-child(2) {
  opacity: 0;
}

.burger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
} */

/* ==========================================================================
   Blog Hero Section (Canvas Particles & Search)
   ========================================================================== */

.blog-hero {
  position: relative;
  background: linear-gradient(180deg, var(--slate-900) 0%, #111a2e 100%);
  color: #ffffff;
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 56px;
  padding-bottom: 50px;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: auto;
}

.blog-hero .wrap {
  position: relative;
  z-index: 2;
}

.hero-content {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

.blog-hero .eyebrow {
  color: var(--blue-400);
  font-weight: 700;
  letter-spacing: 0.18em;
  margin-bottom: 8px;
}

.blog-hero .eyebrow::before {
  background: var(--blue-400);
}

.blog-hero h1 {
  color: #ffffff;
  font-size: clamp(2.3rem, 4.2vw, 3.6rem);
  font-weight: 800;
  line-height: 1.15;
  margin: 12px 0 16px;
}

.blog-hero h1 .grad {
  background: linear-gradient(100deg, #60a5fa 10%, #93c5fd 50%, #38bdf8 90%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shine 6s linear infinite;
}

@keyframes shine {
  to {
    background-position: -200% center;
  }
}

.blog-hero p.lead {
  font-size: 1.12rem;
  color: var(--slate-300);
  margin: 0 auto 30px;
  max-width: 720px;
  line-height: 1.6;
}

/* Search Bar in Hero */
.search-bar-container {
  max-width: 680px;
  margin: 0 auto 24px;
}

.search-input-wrap {
  position: relative;
  display: flex;
  align-items: center;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(71, 85, 105, 0.8);
  border-radius: var(--r-full);
  padding: 6px 14px 6px 18px;
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.4);
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
}

.search-input-wrap:focus-within {
  border-color: var(--blue-400);
  background: rgba(15, 23, 42, 0.95);
  box-shadow: 0 16px 36px -4px rgba(37, 99, 235, 0.35), 0 0 0 3px rgba(37, 99, 235, 0.25);
}

.search-icon {
  width: 20px;
  height: 20px;
  stroke: var(--slate-400);
  fill: none;
  stroke-width: 2;
  margin-right: 12px;
  transition: stroke 0.2s;
}

.search-input-wrap:focus-within .search-icon {
  stroke: var(--blue-400);
}

.search-input {
  width: 100%;
  background: transparent;
  border: none;
  outline: none;
  font-size: 0.98rem;
  color: #ffffff;
  padding: 8px 0;
  font-family: inherit;
}

.search-input::placeholder {
  color: var(--slate-400);
}

.search-clear-btn {
  background: none;
  border: none;
  cursor: pointer;
  color: var(--slate-400);
  padding: 6px;
  border-radius: 50%;
  display: none;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s;
}

.search-clear-btn.visible {
  display: flex;
}

.search-clear-btn:hover {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.search-clear-btn svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2.5;
}

.search-kbd-hint {
  display: flex;
  align-items: center;
  margin-left: 8px;
}

.search-kbd-hint kbd {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--slate-300);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  padding: 3px 8px;
  border-radius: 4px;
}

/* Quick Topic Pills in Hero */
.hero-quick-topics {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.topics-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-400);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-family: "IBM Plex Mono", monospace;
}

.topics-list {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.topic-chip {
  background: rgba(30, 41, 59, 0.7);
  border: 1px solid rgba(71, 85, 105, 0.5);
  color: #cbd5e1;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: var(--r-full);
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.topic-chip:hover {
  border-color: var(--blue-400);
  color: #ffffff;
  background: rgba(37, 99, 235, 0.25);
  transform: translateY(-1px);
}

.topic-chip.active {
  background: var(--blue);
  border-color: var(--blue-400);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
}

/* Hero Telemetry Stats Bar */
.hero-telemetry-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid rgba(51, 65, 85, 0.7);
  border-radius: var(--r-lg);
  padding: 16px 28px;
  max-width: 900px;
  margin: 0 auto;
  backdrop-filter: blur(8px);
}

.t-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.t-val {
  font-family: "Plus Jakarta Sans", sans-serif;
  font-weight: 800;
  font-size: 1.15rem;
  color: var(--blue-400);
}

.t-lbl {
  font-size: 0.72rem;
  color: var(--slate-400);
  font-family: "IBM Plex Mono", monospace;
  text-transform: uppercase;
  font-weight: 600;
}

.t-sep {
  width: 1px;
  height: 28px;
  background: rgba(51, 65, 85, 0.8);
}

/* ==========================================================================
   Featured Article Spotlight Section
   ========================================================================== */

.featured-section {
  padding: 56px 0 36px;
  background: #ffffff;
  border-bottom: 1px solid var(--slate-200);
}

.featured-card {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  box-shadow: 0 20px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.03);
  overflow: hidden;
  position: relative;
  transition: box-shadow 0.3s ease, border-color 0.3s ease;
}

.featured-card:hover {
  border-color: var(--blue-300);
  box-shadow: 0 25px 35px -5px rgba(37, 99, 235, 0.12), 0 10px 15px -6px rgba(37, 99, 235, 0.06);
}

.featured-visual {
  position: relative;
  background: linear-gradient(135deg, #0b1e36 0%, #0f2747 50%, #173660 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  min-height: 360px;
}

.featured-image-backdrop {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.featured-graphic-elements {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cyber-shield-halo {
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(37, 99, 235, 0.4) 0%, rgba(96, 165, 250, 0.15) 50%, transparent 75%);
  animation: pulseShield 4s ease-in-out infinite;
}

@keyframes pulseShield {

  0%,
  100% {
    transform: scale(1);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.15);
    opacity: 1;
  }
}

.shield-center-icon {
  position: relative;
  z-index: 3;
  width: 74px;
  height: 74px;
  background: rgba(30, 58, 138, 0.8);
  border: 2px solid var(--blue-400);
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 24px rgba(96, 165, 250, 0.5);
}

.shield-center-icon svg {
  width: 38px;
  height: 38px;
  stroke: #ffffff;
  stroke-width: 2;
}

.tech-matrix-nodes .node {
  position: absolute;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue-400);
  box-shadow: 0 0 10px var(--blue-400);
}

.tech-matrix-nodes .n1 {
  top: 10px;
  left: 20px;
  animation: float 3s ease-in-out infinite;
}

.tech-matrix-nodes .n2 {
  top: 30px;
  right: 20px;
  animation: float 3.5s ease-in-out infinite 0.5s;
}

.tech-matrix-nodes .n3 {
  bottom: 20px;
  left: 30px;
  animation: float 4s ease-in-out infinite 1s;
}

.tech-matrix-nodes .n4 {
  bottom: 15px;
  right: 25px;
  animation: float 3.2s ease-in-out infinite 1.5s;
}

.featured-tag-row {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 4;
  display: flex;
  gap: 8px;
}

.badge-featured {
  background: #f59e0b;
  color: #ffffff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: var(--r-full);
  letter-spacing: 0.05em;
  box-shadow: 0 2px 8px rgba(245, 158, 11, 0.3);
}

.badge-pill {
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: var(--r-full);
}

.featured-content {
  padding: 38px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--slate-500);
  font-family: "IBM Plex Mono", monospace;
  margin-bottom: 12px;
}

.featured-meta .meta-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.featured-meta svg {
  width: 14px;
  height: 14px;
  stroke: var(--slate-400);
  fill: none;
  stroke-width: 2;
}

.featured-meta .meta-dot {
  color: var(--slate-300);
}

.featured-title {
  font-size: clamp(1.4rem, 2.2vw, 1.85rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.3;
  margin-bottom: 14px;
}

.featured-title a:hover {
  color: var(--blue);
}

.featured-excerpt {
  color: var(--slate-600);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.featured-highlights {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 28px;
  padding: 14px 18px;
  background: var(--slate-50);
  border-left: 3px solid var(--blue);
  border-radius: 0 var(--r) var(--r) 0;
}

.hl-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--slate-700);
  line-height: 1.45;
}

.hl-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--green);
  fill: none;
  stroke-width: 2.5;
  margin-top: 2px;
}

.featured-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid var(--slate-200);
  flex-wrap: wrap;
}

.author-block {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--blue-200);
  font-family: "IBM Plex Mono", monospace;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--slate-900);
}

.author-title {
  font-size: 0.76rem;
  color: var(--slate-500);
}

/* ==========================================================================
   Main Articles Controls & Filters Bar
   ========================================================================== */

.blog-main-section {
  background: var(--slate-50);
  padding: 48px 0 80px;
}

.blog-controls-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--slate-200);
  margin-bottom: 32px;
  flex-wrap: wrap;
}

.category-tabs {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.cat-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  border-radius: var(--r-full);
  background: #ffffff;
  border: 1px solid var(--slate-200);
  color: var(--slate-700);
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.cat-tab:hover {
  border-color: var(--blue-300);
  color: var(--blue);
  background: var(--blue-50);
}

.cat-tab.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.25);
}

.cat-count {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 1px 7px;
  border-radius: var(--r-full);
  background: var(--slate-100);
  color: var(--slate-600);
  transition: all 0.2s ease;
}

.cat-tab:hover .cat-count {
  background: #ffffff;
  color: var(--blue);
}

.cat-tab.active .cat-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.controls-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.sort-selector {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sort-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-500);
  font-family: "IBM Plex Mono", monospace;
}

.sort-select {
  font-family: inherit;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--slate-800);
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--r);
  padding: 7px 12px;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.sort-select:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

/* Dynamic Filter Status Row */
.filter-status-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--r);
  padding: 12px 18px;
  margin-bottom: 24px;
}

.filter-status-text {
  font-size: 0.9rem;
  color: var(--slate-600);
}

.active-filter-badge {
  background: var(--blue-100);
  color: var(--blue-700);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-left: 4px;
}

.btn-clear-filters {
  background: none;
  border: none;
  color: var(--slate-500);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 4px 8px;
  border-radius: 4px;
  transition: color 0.2s, background 0.2s;
}

.btn-clear-filters:hover {
  color: var(--red);
  background: var(--red-bg);
}

.btn-clear-filters svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
}

/* ==========================================================================
   Article Grid & Cards (Matching .feat radial gradient physics)
   ========================================================================== */

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.article-card {
  --gx: 50%;
  --gy: 50%;
  --ga: 0;
  background: radial-gradient(260px circle at var(--gx) var(--gy), rgba(37, 99, 235, calc(0.09 * var(--ga))), transparent 65%), #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.04);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: border-color 0.3s, transform 0.3s var(--ease), box-shadow 0.3s;
}

.article-card:hover {
  --ga: 1;
  border-color: var(--blue-300);
  transform: translateY(-5px);
  box-shadow: 0 16px 30px -6px rgba(15, 23, 42, 0.1), 0 8px 12px -4px rgba(15, 23, 42, 0.05);
}

.article-cover {
  position: relative;
  height: 190px;
  background: linear-gradient(135deg, #0b1f38 0%, #112d50 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.cover-illustration {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0.9;
  transition: transform 0.4s var(--ease);
}

.article-card:hover .cover-illustration {
  transform: scale(1.04);
}

.cover-icon-box {
  width: 58px;
  height: 58px;
  background: rgba(30, 58, 138, 0.7);
  border: 1.5px solid var(--blue-400);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 20px rgba(96, 165, 250, 0.35);
}

.cover-icon-box svg {
  width: 28px;
  height: 28px;
  stroke: #ffffff;
  stroke-width: 2;
  fill: none;
}

.article-cover-badges {
  position: absolute;
  bottom: 12px;
  left: 14px;
  right: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 2;
}

.article-category-badge {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 9px;
  border-radius: var(--r-full);
  background: rgba(15, 23, 42, 0.85);
  color: #ffffff;
  backdrop-filter: blur(4px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.article-read-badge {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--r-full);
  background: rgba(15, 23, 42, 0.75);
  color: var(--blue-200);
  backdrop-filter: blur(4px);
}

.article-body {
  padding: 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.article-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--slate-500);
  font-family: "IBM Plex Mono", monospace;
  margin-bottom: 10px;
}

.article-meta-row .date {
  color: var(--slate-500);
}

.article-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--slate-900);
  line-height: 1.35;
  margin-bottom: 10px;
  transition: color 0.2s;
}

.article-card:hover .article-title {
  color: var(--blue);
}

.article-excerpt {
  color: var(--slate-600);
  font-size: 0.9rem;
  line-height: 1.55;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-footer {
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--slate-200);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.article-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.author-mini-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-100);
  color: var(--blue-700);
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "IBM Plex Mono", monospace;
}

.author-mini-name {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--slate-700);
}

.article-read-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue);
  transition: color 0.2s;
}

.article-read-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2.5;
  fill: none;
  transition: transform 0.25s var(--ease);
}

.article-card:hover .article-read-link svg {
  transform: translateX(4px);
}

/* ==========================================================================
   Empty Search State
   ========================================================================== */

.empty-state {
  background: #ffffff;
  border: 1px dashed var(--slate-300);
  border-radius: var(--r-lg);
  padding: 60px 24px;
  text-align: center;
  max-width: 580px;
  margin: 20px auto 40px;
}

.empty-icon-box {
  width: 68px;
  height: 68px;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 18px;
}

.empty-icon-box svg {
  width: 32px;
  height: 32px;
  stroke: var(--blue);
  stroke-width: 1.75;
}

.empty-state h3 {
  font-size: 1.35rem;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.empty-state p {
  color: var(--slate-500);
  font-size: 0.94rem;
  margin-bottom: 22px;
  line-height: 1.55;
}

/* ==========================================================================
   Pagination Controls
   ========================================================================== */

.pagination-section {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--slate-200);
  flex-wrap: wrap;
  gap: 16px;
}

.pagination-info {
  font-size: 0.86rem;
  color: var(--slate-500);
  font-family: "IBM Plex Mono", monospace;
}

.pagination-controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.pagination-btn {
  padding: 7px 14px;
  font-size: 0.84rem;
  border-radius: var(--r);
}

.pagination-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
  pointer-events: none;
}

.page-numbers {
  display: flex;
  align-items: center;
  gap: 6px;
}

.page-number-btn {
  width: 36px;
  height: 36px;
  border-radius: var(--r);
  border: 1px solid var(--slate-200);
  background: #ffffff;
  color: var(--slate-700);
  font-weight: 700;
  font-size: 0.88rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.page-number-btn:hover {
  border-color: var(--blue-300);
  color: var(--blue);
  background: var(--blue-50);
}

.page-number-btn.active {
  background: var(--blue);
  border-color: var(--blue);
  color: #ffffff;
}

/* ==========================================================================
   Complimentary Cyber Risk Audit Section
   ========================================================================== */

.audit-cta-section {
  background: #ffffff;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.audit-card {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  background: linear-gradient(135deg, var(--slate-50) 0%, #edf4fc 100%);
  border: 1px solid var(--blue-100);
  border-radius: var(--r-lg);
  padding: 44px;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.08);
}

.audit-card-content h2 {
  font-size: clamp(1.6rem, 2.5vw, 2.1rem);
  margin: 10px 0 12px;
  color: var(--slate-900);
}

.audit-card-content p {
  color: var(--slate-600);
  font-size: 0.98rem;
  line-height: 1.6;
  margin-bottom: 20px;
}

.audit-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audit-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--slate-700);
}

.audit-checklist li svg {
  width: 18px;
  height: 18px;
  stroke: var(--blue);
  stroke-width: 2.5;
  fill: none;
  margin-top: 2px;
}

.audit-card-action {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 16px;
  padding: 28px;
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-md);
  box-shadow: var(--shadow-sm);
}

.audit-badge {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--blue-700);
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  padding: 4px 12px;
  border-radius: var(--r-full);
}

.audit-card-action .btn-primary {
  width: 100%;
  padding: 13px 24px;
}

.audit-direct-call {
  font-size: 0.84rem;
  color: var(--slate-500);
}

.audit-direct-call a {
  color: var(--blue);
  font-weight: 700;
  font-family: "IBM Plex Mono", monospace;
}

/* ==========================================================================
   Newsletter Section (.banner from 3nerds New Home)
   ========================================================================== */

.banner {
  background: linear-gradient(135deg, var(--slate-900) 0%, var(--blue-800) 55%, var(--blue) 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
  padding: 80px 0;
}

#banner-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.banner .wrap {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

.banner-content {
  max-width: 580px;
}

.banner-content .eyebrow {
  color: var(--blue-300);
}

.banner-content .eyebrow::before {
  background: var(--blue-300);
}

.banner-content h2 {
  font-size: clamp(2rem, 3.4vw, 2.6rem);
  color: #ffffff;
  margin: 14px 0 12px;
}

.banner-content p {
  color: var(--blue-100);
  font-size: 1.05rem;
  line-height: 1.55;
}

.banner-actions {
  flex: 1;
  max-width: 500px;
}

.newsletter-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.newsletter-input-group {
  display: flex;
  gap: 10px;
}

.newsletter-input {
  flex: 1;
  font-family: inherit;
  font-size: 0.92rem;
  padding: 12px 18px;
  border-radius: var(--r-md);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  color: #ffffff;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}

.newsletter-input::placeholder {
  color: var(--blue-200);
}

.newsletter-input:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
}

.newsletter-disclaimer {
  font-size: 0.76rem;
  color: var(--blue-200);
}

.newsletter-disclaimer a {
  color: #ffffff;
  text-decoration: underline;
}

.newsletter-feedback {
  font-size: 0.85rem;
  font-weight: 600;
  min-height: 20px;
}

.newsletter-feedback.success {
  color: #86efac;
}

.newsletter-feedback.error {
  color: #fca5a5;
}

/* ==========================================================================
   Full Article Reader Modal / Slide-In Drawer
   ========================================================================== */

.reader-modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 120;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 30px 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.reader-modal-overlay.open {
  opacity: 1;
  pointer-events: auto;
}

.reader-modal-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-lg);
  box-shadow: 0 25px 50px -12px rgba(15, 23, 42, 0.3);
  max-width: 860px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  padding: 44px;
  transform: scale(0.95) translateY(20px);
  transition: transform 0.3s var(--ease);
}

.reader-modal-overlay.open .reader-modal-card {
  transform: scale(1) translateY(0);
}

.reader-modal-close {
  position: sticky;
  top: 0;
  float: right;
  z-index: 10;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--slate-600);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s, background 0.2s, transform 0.2s;
}

.reader-modal-close:hover {
  background: var(--slate-900);
  color: #ffffff;
  transform: rotate(90deg);
}

.reader-modal-close svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2.5;
}

.reader-header {
  margin-bottom: 28px;
}

.reader-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.reader-cat-badge {
  background: var(--blue-100);
  color: var(--blue-700);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: var(--r-full);
}

.reader-time-badge {
  background: var(--slate-100);
  color: var(--slate-600);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--r-full);
}

.reader-date {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  color: var(--slate-400);
}

.reader-title {
  font-size: clamp(1.6rem, 2.5vw, 2.2rem);
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1.25;
  margin-bottom: 8px;
}

.reader-subtitle {
  font-size: 1.05rem;
  color: var(--slate-500);
  line-height: 1.5;
  margin-bottom: 20px;
}

.reader-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
  gap: 16px;
  flex-wrap: wrap;
}

.author-details {
  display: flex;
  flex-direction: column;
  flex: 1;
}

.reader-share-group {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-share-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  color: var(--slate-600);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.btn-share-icon:hover {
  background: var(--blue);
  color: #ffffff;
  border-color: var(--blue);
  transform: translateY(-1px);
}

.btn-share-icon svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* Reader Key Takeaways Box */
.reader-takeaways {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: var(--r-md);
  padding: 22px;
  margin-bottom: 30px;
}

.takeaways-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}

.takeaways-header svg {
  width: 18px;
  height: 18px;
  stroke: var(--blue-700);
  fill: var(--blue-200);
}

.takeaways-header h5 {
  font-size: 0.98rem;
  color: var(--blue-800);
  font-weight: 700;
}

.takeaways-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.takeaways-list li {
  font-size: 0.9rem;
  color: var(--slate-700);
  line-height: 1.5;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.takeaways-list li::before {
  content: "•";
  color: var(--blue);
  font-weight: bold;
  font-size: 1.2rem;
  line-height: 1;
}

/* Reader Body Typography */
.reader-body {
  color: var(--slate-700);
  font-size: 1.02rem;
  line-height: 1.75;
}

.reader-body h3 {
  font-size: 1.45rem;
  color: var(--slate-900);
  margin: 28px 0 12px;
}

.reader-body h4 {
  font-size: 1.2rem;
  color: var(--slate-800);
  margin: 22px 0 10px;
}

.reader-body p {
  margin-bottom: 18px;
}

.reader-body ul,
.reader-body ol {
  margin: 0 0 20px 24px;
}

.reader-body li {
  margin-bottom: 8px;
}

.reader-body blockquote {
  background: var(--slate-50);
  border-left: 4px solid var(--blue);
  padding: 16px 20px;
  border-radius: 0 var(--r) var(--r) 0;
  font-style: italic;
  color: var(--slate-700);
  margin: 24px 0;
}

.reader-footer-cta {
  margin-top: 40px;
  padding-top: 30px;
  border-top: 1px solid var(--slate-200);
}

.cta-inner {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-md);
  padding: 26px;
  text-align: center;
}

.cta-inner h4 {
  font-size: 1.25rem;
  color: var(--slate-900);
  margin: 8px 0 6px;
}

.cta-inner p {
  color: var(--slate-600);
  font-size: 0.94rem;
  max-width: 580px;
  margin: 0 auto 18px;
}

.cta-btns {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Toast Notification
   ========================================================================== */

.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  display: flex;
  flex-direction: column;
  gap: 8px;
  pointer-events: none;
}

.toast {
  background: var(--slate-900);
  color: #ffffff;
  padding: 12px 18px;
  border-radius: var(--r);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.4);
  font-size: 0.88rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideInUp 0.3s ease;
  pointer-events: auto;
}

@keyframes slideInUp {
  from {
    transform: translateY(20px);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.toast svg {
  width: 16px;
  height: 16px;
  stroke: #4ade80;
  stroke-width: 2.5;
  fill: none;
}

/* ==========================================================================
   Footer (Matching 3nerds New Home)
   ========================================================================== */

.footer {
  background: var(--ink);
  color: #9fb6cb;
  padding: 72px 0 0
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 54px;
  border-bottom: 1px solid rgba(255, 255, 255, .1)
}

.foot-logo {
  background: #fff;
  border-radius: 12px;
  padding: 14px 16px;
  display: inline-block;
  margin-bottom: 20px
}

.foot-logo img {
  height: 38px
}

.foot-brand p {
  font-size: .92rem;
  max-width: 300px;
  margin-bottom: 22px
}

.foot-soc {
  display: flex;
  gap: 10px
}

.foot-soc a {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255, 255, 255, .07);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: .25s
}

.foot-soc a:hover {
  background: var(--blue);
  transform: translateY(-3px)
}

.foot-soc svg {
  width: 16px;
  height: 16px;
  fill: #fff
}

.foot-col h5 {
  font-family: "Space Grotesk";
  color: #fff;
  font-size: 1rem;
  margin-bottom: 18px;
  font-weight: 600
}

.foot-col ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 11px
}

.foot-col a {
  font-size: .9rem;
  transition: color .2s, padding .2s
}

.foot-col a:hover {
  color: #fff;
  padding-left: 4px
}

.foot-contact li {
  display: flex;
  gap: 11px;
  font-size: .9rem;
  margin-bottom: 14px;
  align-items: flex-start
}

.foot-contact svg {
  width: 17px;
  height: 17px;
  stroke: var(--blue-300);
  fill: none;
  flex: none;
  margin-top: 3px
}

.foot-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  flex-wrap: wrap;
  gap: 12px;
  font-size: .84rem;
  font-family: "IBM Plex Mono"
}

.foot-bottom a {
  color: #9fb6cb
}

.foot-bottom a:hover {
  color: #fff
}

/* ==========================================================================
   Floating Action Button (FAB)
   ========================================================================== */

.fab {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 50;
  background: var(--blue);
  color: #fff;
  padding: 12px 22px;
  border-radius: var(--r-full);
  font-weight: 700;
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 10px 25px -5px rgba(37, 99, 235, 0.45);
  transform: translateY(100px);
  opacity: 0;
  transition: transform 0.35s var(--ease), opacity 0.35s ease, background 0.2s ease;
  text-decoration: none;
}

.fab.show {
  transform: translateY(0);
  opacity: 1;
}

.fab:hover {
  background: var(--blue-700);
  transform: translateY(-3px);
  box-shadow: 0 14px 32px -4px rgba(37, 99, 235, 0.55);
}

.fab svg {
  width: 15px;
  height: 15px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
}

/* ==========================================================================
   Reveal Animations
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

.d1 {
  transition-delay: 0.1s;
}

.d2 {
  transition-delay: 0.2s;
}

.d3 {
  transition-delay: 0.3s;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .featured-card {
    grid-template-columns: 1fr;
  }

  .featured-visual {
    min-height: 240px;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
  }

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

  .foot-grid {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }

  .banner .wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {

  .topbar-left span:nth-child(2),
  .topbar-left span:nth-child(3) {
    display: none;
  }

  .nav-links,
  .nav-phone {
    display: none;
  }

  .burger {
    display: flex;
  }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #ffffff;
    border-bottom: 1px solid var(--slate-200);
    padding: 20px;
    gap: 6px;
    box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.15);
  }

  .nav-links.open a {
    width: 100%;
    padding: 10px 16px;
  }

  .blog-grid {
    grid-template-columns: 1fr;
  }

  .hero-telemetry-bar {
    display: none;
  }

  .blog-hero {
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .featured-content {
    padding: 26px 20px;
  }

  .newsletter-input-group {
    flex-direction: column;
  }

  .newsletter-input-group .btn {
    width: 100%;
  }

  .reader-modal-card {
    padding: 28px 20px;
  }

  .foot-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .category-tabs {
    width: 100%;
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 6px;
  }

  .cat-tab {
    flex-shrink: 0;
  }

  .blog-hero h1 {
    font-size: 2rem;
  }
}

/* ==========================================================================
   PACKAGES & QUOTE REQUEST PAGE DESIGN SYSTEM
   Matching 3nerds New Home & Professional Polish
   ========================================================================== */

/* Hero Specifics for Packages */
.packages-hero {
  background: linear-gradient(180deg, var(--slate-900) 0%, #111a2e 100%);
  color: #fff;
  padding: 84px 0 68px;
  position: relative;
  overflow: hidden;
  text-align: center;
}

.packages-hero #hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  opacity: 0.45;
  z-index: 1;
}

.packages-hero .wrap {
  position: relative;
  z-index: 2;
  max-width: 960px;
}

.packages-hero .eyebrow {
  color: var(--blue-400);
  margin-bottom: 16px;
  justify-content: center;
}

.packages-hero h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.2vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.03em;
  margin-bottom: 20px;
}

.packages-hero .lead {
  font-size: clamp(1.05rem, 1.8vw, 1.25rem);
  color: var(--slate-300);
  max-width: 800px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.hero-trust-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-bottom: 36px;
}

.trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--r-full);
  padding: 6px 16px;
  font-size: 0.86rem;
  font-weight: 600;
  color: #f1f5f9;
  backdrop-filter: blur(8px);
}

.trust-pill svg {
  width: 15px;
  height: 15px;
  stroke: var(--blue-400);
  stroke-width: 2.2;
}

.hero-actions-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-actions-wrap .btn {
  padding: 14px 28px;
  font-size: 0.98rem;
}

.hero-contact-hint {
  width: 100%;
  margin-top: 20px;
  font-size: 0.88rem;
  color: var(--slate-400);
}

.hero-contact-hint a {
  color: var(--blue-300);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.hero-contact-hint a:hover {
  color: #fff;
}

/* ==========================================================================
   BILLING SWITCHER TOGGLE
   ========================================================================== */

.billing-switch-section {
  padding: 36px 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.billing-switch-container {
  display: inline-flex;
  align-items: center;
  background: var(--slate-100);
  padding: 5px;
  border-radius: var(--r-full);
  border: 1px solid var(--slate-200);
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.04);
}

.billing-opt-btn {
  border: none;
  background: transparent;
  padding: 10px 22px;
  border-radius: var(--r-full);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--slate-600);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s var(--ease);
}

.billing-opt-btn.active {
  background: #ffffff;
  color: var(--slate-900);
  box-shadow: var(--shadow-md);
}

.billing-discount-badge {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: var(--r-full);
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.billing-note {
  margin-top: 12px;
  font-size: 0.85rem;
  color: var(--slate-500);
  text-align: center;
}

/* ==========================================================================
   PACKAGES GRID & TIERS
   ========================================================================== */

.packages-section {
  padding: 40px 0 76px;
  background: var(--wash);
}

.packages-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 24px;
  align-items: stretch;
}

.pkg-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 18px;
  padding: 36px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s var(--ease);
  box-shadow: var(--shadow-sm);
  background-clip: padding-box;
}

.pkg-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--blue-300);
}

/* Featured / Most Popular Package */
.pkg-card.featured {
  border: 2px solid var(--blue);
  box-shadow: 0 16px 36px -6px rgba(37, 99, 235, 0.2);
  transform: scale(1.02);
  z-index: 2;
}

.pkg-card.featured:hover {
  transform: scale(1.02) translateY(-6px);
  box-shadow: 0 22px 42px -6px rgba(37, 99, 235, 0.28);
}

.pkg-badge-popular {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--blue), var(--blue-700));
  color: #ffffff;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: var(--r-full);
  box-shadow: 0 4px 12px rgba(37, 99, 235, 0.35);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.pkg-badge-popular svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

.pkg-badge-premium {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--slate-900);
  color: var(--blue-300);
  border: 1px solid var(--slate-700);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 5px 18px;
  border-radius: var(--r-full);
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.pkg-header {
  margin-bottom: 24px;
}

.pkg-tier-eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  display: block;
  margin-bottom: 6px;
}

.pkg-title {
  font-size: 1.65rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.pkg-subtitle {
  font-size: 0.88rem;
  color: var(--slate-500);
  min-height: 42px;
  line-height: 1.5;
}

.pkg-price-block {
  padding: 22px 0;
  border-top: 1px solid var(--slate-100);
  border-bottom: 1px solid var(--slate-100);
  margin-bottom: 24px;
}

.pkg-price-row {
  display: flex;
  align-items: baseline;
  gap: 6px;
}

.pkg-currency {
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--slate-800);
}

.pkg-amount {
  font-size: 3rem;
  font-weight: 800;
  color: var(--slate-900);
  line-height: 1;
  letter-spacing: -0.04em;
  font-family: "Plus Jakarta Sans", sans-serif;
}

.pkg-period {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-500);
}

.pkg-price-caption {
  font-size: 0.8rem;
  color: var(--slate-500);
  margin-top: 6px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.pkg-price-caption .savings-tag {
  color: #15803d;
  font-weight: 700;
}

.pkg-features-header {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--slate-700);
  margin-bottom: 14px;
}

.pkg-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 32px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  flex-grow: 1;
}

.pkg-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--slate-700);
  line-height: 1.45;
}

.pkg-feature-item svg {
  width: 17px;
  height: 17px;
  stroke: var(--blue);
  stroke-width: 2.2;
  margin-top: 2px;
  flex-shrink: 0;
}

.pkg-feature-item.accent svg {
  stroke: #16a34a;
}

.pkg-feature-item strong {
  color: var(--slate-900);
  font-weight: 600;
}

.pkg-card-cta {
  margin-top: auto;
}

.pkg-card-cta .btn {
  width: 100%;
  padding: 13px 20px;
  font-size: 0.95rem;
}

/* ==========================================================================
   INTERACTIVE SCOPE & PRICE ESTIMATOR (Dynamic Calculator)
   ========================================================================== */

.estimator-section {
  padding: 72px 0;
  background: #ffffff;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.estimator-box {
  background: var(--wash);
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 44px 40px;
  box-shadow: var(--shadow-md);
  margin-top: 28px;
}

.estimator-layout {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 44px;
  align-items: start;
}

/* Left controls */
.estimator-controls {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.slider-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 22px 24px;
  box-shadow: var(--shadow-sm);
}

.slider-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.slider-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-badge {
  background: var(--blue-50);
  color: var(--blue-700);
  border: 1px solid var(--blue-100);
  font-family: "IBM Plex Mono", monospace;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 4px 14px;
  border-radius: var(--r-full);
}

.range-input {
  width: 100%;
  height: 8px;
  border-radius: 5px;
  background: var(--slate-200);
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
}

.range-input::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--blue);
  border: 3px solid #ffffff;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}

.range-input::-webkit-slider-thumb:hover {
  transform: scale(1.18);
  background: var(--blue-700);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-size: 0.76rem;
  color: var(--slate-400);
  margin-top: 8px;
  font-weight: 600;
}

/* Tier Selection Pills */
.tier-pills-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.tier-pills-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.tier-pill-opt {
  background: #ffffff;
  border: 2px solid var(--slate-200);
  border-radius: 12px;
  padding: 14px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.tier-pill-opt:hover {
  border-color: var(--blue-300);
}

.tier-pill-opt.active {
  border-color: var(--blue);
  background: var(--blue-50);
}

.tier-pill-name {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.tier-pill-rate {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--blue-700);
}

/* Add-ons in Estimator */
.estimator-addons-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 12px;
}

.estimator-addons-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.addon-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 14px 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
  user-select: none;
}

.addon-card:hover {
  border-color: var(--blue-300);
}

.addon-card.active {
  border-color: var(--blue);
  background: #f0f7ff;
}

.addon-card input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: var(--blue);
  cursor: pointer;
  margin-top: 2px;
}

.addon-info {
  flex-grow: 1;
}

.addon-title {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--slate-900);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.addon-price {
  font-size: 0.78rem;
  color: var(--blue-700);
  font-weight: 700;
}

.addon-desc {
  font-size: 0.76rem;
  color: var(--slate-500);
  margin-top: 3px;
  line-height: 1.35;
}

/* Right Estimator Result Card */
.estimator-result-card {
  background: #ffffff;
  border: 2px solid var(--blue);
  border-radius: 18px;
  padding: 36px 32px;
  box-shadow: 0 12px 32px -6px rgba(37, 99, 235, 0.15);
  position: sticky;
  top: 100px;
}

.est-summary-eyebrow {
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--blue);
  margin-bottom: 8px;
}

.est-summary-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 20px;
}

.est-price-container {
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  border-radius: 14px;
  padding: 22px;
  text-align: center;
  margin-bottom: 24px;
}

.est-price-range {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--slate-900);
  letter-spacing: -0.03em;
  font-family: "Plus Jakarta Sans", sans-serif;
  line-height: 1.1;
}

.est-price-sub {
  font-size: 0.84rem;
  color: var(--slate-600);
  margin-top: 6px;
  font-weight: 600;
}

.est-breakdown-list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--slate-600);
}

.est-breakdown-item {
  display: flex;
  justify-content: space-between;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--slate-200);
}

.est-breakdown-item strong {
  color: var(--slate-900);
}

.est-perk-badge {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 0.82rem;
  font-weight: 700;
  border-radius: 8px;
  padding: 10px 14px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.est-perk-badge svg {
  width: 16px;
  height: 16px;
  stroke: #15803d;
  flex-shrink: 0;
}

.btn-apply-estimator {
  width: 100%;
  padding: 14px 20px;
  font-size: 0.96rem;
}

/* ==========================================================================
   FEATURE COMPARISON MATRIX
   ========================================================================== */

.compare-section {
  padding: 76px 0;
  background: var(--wash);
}

.compare-table-wrap {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  overflow-x: auto;
  box-shadow: var(--shadow-md);
  margin-top: 32px;
}

.compare-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  min-width: 760px;
}

.compare-table th,
.compare-table td {
  padding: 16px 20px;
  font-size: 0.9rem;
  border-bottom: 1px solid var(--slate-100);
}

.compare-head-row th {
  background: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 24px 20px;
  border-bottom: 2px solid var(--slate-200);
}

.col-feature-title {
  width: 36%;
  font-size: 1rem;
  font-weight: 800;
  color: var(--slate-900);
}

.col-tier-th {
  width: 21%;
  text-align: center;
}

.col-tier-th.featured-col-th {
  background: var(--blue-50);
  border-left: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
  border-top: 4px solid var(--blue);
}

.th-tier-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--slate-900);
}

.th-tier-price {
  font-size: 0.85rem;
  color: var(--blue-700);
  font-weight: 700;
  margin-top: 4px;
}

.category-row td {
  background: var(--slate-100);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--slate-700);
  padding: 12px 20px;
  border-top: 1px solid var(--slate-200);
  border-bottom: 1px solid var(--slate-200);
}

.feature-cell {
  color: var(--slate-800);
  font-weight: 600;
}

.feature-cell small {
  display: block;
  font-size: 0.78rem;
  font-weight: 400;
  color: var(--slate-500);
  margin-top: 2px;
}

.check-cell {
  text-align: center;
  font-weight: 600;
}

.check-cell.highlight-col {
  background: rgba(37, 99, 235, 0.03);
  border-left: 2px solid var(--blue);
  border-right: 2px solid var(--blue);
}

.check-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  margin: 0 auto;
}

.check-icon svg {
  width: 14px;
  height: 14px;
  stroke: #15803d;
  stroke-width: 2.5;
}

.dash-icon {
  color: var(--slate-300);
  font-size: 1.4rem;
  font-weight: 300;
}

.custom-text-val {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--slate-700);
}

/* ==========================================================================
   QUOTE REQUEST SECTION & FORM
   ========================================================================== */

.quote-section {
  padding: 76px 0;
  background: #ffffff;
  border-top: 1px solid var(--slate-200);
}

.quote-grid {
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 48px;
  align-items: start;
}

/* Left Trust Panel */
.quote-trust-panel {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.onboarding-steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 20px;
  position: relative;
}

.step-card {
  display: flex;
  gap: 16px;
  background: var(--wash);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 18px 20px;
}

.step-number {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--blue);
  color: #ffffff;
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.step-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.86rem;
  color: var(--slate-600);
  line-height: 1.45;
}

.quote-partner-badges {
  background: var(--slate-50);
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  padding: 20px;
}

.partner-badges-title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-500);
  margin-bottom: 12px;
}

.partner-badges-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.partner-chip {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: var(--r-full);
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--slate-700);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.quote-testimonial-box {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-left: 4px solid var(--blue);
  border-radius: 12px;
  padding: 20px;
  box-shadow: var(--shadow-sm);
}

.testimonial-stars {
  display: flex;
  gap: 3px;
  color: #f59e0b;
  margin-bottom: 10px;
}

.quote-testimonial-box p {
  font-size: 0.9rem;
  font-style: italic;
  color: var(--slate-700);
  line-height: 1.5;
  margin-bottom: 12px;
}

.quote-testimonial-author {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate-900);
}

.quote-testimonial-role {
  font-size: 0.76rem;
  color: var(--slate-500);
}

/* Right Form Card */
.quote-form-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 20px;
  padding: 40px;
  box-shadow: var(--shadow-lg);
  position: relative;
}

.quote-tier-selector-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate-900);
  margin-bottom: 10px;
  display: block;
}

.form-tier-tabs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-bottom: 28px;
}

.form-tier-tab {
  background: var(--slate-100);
  border: 2px solid var(--slate-200);
  border-radius: 10px;
  padding: 10px 8px;
  text-align: center;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--slate-700);
  cursor: pointer;
  transition: all 0.2s var(--ease);
}

.form-tier-tab.active {
  background: var(--blue-50);
  border-color: var(--blue);
  color: var(--blue-800);
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-row-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--slate-800);
  display: flex;
  align-items: center;
  gap: 4px;
}

.form-label .req {
  color: var(--red);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid var(--slate-300);
  background: #ffffff;
  color: var(--slate-900);
  font-family: inherit;
  font-size: 0.92rem;
  transition: border-color 0.2s, box-shadow 0.2s;
  outline: none;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: var(--red);
  background: #fff8f8;
}

.input-feedback {
  font-size: 0.78rem;
  color: var(--red);
  display: none;
}

.form-input.is-invalid+.input-feedback {
  display: block;
}

/* Counter Stepper Input */
.counter-wrap {
  display: flex;
  align-items: center;
  border: 1px solid var(--slate-300);
  border-radius: 10px;
  overflow: hidden;
  background: #ffffff;
}

.counter-btn {
  border: none;
  background: var(--slate-100);
  color: var(--slate-700);
  width: 38px;
  height: 44px;
  font-size: 1.2rem;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s;
}

.counter-btn:hover {
  background: var(--slate-200);
}

.counter-input {
  border: none;
  text-align: center;
  font-weight: 700;
  font-size: 0.95rem;
  width: calc(100% - 76px);
  outline: none;
}

/* Priority Pills Checkboxes */
.priorities-label {
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 8px;
}

.priorities-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.priority-pill-checkbox {
  cursor: pointer;
  user-select: none;
}

.priority-pill-checkbox input {
  display: none;
}

.priority-pill-content {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--r-full);
  padding: 6px 14px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--slate-700);
  transition: all 0.2s var(--ease);
}

.priority-pill-checkbox input:checked+.priority-pill-content {
  background: var(--blue-50);
  border-color: var(--blue);
  color: var(--blue-800);
  font-weight: 700;
}

.form-privacy-note {
  font-size: 0.78rem;
  color: var(--slate-500);
  line-height: 1.4;
  margin-top: 4px;
}

.form-privacy-note a {
  color: var(--blue);
  text-decoration: underline;
}

.btn-submit-quote {
  width: 100%;
  padding: 15px 24px;
  font-size: 1.05rem;
  font-weight: 800;
  margin-top: 8px;
}

/* Success Confirmation State */
.quote-success-card {
  display: none;
  text-align: center;
  padding: 24px 10px;
}

.success-icon-ring {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  box-shadow: 0 8px 20px rgba(22, 163, 74, 0.2);
}

.success-icon-ring svg {
  width: 36px;
  height: 36px;
  stroke: #16a34a;
  stroke-width: 2.5;
}

.quote-success-card h3 {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--slate-900);
  margin-bottom: 8px;
}

.quote-ref-badge {
  display: inline-block;
  background: var(--blue-50);
  border: 1px solid var(--blue-100);
  color: var(--blue-800);
  font-family: "IBM Plex Mono", monospace;
  font-size: 0.9rem;
  font-weight: 700;
  padding: 5px 16px;
  border-radius: var(--r-full);
  margin-bottom: 20px;
}

.quote-summary-review {
  background: var(--wash);
  border: 1px solid var(--slate-200);
  border-radius: 12px;
  padding: 20px;
  text-align: left;
  margin-bottom: 24px;
  font-size: 0.88rem;
  color: var(--slate-700);
}

.quote-summary-review ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quote-summary-review li {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid var(--slate-100);
  padding-bottom: 6px;
}

.quote-summary-review li strong {
  color: var(--slate-900);
}

.success-actions-row {
  display: flex;
  gap: 12px;
  justify-content: center;
}

/* ==========================================================================
   TESTIMONIALS & TRUST GRID
   ========================================================================== */

.testimonials-section {
  padding: 76px 0;
  background: var(--wash);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}

.t-card {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 16px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}

.t-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.t-rating {
  display: flex;
  gap: 3px;
  color: #f59e0b;
  margin-bottom: 16px;
}

.t-text {
  font-size: 0.94rem;
  color: var(--slate-700);
  line-height: 1.6;
  margin-bottom: 24px;
  flex-grow: 1;
}

.t-author-row {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--slate-100);
  padding-top: 16px;
}

.t-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--blue-50);
  color: var(--blue);
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  border: 1px solid var(--blue-100);
}

.t-author-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--slate-900);
}

.t-author-company {
  font-size: 0.78rem;
  color: var(--slate-500);
}

/* ==========================================================================
   FAQS ACCORDION
   ========================================================================== */

.faq-section {
  padding: 76px 0;
  background: #ffffff;
  border-top: 1px solid var(--slate-200);
}

.faq-accordion {
  max-width: 860px;
  margin: 32px auto 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  border: 1px solid var(--slate-200);
  border-radius: 14px;
  background: #ffffff;
  overflow: hidden;
  transition: border-color 0.2s;
}

.faq-item:hover {
  border-color: var(--blue-300);
}

.faq-item.active {
  border-color: var(--blue);
  box-shadow: var(--shadow-sm);
}

.faq-question {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 20px 24px;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--slate-900);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.faq-toggle-icon {
  width: 22px;
  height: 22px;
  stroke: var(--slate-500);
  stroke-width: 2;
  transition: transform 0.25s var(--ease);
  flex-shrink: 0;
}

.faq-item.active .faq-toggle-icon {
  transform: rotate(180deg);
  stroke: var(--blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s var(--ease), padding 0.3s var(--ease);
  padding: 0 24px;
  font-size: 0.94rem;
  color: var(--slate-600);
  line-height: 1.65;
}

.faq-item.active .faq-answer {
  max-height: 400px;
  padding: 0 24px 22px;
}

/* ==========================================================================
   RESPONSIVE QUOTE & PACKAGES BREAKPOINTS
   ========================================================================== */

@media (max-width: 1080px) {
  .packages-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .pkg-card.featured {
    grid-column: span 2;
    transform: none;
  }

  .pkg-card.featured:hover {
    transform: translateY(-6px);
  }

  .estimator-layout {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .estimator-result-card {
    position: static;
  }

  .quote-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .packages-grid {
    grid-template-columns: 1fr;
  }

  .pkg-card.featured {
    grid-column: span 1;
  }

  .estimator-box {
    padding: 24px 18px;
  }

  .tier-pills-grid {
    grid-template-columns: 1fr;
  }

  .estimator-addons-grid {
    grid-template-columns: 1fr;
  }

  .form-tier-tabs {
    grid-template-columns: 1fr 1fr;
  }

  .form-row-2,
  .form-row-3 {
    grid-template-columns: 1fr;
  }

  .quote-form-card {
    padding: 24px 18px;
  }

  .success-actions-row {
    flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
/* ==========================================================================
   Contact Form 7 bridge — keeps CF7 markup styled like the custom quote form
   ========================================================================== */
.cf7-hidden { display: none !important; }

/* CF7 wraps each field in a <span>; make it fill its slot */
.quote-form .wpcf7-form-control-wrap { display: block; width: 100%; }
.counter-wrap .wpcf7-form-control-wrap { flex: 1 1 auto; display: block; width: 100%; }

/* mirror invalid styles onto CF7's own class */
.form-input.wpcf7-not-valid,
.form-select.wpcf7-not-valid,
.form-textarea.wpcf7-not-valid { border-color: var(--red, #dc2626); }
.wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 0.78rem; color: var(--red, #dc2626); }
.quote-form .wpcf7-response-output { margin: 16px 0 0; padding: 12px 16px; border-radius: 8px; font-size: 0.85rem; }
.quote-form .wpcf7-spinner { margin: 8px auto 0; display: block; }
