/* ==========================================================================
   ATAUR DIGITAL MARKETING AGENCY - COMPONENTS STYLESHEET
   Navigation, Mega Dropdown, 3D Orbit, Bento, Marquee, Modals, Forms, Footer
   ========================================================================== */

/* ---------- Floating Navigation Bar ---------- */
.nav-wrap {
  position: fixed;
  top: 14px;
  left: 0;
  right: 0;
  z-index: 1000;
  pointer-events: none;
}

.nav {
  pointer-events: auto;
  width: min(1180px, 92%);
  margin: 0 auto;
  height: 66px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  background: var(--nav-bg);
  border: 1px solid var(--border);
  border-radius: 100px;
  padding: 0 10px 0 18px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: 0 10px 34px var(--shadow);
  transition: background 0.35s ease, border-color 0.35s ease;
  position: relative;
}

.logo-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}

.logo-img {
  width: 40px;
  height: 40px;
  object-fit: contain;
  border-radius: 50%;
  background: #000;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.logo-text-name {
  font-size: 1.02rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: var(--text-primary);
}

.logo-text-sub {
  font-size: 0.58rem;
  font-weight: 700;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  list-style: none;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--text-secondary);
  padding: 9px 14px;
  border-radius: 100px;
  transition: background 0.2s ease, color 0.2s ease;
  cursor: pointer;
}

.nav-link:hover,
.nav-link.active {
  background: var(--red-light);
  color: var(--red);
}

.nav-link .dropdown-caret {
  font-size: 0.65rem;
  transition: transform 0.25s ease;
}

.nav-item:hover .nav-link .dropdown-caret {
  transform: rotate(180deg);
}

/* ---------- Mega Dropdown (Services) ---------- */
.mega-menu {
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 820px;
  max-width: min(820px, 94vw);
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 24px;
  box-shadow: 0 24px 60px var(--shadow);
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s ease 0.08s, transform 0.2s ease 0.08s, visibility 0.2s 0.08s;
  z-index: 1010;
}

/* Invisible hover bridge connecting nav link to mega menu */
.mega-menu::before {
  content: '';
  position: absolute;
  top: -24px;
  left: 0;
  right: 0;
  height: 24px;
  background: transparent;
  display: block;
}

.nav-item:hover .mega-menu,
.nav-item:focus-within .mega-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
  transition-delay: 0s;
}

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

.mega-col-title {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 6px;
}

.mega-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.mega-item a {
  display: flex;
  flex-direction: column;
  padding: 8px 10px;
  border-radius: 12px;
  transition: background 0.2s ease, transform 0.2s ease;
}

.mega-item a:hover {
  background: var(--bg-alt);
  transform: translateX(3px);
}

.mega-item-name {
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--text-primary);
  line-height: 1.25;
}

.mega-item-desc {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.35;
  margin-top: 2px;
}

.mega-item a:hover .mega-item-name {
  color: var(--red);
}

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

.mega-footer a {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--red);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.mega-footer a:hover {
  text-decoration: underline;
}

/* ---------- Nav Controls ---------- */
.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-cta {
  padding: 6px 6px 6px 20px;
  font-size: 0.86rem;
}

.nav-cta .arr {
  width: 30px;
  height: 30px;
}

.theme-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-primary);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: border-color 0.2s, color 0.2s, transform 0.3s;
}

.theme-btn:hover {
  border-color: var(--red);
  color: var(--red);
  transform: rotate(18deg);
}

[data-theme="light"] .ic-sun { display: none; }
[data-theme="dark"] .ic-moon { display: none; }

.hamburger {
  display: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--card);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  border: 1px solid var(--border);
}

.hamburger span {
  display: block;
  width: 16px;
  height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.nav-wrap.open .hamburger span:first-child {
  transform: translateY(3.5px) rotate(45deg);
}

.nav-wrap.open .hamburger span:last-child {
  transform: translateY(-3.5px) rotate(-45deg);
}

/* Mobile Nav Menu Drawer */
.mobile-nav-panel {
  display: none;
}

@media (max-width: 1060px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }

  .nav-wrap.open .mobile-nav-panel {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 76px;
    left: 4%;
    right: 4%;
    max-height: calc(88vh - 80px);
    overflow-y: auto;
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: 24px;
    padding: 20px;
    box-shadow: 0 24px 60px var(--shadow);
    pointer-events: auto;
    animation: fadeUp 0.3s ease both;
  }

  .mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 4px;
  }

  .mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
  }

  .mobile-nav-link:hover,
  .mobile-nav-link.active {
    background: var(--red-light);
    color: var(--red);
  }

  .mobile-services-accordion {
    padding-left: 12px;
    display: none;
    flex-direction: column;
    gap: 4px;
    margin: 6px 0 10px;
    border-left: 2px solid var(--red-border);
  }

  .mobile-services-accordion.open {
    display: flex;
  }

  .mobile-sub-link {
    padding: 8px 12px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--text-secondary);
    border-radius: 8px;
  }

  .mobile-sub-link:hover {
    color: var(--red);
  }
}

/* ---------- Hero Section ---------- */
.hero {
  min-height: 100vh;
  width: min(var(--wrap), 92%);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: 40px;
  padding: 130px 0 70px;
  position: relative;
}

.hero::before {
  content: '';
  position: absolute;
  right: -12%;
  top: 8%;
  width: 60%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(215, 38, 46, 0.10), transparent 70%);
  pointer-events: none;
}

.hero-copy .pill {
  animation: fadeUp 0.6s ease 0.05s both;
}

.hero-title {
  font-size: clamp(2.5rem, 4.7vw, 4.3rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.04em;
  margin-bottom: 24px;
  animation: fadeUp 0.6s ease 0.15s both;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--text-secondary);
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 34px;
  animation: fadeUp 0.6s ease 0.25s both;
}

.hero-sub strong {
  color: var(--text-primary);
  font-weight: 700;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 26px;
  flex-wrap: wrap;
  animation: fadeUp 0.6s ease 0.35s both;
}

/* ---------- 3D Hero Orbit Wheel ---------- */
.hero-orbit {
  --orbit-size: 480px;
  --node-size: 88px;
  --orbit-radius: 182px;
  --core-size: 156px;
  --spin-duration: 46s;
  position: relative;
  width: var(--orbit-size);
  height: var(--orbit-size);
  margin: 0 auto;
  perspective: 1400px;
  opacity: 0;
  animation: fadeIn 1s ease 0.3s forwards, orbitFloat 6.5s ease-in-out infinite;
}

@keyframes orbitFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-16px); }
}

@keyframes orbitSpin {
  to { transform: rotate(360deg); }
}

.orbit-glow {
  position: absolute;
  inset: 8%;
  background: radial-gradient(circle, rgba(215, 38, 46, 0.28) 0%, rgba(215, 38, 46, 0.08) 45%, transparent 72%);
  filter: blur(6px);
  border-radius: 50%;
  pointer-events: none;
}

.orbit-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  border: 1.5px dashed var(--border-red);
  transform: translate(-50%, -50%) rotateX(58deg);
  pointer-events: none;
}

.orbit-ring-outer {
  width: calc(var(--orbit-radius) * 2 + var(--node-size));
  height: calc(var(--orbit-radius) * 2 + var(--node-size));
  opacity: 0.55;
}

.orbit-ring-inner {
  width: calc(var(--orbit-radius) * 2 - 28px);
  height: calc(var(--orbit-radius) * 2 - 28px);
  opacity: 0.3;
}

.orbit-spin {
  position: absolute;
  inset: 0;
  animation: orbitSpin var(--spin-duration) linear infinite;
}

.hero-orbit:hover .orbit-spin,
.hero-orbit:hover .node-counter {
  animation-play-state: paused;
}

.orbit-node {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--node-size);
  height: var(--node-size);
  margin: calc(var(--node-size) / -2) 0 0 calc(var(--node-size) / -2);
  transform: rotate(var(--angle)) translate(var(--orbit-radius)) rotate(calc(-1 * var(--angle)));
}

.node-counter {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: var(--card);
  border: 1.5px solid var(--border-red);
  box-shadow: 0 8px 22px var(--shadow);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 4px;
  padding: 4px;
  box-sizing: border-box;
  animation: orbitSpin var(--spin-duration) linear infinite reverse;
  transition: transform 0.25s ease, border-color 0.25s ease, background 0.25s ease;
}

.orbit-node:hover .node-counter {
  transform: scale(1.14);
  border-color: var(--red);
  background: var(--red-light);
  z-index: 5;
}

.node-ico {
  display: flex;
  color: var(--red);
  font-size: 0;
}

.node-ico svg {
  width: 26px;
  height: 26px;
  filter: drop-shadow(0 2px 6px rgba(215, 38, 46, 0.25));
}

.node-label {
  font-size: 0.52rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  text-transform: uppercase;
  line-height: 1.2;
}

.orbit-node:hover .node-counter {
  background: var(--red);
  border-color: var(--red);
}

.orbit-node:hover .node-ico,
.orbit-node:hover .node-label {
  color: #fff;
}

[data-theme="dark"] .node-counter {
  background: #0b0b0d;
  border-color: rgba(215, 38, 46, 0.5);
}

.orbit-bead {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--bsize);
  height: var(--bsize);
  margin: calc(var(--bsize) / -2) 0 0 calc(var(--bsize) / -2);
  background: var(--red);
  border-radius: 50%;
  box-shadow: 0 0 8px rgba(215, 38, 46, 0.7);
  transform: rotate(var(--angle)) translate(calc(var(--orbit-radius) + var(--node-size) / 2 + 10px));
}

.orbit-core {
  position: absolute;
  top: 50%;
  left: 50%;
  width: var(--core-size);
  height: var(--core-size);
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle at 34% 28%, #2c2c2c 0%, #111111 55%, #000000 100%);
  box-shadow: 0 0 0 4px rgba(215, 38, 46, 0.18), 0 0 40px rgba(215, 38, 46, 0.35), 0 22px 48px rgba(0, 0, 0, 0.5), inset 0 0 26px rgba(215, 38, 46, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 3;
  padding: 0 14px;
}

.orbit-core-l1 {
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ffffff;
  text-transform: uppercase;
  opacity: 0.85;
}

.orbit-core-l2 {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.2;
  margin-top: 4px;
}

.orbit-core-l3 {
  font-size: 1.15rem;
  font-weight: 900;
  color: var(--red);
  line-height: 1.2;
}

/* ---------- Infinite Dual Marquee ---------- */
.marquee {
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
  padding: 16px 0;
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 80px, #000 calc(100% - 80px), transparent 100%);
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: mqScroll 48s linear infinite;
}

.marquee-track.rev {
  animation: mqRev 56s linear infinite;
}

@keyframes mqScroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@keyframes mqRev {
  from { transform: translateX(-50%); }
  to { transform: translateX(0); }
}

.marquee-group {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 12px;
  padding-right: 12px;
}

.mq-pill {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  white-space: nowrap;
  padding: 10px 14px 10px 22px;
  border-radius: 999px;
  border: 1px solid var(--border);
  background: var(--card);
  color: var(--text-primary);
  font-weight: 600;
  font-size: 0.95rem;
  text-decoration: none;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.mq-pill:hover {
  transform: translateY(-3px);
  border-color: var(--red);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

.mq-dot {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.mq-pill:hover .mq-dot {
  transform: rotate(45deg);
}

.marquee:hover .marquee-track {
  animation-play-state: paused;
}

/* ---------- Stats & Trust Section ---------- */
.stats-sec {
  padding: 80px 0 20px;
  background: var(--bg);
}

.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.stat {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 34px 26px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.stat:hover {
  transform: translateY(-4px);
  border-color: var(--red-border);
  box-shadow: 0 18px 40px var(--shadow);
}

.stat-n {
  display: block;
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.stat-l {
  display: block;
  margin-top: 10px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
}

.trust {
  margin-top: 70px;
  text-align: center;
}

.trust-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.16em;
  margin-bottom: 28px;
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px 48px;
}

.trust-logos img {
  height: 38px;
  width: auto;
  opacity: 0.65;
  filter: grayscale(100%);
  transition: opacity 0.3s, filter 0.3s;
}

.trust-logos img:hover {
  opacity: 1;
  filter: none;
}

[data-theme="dark"] .trust-logos img {
  filter: grayscale(100%) brightness(1.6);
  opacity: 0.55;
}

[data-theme="dark"] .trust-logos img:hover {
  filter: none;
  opacity: 1;
}

/* ---------- About Grid ---------- */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.about-img {
  position: relative;
}

.about-img img {
  width: 100%;
  max-width: 440px;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: 68% 35%;
  border-radius: var(--r);
  box-shadow: 0 30px 70px var(--shadow);
}

.about-yr {
  position: absolute;
  right: -14px;
  bottom: 36px;
  background: var(--red);
  color: #fff;
  border-radius: 20px;
  padding: 16px 22px;
  text-align: center;
  box-shadow: 0 14px 34px rgba(215, 38, 46, 0.38);
}

.yr-n {
  display: block;
  font-size: 2.2rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -0.03em;
}

.yr-l {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.about-p {
  color: var(--text-secondary);
  line-height: 1.8;
  margin-bottom: 16px;
  max-width: 540px;
}

.about-p:last-of-type {
  margin-bottom: 30px;
}

/* ---------- Process Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.step {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 36px 30px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
  display: flex;
  flex-direction: column;
}

.step:hover {
  transform: translateY(-4px);
  border-color: var(--red-border);
  box-shadow: 0 18px 40px var(--shadow);
}

.step-num {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  color: var(--red);
  margin-bottom: 20px;
}

.step-cat {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.step-body {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ---------- Bento Grid (Why Us) ---------- */
.why-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
}

.why-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 260px;
  padding: 32px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--card);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.why-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px var(--shadow);
}

.w-a { grid-column: span 4; background: var(--red); border-color: var(--red); color: #fff; }
.w-b { grid-column: span 2; }
.w-c { grid-column: span 2; }
.w-d { grid-column: span 4; background: #0e0e11; border-color: #0e0e11; color: #fff; }

.why-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
}

.why-ico {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.4s ease;
}

.why-card:hover .why-ico {
  transform: rotate(-12deg) scale(1.1);
}

.why-n {
  font-size: 3.4rem;
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--border);
  margin: 0;
}

.why-card h3 {
  font-size: 1.45rem;
  letter-spacing: -0.02em;
  margin-bottom: 12px;
}

.why-card p {
  font-size: 0.98rem;
  max-width: 48ch;
  line-height: 1.65;
}

.w-a h3 { color: #fff; }
.w-a p { color: rgba(255, 255, 255, 0.88); }
.w-a .why-n { -webkit-text-stroke-color: rgba(255, 255, 255, 0.45); }

.w-d h3 { color: #fff; }
.w-d p { color: rgba(255, 255, 255, 0.72); }
.w-d .why-n { -webkit-text-stroke-color: rgba(255, 255, 255, 0.22); }
[data-theme="dark"] .w-d { background: var(--card); border-color: var(--border); }

/* ---------- Case Studies Grid & Modals ---------- */
.cs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.cs-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}

.cs-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 48px var(--shadow);
  border-color: var(--red-border);
}

.cs-img-wrap {
  position: relative;
  overflow: hidden;
  background: var(--card-2);
  aspect-ratio: 16/9;
  cursor: zoom-in;
}

.cs-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cs-card:hover .cs-img-wrap img {
  transform: scale(1.03);
}

.cs-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cs-industry {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.cs-client {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 8px;
  line-height: 1.25;
}

.cs-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  flex: 1;
}

.cs-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 18px;
}

.cs-services span {
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--red);
  background: var(--red-light);
  border: 1px solid var(--red-border);
  border-radius: 100px;
  padding: 3px 10px;
}

.cs-result-row {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  border-top: 1px solid var(--border);
  padding-top: 16px;
  margin-bottom: 18px;
}

.cs-result-item { flex: 1; }
.cs-result-label {
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.cs-result-value {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-primary);
}

.cs-cta {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--red);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: gap 0.2s ease;
}

.cs-cta:hover { gap: 10px; }

.cs-more {
  text-align: center;
  margin-top: 48px;
}

/* Case Study Detail Modal */
.cs-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.82);
  z-index: 9000;
  overflow-y: auto;
  padding: 40px 5%;
}

.cs-modal-overlay.open {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.cs-modal {
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  max-width: 860px;
  width: 100%;
  position: relative;
  overflow: hidden;
  margin: auto;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
}

.cs-modal-close {
  position: absolute;
  top: 18px;
  right: 20px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 1.8rem;
  cursor: pointer;
  line-height: 1;
  z-index: 10;
  transition: color 0.2s;
}

.cs-modal-close:hover { color: var(--red); }

.cs-modal-hero {
  background: var(--modal-top);
  padding: 46px 40px 32px;
  border-bottom: 1px solid var(--border);
}

.cs-modal-eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--red);
  margin-bottom: 8px;
}

.cs-modal-title {
  font-size: 2rem;
  font-weight: 800;
  letter-spacing: -0.03em;
  margin-bottom: 8px;
}

.cs-modal-industry {
  font-size: 0.86rem;
  color: var(--text-secondary);
  font-weight: 600;
  margin-bottom: 14px;
}

.cs-modal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cs-modal-meta span {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
}

.cs-modal-body {
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.cs-modal-section-label {
  font-size: 0.74rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--red);
  margin-bottom: 10px;
}

.cs-modal-body p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.75;
}

.cs-modal-body ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.6;
}

.cs-modal-results-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.cs-modal-res-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 16px;
  text-align: center;
}

.cs-modal-res-metric {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--red);
}

.cs-modal-res-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-top: 4px;
}

.cs-modal-screenshots {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  margin-top: 14px;
}

.cs-modal-screenshots img {
  border-radius: 10px;
  border: 1px solid var(--border);
  cursor: zoom-in;
  transition: transform 0.25s ease;
}

.cs-modal-screenshots img:hover {
  transform: scale(1.02);
}

.cs-modal-cta {
  padding: 24px 40px;
  background: var(--card-2);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

/* Lightbox */
.cs-lightbox {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.cs-lightbox.open { display: flex; }
.cs-lightbox-close {
  position: absolute;
  top: 20px;
  right: 26px;
  background: none;
  border: none;
  color: #fff;
  font-size: 2.2rem;
  cursor: pointer;
}

.cs-lightbox img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.7);
}

/* ---------- Pricing Section ---------- */
.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.price-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 40px 32px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.price-card:hover {
  transform: translateY(-4px);
  border-color: var(--red-border);
  box-shadow: 0 20px 50px var(--shadow);
}

.price-card.featured {
  border-color: var(--red);
  background: var(--card);
  box-shadow: 0 16px 40px rgba(215, 38, 46, 0.15);
}

.price-badge {
  position: absolute;
  top: -12px;
  left: 32px;
  background: var(--red);
  color: #fff;
  border-radius: 100px;
  padding: 4px 14px;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.price-name {
  font-size: 1.35rem;
  font-weight: 800;
  margin-bottom: 12px;
}

.price-name span {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}

.price-amt {
  font-size: 2.8rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
  margin-bottom: 24px;
}

.price-amt small {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-muted);
}

.price-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 32px;
  flex: 1;
}

.price-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.price-list .chk {
  width: 18px;
  height: 18px;
  color: var(--red);
  flex-shrink: 0;
  margin-top: 2px;
}

.price-cta {
  width: 100%;
  justify-content: center;
}

/* ---------- FAQ Section ---------- */
.faq-wrap {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 70px;
  align-items: start;
}

.faq-wrap .sec-head {
  position: sticky;
  top: 110px;
}

.faq-wrap .sec-head .btn {
  margin-top: 26px;
}

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: border-color 0.25s ease;
}

.faq-item.open {
  border-color: var(--red-border);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 22px 26px;
  background: none;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: 700 1rem/1.4 var(--font);
  color: var(--text-primary);
}

.faq-icon, .faq-ic {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--red);
  flex-shrink: 0;
  transition: transform 0.3s, background 0.3s, color 0.3s;
}

.faq-item.open .faq-icon,
.faq-item.open .faq-ic {
  background: var(--red);
  color: #fff;
  border-color: var(--red);
  transform: rotate(45deg);
}

.faq-a, .faq-ans {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-a,
.faq-item.open .faq-ans {
  max-height: 480px;
}

.faq-a-inner, .faq-ans p {
  padding: 0 26px 24px;
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ---------- Contact Section & Form ---------- */
.cta-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 36px;
  padding: 56px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: start;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 70px var(--shadow);
}

.cta-card::before {
  content: '';
  position: absolute;
  left: -10%;
  top: -30%;
  width: 60%;
  height: 80%;
  background: radial-gradient(closest-side, rgba(215, 38, 46, 0.09), transparent 70%);
  pointer-events: none;
}

.cta-copy, .cf { position: relative; }

.info-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 30px 0 22px;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  transition: border-color 0.25s, transform 0.25s;
}

a.info-row:hover {
  border-color: var(--red-border);
  transform: translateX(4px);
}

.info-icon {
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--red);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.info-lbl {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
}

.info-val {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}

.socials {
  display: flex;
  gap: 10px;
}

.soc {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: all 0.25s ease;
}

.soc:hover {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  transform: translateY(-3px);
}

.cf {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cf-head {
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: -0.02em;
}

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

.cf-g {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.cf-g label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cf-g input,
.cf-g textarea,
.cf-g select {
  background: var(--input-bg);
  border: 1px solid var(--border);
  border-radius: 14px;
  padding: 14px 16px;
  color: var(--text-primary);
  font: 500 0.94rem var(--font);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.35s;
  width: 100%;
}

.cf-g input:focus,
.cf-g textarea:focus,
.cf-g select:focus {
  border-color: var(--red);
  box-shadow: 0 0 0 4px var(--red-light);
}

.cf-g textarea {
  resize: vertical;
  min-height: 120px;
}

[data-theme="light"] .cf-g select option { background: #fff; color: #111; }
[data-theme="dark"] .cf-g select option { background: #141417; color: #fff; }

/* ---------- Thank You Modal ---------- */
.ty-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}

.ty-overlay.active { display: flex; }

.ty-box {
  background: var(--bg);
  border-radius: 20px;
  padding: 48px 40px 36px;
  max-width: 440px;
  width: 90%;
  text-align: center;
  position: relative;
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
  animation: fadeUp 0.4s ease;
  border: 1px solid var(--border);
}

.ty-close {
  position: absolute;
  top: 14px;
  right: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--text-muted);
  cursor: pointer;
  line-height: 1;
}

.ty-icon {
  width: 64px;
  height: 64px;
  background: var(--red);
  color: #fff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  margin: 0 auto 20px;
}

.ty-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 0 0 10px;
}

.ty-msg {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin: 0 0 28px;
}

.ty-btn {
  border: none;
  cursor: pointer;
  margin: 0 auto;
}

/* ---------- Global Multi-Column Footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  background: var(--bg);
  padding: 80px 0 34px;
  transition: background 0.35s ease;
}

.foot-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 48px;
  margin-bottom: 60px;
}

.foot-brand p {
  color: var(--text-secondary);
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 16px;
  max-width: 320px;
}

.foot-title {
  font-size: 0.76rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--text-primary);
  margin-bottom: 18px;
}

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

.foot-links a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  transition: color 0.2s ease, transform 0.2s ease;
}

.foot-links a:hover {
  color: var(--red);
  transform: translateX(2px);
}

.foot-in {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px solid var(--border);
}

.foot-copy, .foot-co {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ---------- Service Page Specific Components ---------- */
.page-hero {
  padding: 150px 0 60px;
  position: relative;
  background: var(--bg);
}

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

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.breadcrumbs a {
  color: var(--text-secondary);
}

.breadcrumbs a:hover {
  color: var(--red);
}

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

.deliv-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r-sm);
  padding: 30px;
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}

.deliv-card:hover {
  transform: translateY(-4px);
  border-color: var(--red-border);
  box-shadow: 0 16px 40px var(--shadow);
}

.deliv-num {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
}

.deliv-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.deliv-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ---------- Responsive Adjustments ---------- */
@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 118px 0 50px;
    gap: 36px;
    min-height: 0;
  }
  .hero-orbit {
    order: -1;
    --orbit-size: 300px;
    --node-size: 58px;
    --orbit-radius: 104px;
    --core-size: 100px;
    margin: 0 auto 40px;
  }
  .node-label { font-size: 0.44rem; }
  .orbit-core-l1 { font-size: 0.42rem; }
  .orbit-core-l2, .orbit-core-l3 { font-size: 0.88rem; }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; gap: 44px; }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .w-a, .w-d { grid-column: span 2; }
  .w-b, .w-c { grid-column: span 1; }
  .cs-grid { grid-template-columns: 1fr; }
  .pricing-grid { grid-template-columns: 1fr; max-width: 520px; margin: 0 auto; }
  .faq-wrap { grid-template-columns: 1fr; gap: 36px; }
  .faq-wrap .sec-head { position: static; margin-bottom: 0; }
  .cta-card { grid-template-columns: 1fr; padding: 36px 26px; gap: 40px; border-radius: 28px; }
  .foot-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .deliverables-grid { grid-template-columns: 1fr; }
  .services-grid-12 { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .nav { height: 60px; padding: 0 8px 0 14px; }
  .logo-text-sub { display: none; }
  .nav-cta { display: none; }
  .hero-title { font-size: 2.45rem; }
  .steps, .why-grid, .cf-row { grid-template-columns: 1fr; }
  .w-a, .w-b, .w-c, .w-d { grid-column: span 1; }
  .stat { padding: 26px 20px; }
  .foot-grid { grid-template-columns: 1fr; gap: 30px; }
  .foot-in { flex-direction: column; text-align: center; }
  .services-grid-12 { grid-template-columns: 1fr; }
}

/* ---------- 12-Service Overview Grid ---------- */
.services-grid-12 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 991px) {
  .services-grid-12 {
    grid-template-columns: repeat(2, 1fr);
  }
}
.service-12-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 32px 28px;
  border-radius: var(--r);
  border: 1px solid var(--border);
  background: var(--card);
  transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.service-12-card:hover {
  transform: translateY(-4px);
  border-color: var(--red-border);
  box-shadow: 0 16px 40px var(--shadow);
}
.service-12-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}
.service-12-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.service-12-badge {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
}
.service-12-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 12px;
  color: var(--text-primary);
  line-height: 1.35;
}
.service-12-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 24px;
  flex: 1;
}
.service-12-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--red);
  text-decoration: none;
  transition: gap 0.2s;
}
.service-12-cta:hover {
  gap: 12px;
}
.service-12-cta svg {
  transition: transform 0.2s;
}
.service-12-card:hover .service-12-cta svg {
  transform: translateX(4px);
}

/* ---------- Service Pages Bento Layout & Standards ---------- */
.c {
  width: min(1180px, 92%);
  margin: 0 auto;
}

.page-hero {
  padding: 140px 0 60px;
  text-align: center;
  position: relative;
}

.breadcrumbs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 18px;
}
.breadcrumbs a {
  color: var(--text-secondary);
  transition: color 0.2s;
}
.breadcrumbs a:hover {
  color: var(--red);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--red);
  background: var(--red-light);
  border: 1px solid var(--border-red);
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 20px;
}
.eyebrow .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  display: inline-block;
}

.page-title {
  font-size: clamp(2.2rem, 4.5vw, 3.4rem);
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  max-width: 900px;
  margin: 0 auto 20px;
}

.page-lead {
  font-size: 1.12rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 760px;
  margin: 0 auto;
}

.sh {
  margin-bottom: 48px;
}
.sh.center {
  text-align: center;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
}
.sh h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.015em;
  color: var(--text-primary);
  margin-bottom: 14px;
  line-height: 1.25;
}
.sh p {
  font-size: 1.02rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 991px) {
  .bento-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .bento-grid {
    grid-template-columns: 1fr;
  }
}

.b-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}
.b-card:hover {
  transform: translateY(-4px);
  border-color: var(--border-red);
  box-shadow: 0 16px 40px var(--shadow);
}
.b-card-badge {
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--bg-alt);
  color: var(--text-muted);
  border: 1px solid var(--border);
  margin-bottom: 18px;
}
.b-card h3 {
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.35;
}
.b-card p {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.65;
  flex: 1;
}
.b-card code {
  background: var(--bg-alt);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.85em;
  color: var(--red);
  border: 1px solid var(--border);
}

.card-cta {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--r);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 20px 60px var(--shadow);
}
.card-cta h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin: 12px auto;
  line-height: 1.25;
  max-width: 700px;
}
.card-cta p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 640px;
  margin: 0 auto;
}
  transform: translate(2px, -2px);
}
