/* ============================================================
   SOFTWARE360 DESIGN SYSTEM
   A premium futuristic white & light blue geometric theme
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500&display=swap');

/* ============================================================
   1. DESIGN TOKENS
   ============================================================ */
:root {
  /* Colors — Primary Palette */
  --s360-white:      #FFFFFF;
  --s360-snow:       #F8FAFD;
  --s360-ice:        #EBF3FF;
  --s360-sky:        #A8D4FF;
  --s360-azure:      #4DA3FF;
  --s360-electric:   #1A7AFF;
  --s360-deep:       #0B59CC;
  --s360-midnight:   #0A1628;
  --s360-slate:      #4A5568;
  --s360-mist:       #CBD5E0;
  --s360-ghost:      rgba(255, 255, 255, 0.06);

  /* Gradient shortcuts */
  --s360-gradient-hero:    linear-gradient(135deg, #EBF3FF 0%, #FFFFFF 40%, #F8FAFD 100%);
  --s360-gradient-blue:    linear-gradient(135deg, #1A7AFF 0%, #4DA3FF 100%);
  --s360-gradient-card:    linear-gradient(135deg, rgba(255,255,255,0.85) 0%, rgba(235,243,255,0.6) 100%);
  --s360-gradient-dark:    linear-gradient(135deg, #0A1628 0%, #132744 100%);
  --s360-gradient-glow:    radial-gradient(circle at 50% 50%, rgba(26,122,255,0.15) 0%, transparent 70%);

  /* Typography */
  --font-display:    'Space Grotesk', system-ui, sans-serif;
  --font-body:       'Inter', system-ui, sans-serif;
  --font-mono:       'JetBrains Mono', monospace;

  /* Spacing scale (4px base) */
  --sp-1: 4px;   --sp-2: 8px;   --sp-3: 12px;
  --sp-4: 16px;  --sp-5: 20px;  --sp-6: 24px;
  --sp-7: 28px;  --sp-8: 32px;  --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px;
  --sp-24: 96px;

  /* Border radius */
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm:    0 1px 3px rgba(10, 22, 40, 0.06);
  --shadow-md:    0 4px 16px rgba(10, 22, 40, 0.08);
  --shadow-lg:    0 8px 32px rgba(10, 22, 40, 0.1);
  --shadow-xl:    0 16px 48px rgba(10, 22, 40, 0.12);
  --shadow-glow:  0 0 32px rgba(26, 122, 255, 0.2);
  --shadow-card:  0 8px 32px rgba(10, 22, 40, 0.06), 0 0 0 1px rgba(203,213,224,0.3);

  /* Transitions */
  --ease-out:   cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
  --dur-fast:   150ms;
  --dur-normal: 300ms;
  --dur-slow:   500ms;

  /* Layout */
  --container-max: 1200px;
  --container-wide: 1400px;
  --nav-height: 72px;
}


/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  font-weight: 400;
  line-height: 1.65;
  color: var(--s360-midnight);
  background: var(--s360-white);
  overflow-x: hidden;
}

img, video, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--s360-electric);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

a:hover {
  color: var(--s360-deep);
}

ul, ol { list-style: none; }

input, textarea, select, button {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  outline: none;
  border: none;
  background: none;
}

button { cursor: pointer; }

::selection {
  background: var(--s360-azure);
  color: var(--s360-white);
}


/* ============================================================
   3. TYPOGRAPHY
   ============================================================ */
.text-display {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

h1, .h1 { font-family: var(--font-display); font-weight: 700; font-size: clamp(2.5rem, 5vw, 4.5rem); line-height: 1.08; letter-spacing: -0.03em; }
h2, .h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.8rem, 3.5vw, 3rem); line-height: 1.15; letter-spacing: -0.02em; }
h3, .h3 { font-family: var(--font-display); font-weight: 600; font-size: clamp(1.3rem, 2.5vw, 1.75rem); line-height: 1.25; letter-spacing: -0.01em; }
h4, .h4 { font-family: var(--font-body); font-weight: 600; font-size: 1.25rem; line-height: 1.35; }
h5, .h5 { font-family: var(--font-body); font-weight: 600; font-size: 1rem; line-height: 1.45; }

.text-lg  { font-size: 1.125rem; line-height: 1.6; }
.text-sm  { font-size: 0.875rem; line-height: 1.55; }
.text-xs  { font-size: 0.75rem;  line-height: 1.5; }
.text-mono { font-family: var(--font-mono); font-size: 0.875rem; }

.text-slate { color: var(--s360-slate); }
.text-azure { color: var(--s360-azure); }
.text-electric { color: var(--s360-electric); }
.text-white { color: var(--s360-white); }
.text-center { text-align: center; }

.text-gradient {
  background: var(--s360-gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Section eyebrow — small uppercase label shown above a heading */
.s360-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px var(--sp-4);
  margin-bottom: var(--sp-4);
  background: rgba(26, 122, 255, 0.08);
  border: 1px solid rgba(26, 122, 255, 0.15);
  border-radius: var(--radius-full);
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--s360-electric);
}


/* ============================================================
   4. LAYOUT UTILITIES
   ============================================================ */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--sp-6);
}

.container--wide {
  max-width: var(--container-wide);
}

.section {
  padding: var(--sp-24) 0;
  position: relative;
}

.section--sm {
  padding: var(--sp-16) 0;
}

.section--alt {
  background: var(--s360-snow);
}

.section--dark {
  background: var(--s360-gradient-dark);
  color: var(--s360-white);
}

.flex { display: flex; }
.flex-col { flex-direction: column; }
.flex-wrap { flex-wrap: wrap; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: var(--sp-2); }
.gap-3 { gap: var(--sp-3); }
.gap-4 { gap: var(--sp-4); }
.gap-6 { gap: var(--sp-6); }
.gap-8 { gap: var(--sp-8); }
.gap-10 { gap: var(--sp-10); }
.gap-12 { gap: var(--sp-12); }

.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid-cols-4 { grid-template-columns: repeat(4, 1fr); }


/* ============================================================
   5. COMPONENTS — BUTTONS
   ============================================================ */
.s360-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: var(--sp-3) var(--sp-8);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  line-height: 1;
  border-radius: var(--radius-full);
  transition: all var(--dur-normal) var(--ease-out);
  white-space: nowrap;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.s360-btn--primary {
  background: var(--s360-gradient-blue);
  color: var(--s360-white);
  box-shadow: 0 4px 16px rgba(26, 122, 255, 0.3);
}

.s360-btn--primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(26, 122, 255, 0.4);
  color: var(--s360-white);
}

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

/* Button glow pulse */
.s360-btn--primary::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: inherit;
  background: var(--s360-gradient-blue);
  z-index: -1;
  opacity: 0;
  filter: blur(12px);
  transition: opacity var(--dur-normal) var(--ease-out);
}

.s360-btn--primary:hover::after {
  opacity: 0.5;
}

.s360-btn--ghost {
  background: transparent;
  color: var(--s360-electric);
  border: 1.5px solid var(--s360-azure);
}

.s360-btn--ghost:hover {
  background: var(--s360-electric);
  color: var(--s360-white);
  border-color: var(--s360-electric);
  transform: translateY(-2px);
}

.s360-btn--white {
  background: var(--s360-white);
  color: var(--s360-electric);
  box-shadow: var(--shadow-md);
}

.s360-btn--white:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  color: var(--s360-deep);
}

.s360-btn--lg {
  padding: var(--sp-4) var(--sp-10);
  font-size: 1.05rem;
}

.s360-btn--sm {
  padding: var(--sp-2) var(--sp-5);
  font-size: 0.85rem;
}

.s360-btn--icon {
  padding: var(--sp-3);
  border-radius: var(--radius-md);
}


/* ============================================================
   6. COMPONENTS — CARDS
   ============================================================ */
.s360-card {
  background: var(--s360-gradient-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(203, 213, 224, 0.35);
  border-radius: var(--radius-lg);
  padding: var(--sp-8);
  box-shadow: var(--shadow-card);
  transition: all var(--dur-normal) var(--ease-out);
  position: relative;
  overflow: hidden;
}

.s360-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--s360-gradient-blue);
  opacity: 0;
  transition: opacity var(--dur-normal) var(--ease-out);
}

.s360-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl), 0 0 0 1px rgba(26, 122, 255, 0.1);
}

.s360-card:hover::before {
  opacity: 1;
}

.s360-card__icon {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--s360-ice);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--sp-5);
  color: var(--s360-electric);
  transition: all var(--dur-normal) var(--ease-out);
}

.s360-card:hover .s360-card__icon {
  background: var(--s360-gradient-blue);
  color: var(--s360-white);
  transform: scale(1.05);
}

.s360-card__icon svg {
  width: 28px;
  height: 28px;
}

.s360-card__title {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.2rem;
  margin-bottom: var(--sp-2);
}

.s360-card__desc {
  color: var(--s360-slate);
  font-size: 0.95rem;
  line-height: 1.6;
}

.s360-card__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-1);
  padding: var(--sp-1) var(--sp-3);
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
}

.s360-card__badge--live {
  background: rgba(16, 185, 129, 0.1);
  color: #059669;
}

.s360-card__badge--soon {
  background: var(--s360-ice);
  color: var(--s360-azure);
}

/* Tool card specific */
.s360-tool-card {
  text-align: center;
  padding: var(--sp-10) var(--sp-8);
}

.s360-tool-card .s360-card__icon {
  margin: 0 auto var(--sp-5);
  width: 64px;
  height: 64px;
}

.s360-tool-card .s360-btn {
  margin-top: var(--sp-5);
}


/* ============================================================
   7. COMPONENTS — NAVIGATION
   ============================================================ */
.s360-nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-height);
  display: flex;
  align-items: center;
  transition: all var(--dur-normal) var(--ease-out);
  background: rgba(255, 255, 255, 0);
  backdrop-filter: blur(0px);
}

.s360-nav--scrolled {
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(203, 213, 224, 0.3);
  box-shadow: var(--shadow-sm);
}

.s360-nav__inner {
  width: 100%;
  max-width: var(--container-wide);
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.s360-nav__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--s360-midnight);
  text-decoration: none;
}

.s360-nav__logo:hover {
  color: var(--s360-electric);
}

.s360-nav__logo-img {
  width: 32px;
  height: 32px;
  border-radius: var(--radius-sm);
  object-fit: contain;
  flex-shrink: 0;
}

.s360-nav__logo-text {
  display: inline-block;
  line-height: 1;
}

.s360-nav__links {
  display: flex;
  align-items: center;
  gap: var(--sp-1);
}

.s360-nav__link {
  padding: var(--sp-2) var(--sp-4);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--s360-slate);
  border-radius: var(--radius-full);
  transition: all var(--dur-fast) var(--ease-out);
  text-decoration: none;
}

.s360-nav__link:hover,
.s360-nav__link--active {
  color: var(--s360-electric);
  background: var(--s360-ice);
}

.s360-nav__cta {
  margin-left: var(--sp-4);
}

/* ============================================================
   MOBILE NAV — Toggle button + full sheet menu (premium)
   ============================================================ */

/* Burger toggle — ghost style, crisp and balanced */
.s360-nav__toggle {
  display: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid rgba(26, 122, 255, 0.18);
  color: var(--s360-midnight);
  cursor: pointer;
  transition: background 180ms var(--ease-out),
              border-color 180ms var(--ease-out),
              color 180ms var(--ease-out),
              transform 180ms var(--ease-out);
}

.s360-nav__toggle:hover {
  background: var(--s360-white);
  border-color: rgba(26, 122, 255, 0.35);
  color: var(--s360-electric);
}

.s360-nav__toggle:active { transform: scale(0.96); }

.s360-nav__toggle svg {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

/* ---------- Overlay ----------
   Nav is z-index: 1000 (fixed to top). The menu must sit ABOVE it so the
   panel cleanly covers the fixed nav instead of peeking through behind. */
.s360-mobile-menu {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(10, 22, 40, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 240ms var(--ease-out),
              visibility 240ms var(--ease-out);
}

.s360-mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
}

/* ---------- Panel ---------- */
.s360-mobile-menu__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(400px, 92vw);
  height: 100%;
  background: var(--s360-white);
  box-shadow: -24px 0 60px -20px rgba(10, 22, 40, 0.35);
  transform: translateX(100%);
  transition: transform 320ms cubic-bezier(0.22, 1, 0.36, 1);
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.s360-mobile-menu.is-open .s360-mobile-menu__panel {
  transform: translateX(0);
}

/* ---------- Header (brand + close) ---------- */
.s360-mobile-menu__header {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  padding-top: calc(var(--sp-5) + env(safe-area-inset-top, 0px));
  border-bottom: 1px solid var(--s360-ice);
}

.s360-mobile-menu__brand {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--s360-midnight);
  text-decoration: none;
  letter-spacing: -0.01em;
}

.s360-mobile-menu__brand img {
  width: 30px;
  height: 30px;
  border-radius: 8px;
}

.s360-mobile-menu__brand b {
  background: var(--s360-gradient-blue);
  -webkit-background-clip: text;
          background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
}

.s360-mobile-menu__close {
  width: 40px;
  height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: transparent;
  border: 1px solid var(--s360-ice);
  color: var(--s360-slate);
  cursor: pointer;
  transition: background 180ms var(--ease-out),
              border-color 180ms var(--ease-out),
              color 180ms var(--ease-out),
              transform 180ms var(--ease-out);
}

.s360-mobile-menu__close:hover {
  background: var(--s360-snow);
  border-color: rgba(26, 122, 255, 0.35);
  color: var(--s360-midnight);
}

.s360-mobile-menu__close:active { transform: scale(0.94); }

/* ---------- Scrollable body ---------- */
.s360-mobile-menu__body {
  flex: 1 1 auto;
  overflow-y: auto;
  padding: var(--sp-4) var(--sp-5) var(--sp-6);
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}

/* ---------- Primary nav ---------- */
.s360-mobile-menu__primary {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.s360-mobile-menu__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px var(--sp-3);
  font-size: 1rem;
  font-weight: 600;
  color: var(--s360-midnight);
  border-radius: 10px;
  text-decoration: none;
  transition: background 180ms var(--ease-out),
              color 180ms var(--ease-out);
}

.s360-mobile-menu__link svg {
  flex-shrink: 0;
  color: var(--s360-mist);
  transition: color 180ms var(--ease-out),
              transform 220ms var(--ease-out);
}

.s360-mobile-menu__link:hover,
.s360-mobile-menu__link:focus-visible {
  background: var(--s360-snow);
  color: var(--s360-electric);
}

.s360-mobile-menu__link:hover svg,
.s360-mobile-menu__link:focus-visible svg {
  color: var(--s360-electric);
  transform: translateX(3px);
}

/* ---------- Industries section ---------- */
.s360-mobile-menu__section {
  margin-top: var(--sp-6);
  padding-top: var(--sp-6);
  border-top: 1px solid var(--s360-ice);
}

.s360-mobile-menu__eyebrow {
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--s360-slate);
  margin: 0 0 var(--sp-3);
  padding: 0 var(--sp-3);
}

.s360-mobile-menu__industries {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.s360-mobile-menu__industry {
  display: block;
  padding: var(--sp-3) var(--sp-3);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--s360-slate);
  text-decoration: none;
  border-radius: 10px;
  transition: background 180ms var(--ease-out),
              color 180ms var(--ease-out);
}

.s360-mobile-menu__industry:hover,
.s360-mobile-menu__industry:focus-visible {
  background: var(--s360-snow);
  color: var(--s360-electric);
}

.s360-mobile-menu__view-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: var(--sp-4);
  padding: var(--sp-2) var(--sp-3);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--s360-electric);
  text-decoration: none;
  transition: gap 180ms var(--ease-out);
}

.s360-mobile-menu__view-all:hover { gap: 10px; }
.s360-mobile-menu__view-all svg { transition: transform 180ms var(--ease-out); }
.s360-mobile-menu__view-all:hover svg { transform: translateX(2px); }

/* ---------- Sticky footer CTA ---------- */
.s360-mobile-menu__footer {
  flex-shrink: 0;
  padding: var(--sp-4) var(--sp-5);
  padding-bottom: calc(var(--sp-4) + env(safe-area-inset-bottom, 0px));
  background: linear-gradient(to top,
    var(--s360-white) 0%,
    var(--s360-white) 70%,
    rgba(255, 255, 255, 0) 100%);
  border-top: 1px solid var(--s360-ice);
}

.s360-mobile-menu__footer-note {
  font-size: 0.75rem;
  text-align: center;
  color: var(--s360-slate);
  margin: 0 0 var(--sp-3);
}

.s360-mobile-menu__footer .s360-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
}


/* ============================================================
   8. COMPONENTS — FOOTER
   ============================================================ */
.s360-footer {
  position: relative;
  background: var(--s360-gradient-dark);
  color: rgba(255, 255, 255, 0.68);
  padding: var(--sp-20) 0 var(--sp-6);
  overflow: hidden;
  isolation: isolate;
}

/* Top hairline — thin azure gradient signature */
.s360-footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(77, 163, 255, 0.35) 30%,
    rgba(77, 163, 255, 0.55) 50%,
    rgba(77, 163, 255, 0.35) 70%,
    transparent 100%);
  z-index: 1;
}

/* Soft ambient glow — subtle brand wash behind content */
.s360-footer__glow {
  position: absolute;
  top: -20%;
  left: 50%;
  transform: translateX(-50%);
  width: 900px;
  height: 500px;
  background: radial-gradient(ellipse at center,
    rgba(26, 122, 255, 0.14) 0%,
    rgba(26, 122, 255, 0.06) 35%,
    transparent 70%);
  pointer-events: none;
  z-index: 0;
  filter: blur(40px);
}

.s360-footer .container { position: relative; z-index: 2; }

/* ---- Grid ---- */
.s360-footer__grid {
  display: grid;
  grid-template-columns: 2.2fr 1fr 1fr 1fr;
  gap: var(--sp-12);
  padding-bottom: var(--sp-12);
  margin-bottom: var(--sp-6);
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

/* ---- Brand column ---- */
.s360-footer__brand { max-width: 380px; }

.s360-footer__logo {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-3);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.35rem;
  letter-spacing: -0.02em;
  color: var(--s360-white);
  text-decoration: none;
  transition: opacity var(--dur-fast) var(--ease-out);
}
.s360-footer__logo:hover { opacity: 0.85; }

.s360-footer__logo-img {
  width: 32px;
  height: 32px;
  display: block;
}

.s360-footer__logo-text { color: var(--s360-white); }
.s360-footer__logo-accent { color: var(--s360-azure); }

.s360-footer__tagline {
  margin: var(--sp-5) 0 var(--sp-6);
  font-size: 0.925rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.6);
}

.s360-footer__meta {
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
  margin-bottom: var(--sp-6);
}

.s360-footer__meta-item {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.s360-footer__meta-item svg {
  color: var(--s360-azure);
  opacity: 0.75;
  flex-shrink: 0;
}
.s360-footer__meta-item--link:hover {
  color: var(--s360-white);
}

/* ---- Social row (in brand column) ---- */
.s360-footer__social {
  display: flex;
  gap: var(--sp-2);
}

.s360-footer__social a {
  width: 34px;
  height: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: rgba(255, 255, 255, 0.55);
  transition: background var(--dur-fast) var(--ease-out),
              color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.s360-footer__social a:hover {
  background: rgba(26, 122, 255, 0.18);
  border-color: rgba(77, 163, 255, 0.45);
  color: var(--s360-white);
  transform: translateY(-2px);
}

/* ---- Link columns ---- */
.s360-footer__col { min-width: 0; }

.s360-footer__heading {
  position: relative;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--s360-white);
  margin: 0 0 var(--sp-5);
  padding-bottom: var(--sp-3);
}
.s360-footer__heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 24px;
  height: 2px;
  background: var(--s360-azure);
  border-radius: 2px;
}

.s360-footer__link {
  display: block;
  padding: var(--sp-2) 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.58);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
}
.s360-footer__link:hover {
  color: var(--s360-white);
  transform: translateX(2px);
}

.s360-footer__link--accent {
  margin-top: var(--sp-2);
  color: var(--s360-azure);
  font-weight: 600;
}
.s360-footer__link--accent:hover {
  color: var(--s360-white);
}

/* ---- Bottom bar ---- */
.s360-footer__bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding-top: var(--sp-6);
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.45);
}

.s360-footer__copy {
  letter-spacing: 0.01em;
}

.s360-footer__made {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  color: rgba(255, 255, 255, 0.55);
}
.s360-footer__heart {
  color: #FF5C7A;
  animation: heartbeat 2.4s var(--ease-out) infinite;
}
@keyframes heartbeat {
  0%, 60%, 100% { transform: scale(1); }
  30% { transform: scale(1.15); }
}

.s360-footer__legal {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
}
.s360-footer__legal-link {
  color: rgba(255, 255, 255, 0.5);
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}
.s360-footer__legal-link:hover {
  color: var(--s360-white);
}
.s360-footer__legal-sep {
  color: rgba(255, 255, 255, 0.25);
}


/* ============================================================
   9. GEOMETRIC BACKGROUND PATTERNS
   ============================================================ */
.s360-geo-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.s360-geo-bg canvas {
  width: 100%;
  height: 100%;
}

/* Static geometric lines */
.s360-geo-lines {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(30deg, var(--s360-azure) 1px, transparent 1px),
    linear-gradient(150deg, var(--s360-azure) 1px, transparent 1px);
  background-size: 60px 100px;
}

/* Radial glow accent */
.s360-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: var(--s360-gradient-glow);
  pointer-events: none;
  z-index: 0;
}

.s360-glow--top-right {
  top: -200px;
  right: -200px;
}

.s360-glow--bottom-left {
  bottom: -200px;
  left: -200px;
}


/* ============================================================
   10. FORM CONTROLS
   ============================================================ */
.s360-input {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.95rem;
  background: var(--s360-white);
  border: 1.5px solid var(--s360-mist);
  border-radius: var(--radius-md);
  transition: all var(--dur-fast) var(--ease-out);
}

.s360-input:focus {
  border-color: var(--s360-azure);
  box-shadow: 0 0 0 3px rgba(77, 163, 255, 0.1);
}

.s360-input::placeholder {
  color: var(--s360-mist);
}

.s360-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--s360-slate);
  margin-bottom: var(--sp-2);
}

.s360-select {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  padding-right: var(--sp-10);
  font-size: 0.95rem;
  font-family: var(--font-body);
  background: var(--s360-white);
  border: 1.5px solid var(--s360-mist);
  border-radius: var(--radius-md);
  color: var(--s360-midnight);
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%234A5568' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  transition: all var(--dur-fast) var(--ease-out);
}

.s360-select:focus {
  border-color: var(--s360-azure);
  box-shadow: 0 0 0 3px rgba(77, 163, 255, 0.1);
  outline: none;
}

.s360-textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.95rem;
  background: var(--s360-white);
  border: 1.5px solid var(--s360-mist);
  border-radius: var(--radius-md);
  resize: vertical;
  min-height: 100px;
  font-family: var(--font-body);
  transition: all var(--dur-fast) var(--ease-out);
}

.s360-textarea:focus {
  border-color: var(--s360-azure);
  box-shadow: 0 0 0 3px rgba(77, 163, 255, 0.1);
}


/* ============================================================
   11. ANIMATIONS
   ============================================================ */
/* Scroll reveal base */
.s360-reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity var(--dur-slow) var(--ease-out), transform var(--dur-slow) var(--ease-out);
}

.s360-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.s360-reveal--delay-1 { transition-delay: 100ms; }
.s360-reveal--delay-2 { transition-delay: 200ms; }
.s360-reveal--delay-3 { transition-delay: 300ms; }
.s360-reveal--delay-4 { transition-delay: 400ms; }

/* Fade in up */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* Float */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

/* Pulse glow */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 20px rgba(26, 122, 255, 0.2); }
  50%      { box-shadow: 0 0 40px rgba(26, 122, 255, 0.35); }
}

/* Counter animation handled by JS */
.s360-counter {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2rem, 4vw, 3rem);
  color: var(--s360-electric);
  line-height: 1;
}

.s360-counter__label {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--s360-slate);
  margin-top: var(--sp-2);
}


/* ============================================================
   12. RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
  .grid-cols-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-cols-3 { grid-template-columns: repeat(2, 1fr); }
  .s360-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: var(--sp-10);
  }
  .s360-footer__brand { grid-column: 1 / -1; max-width: 520px; }
}

@media (max-width: 768px) {
  :root {
    --nav-height: 64px;
  }

  .section       { padding: var(--sp-16) 0; }
  .section--sm   { padding: var(--sp-10) 0; }

  .grid-cols-2,
  .grid-cols-3,
  .grid-cols-4 { grid-template-columns: 1fr; }

  .s360-nav__links,
  .s360-nav__cta { display: none; }

  .s360-nav__toggle { display: flex; }

  .s360-footer {
    padding: var(--sp-16) 0 var(--sp-6);
  }
  .s360-footer__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-10);
  }
  .s360-footer__brand { grid-column: auto; max-width: 100%; }
  .s360-footer__bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: var(--sp-3);
    text-align: left;
  }

  .flex-col-mobile { flex-direction: column; }
}

@media (max-width: 480px) {
  .container { padding: 0 var(--sp-4); }
  .s360-card { padding: var(--sp-6); }
}


/* ============================================================
   13. UTILITY
   ============================================================ */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}

.relative { position: relative; }
.z-1 { z-index: 1; }
.z-10 { z-index: 10; }
.overflow-hidden { overflow: hidden; }
.mx-auto { margin-left: auto; margin-right: auto; }
.mt-6 { margin-top: var(--sp-6); }
.mt-8 { margin-top: var(--sp-8); }
.mt-10 { margin-top: var(--sp-10); }
.mt-12 { margin-top: var(--sp-12); }
.mb-4 { margin-bottom: var(--sp-4); }
.mb-6 { margin-bottom: var(--sp-6); }
.mb-8 { margin-bottom: var(--sp-8); }
.mb-12 { margin-bottom: var(--sp-12); }
.pt-nav { padding-top: var(--nav-height); }
.max-w-2xl { max-width: 640px; }
.max-w-3xl { max-width: 768px; }
.w-full { width: 100%; }


/* ============================================================
   14. COMPONENTS — HERO SECTION
   ============================================================ */
.s360-hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--s360-gradient-hero);
  overflow: hidden;
  padding-top: var(--nav-height);
}

/* Inner frame — defines the horizontal content column so the mascot can
   anchor to the right edge of the CONTENT (not the viewport) on wide
   screens. Keeps the text block centered via margin:auto on child. */
.s360-hero__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 var(--sp-6);
  display: flex;
  justify-content: center;
}

.s360-hero__content {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 820px;
  padding: var(--sp-10) 0;
}

.s360-hero__badge {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-5);
  background: rgba(26, 122, 255, 0.08);
  border: 1px solid rgba(26, 122, 255, 0.15);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--s360-electric);
  margin-bottom: var(--sp-8);
  animation: fadeInUp 0.6s var(--ease-out) both;
}

.s360-hero__badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10B981;
  animation: pulseGlow 2s infinite;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.4);
}

.s360-hero__badge-icon {
  color: var(--s360-electric);
  opacity: 0.85;
  flex-shrink: 0;
}

.s360-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(3rem, 6vw, 5rem);
  line-height: 1.05;
  letter-spacing: -0.04em;
  color: var(--s360-midnight);
  margin-bottom: var(--sp-6);
  animation: fadeInUp 0.6s var(--ease-out) 0.1s both;
}

.s360-hero__subtitle {
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  line-height: 1.65;
  color: var(--s360-slate);
  max-width: 580px;
  margin: 0 auto var(--sp-10);
  animation: fadeInUp 0.6s var(--ease-out) 0.2s both;
}

.s360-hero__actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-4);
  flex-wrap: wrap;
  animation: fadeInUp 0.6s var(--ease-out) 0.3s both;
}

/* Hero mascot — anchored to the bottom-right of the CONTENT frame
   (.s360-hero__inner), not the full-bleed section. This keeps the mascot
   visually paired with the content column on ultra-wide displays instead
   of drifting toward the viewport corner. */
.s360-hero__mascot {
  position: absolute;
  bottom: 0;
  right: var(--sp-6);
  width: clamp(200px, 20vw, 320px);
  height: auto;
  z-index: 1;
  pointer-events: none;
  opacity: 0.9;
  filter: drop-shadow(0 8px 32px rgba(26, 122, 255, 0.12));
  animation: fadeInUp 0.8s var(--ease-out) 0.5s both;
}

/* Floating geometric shapes decoration */
.s360-hero__shapes {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.s360-hero__shape {
  position: absolute;
  border: 1.5px solid rgba(77, 163, 255, 0.15);
  border-radius: var(--radius-md);
  animation: float 6s ease-in-out infinite;
}

.s360-hero__shape--1 {
  width: 80px; height: 80px;
  top: 15%; left: 8%;
  transform: rotate(15deg);
  animation-delay: 0s;
}

.s360-hero__shape--2 {
  width: 120px; height: 120px;
  top: 20%; right: 10%;
  transform: rotate(-25deg);
  animation-delay: 1s;
  border-radius: 50%;
  border-color: rgba(77, 163, 255, 0.1);
}

.s360-hero__shape--3 {
  width: 60px; height: 60px;
  bottom: 25%; left: 15%;
  transform: rotate(45deg);
  animation-delay: 2s;
}

.s360-hero__shape--4 {
  width: 100px; height: 100px;
  bottom: 20%; right: 15%;
  transform: rotate(-15deg);
  animation-delay: 0.5s;
  border-radius: var(--radius-lg);
}

.s360-hero__shape--5 {
  width: 40px; height: 40px;
  top: 40%; left: 5%;
  transform: rotate(30deg);
  animation-delay: 1.5s;
  background: rgba(77, 163, 255, 0.04);
}


/* ============================================================
   15. COMPONENTS — CTA BANNER
   ============================================================ */
.s360-cta-banner {
  background: var(--s360-gradient-blue);
  border-radius: var(--radius-xl);
  padding: var(--sp-16) var(--sp-10);
  text-align: center;
  position: relative;
  overflow: hidden;
  color: var(--s360-white);
}

.s360-cta-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='none'/%3E%3Cpath d='M30 0v60M0 30h60' stroke='rgba(255,255,255,0.06)' stroke-width='1'/%3E%3C/svg%3E");
  pointer-events: none;
}

.s360-cta-banner h2 {
  color: var(--s360-white);
  margin-bottom: var(--sp-4);
}

.s360-cta-banner p {
  opacity: 0.9;
  max-width: 500px;
  margin: 0 auto var(--sp-8);
  font-size: 1.1rem;
}

/* Feature icon (used on about + homepage) */
.s360-feature__icon {
  width: 72px;
  height: 72px;
  border-radius: var(--radius-lg);
  background: var(--s360-ice);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto var(--sp-5);
  color: var(--s360-electric);
  transition: all var(--dur-normal) var(--ease-out);
}


/* ============================================================
   16. HERO & CTA RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .s360-hero { min-height: 90vh; }
  .s360-hero__shape { display: none; }
  .s360-hero__mascot { display: none; }
  .s360-cta-banner {
    border-radius: var(--radius-lg);
    padding: var(--sp-10) var(--sp-6);
  }
}


/* ============================================================
   17. NAV DROPDOWN
   ============================================================ */
.s360-nav__dropdown-wrap {
  position: relative;
}

.s360-nav__dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.s360-nav__dropdown-trigger svg {
  transition: transform var(--dur-fast) var(--ease-out);
  display: inline;
}

.s360-nav__dropdown-wrap:hover .s360-nav__dropdown-trigger svg {
  transform: rotate(180deg);
}

.s360-nav__dropdown {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 520px;
  background: var(--s360-white);
  border: 1px solid rgba(203, 213, 224, 0.35);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xl);
  padding: var(--sp-5);
  opacity: 0;
  visibility: hidden;
  transition: all var(--dur-normal) var(--ease-out);
  z-index: 100;
}

.s360-nav__dropdown-wrap:hover .s360-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.s360-nav__dropdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2px;
}

.s360-nav__dropdown-link {
  display: block;
  padding: var(--sp-2) var(--sp-3);
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--s360-slate);
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--dur-fast) var(--ease-out);
  white-space: nowrap;
}

.s360-nav__dropdown-link:hover,
.s360-nav__dropdown-link--active {
  background: var(--s360-ice);
  color: var(--s360-electric);
}


/* ============================================================
   18. SERVICE PAGE HERO — Premium
   ============================================================ */
.s360-service-hero {
  position: relative;
  min-height: 70vh;
  display: flex;
  align-items: center;
  background: var(--s360-gradient-hero);
  overflow: hidden;
  padding: var(--sp-16) 0 var(--sp-20);
}

.s360-service-hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--s360-gradient-blue);
}

.s360-service-hero__content {
  position: relative;
  z-index: 1;
  max-width: 740px;
}

.s360-service-hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(2.4rem, 5.5vw, 3.8rem);
  line-height: 1.08;
  letter-spacing: -0.035em;
  color: var(--s360-midnight);
  margin-bottom: var(--sp-6);
}

.s360-service-hero__subtitle {
  font-size: clamp(1.02rem, 2vw, 1.18rem);
  line-height: 1.75;
  color: var(--s360-slate);
  max-width: 620px;
  margin-bottom: var(--sp-10);
}


/* ============================================================
   18b. SECTION KICKER (Small label above section headings)
   ============================================================ */
.s360-section-kicker {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--s360-electric);
  background: rgba(26, 122, 255, 0.08);
  padding: var(--sp-1) var(--sp-4);
  border-radius: var(--radius-full);
  margin-bottom: var(--sp-4);
}

.s360-section-kicker--light {
  color: var(--s360-sky);
  background: rgba(168, 212, 255, 0.12);
}


/* ============================================================
   18c. PAIN CARDS — Horizontal with red accent
   ============================================================ */
.s360-pain-stack {
  display: flex;
  flex-direction: column;
  gap: var(--sp-6);
  max-width: 780px;
  margin: 0 auto;
}

/* ───────────────────────────────────
   PERCEPTION GAP — Editorial Layout
   ─────────────────────────────────── */
.s360-perception {
  background: var(--s360-white);
  /* NOTE: no overflow:hidden — would clip the VS badge that sits on the divider */
}

.s360-perception__grid {
  display: grid;
  grid-template-columns: 1fr 1px 1fr;
  gap: 0;
  max-width: 960px;
  margin: 0 auto;
  position: relative;
}

/* Thin vertical divider line between columns */
.s360-perception__vs {
  background: var(--s360-border);
  position: relative;
}

/* VS badge — circular, centered on the divider */
.s360-perception__vs span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--s360-white);
  color: var(--s360-electric);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.95rem;
  letter-spacing: 0.1em;
  border: 2px solid var(--s360-electric);
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(26, 122, 255, 0.18);
  white-space: nowrap;
  z-index: 2;
}

/* Columns — no borders, no bg, just padding */
.s360-perception__col {
  padding: var(--sp-6) var(--sp-10);
}

.s360-perception__col:hover {
  /* intentionally empty — no hover lift on premium layouts */
}

.s360-perception__col--you {}

.s360-perception__col--client {
  background: var(--s360-snow);
}

/* Headers — clean, editorial */
.s360-perception__header {
  display: flex;
  align-items: center;
  gap: var(--sp-3);
  margin-bottom: var(--sp-8);
}

.s360-perception__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: var(--radius-md);
  background: var(--s360-snow);
  color: var(--s360-slate);
  flex-shrink: 0;
}

.s360-perception__header--you .s360-perception__icon {
  background: rgba(26, 122, 255, 0.08);
  color: var(--s360-electric);
}

.s360-perception__header--client .s360-perception__icon {
  background: var(--s360-snow);
  color: var(--s360-slate);
}

.s360-perception__header h3 {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--s360-slate);
  margin: 0;
  line-height: 1;
}

.s360-perception__subtitle {
  display: none;
}

.s360-perception__header--you h3 {
  color: var(--s360-midnight);
}

.s360-perception__header--client h3 {
  color: var(--s360-slate);
}

/* Items — typography-driven, no colored bullets */
.s360-perception__item {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-4);
  padding: var(--sp-5) 0;
}

.s360-perception__item:first-of-type {
  padding-top: 0;
}

.s360-perception__item + .s360-perception__item {
  border-top: 1px solid rgba(0,0,0,0.05);
}

/* Numbers — understated, just text */
.s360-perception__num {
  flex-shrink: 0;
  width: auto;
  height: auto;
  border-radius: 0;
  border: none;
  background: none;
  font-size: 0.75rem;
  font-weight: 600;
  margin-top: 3px;
  font-variant-numeric: tabular-nums;
}

.s360-perception__num--you {
  color: var(--s360-midnight);
}

.s360-perception__num--client {
  color: var(--s360-slate);
  opacity: 0.5;
}

/* Text styling — the real differentiator */
.s360-perception__item p {
  margin: 0;
  line-height: 1.7;
}

.s360-perception__item--you p {
  font-size: 0.95rem;
  color: var(--s360-midnight);
  font-weight: 500;
}

.s360-perception__item--client p {
  font-size: 0.9rem;
  color: var(--s360-slate);
  font-weight: 400;
}

/* VERDICT — pull-quote style */
.s360-perception__verdict {
  margin-top: var(--sp-12);
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.s360-perception__verdict-inner {
  display: block;
  padding: var(--sp-8) 0;
  border-top: 1px solid var(--s360-border);
  border-bottom: 1px solid var(--s360-border);
}

.s360-perception__verdict-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin: 0 auto var(--sp-4);
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.1);
  color: #D97706;
}

.s360-perception__verdict p {
  margin: 0;
  font-size: 1.2rem;
  font-weight: 500;
  line-height: 1.7;
  color: var(--s360-midnight);
  letter-spacing: -0.01em;
}

.s360-pain-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: start;
  column-gap: var(--sp-8);
  background: var(--s360-white);
  border: 1px solid rgba(203, 213, 224, 0.45);
  border-radius: var(--radius-lg);
  padding: var(--sp-10) var(--sp-10);
  transition: transform var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out),
              border-color var(--dur-normal) var(--ease-out);
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.025);
}

.s360-pain-card:hover {
  box-shadow: 0 20px 50px -20px rgba(15, 23, 42, 0.15),
              0 8px 20px -12px rgba(15, 23, 42, 0.08);
  transform: translateY(-3px);
  border-color: rgba(26, 35, 60, 0.12);
}

.s360-pain-card__number {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--s360-slate);
  line-height: 1.6;
  min-width: 28px;
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.12em;
  padding-top: 3px;
  opacity: 0.5;
}

.s360-pain-card__body {
  min-width: 0;
  padding-right: var(--sp-4);
}

.s360-pain-card__body h3 {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--s360-midnight);
  margin: 0 0 var(--sp-3);
  line-height: 1.35;
  letter-spacing: -0.015em;
}

.s360-pain-card__body p {
  font-size: 1rem;
  line-height: 1.75;
  color: var(--s360-slate);
  margin: 0;
  max-width: 60ch;
}

.s360-pain-card__icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-full);
  background: transparent;
  color: var(--s360-mist);
  transition: all var(--dur-normal) var(--ease-out);
  margin-top: -2px;
}

.s360-pain-card:hover .s360-pain-card__icon {
  background: var(--s360-snow);
  color: var(--s360-slate);
}


/* ============================================================
   18d. COMPARISON TABLE — Light On-Brand
   ============================================================ */
.s360-compare-table {
  background: var(--s360-white);
  border: 1.5px solid rgba(77, 163, 255, 0.15);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 2px 16px rgba(26, 122, 255, 0.06);
}

.s360-compare-table__header {
  display: grid;
  grid-template-columns: 40px 1fr 1fr;
  gap: 0;
  padding: var(--sp-4) var(--sp-6);
  background: var(--s360-ice);
  border-bottom: 1.5px solid rgba(77, 163, 255, 0.12);
}

.s360-compare-table__header span {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.s360-compare-header-icon {
  flex-shrink: 0;
}

.s360-compare-table__col--with span {
  color: #059669;
}

.s360-compare-table__col--without span {
  color: #DC2626;
}

.s360-compare-table__row {
  display: grid;
  grid-template-columns: 40px 1fr 1fr;
  gap: 0;
  padding: var(--sp-4) var(--sp-6);
  border-bottom: 1px solid rgba(203, 213, 224, 0.25);
  transition: background var(--dur-fast) var(--ease-out);
  align-items: center;
}

.s360-compare-table__row:last-child {
  border-bottom: none;
}

.s360-compare-table__row:hover {
  background: var(--s360-snow);
}

.s360-compare-table__row--alt {
  background: rgba(235, 243, 255, 0.35);
}

.s360-compare-table__col--num {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--s360-mist);
}

.s360-compare-table__col--with {
  display: flex;
  align-items: center;
  font-size: 0.92rem;
  color: var(--s360-midnight);
  font-weight: 500;
  padding-right: var(--sp-4);
}

.s360-compare-table__col--without {
  display: flex;
  align-items: center;
  font-size: 0.92rem;
  color: var(--s360-slate);
  padding-right: var(--sp-2);
  opacity: 0.7;
}

.s360-compare-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
  margin-right: var(--sp-3);
  flex-shrink: 0;
}

.s360-compare-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: var(--radius-full);
  background: rgba(220, 38, 38, 0.08);
  color: #DC2626;
  margin-right: var(--sp-3);
  flex-shrink: 0;
}


/* ============================================================
   18e. FEATURE CARDS — Premium with top gradient border
   ============================================================ */
.s360-feature-card {
  position: relative;
  background: var(--s360-white);
  border: 1px solid rgba(203, 213, 224, 0.3);
  border-radius: var(--radius-lg);
  padding: var(--sp-10) var(--sp-8) var(--sp-8);
  transition: all var(--dur-normal) var(--ease-out);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  overflow: hidden;
}

.s360-feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--s360-gradient-blue);
  opacity: 0;
  transition: opacity var(--dur-normal) var(--ease-out);
}

.s360-feature-card:hover {
  box-shadow: 0 12px 40px rgba(26, 122, 255, 0.08);
  transform: translateY(-4px);
  border-color: rgba(77, 163, 255, 0.2);
}

.s360-feature-card:hover::before {
  opacity: 1;
}

.s360-feature-card__num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 700;
  background: var(--s360-gradient-blue);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  margin-bottom: var(--sp-4);
  opacity: 0.25;
}

.s360-feature-card__title {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--s360-midnight);
  margin-bottom: var(--sp-3);
  line-height: 1.3;
}

.s360-feature-card__desc {
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--s360-slate);
  margin: 0;
}


/* ============================================================
   18f. STATS GRID — Why Software360
   ============================================================ */
.s360-stats__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--sp-8);
  text-align: center;
}

.s360-stats__item {
  padding: var(--sp-8) var(--sp-4);
}

.s360-counter {
  font-family: var(--font-display);
  margin-bottom: var(--sp-2);
}

.s360-counter--icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--s360-electric);
  height: 56px;
}

.s360-counter__label {
  font-size: 0.88rem;
  color: var(--s360-slate);
  font-weight: 500;
}

/* Form success state */
.s360-form-success {
  padding: var(--sp-12) var(--sp-6);
}

.s360-form-success__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  margin: 0 auto var(--sp-5);
  border-radius: var(--radius-full);
  background: rgba(5, 150, 105, 0.1);
  color: #059669;
}


/* ============================================================
   18g. PROCESS STEPS — How It Works
   ============================================================ */
.s360-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-8);
  text-align: center;
}

.s360-step {
  padding: var(--sp-8) var(--sp-6);
}

.s360-step__number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: var(--radius-full);
  background: var(--s360-gradient-blue);
  color: var(--s360-white);
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: var(--sp-6);
  box-shadow: 0 4px 16px rgba(26, 122, 255, 0.2);
}


/* ============================================================
   19. BREADCRUMBS
   ============================================================ */
.s360-breadcrumbs {
  padding: calc(var(--nav-height) + var(--sp-3)) 0 var(--sp-3);
  background: var(--s360-snow);
  border-bottom: 1px solid rgba(203, 213, 224, 0.3);
  font-size: 0.82rem;
}

.s360-breadcrumbs a {
  color: var(--s360-slate);
  text-decoration: none;
}

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

.s360-breadcrumbs__sep {
  margin: 0 var(--sp-2);
  color: var(--s360-mist);
}

.s360-breadcrumbs span:last-child {
  color: var(--s360-electric);
  font-weight: 600;
}


/* ============================================================
   20. FAQ ACCORDION
   ============================================================ */
.s360-faq {
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.s360-faq__item {
  background: var(--s360-white);
  border: 1px solid rgba(203, 213, 224, 0.35);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: box-shadow var(--dur-fast) var(--ease-out);
}

.s360-faq__item:hover {
  box-shadow: var(--shadow-sm);
}

.s360-faq__question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: var(--sp-5) var(--sp-6);
  background: none;
  border: none;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--s360-midnight);
  cursor: pointer;
  text-align: left;
  gap: var(--sp-4);
}

.s360-faq__question svg {
  flex-shrink: 0;
  transition: transform var(--dur-normal) var(--ease-out);
  color: var(--s360-azure);
}

.s360-faq__item.is-open .s360-faq__question svg {
  transform: rotate(180deg);
}

.s360-faq__answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height var(--dur-normal) var(--ease-out), padding var(--dur-normal) var(--ease-out);
  padding: 0 var(--sp-6);
}

.s360-faq__item.is-open .s360-faq__answer {
  max-height: 300px;
  padding: 0 var(--sp-6) var(--sp-5);
}

.s360-faq__answer p {
  color: var(--s360-slate);
  font-size: 0.95rem;
  line-height: 1.7;
}


/* ============================================================
   21. LEAD CAPTURE FORM
   ============================================================ */
.s360-lead-form {
  background: var(--s360-white);
  border: 1px solid rgba(203, 213, 224, 0.35);
  border-radius: var(--radius-lg);
  padding: var(--sp-10);
  box-shadow: var(--shadow-card);
}

.s360-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-5);
  margin-bottom: var(--sp-5);
}

.s360-form-group {
  margin-bottom: var(--sp-5);
}

.s360-form-group:last-child {
  margin-bottom: 0;
}

.s360-form-row .s360-form-group {
  margin-bottom: 0;
}

.s360-textarea {
  width: 100%;
  padding: var(--sp-3) var(--sp-4);
  font-size: 0.95rem;
  background: var(--s360-white);
  border: 1.5px solid var(--s360-mist);
  border-radius: var(--radius-md);
  resize: vertical;
  min-height: 120px;
  transition: all var(--dur-fast) var(--ease-out);
  font-family: var(--font-body);
}

.s360-textarea:focus {
  border-color: var(--s360-azure);
  box-shadow: 0 0 0 3px rgba(77, 163, 255, 0.1);
  outline: none;
}


/* ============================================================
   22. UTILITY CLASSES
   ============================================================ */
.max-w-3xl { max-width: 48rem; }
.mx-auto   { margin-left: auto; margin-right: auto; }


/* ============================================================
   23. RESPONSIVE — SERVICE PAGES
   ============================================================ */
@media (max-width: 1024px) {
  .s360-nav__dropdown-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .s360-nav__dropdown {
    min-width: 420px;
  }
}

@media (max-width: 768px) {
  /* Breadcrumbs — tighter on narrow screens */
  .s360-breadcrumbs {
    font-size: 0.78rem;
  }
  .s360-breadcrumbs__sep {
    margin: 0 var(--sp-1);
  }

  .s360-service-hero {
    min-height: auto;
    padding-top: var(--sp-10);
    padding-bottom: var(--sp-12);
    text-align: center;
  }
  .s360-service-hero__content {
    max-width: 100%;
    margin: 0 auto;
  }
  .s360-service-hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .s360-hero__actions {
    justify-content: center;
  }
  .s360-hero__mascot {
    display: none;
  }
  .s360-form-row { grid-template-columns: 1fr; }
  .s360-lead-form { padding: var(--sp-6); }

  /* Perception section — stack columns, show VS as horizontal pill */
  .s360-perception__grid {
    grid-template-columns: 1fr;
    gap: var(--sp-2);
    max-width: 100%;
  }
  .s360-perception__col {
    padding: var(--sp-6) var(--sp-5);
  }
  .s360-perception__col--client {
    border-radius: var(--radius-lg);
  }
  .s360-perception__vs {
    background: transparent;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--sp-2) 0;
    position: relative;
  }
  /* Horizontal line behind the VS pill */
  .s360-perception__vs::before {
    content: '';
    position: absolute;
    left: 10%;
    right: 10%;
    top: 50%;
    height: 1px;
    background: var(--s360-border);
    z-index: 0;
  }
  .s360-perception__vs span {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
    width: auto;
    height: auto;
    padding: var(--sp-2) var(--sp-5);
    font-size: 0.8rem;
    border-radius: var(--radius-full);
    z-index: 1;
  }
  .s360-perception__verdict {
    margin-top: var(--sp-8);
  }
  .s360-perception__verdict p {
    font-size: 1rem;
  }

  /* Pain cards — simplified single column on mobile */
  .s360-pain-card {
    grid-template-columns: auto 1fr;
    column-gap: var(--sp-5);
    padding: var(--sp-7) var(--sp-6);
  }
  .s360-pain-card__icon {
    display: none;
  }
  .s360-pain-card__body h3 {
    font-size: 1.1rem;
  }
  .s360-pain-card__body p {
    font-size: 0.95rem;
  }

  /* Comparison table responsive */
  .s360-compare-table__header {
    grid-template-columns: 1fr 1fr;
    padding: var(--sp-3) var(--sp-4);
  }
  .s360-compare-table__header > .s360-compare-table__col:first-child {
    display: none;
  }
  .s360-compare-table__row {
    grid-template-columns: 1fr 1fr;
    padding: var(--sp-3) var(--sp-4);
    gap: var(--sp-1);
  }
  .s360-compare-table__col--num {
    display: none;
  }
  .s360-compare-table__col--with,
  .s360-compare-table__col--without {
    font-size: 0.82rem;
  }

  /* Feature cards */
  .s360-feature-card {
    padding: var(--sp-6) var(--sp-5) var(--sp-5);
  }
  .s360-feature-card__num {
    font-size: 1.8rem;
  }

  /* Stats grid — 2 columns on mobile */
  .s360-stats__grid {
    grid-template-columns: repeat(2, 1fr);
    gap: var(--sp-4);
  }
  .s360-stats__item {
    padding: var(--sp-5) var(--sp-2);
  }

  /* Process steps — single column */
  .s360-steps {
    grid-template-columns: 1fr;
    gap: var(--sp-4);
  }

  /* Hide dropdown on mobile, show in mobile menu instead */
  .s360-nav__dropdown-wrap .s360-nav__dropdown { display: none; }

  /* CTA banner — reduce padding on mobile */
  .s360-cta-banner {
    padding: var(--sp-10) var(--sp-6);
  }
}

@media (max-width: 480px) {
  .s360-compare-table__col--with,
  .s360-compare-table__col--without {
    font-size: 0.78rem;
  }
  .s360-compare-check,
  .s360-compare-x {
    width: 16px;
    height: 16px;
    font-size: 0.6rem;
    margin-right: var(--sp-1);
  }
}


/* ============================================================
   FOUNDER PORTRAIT (About page)
   ============================================================ */
.s360-founder__portrait {
  width: 220px;
  height: 220px;
  margin: 0 auto var(--sp-5);
  position: relative;
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 40%, rgba(26, 122, 255, 0.18) 0%, rgba(168, 212, 255, 0.08) 55%, transparent 75%),
    var(--s360-gradient-hero);
  box-shadow:
    var(--shadow-lg),
    inset 0 0 0 1px rgba(26, 122, 255, 0.12);
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  transition: transform var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out);
}

.s360-founder__portrait::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 50%;
  padding: 2px;
  background: var(--s360-gradient-blue);
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
          mask-composite: exclude;
  opacity: 0.45;
  pointer-events: none;
}

.s360-founder__portrait:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl), 0 0 40px rgba(26, 122, 255, 0.22);
}

.s360-founder__portrait img {
  width: 88%;
  height: auto;
  display: block;
  transform: translateY(6%);
  filter: drop-shadow(0 6px 14px rgba(10, 22, 40, 0.12));
}

/* Photo modifier — for real headshot (JPG) that should fill the circle
   as a proper avatar instead of a transparent cutout sitting at the bottom. */
.s360-founder__portrait--photo {
  align-items: center;
}
.s360-founder__portrait--photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%;
  transform: none;
  filter: none;
}


/* ============================================================
   BOOK A CALL — Cal.com inline calendar page
   ============================================================ */

/* Reassurance row (30 min · Free · Real conversation) */
.s360-book-signals {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--sp-5);
  background: var(--s360-snow);
  border: 1px solid var(--s360-ice);
  border-radius: var(--radius-lg);
  padding: var(--sp-5) var(--sp-6);
}

.s360-book-signal {
  display: flex;
  align-items: center;
  gap: var(--sp-4);
}

.s360-book-signal__icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--s360-white);
  border: 1px solid var(--s360-ice);
  color: var(--s360-electric);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}

.s360-book-signal strong {
  display: block;
  color: var(--s360-midnight);
  font-size: 0.98rem;
  line-height: 1.2;
  margin-bottom: 2px;
}

.s360-book-signal span {
  display: block;
  color: var(--s360-slate);
  font-size: 0.86rem;
  line-height: 1.4;
}

/* Card that wraps the embedded calendar */
.s360-cal-card {
  background: var(--s360-white);
  border: 1px solid var(--s360-ice);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}

.s360-cal-card__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  padding: var(--sp-5) var(--sp-6);
  background: var(--s360-snow);
  border-bottom: 1px solid var(--s360-ice);
}

.s360-cal-card__header h2 {
  color: var(--s360-midnight);
}

.s360-cal-card__external {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  background: var(--s360-white);
  border: 1px solid var(--s360-ice);
  border-radius: var(--radius-full);
  color: var(--s360-electric);
  font-size: 0.82rem;
  font-weight: 600;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out),
              border-color var(--dur-fast) var(--ease-out),
              box-shadow var(--dur-fast) var(--ease-out);
}

.s360-cal-card__external:hover {
  color: var(--s360-deep);
  border-color: var(--s360-azure);
  box-shadow: var(--shadow-sm);
}

/* The actual Cal.com container — height comes from the Cal widget itself,
   but we set a min-height so the page doesn't jump while the script loads */
.s360-cal-inline {
  width: 100%;
  min-height: 720px;
  position: relative;
  background: var(--s360-white);
}

/* Once Cal.com mounts, it injects its iframe — make sure it fills the container */
.s360-cal-inline > iframe {
  width: 100% !important;
  min-height: 720px;
  border: 0;
  display: block;
}

/* Loading placeholder — shown ONLY until Cal.com injects its iframe.
   Once cal.js sets data-cal-ready="true" on the container, we fade out so
   Cal.com's own loading state is the single source of truth (no overlap). */
.s360-cal-loading {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--sp-3);
  color: var(--s360-slate);
  font-size: 0.9rem;
  pointer-events: none;
  opacity: 1;
  transition: opacity 200ms var(--ease-out);
  z-index: 1;
}

.s360-cal-inline > iframe {
  position: relative;
  z-index: 2;
}

.s360-cal-inline[data-cal-ready="true"] .s360-cal-loading {
  opacity: 0;
  visibility: hidden;
}

.s360-cal-loading__spinner {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 3px solid var(--s360-ice);
  border-top-color: var(--s360-electric);
  animation: s360-cal-spin 0.9s linear infinite;
}

@keyframes s360-cal-spin {
  to { transform: rotate(360deg); }
}

@media (max-width: 768px) {
  .s360-book-signals {
    grid-template-columns: 1fr;
    gap: var(--sp-3);
    padding: var(--sp-4);
  }

  .s360-cal-card__header {
    flex-direction: column;
    align-items: flex-start;
    padding: var(--sp-4) var(--sp-5);
  }

  .s360-cal-inline,
  .s360-cal-inline > iframe { min-height: 640px; }
}


/* ============================================================
   FLOATING FAQ BUTTON (Booboo) — site-wide
   ============================================================ */
.s360-faq-fab {
  position: fixed;
  right: clamp(16px, 3vw, 28px);
  bottom: clamp(16px, 3vw, 28px);
  z-index: 900;
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--s360-white);
  box-shadow:
    0 10px 28px rgba(10, 22, 40, 0.16),
    0 0 0 1px rgba(203, 213, 224, 0.45),
    inset 0 0 0 4px rgba(235, 243, 255, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  transition: transform var(--dur-normal) var(--ease-out),
              box-shadow var(--dur-normal) var(--ease-out);
  animation: s360-faq-fab-in 0.6s var(--ease-out) 0.4s both;
}

.s360-faq-fab:hover,
.s360-faq-fab:focus-visible {
  transform: translateY(-4px) scale(1.04);
  box-shadow:
    0 16px 38px rgba(10, 22, 40, 0.22),
    0 0 0 1px rgba(26, 122, 255, 0.25),
    0 0 32px rgba(26, 122, 255, 0.22);
  outline: none;
}

.s360-faq-fab:active {
  transform: translateY(-1px) scale(0.98);
}

.s360-faq-fab__img {
  width: 62px;
  height: 62px;
  object-fit: contain;
  transition: transform var(--dur-normal) var(--ease-out);
  pointer-events: none;
  user-select: none;
}

.s360-faq-fab:hover .s360-faq-fab__img {
  transform: rotate(-6deg) scale(1.05);
}

/* Pulsing ring */
.s360-faq-fab__ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(26, 122, 255, 0.35);
  opacity: 0;
  animation: s360-faq-fab-pulse 2.6s ease-out infinite;
  pointer-events: none;
}

/* FAQ badge */
.s360-faq-fab__badge {
  position: absolute;
  bottom: -2px;
  right: -2px;
  background: var(--s360-gradient-blue);
  color: var(--s360-white);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 3px 8px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 10px rgba(26, 122, 255, 0.35);
  border: 2px solid var(--s360-white);
  pointer-events: none;
}

/* Tooltip */
.s360-faq-fab__tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: var(--s360-midnight);
  color: var(--s360-white);
  font-size: 0.8rem;
  font-weight: 500;
  padding: 8px 14px;
  border-radius: 10px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--dur-fast) var(--ease-out),
              transform var(--dur-fast) var(--ease-out);
  box-shadow: var(--shadow-md);
}

.s360-faq-fab__tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border: 6px solid transparent;
  border-left-color: var(--s360-midnight);
}

.s360-faq-fab:hover .s360-faq-fab__tooltip,
.s360-faq-fab:focus-visible .s360-faq-fab__tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@keyframes s360-faq-fab-pulse {
  0%   { opacity: 0.55; transform: scale(1); }
  70%  { opacity: 0;    transform: scale(1.35); }
  100% { opacity: 0;    transform: scale(1.35); }
}

@keyframes s360-faq-fab-in {
  from { opacity: 0; transform: translateY(20px) scale(0.8); }
  to   { opacity: 1; transform: translateY(0)    scale(1);   }
}

/* Respect reduced motion */
@media (prefers-reduced-motion: reduce) {
  .s360-faq-fab,
  .s360-faq-fab__ring,
  .s360-faq-fab__img,
  .s360-faq-fab__tooltip { animation: none !important; transition: none !important; }
}

/* Mobile — slightly smaller & tuck away from edges */
@media (max-width: 480px) {
  .s360-faq-fab {
    width: 60px;
    height: 60px;
  }
  .s360-faq-fab__img  { width: 52px; height: 52px; }
  .s360-faq-fab__badge { font-size: 0.56rem; padding: 2px 6px; }
  /* Hide tooltip on touch devices — it clashes with the small screen */
  .s360-faq-fab__tooltip { display: none; }
}


/* ============================================================
   HOMEPAGE — Niche cards ("Who We Help")
   Left-aligned, premium spacing, subtle arrow reveal on hover.
   ============================================================ */

/* Grid — force every row to the same height so card bottoms align
   regardless of whether a description wraps to a second line. */
.s360-niche-grid {
  grid-auto-rows: 1fr;
  row-gap: var(--sp-6);
}

.s360-niche-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  height: 100%;
  padding: var(--sp-6);
  padding-right: calc(var(--sp-6) + 34px); /* room for the arrow on the right */
  text-decoration: none;
  color: inherit;
  background: var(--s360-white);
  border: 1px solid rgba(203, 213, 224, 0.5);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 280ms var(--ease-out),
              border-color 280ms var(--ease-out),
              box-shadow 280ms var(--ease-out);
}

.s360-niche-card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(26, 122, 255, 0.04) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
  pointer-events: none;
}

.s360-niche-card:hover {
  transform: translateY(-4px);
  border-color: rgba(26, 122, 255, 0.28);
  box-shadow: 0 22px 40px -24px rgba(15, 23, 42, 0.18),
              0 6px 14px -8px rgba(15, 23, 42, 0.06);
}

.s360-niche-card:hover::before { opacity: 1; }

.s360-niche-card > * { position: relative; z-index: 1; }

/* Icon tile — top-left */
.s360-niche-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(26, 122, 255, 0.08);
  border: 1px solid rgba(26, 122, 255, 0.14);
  color: var(--s360-electric);
  margin-bottom: var(--sp-5);
  transition: background 280ms var(--ease-out),
              border-color 280ms var(--ease-out),
              transform 280ms var(--ease-out);
}

.s360-niche-card:hover .s360-niche-card__icon {
  background: rgba(26, 122, 255, 0.14);
  border-color: rgba(26, 122, 255, 0.3);
  transform: scale(1.05) rotate(-2deg);
}

/* Body (title + description) — sits directly under the icon, no forced stretching */
.s360-niche-card__body {
  display: flex;
  flex-direction: column;
}

.s360-niche-card__title {
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: -0.015em;
  color: var(--s360-midnight);
  margin: 0 0 var(--sp-2);
  transition: color 240ms var(--ease-out);
}

.s360-niche-card:hover .s360-niche-card__title { color: var(--s360-electric); }

.s360-niche-card__desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--s360-slate);
  margin: 0;
}

/* Arrow — sits top-right, aligned with the icon, subtle by default, prominent on hover */
.s360-niche-card__arrow {
  position: absolute;
  top: var(--sp-6);
  right: var(--sp-6);
  width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  color: var(--s360-mist);
  transition: transform 280ms var(--ease-out),
              background 280ms var(--ease-out),
              color 280ms var(--ease-out);
}

.s360-niche-card:hover .s360-niche-card__arrow {
  background: var(--s360-electric);
  color: #FFFFFF;
  transform: translateX(2px);
}

/* Responsive — smooth the grid down on smaller screens */
@media (max-width: 1024px) {
  .s360-niche-card {
    padding: var(--sp-5);
    padding-right: calc(var(--sp-5) + 32px);
  }
  .s360-niche-card__arrow { top: var(--sp-5); right: var(--sp-5); }
  .s360-niche-card__icon { margin-bottom: var(--sp-4); }
}

@media (max-width: 640px) {
  .s360-niche-grid { grid-auto-rows: auto; }
  .s360-niche-card { padding: var(--sp-6); padding-right: calc(var(--sp-6) + 32px); }
}


/* ============================================================
   FAQ PAGE — pricing tiers + grouped FAQ sections
   ============================================================ */

/* Tier grid — three baseline-aligned cards */
.s360-tier-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--sp-7);
  align-items: stretch;
  margin-top: var(--sp-4);
}

.s360-tier {
  --tier-fg: var(--s360-midnight);
  --tier-muted: var(--s360-slate);
  --tier-subtle: var(--s360-mist);
  --tier-divider: var(--s360-ice);
  --tier-accent: var(--s360-electric);

  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--s360-white);
  border: 1px solid rgba(203, 213, 224, 0.55);
  border-radius: 20px;
  padding: var(--sp-10) var(--sp-8);
  transition: transform 320ms var(--ease-out),
              box-shadow 320ms var(--ease-out),
              border-color 320ms var(--ease-out);
}

.s360-tier:hover {
  transform: translateY(-4px);
  box-shadow: 0 30px 70px -28px rgba(15, 23, 42, 0.18),
              0 12px 28px -16px rgba(15, 23, 42, 0.08);
  border-color: rgba(26, 122, 255, 0.2);
}

/* ---- Featured (dark) variant — the one you want eyes on ---- */
.s360-tier--featured {
  --tier-fg: #FFFFFF;
  --tier-muted: rgba(255, 255, 255, 0.82);
  --tier-subtle: rgba(255, 255, 255, 0.55);
  --tier-divider: rgba(255, 255, 255, 0.12);
  --tier-accent: #4DA3FF;

  background: radial-gradient(120% 140% at 0% 0%, #1E2A48 0%, #0F1629 55%, #0A0F1F 100%);
  border-color: rgba(26, 122, 255, 0.35);
  color: #FFFFFF;
  box-shadow: 0 30px 80px -32px rgba(10, 15, 31, 0.6),
              0 12px 32px -16px rgba(26, 122, 255, 0.25);
}

/* Inner highlight gradient — clipped to card border-radius, doesn't clip the badge */
.s360-tier--featured::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  background: radial-gradient(80% 60% at 50% 0%, rgba(77, 163, 255, 0.25) 0%, transparent 70%);
  opacity: 0.9;
  z-index: 0;
}

.s360-tier--featured:hover {
  transform: translateY(-6px);
  border-color: rgba(77, 163, 255, 0.55);
  box-shadow: 0 40px 100px -32px rgba(10, 15, 31, 0.7),
              0 16px 40px -16px rgba(26, 122, 255, 0.35);
}

.s360-tier--featured > *:not(.s360-tier__badge) {
  position: relative;
  z-index: 1;
}

/* ---- Badge (featured only) — floats above the top edge ---- */
.s360-tier__badge {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  background: var(--s360-gradient-blue);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 7px var(--sp-4);
  border-radius: 999px;
  white-space: nowrap;
  z-index: 3;
  box-shadow: 0 8px 20px -6px rgba(26, 122, 255, 0.5);
}

/* ---- Top block: tier name + tagline + description ---- */
.s360-tier__top {
  margin-bottom: var(--sp-8);
}

.s360-tier__eyebrow {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--tier-accent);
  margin-bottom: var(--sp-3);
}

/* On the featured card the badge replaces the eyebrow visually. */
.s360-tier--featured .s360-tier__eyebrow {
  display: none;
}

.s360-tier--featured .s360-tier__top {
  /* Compensate for the hidden eyebrow so tagline baselines match the other cards */
  padding-top: calc(0.72rem + var(--sp-3));
}

.s360-tier__tagline {
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.015em;
  color: var(--tier-fg);
  margin: 0 0 var(--sp-4);
}

.s360-tier__best-for {
  font-size: 0.92rem;
  line-height: 1.6;
  color: var(--tier-muted);
  margin: 0;
  /* Keep descriptions aligned across all three cards */
  min-height: 4.8em;
}

/* ---- Price block ---- */
.s360-tier__price-block {
  margin-bottom: var(--sp-5);
}

.s360-tier__price-prefix {
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--tier-muted);
  margin-bottom: var(--sp-2);
  letter-spacing: 0.01em;
}

.s360-tier__price {
  font-size: clamp(2.25rem, 3.2vw, 3rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--tier-fg);
  margin-bottom: var(--sp-2);
}

.s360-tier__price-suffix {
  font-size: 0.82rem;
  color: var(--tier-subtle);
  line-height: 1.4;
}

/* ---- Timeline chip ---- */
.s360-tier__timeline {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 6px var(--sp-3);
  margin-bottom: var(--sp-8);
  background: rgba(15, 23, 42, 0.04);
  border: 1px solid rgba(15, 23, 42, 0.06);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--tier-muted);
  align-self: flex-start;
}

.s360-tier--featured .s360-tier__timeline {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.1);
}

.s360-tier__timeline svg { opacity: 0.65; }

/* ---- CTA — full width, above the fold so it's the primary action ---- */
.s360-tier__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--sp-2);
  padding: 14px var(--sp-5);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--s360-white);
  background: var(--s360-midnight);
  border: 1px solid var(--s360-midnight);
  border-radius: 12px;
  text-decoration: none;
  margin-bottom: var(--sp-7);
  transition: background 180ms var(--ease-out),
              color 180ms var(--ease-out),
              border-color 180ms var(--ease-out),
              transform 180ms var(--ease-out);
}

.s360-tier__cta svg { transition: transform 200ms var(--ease-out); }
.s360-tier__cta:hover { background: #000; border-color: #000; }
.s360-tier__cta:hover svg { transform: translateX(3px); }

.s360-tier--featured .s360-tier__cta {
  background: #FFFFFF;
  color: var(--s360-midnight);
  border-color: #FFFFFF;
}
.s360-tier--featured .s360-tier__cta:hover {
  background: #F1F5F9;
  border-color: #F1F5F9;
}

/* ---- Divider between CTA and feature list ---- */
.s360-tier__divider {
  height: 1px;
  background: var(--tier-divider);
  margin-bottom: var(--sp-6);
}

/* ---- Includes label ---- */
.s360-tier__includes-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--tier-subtle);
  margin-bottom: var(--sp-4);
}

/* ---- Feature list ---- */
.s360-tier__includes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-3);
}

.s360-tier__includes li {
  display: flex;
  align-items: flex-start;
  gap: var(--sp-3);
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--tier-fg);
}

.s360-tier__check-wrap {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  background: rgba(26, 122, 255, 0.1);
  color: var(--tier-accent);
  margin-top: 2px;
}

.s360-tier--featured .s360-tier__check-wrap {
  background: rgba(77, 163, 255, 0.18);
  color: #7DBEFF;
}

.s360-tier-note {
  margin-top: var(--sp-10);
  max-width: 620px;
  margin-left: auto;
  margin-right: auto;
  font-style: italic;
  opacity: 0.7;
  line-height: 1.7;
}

/* FAQ groups on FAQ page */
.s360-faq-group + .s360-faq-group {
  margin-top: var(--sp-12);
}

.s360-faq-group__head {
  margin-bottom: var(--sp-6);
  padding-bottom: var(--sp-4);
  border-bottom: 1px solid var(--s360-ice);
}

.s360-faq-group__title {
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--s360-midnight);
  margin: 0 0 var(--sp-2);
}

.s360-faq-group__intro {
  font-size: 0.95rem;
  color: var(--s360-slate);
  margin: 0;
  line-height: 1.6;
}

/* Allow longer answers on the dedicated FAQ page */
.s360-faq-group .s360-faq__item.is-open .s360-faq__answer {
  max-height: 800px;
}

/* ---------- Responsive ---------- */
@media (max-width: 1024px) {
  .s360-tier {
    padding: var(--sp-8) var(--sp-7);
  }
  .s360-tier__price {
    font-size: 2rem;
  }
  .s360-tier-grid {
    gap: var(--sp-5);
  }
}

@media (max-width: 880px) {
  .s360-tier-grid {
    grid-template-columns: 1fr;
    gap: var(--sp-8);
    max-width: 520px;
    margin: var(--sp-4) auto 0;
  }
  .s360-tier__best-for {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .s360-tier {
    padding: var(--sp-8) var(--sp-6);
    border-radius: 16px;
  }
  .s360-tier__price {
    font-size: 2rem;
  }
  .s360-tier__top {
    margin-bottom: var(--sp-6);
  }
  .s360-tier__timeline,
  .s360-tier__best-for {
    margin-bottom: var(--sp-6);
  }
  .s360-tier__cta {
    margin-bottom: var(--sp-6);
  }
  .s360-faq-group__title {
    font-size: 1.1rem;
  }
  .s360-faq-cta-actions .s360-btn {
    width: 100%;
  }
}


/* ============================================================
   SERVICES HUB — Portfolio showcase (page-services.php)
   ============================================================ */

/* 4-column variant of the process steps (used on Services page) */
.s360-steps--4 {
  grid-template-columns: repeat(4, 1fr);
}

@media (max-width: 1024px) {
  .s360-steps--4 { grid-template-columns: repeat(2, 1fr); }
}

/* ---------- Portfolio grid ---------- */
.s360-work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--sp-7);
}

@media (max-width: 900px) {
  .s360-work-grid { grid-template-columns: 1fr; gap: var(--sp-6); }
}

/* ---------- Work card (industry showcase tile) ----------
   Editorial-style card: no empty cover band. Icon + category sit inline
   at the top, then title, description, features, CTA. Accent color is
   expressed through the icon tile, checkmarks, CTA, and a top strip
   revealed on hover — never as a large empty filled area. */
.s360-work-card {
  --accent: #1A7AFF;
  position: relative;
  display: flex;
  flex-direction: column;
  padding: var(--sp-7) var(--sp-7) var(--sp-6);
  text-decoration: none;
  color: inherit;
  background: var(--s360-white);
  border: 1px solid rgba(203, 213, 224, 0.55);
  border-radius: 18px;
  overflow: hidden;
  transition: transform 300ms var(--ease-out),
              box-shadow 300ms var(--ease-out),
              border-color 300ms var(--ease-out);
}

/* Thin accent strip that fades in on hover — signals identity without
   a giant empty colored block. */
.s360-work-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--accent);
  opacity: 0;
  transition: opacity 280ms var(--ease-out);
}

/* Subtle diagonal wash — only on hover, very faint. */
.s360-work-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    color-mix(in srgb, var(--accent) 5%, transparent) 0%,
    transparent 45%);
  opacity: 0;
  pointer-events: none;
  transition: opacity 320ms var(--ease-out);
}

.s360-work-card:hover {
  transform: translateY(-3px);
  border-color: color-mix(in srgb, var(--accent) 30%, var(--s360-ice));
  box-shadow:
    0 18px 40px -18px rgba(10, 22, 40, 0.18),
    0 4px 12px -6px rgba(10, 22, 40, 0.06);
}

.s360-work-card:hover::before { opacity: 1; }
.s360-work-card:hover::after  { opacity: 1; }

.s360-work-card > * { position: relative; z-index: 1; }

/* ---------- Top row: icon + category ---------- */
.s360-work-card__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-4);
  margin-bottom: var(--sp-5);
}

.s360-work-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: color-mix(in srgb, var(--accent) 10%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 18%, transparent);
  color: var(--accent);
  transition: background 280ms var(--ease-out),
              border-color 280ms var(--ease-out),
              transform 280ms var(--ease-out);
}

.s360-work-card:hover .s360-work-card__icon {
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border-color: color-mix(in srgb, var(--accent) 32%, transparent);
  transform: scale(1.04) rotate(-3deg);
}

/* Category label — inline accent-tinted pill */
.s360-work-card__category {
  padding: 5px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 8%, transparent);
  border-radius: 999px;
  white-space: nowrap;
}

/* ---------- Title ---------- */
.s360-work-card__title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.015em;
  color: var(--s360-midnight);
  margin: 0 0 var(--sp-3);
  transition: color 240ms var(--ease-out);
}

.s360-work-card:hover .s360-work-card__title {
  color: var(--accent);
}

/* ---------- Description ---------- */
.s360-work-card__desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--s360-slate);
  margin: 0 0 var(--sp-5);
}

/* ---------- Features list ---------- */
.s360-work-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--sp-6);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.s360-work-card__features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: var(--s360-midnight);
}

.s360-work-card__features svg {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  padding: 3px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent) 12%, transparent);
  color: var(--accent);
}

/* ---------- Footer CTA ---------- */
.s360-work-card__cta {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding-top: var(--sp-5);
  border-top: 1px solid var(--s360-ice);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--accent);
  transition: gap 240ms var(--ease-out);
}

.s360-work-card__cta svg {
  transition: transform 240ms var(--ease-out);
}

.s360-work-card:hover .s360-work-card__cta { gap: 14px; }
.s360-work-card:hover .s360-work-card__cta svg { transform: translateX(2px); }

/* ---------- Responsive tuning ---------- */
@media (max-width: 640px) {
  .s360-work-card { padding: var(--sp-6); }
  .s360-work-card__icon { width: 44px; height: 44px; }
  .s360-work-card__title { font-size: 1.2rem; }
}
