/* SoftManic — reddish theme + Bootstrap overrides */
:root {
  --sm-red: #c81e2a;
  --sm-red-2: #e11d48;
  --sm-red-dark: #9f1239;
  --sm-red-glow: rgba(200, 30, 42, 0.35);
  --sm-ink: #1a0a0c;
  --sm-ink-2: #2d1418;
  --sm-paper: #fff8f8;
  --sm-paper-2: #ffe4e6;
  --sm-muted: #7c5c60;
  --sm-line: rgba(255, 255, 255, 0.08);
  --sm-radius: 14px;
  --sm-radius-sm: 10px;
  --sm-shadow: 0 24px 80px rgba(26, 10, 12, 0.35);
}

html {
  scroll-behavior: smooth;
  /* Same-page anchors (#services, #contact) land below sticky nav */
  scroll-padding-top: 5.75rem;
}

/* Lenis drives wheel smoothing; avoid double-smoothing with CSS on anchor jumps */
html.lenis {
  scroll-behavior: auto !important;
}

body {
  font-family: "DM Sans", system-ui, sans-serif;
  background: var(--sm-paper);
  color: var(--sm-ink);
  line-height: 1.6;
}

a {
  color: var(--sm-red-dark);
}

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

.sm-font-display {
  font-family: "Outfit", system-ui, sans-serif;
}

/* Navbar */
.sm-navbar {
  background: linear-gradient(180deg, #1a0a0c 0%, #140809 100%);
  border-bottom: 1px solid var(--sm-line);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
}

.sm-navbar .navbar-brand {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  font-size: 1.35rem;
  background: linear-gradient(90deg, #fff 0%, #fecdd3 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent !important;
}

.sm-navbar .nav-link {
  color: rgba(255, 255, 255, 0.82) !important;
  font-weight: 500;
  padding: 0.5rem 0.85rem !important;
  border-radius: 8px;
}

.sm-navbar .nav-link:hover,
.sm-navbar .nav-link:focus {
  color: #fff !important;
  background: rgba(200, 30, 42, 0.2);
}

.sm-navbar .btn-primary {
  background: linear-gradient(135deg, var(--sm-red) 0%, var(--sm-red-2) 100%);
  border: none;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
  border-radius: 999px;
  box-shadow: 0 8px 24px var(--sm-red-glow);
}

.sm-navbar .btn-primary:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.sm-navbar .dropdown-menu {
  border-radius: var(--sm-radius-sm);
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: var(--sm-shadow);
}

/* Hero — modern v2 */
.sm-hero-v2 {
  position: relative;
  overflow: hidden;
  min-height: min(92vh, 900px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5.5rem 0 6rem;
  color: #fff;
  background: #0a0506;
}

.sm-hero-v2__bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 15% 20%, rgba(200, 30, 42, 0.45), transparent 52%),
    radial-gradient(ellipse 70% 50% at 85% 10%, rgba(225, 29, 72, 0.35), transparent 48%),
    radial-gradient(ellipse 60% 40% at 70% 85%, rgba(190, 24, 93, 0.2), transparent 45%),
    linear-gradient(180deg, #0a0506 0%, #12080a 35%, #1a0a0c 100%);
  pointer-events: none;
}

.sm-hero-v2__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.35;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black 20%, transparent 70%);
}

.sm-hero-v2__blobs {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.sm-hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(64px);
  opacity: 0.55;
  animation: sm-blob-drift 18s ease-in-out infinite;
}

.sm-hero-blob--1 {
  width: min(420px, 55vw);
  height: min(420px, 55vw);
  background: #c81e2a;
  top: -8%;
  right: 5%;
  animation-delay: 0s;
}

.sm-hero-blob--2 {
  width: min(320px, 45vw);
  height: min(320px, 45vw);
  background: #7f1d1d;
  bottom: 5%;
  left: -5%;
  animation-delay: -6s;
}

@keyframes sm-blob-drift {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-12px, 18px) scale(1.05);
  }
}

.sm-hero-v2 .container {
  position: relative;
  z-index: 2;
}

.sm-hero-eyebrow {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(254, 205, 211, 0.85);
  margin-bottom: 0.75rem;
}

.sm-hero-v2 h1 {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.02;
}

.sm-hero-line {
  display: block;
  color: rgba(255, 255, 255, 0.96);
}

.sm-hero-gradient {
  background: linear-gradient(105deg, #fff 0%, #fecdd3 42%, #fda4af 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.sm-hero-v2 .lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.72) !important;
  max-width: 36rem;
}

.sm-hero-v2 .btn-primary {
  box-shadow: 0 12px 40px rgba(200, 30, 42, 0.45);
  padding: 0.75rem 1.75rem;
}

.sm-hero-metrics {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.sm-hero-metrics .metric strong {
  font-family: "Outfit", sans-serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  display: block;
  line-height: 1.2;
}

.sm-hero-metrics .metric span {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
}

.sm-hero-visual {
  perspective: 1200px;
}

.sm-glass-stack {
  position: relative;
  border-radius: 24px;
  padding: 1.75rem;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.08) 0%, rgba(255, 255, 255, 0.02) 100%);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow:
    0 24px 80px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(14px);
  transform: rotateY(-6deg) rotateX(4deg);
  transition: transform 0.5s ease;
}

.sm-glass-stack:hover {
  transform: rotateY(-2deg) rotateX(1deg) translateY(-4px);
}

.sm-glass-stack__shine {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  background: linear-gradient(125deg, transparent 40%, rgba(255, 255, 255, 0.06) 50%, transparent 60%);
  pointer-events: none;
}

.sm-glass-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.sm-glass-pill {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(200, 30, 42, 0.35);
  border: 1px solid rgba(254, 205, 211, 0.25);
  color: #fecdd3;
}

.sm-glass-dots {
  display: flex;
  gap: 6px;
}

.sm-glass-dots span {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
}

.sm-glass-dots span:first-child {
  background: #f87171;
}

.sm-glass-title {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 1.1rem;
  color: #fff;
  margin-bottom: 0.35rem;
}

.sm-glass-sub {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 1rem;
}

.sm-glass-bar {
  height: 8px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
  margin-bottom: 1.25rem;
}

.sm-glass-bar > span {
  display: block;
  height: 100%;
  width: 78%;
  border-radius: inherit;
  background: linear-gradient(90deg, #c81e2a, #fb7185);
  box-shadow: 0 0 24px rgba(200, 30, 42, 0.6);
}

.sm-glass-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.sm-glass-chips span {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.88);
}

.sm-hero-v2__curve {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: var(--sm-paper);
  clip-path: ellipse(70% 100% at 50% 100%);
  z-index: 1;
}

/* Legacy hero (inner pages may reference) */
.sm-hero {
  position: relative;
  overflow: hidden;
  background: radial-gradient(1200px 600px at 50% -20%, rgba(200, 30, 42, 0.35), transparent 55%),
    linear-gradient(180deg, #1a0a0c 0%, #140809 45%, #fff8f8 45%);
  color: #fff;
  padding-bottom: 4rem;
}

.sm-hero-inner {
  padding-top: 4rem;
  padding-bottom: 3rem;
}

.sm-hero h1 {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.sm-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--sm-line);
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.9);
}

.sm-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22c55e;
  box-shadow: 0 0 0 6px rgba(34, 197, 94, 0.2);
}

.sm-btn-outline-light {
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #fff !important;
  font-weight: 600;
  padding: 0.5rem 1.15rem;
}

.sm-btn-outline-light:hover {
  background: rgba(255, 255, 255, 0.08);
}

/* Marquee */
.sm-marquee-track {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, black 8%, black 92%, transparent);
}

.sm-marquee-inner {
  display: flex;
  gap: 3rem;
  width: max-content;
  animation: sm-marquee 32s linear infinite;
}

.sm-marquee-inner span {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 0.95rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sm-muted);
  white-space: nowrap;
}

@keyframes sm-marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Home carousels */
.sm-carousel-home.carousel {
  border-radius: var(--sm-radius);
}

.sm-carousel-home .carousel-inner {
  border-radius: var(--sm-radius);
}

.sm-carousel-home .carousel-control-prev,
.sm-carousel-home .carousel-control-next {
  width: 44px;
  height: 44px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  opacity: 1;
  border-radius: 50%;
  background: rgba(200, 30, 42, 0.12);
  border: 1px solid rgba(200, 30, 42, 0.25);
}

.sm-carousel-home .carousel-control-prev {
  left: -12px;
}

.sm-carousel-home .carousel-control-next {
  right: -12px;
}

.sm-carousel-home .carousel-control-prev-icon,
.sm-carousel-home .carousel-control-next-icon {
  filter: none;
  width: 1.1rem;
  height: 1.1rem;
}

.sm-carousel-home .carousel-indicators [data-bs-target] {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--sm-red);
  opacity: 0.25;
  border: none;
}

.sm-carousel-home .carousel-indicators .active {
  opacity: 1;
}

.sm-carousel-dark.carousel {
  padding-bottom: 2.5rem;
}

.sm-carousel-dark .carousel-control-prev,
.sm-carousel-dark .carousel-control-next {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.sm-carousel-dark .carousel-indicators [data-bs-target] {
  background-color: #fff;
}

.sm-carousel-dark .carousel-control-prev-icon,
.sm-carousel-dark .carousel-control-next-icon {
  filter: brightness(0) invert(1);
}

.sm-quote-card {
  padding: 2rem 2.25rem;
  border-radius: var(--sm-radius);
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 16px 48px rgba(26, 10, 12, 0.08);
  min-height: 220px;
}

.sm-quote-card blockquote {
  font-size: 1.1rem;
  line-height: 1.55;
  color: var(--sm-ink);
  margin: 0 0 1rem;
}

.sm-quote-avatar {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
  background: linear-gradient(135deg, var(--sm-red), var(--sm-red-2));
}

@media (max-width: 991.98px) {
  .sm-glass-stack {
    transform: none;
    margin-top: 1rem;
  }

  .sm-hero-v2 {
    min-height: auto;
    padding-top: 4.5rem;
  }

  .sm-carousel-home .carousel-control-prev,
  .sm-carousel-home .carousel-control-next {
    display: none;
  }
}

/* Cards */
.sm-card {
  border-radius: var(--sm-radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  box-shadow: 0 8px 40px rgba(26, 10, 12, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  height: 100%;
}

.sm-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(200, 30, 42, 0.12);
}

.sm-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(200, 30, 42, 0.12), rgba(225, 29, 72, 0.08));
  color: var(--sm-red-dark);
  font-size: 1.25rem;
}

/* Section */
.sm-section {
  padding: 4rem 0;
}

.sm-section-title {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--sm-ink);
}

.sm-section-kicker {
  color: var(--sm-red);
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.sm-section-dark {
  background: linear-gradient(180deg, #1a0a0c 0%, #140809 100%);
  color: #fff;
}

.sm-section-dark .sm-section-title {
  color: #fff;
}

.sm-section-dark .text-muted {
  color: rgba(255, 255, 255, 0.65) !important;
}

/* Stats strip */
.sm-stat {
  border-radius: var(--sm-radius);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--sm-line);
  padding: 1.25rem 1.5rem;
}

.sm-stat strong {
  font-family: "Outfit", system-ui, sans-serif;
  font-size: 1.75rem;
  font-weight: 700;
  color: #fff;
  display: block;
  line-height: 1.1;
}

/* Process steps */
.sm-step {
  border-radius: var(--sm-radius);
  border: 1px solid rgba(0, 0, 0, 0.06);
  background: #fff;
  padding: 1.25rem 1.5rem;
  height: 100%;
}

.sm-step-num {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  color: var(--sm-red);
  font-size: 0.85rem;
  letter-spacing: 0.08em;
}

/* Footer */
.sm-footer {
  background: #0f0708;
  color: rgba(255, 255, 255, 0.75);
  padding: 3rem 0 2rem;
  border-top: 1px solid var(--sm-line);
}

.sm-footer a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
}

.sm-footer a:hover {
  color: #fecdd3;
}

.sm-footer-bottom {
  border-top: 1px solid var(--sm-line);
  margin-top: 2rem;
  padding-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.5);
}

/* Forms */
.form-control:focus,
.form-select:focus {
  border-color: var(--sm-red);
  box-shadow: 0 0 0 0.2rem rgba(200, 30, 42, 0.15);
}

.btn-primary {
  --bs-btn-bg: var(--sm-red);
  --bs-btn-border-color: var(--sm-red);
  --bs-btn-hover-bg: var(--sm-red-dark);
  --bs-btn-hover-border-color: var(--sm-red-dark);
  --bs-btn-active-bg: var(--sm-red-dark);
  --bs-btn-active-border-color: var(--sm-red-dark);
  --bs-btn-focus-shadow-rgb: 200, 30, 42;
  font-weight: 600;
  border-radius: 999px;
  padding: 0.55rem 1.4rem;
}

.btn-outline-primary {
  --bs-btn-color: var(--sm-red);
  --bs-btn-border-color: var(--sm-red);
  --bs-btn-hover-bg: var(--sm-red);
  --bs-btn-hover-border-color: var(--sm-red);
  --bs-btn-active-bg: var(--sm-red-dark);
  border-radius: 999px;
  font-weight: 600;
}

/* Page header (inner pages) */
.sm-page-hero {
  background: linear-gradient(135deg, #1a0a0c 0%, #5c1620 55%, #c81e2a 100%);
  color: #fff;
  padding: 3.5rem 0 2.5rem;
}

.sm-page-hero h1 {
  font-family: "Outfit", system-ui, sans-serif;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.sm-page-hero .breadcrumb-item + .breadcrumb-item::before {
  color: rgba(255, 255, 255, 0.45);
}

/* Lists */
.sm-check li {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
  padding-left: 0;
}

.sm-check li::before {
  content: "✓";
  color: var(--sm-red);
  font-weight: 800;
  flex-shrink: 0;
}

/* Logo mark */
.sm-logo-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--sm-red), var(--sm-red-2));
  color: #fff;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 0.8rem;
  margin-right: 0.5rem;
}

/* Partner strip placeholder */
.sm-marquee {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  justify-content: center;
  opacity: 0.65;
  font-weight: 600;
  font-size: 0.8rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--sm-muted);
}

/* ——— Home (post-hero) unique layouts ——— */
.sm-home-ticker {
  background: linear-gradient(180deg, #fff8f8 0%, #fff 100%);
}

.sm-home-ticker__rail {
  border: 1px solid rgba(200, 30, 42, 0.12);
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 8px 32px rgba(26, 10, 12, 0.04);
}

.sm-home-ticker__inner.sm-marquee-inner {
  gap: 1.25rem;
  align-items: center;
}

.sm-home-ticker__pill {
  font-family: "Outfit", sans-serif;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sm-red-dark);
  white-space: nowrap;
}

.sm-home-ticker__dot {
  color: rgba(124, 92, 96, 0.45);
  font-weight: 700;
}

/* Bento */
.sm-home-bento {
  background: #faf7f7;
}

.sm-home-bento__grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(12, 1fr);
}

.sm-home-bento__cell {
  grid-column: span 12;
  border-radius: 20px;
  padding: 1.5rem 1.75rem;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  box-shadow: 0 12px 40px rgba(26, 10, 12, 0.05);
}

@media (min-width: 992px) {
  .sm-home-bento__cell--hero {
    grid-column: span 7;
    grid-row: span 2;
    min-height: 280px;
    background: linear-gradient(155deg, #1a0a0c 0%, #3f0f18 55%, #7f1d1d 100%);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.08);
  }

  .sm-home-bento__cell:not(.sm-home-bento__cell--hero):not(.sm-home-bento__cell--accent) {
    grid-column: span 5;
  }

  .sm-home-bento__cell--accent {
    grid-column: span 5;
    background: linear-gradient(135deg, var(--sm-red) 0%, #9f1239 100%);
    color: #fff;
    border: none;
  }
}

.sm-home-bento__tag {
  display: inline-block;
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fecdd3;
}

.sm-home-bento__tag--light {
  background: rgba(200, 30, 42, 0.08);
  border-color: rgba(200, 30, 42, 0.15);
  color: var(--sm-red-dark);
}

.sm-home-bento__muted {
  color: rgba(255, 255, 255, 0.78);
}

/* Editorial proof */
.sm-home-proof {
  background: #fff;
}

.sm-home-proof__feature {
  border-left: 4px solid var(--sm-red);
  padding: 0 0 0 1.75rem;
  margin: 0;
}

.sm-home-proof__quote {
  font-family: "Outfit", sans-serif;
  font-size: clamp(1.35rem, 2.5vw, 1.85rem);
  font-weight: 600;
  line-height: 1.35;
  color: var(--sm-ink);
  margin: 0;
}

.sm-home-proof__card {
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  padding: 1.25rem 1.35rem;
  background: linear-gradient(180deg, #fff 0%, #fff8f8 100%);
}

.sm-home-proof__card blockquote {
  margin: 0;
  font-style: italic;
  color: var(--sm-muted);
}

.sm-home-proof__mono {
  font-family: ui-monospace, monospace;
  font-weight: 700;
  font-size: 0.75rem;
  padding: 0.2rem 0.45rem;
  border-radius: 6px;
  background: rgba(200, 30, 42, 0.1);
  color: var(--sm-red-dark);
}

/* Principles */
.sm-home-principles {
  background: linear-gradient(180deg, #fff 0%, #fff5f5 100%);
}

.sm-home-principle {
  position: relative;
  padding: 1.75rem 1.5rem 1.75rem 1.5rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(200, 30, 42, 0.1);
  height: 100%;
  box-shadow: 0 8px 30px rgba(26, 10, 12, 0.04);
}

.sm-home-principle__no {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 2rem;
  line-height: 1;
  color: rgba(200, 30, 42, 0.2);
  display: block;
  margin-bottom: 0.75rem;
}

/* Scroll-snap industries */
.sm-home-scroll {
  overflow-x: auto;
  padding: 0 calc(50vw - 50%);
  scroll-snap-type: x mandatory;
  scrollbar-width: thin;
  padding-bottom: 0.5rem;
}

.sm-home-scroll__inner {
  display: flex;
  gap: 1rem;
  width: max-content;
  padding: 0.25rem 1rem 0.75rem;
}

.sm-home-scroll__card {
  scroll-snap-align: start;
  flex: 0 0 min(300px, 78vw);
  padding: 1.35rem 1.5rem;
  border-radius: 18px;
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  transition: border-color 0.2s ease, transform 0.2s ease;
}

.sm-home-scroll__card:hover {
  border-color: rgba(200, 30, 42, 0.35);
  transform: translateY(-2px);
}

.sm-home-scroll__kicker {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--sm-ink);
  display: block;
  margin-bottom: 0.5rem;
}

.sm-home-scroll__text {
  font-size: 0.85rem;
  color: var(--sm-muted);
  margin: 0;
  line-height: 1.45;
}

/* Zigzag services */
.sm-home-zigzag {
  background: #fffbf9;
}

.sm-home-zigzag__visual {
  background: linear-gradient(145deg, rgba(200, 30, 42, 0.12) 0%, rgba(225, 29, 72, 0.06) 100%);
  min-height: 180px;
}

.sm-home-zigzag__glyph {
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: clamp(3rem, 8vw, 4.5rem);
  line-height: 1;
  color: rgba(200, 30, 42, 0.25);
}

/* Terminal */
.sm-home-terminal-wrap {
  background: #0c0a0a;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

.sm-home-terminal {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.sm-home-terminal__bar {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1rem;
  background: #1a1414;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.sm-home-terminal__dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  opacity: 0.9;
}

.sm-home-terminal__title {
  margin-left: auto;
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.45);
}

.sm-home-terminal__body {
  padding: 1.75rem 1.5rem 2rem;
  background: linear-gradient(180deg, #120c0e 0%, #0a0506 100%);
}

.sm-home-terminal__label {
  font-family: ui-monospace, monospace;
  font-size: 0.72rem;
  color: #f472b6;
  margin-bottom: 0.5rem;
}

.sm-home-terminal__line {
  font-family: ui-monospace, monospace;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.55;
}

/* Timeline */
.sm-home-timeline-wrap {
  background: #fff;
}

.sm-home-timeline {
  position: relative;
  padding-left: 0;
}

.sm-home-timeline::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--sm-red), rgba(200, 30, 42, 0.15));
}

.sm-home-timeline__item {
  position: relative;
  padding: 0 0 2rem 4rem;
}

.sm-home-timeline__item:last-child {
  padding-bottom: 0;
}

.sm-home-timeline__marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Outfit", sans-serif;
  font-weight: 800;
  font-size: 0.75rem;
  letter-spacing: 0.06em;
  color: #fff;
  background: linear-gradient(135deg, var(--sm-red), var(--sm-red-2));
  box-shadow: 0 8px 24px rgba(200, 30, 42, 0.35);
  border: 2px solid #fff;
}

.sm-home-timeline__content {
  padding-top: 0.15rem;
}

/* Magazine insights */
.sm-home-mag {
  background: #fff;
}

.sm-home-mag__lead {
  padding-right: 0.5rem;
}

.sm-home-mag__side:last-child {
  border-bottom: none !important;
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

/* CTA */
.sm-home-cta {
  border-radius: 24px;
  padding: 2.5rem 2rem;
  background: linear-gradient(115deg, #0f0708 0%, #1f0a0d 40%, #7f1d1d 100%);
  position: relative;
  overflow: hidden;
}

.sm-home-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 30%, rgba(255, 255, 255, 0.04) 50%, transparent 70%);
  transform: skewX(-12deg) translateX(40%);
  pointer-events: none;
}

/* Contact split */
.sm-home-contact__aside {
  background: linear-gradient(165deg, #1a0a0c 0%, #5c0f1a 55%, #c81e2a 100%);
}

.sm-home-contact__eyebrow {
  color: #fecdd3 !important;
  letter-spacing: 0.14em;
}

.sm-home-contact__list li {
  opacity: 0.92;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .sm-card:hover {
    transform: none;
  }

  .sm-marquee-inner {
    animation: none;
  }

  .sm-hero-blob {
    animation: none;
  }

  .sm-glass-stack {
    transform: none;
  }

  .sm-glass-stack:hover {
    transform: none;
  }

  .sm-home-scroll {
    scroll-snap-type: none;
  }
}
