:root {
  --bg: #081120;
  --bg-soft: #0f172a;
  --surface: #ffffff;
  --surface-soft: #f8fafc;
  --primary: #e11d2e;
  --primary-dark: #b81422;
  --highlight: #f5c242;
  --text: #111827;
  --muted: #64748b;
  --border: #e5e7eb;
  --apps: #22c55e;
  --automate: #3b82f6;
  --dataverse: #8b5cf6;
  --copilot: #7c3aed;
  --builder: #f59e0b;
  --pages: #0ea5e9;
  --powerbi: #eab308;
  --motion-fast: 180ms;
  --motion-base: 260ms;
  --motion-slow: 420ms;
  --motion-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Inter", sans-serif;
  color: var(--text);
  background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
}

h1,
h2,
h3,
h4,
h5,
.navbar-brand,
.section-title {
  font-family: "Poppins", sans-serif;
}

a {
  text-decoration: none;
}

img {
  max-width: 100%;
}

.section-padding {
  padding: 78px 0;
}

.section-kicker {
  display: inline-block;
  padding: 0.35rem 0.8rem;
  border-radius: 999px;
  background: rgba(225, 29, 46, 0.1);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(1.9rem, 3vw, 2.6rem);
  font-weight: 700;
  margin-bottom: 0.8rem;
}

.section-subtitle {
  color: var(--muted);
  font-size: 1.02rem;
  max-width: 700px;
}

.navbar-custom {
  background: rgba(8, 17, 32, 0.9);
  backdrop-filter: blur(14px);
}

.home-signature .navbar-custom {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 30px rgba(2, 6, 23, 0.35);
}

.home-signature .navbar-custom::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 2px;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0), rgba(245, 194, 66, 0.9), rgba(225, 29, 46, 0));
}

.home-signature .navbar-custom .nav-link {
  position: relative;
  font-weight: 600;
}

.home-signature .navbar-custom .nav-link::after {
  content: "";
  position: absolute;
  left: 0.5rem;
  right: 0.5rem;
  bottom: 0.25rem;
  height: 2px;
  border-radius: 999px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 0.2s ease;
  background: linear-gradient(90deg, #f5c242 0%, #e11d2e 100%);
}

.home-signature .navbar-custom .nav-link:hover::after,
.home-signature .navbar-custom .nav-link:focus-visible::after,
.home-signature .navbar-custom .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-custom .nav-link,
.navbar-custom .navbar-brand,
.navbar-custom .social-link {
  color: #fff;
}

.navbar-custom .nav-link.active {
  color: var(--highlight);
  font-weight: 700;
}

.navbar-custom .nav-link.active::after {
  transform: scaleX(1);
}

.navbar-custom .nav-link:hover,
.navbar-custom .social-link:hover {
  color: var(--highlight);
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  background: #fff;
  padding: 3px;
}

.btn-brand {
  background: var(--primary);
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  font-weight: 700;
  box-shadow: 0 10px 25px rgba(225, 29, 46, 0.25);
  transition: transform var(--motion-base) var(--motion-ease), background var(--motion-fast) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease);
}

.btn-brand:hover {
  background: var(--primary-dark);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 14px 28px rgba(225, 29, 46, 0.3);
}

.btn-soft {
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  transition: transform var(--motion-base) var(--motion-ease), background var(--motion-base) var(--motion-ease), border-color var(--motion-base) var(--motion-ease);
}

.btn-soft:hover {
  color: #fff;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.38);
}

.btn-soft-dark {
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  font-weight: 700;
  border: 1px solid var(--border);
  color: var(--text);
  background: #fff;
  transition: transform var(--motion-base) var(--motion-ease), border-color var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease);
}

.btn-soft-dark:hover {
  color: var(--text);
  transform: translateY(-2px);
  border-color: #cbd5e1;
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
}

.hero-section {
  background:
    radial-gradient(circle at top right, rgba(245, 194, 66, 0.2), transparent 0 28%),
    radial-gradient(circle at left center, rgba(14, 165, 233, 0.2), transparent 0 24%),
    linear-gradient(135deg, #07101e 0%, #0f172a 100%);
  color: #fff;
  padding: 96px 0 72px;
}

.hero-unique {
  overflow: hidden;
}

.hero-shell {
  position: relative;
  z-index: 3;
}

.hero-editorial-title {
  font-family: "Space Grotesk", "Poppins", sans-serif;
  font-size: clamp(2rem, 4.2vw, 3.6rem);
  line-height: 1.08;
  max-width: 760px;
  letter-spacing: -0.02em;
}

.rotating-words {
  position: relative;
  display: inline-block;
  height: 1.15em;
  width: 10ch;
  min-width: 10ch;
  overflow: hidden;
  vertical-align: bottom;
}

.rotating-words span {
  position: absolute;
  inset: 0 auto auto 0;
  width: 100%;
  color: var(--highlight);
  opacity: 0;
  transform: translateY(105%);
}

.rotating-words span:nth-child(1) {
  animation: rotateWordOne 8s infinite;
}

.rotating-words span:nth-child(2) {
  animation: rotateWordTwo 8s infinite;
}

.rotating-words span:nth-child(3) {
  animation: rotateWordThree 8s infinite;
}

@keyframes rotateWordOne {
  0% {
    transform: translateY(0%);
    opacity: 1;
  }
  26% {
    transform: translateY(0%);
    opacity: 1;
  }
  33% {
    transform: translateY(-105%);
    opacity: 0;
  }
  100% {
    transform: translateY(105%);
    opacity: 0;
  }
}

@keyframes rotateWordTwo {
  0%, 30% {
    transform: translateY(105%);
    opacity: 0;
  }
  33% {
    transform: translateY(0%);
    opacity: 1;
  }
  59% {
    transform: translateY(0%);
    opacity: 1;
  }
  66%, 100% {
    transform: translateY(-105%);
    opacity: 0;
  }
}

@keyframes rotateWordThree {
  0%, 63% {
    transform: translateY(105%);
    opacity: 0;
  }
  66% {
    transform: translateY(0%);
    opacity: 1;
  }
  92% {
    transform: translateY(0%);
    opacity: 1;
  }
  100% {
    transform: translateY(-105%);
    opacity: 0;
  }
}

.hero-proofline {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.5rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.92rem;
  background: rgba(255, 255, 255, 0.06);
}

.fabric-ribbon {
  position: absolute;
  border-radius: 999px;
  transform: rotate(-18deg);
  z-index: 2;
  opacity: 0.7;
  filter: blur(1.2px);
}

.fabric-ribbon-one {
  width: 330px;
  height: 84px;
  right: -60px;
  top: 14%;
  background: linear-gradient(90deg, rgba(14, 165, 233, 0.3), rgba(59, 130, 246, 0.72));
}

.fabric-ribbon-two {
  width: 300px;
  height: 70px;
  left: -80px;
  bottom: 8%;
  transform: rotate(14deg);
  background: linear-gradient(90deg, rgba(225, 29, 46, 0.25), rgba(124, 58, 237, 0.65));
}

.fabric-frame {
  position: relative;
}

.fabric-frame::before {
  content: "";
  position: absolute;
  left: -12px;
  right: -12px;
  top: -12px;
  bottom: -12px;
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(245, 194, 66, 0.25), rgba(14, 165, 233, 0.2));
  z-index: -1;
  filter: blur(2px);
}

.hero-gridline {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: radial-gradient(circle at center, #000 35%, transparent 92%);
}

.hero-orb {
  position: absolute;
  border-radius: 999px;
  filter: blur(2px);
  opacity: 0.75;
  z-index: 2;
  animation: floatOrb 7s ease-in-out infinite;
}

.hero-orb-one {
  width: 160px;
  height: 160px;
  background: radial-gradient(circle at 35% 35%, rgba(245, 194, 66, 0.75), rgba(245, 194, 66, 0.1));
  top: 35px;
  right: 60px;
}

.hero-orb-two {
  width: 120px;
  height: 120px;
  background: radial-gradient(circle at 35% 35%, rgba(14, 165, 233, 0.85), rgba(14, 165, 233, 0.1));
  bottom: 35px;
  right: 35%;
  animation-delay: 1.2s;
}

.hero-orb-three {
  width: 95px;
  height: 95px;
  background: radial-gradient(circle at 35% 35%, rgba(225, 29, 46, 0.8), rgba(225, 29, 46, 0.1));
  top: 130px;
  left: 18%;
  animation-delay: 2.1s;
}

@keyframes floatOrb {
  0% { transform: translateY(0px) translateX(0px); }
  50% { transform: translateY(-14px) translateX(5px); }
  100% { transform: translateY(0px) translateX(0px); }
}

.hero-section p {
  color: rgba(255, 255, 255, 0.82);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 22px;
  padding: 1rem;
  backdrop-filter: blur(10px);
}

.ops-canvas {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.7);
  border-radius: 24px;
  padding: 1.15rem;
  box-shadow: 0 20px 50px rgba(2, 6, 23, 0.35);
}

.ops-canvas h1,
.ops-canvas h2,
.ops-canvas h3,
.ops-canvas h4,
.ops-canvas h5,
.ops-canvas h6 {
  color: var(--text);
}

.ops-canvas p {
  color: var(--muted);
}

.ops-canvas strong,
.ops-canvas .tag-pill {
  color: var(--text);
}

.ops-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-dot {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.3rem 0.6rem;
  border-radius: 999px;
  background: rgba(34, 197, 94, 0.14);
  color: #166534;
}

.status-dot::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: #22c55e;
}

.ops-block {
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 0.8rem;
  background: #fff;
}

.signal-bar {
  width: 100%;
  height: 8px;
  background: #e5e7eb;
  border-radius: 999px;
  overflow: hidden;
}

.signal-bar span {
  display: block;
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #0ea5e9 0%, #3b82f6 45%, #7c3aed 100%);
}

.mini-metric {
  border: 1px solid var(--border);
  border-radius: 16px;
  background: #fff;
  padding: 0.85rem;
}

.mini-metric p {
  margin-bottom: 0.2rem;
  color: var(--muted);
  font-size: 0.9rem;
}

.mini-metric small {
  color: var(--muted);
  font-size: 0.8rem;
}

.console-socials {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.console-socials .social-link {
  margin-left: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--text);
  border: 1px solid var(--border);
  background: #fff;
}

.console-socials .social-link:hover {
  color: var(--primary);
  border-color: rgba(225, 29, 46, 0.35);
  background: #fff;
}

.hero-card,
.metric-card,
.service-card,
.project-card,
.resource-card,
.blog-card,
.info-card,
.contact-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 20px;
  box-shadow: 0 14px 45px rgba(15, 23, 42, 0.06);
}

.metric-card,
.service-card,
.project-card,
.resource-card,
.blog-card,
.info-card,
.contact-card {
  height: 100%;
}

.metric-card,
.service-card,
.project-card,
.resource-card,
.blog-card,
.contact-card {
  transition: transform var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease), border-color var(--motion-base) var(--motion-ease);
}

.metric-card:hover,
.service-card:hover,
.project-card:hover,
.resource-card:hover,
.blog-card:hover,
.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

.hero-highlight {
  color: var(--highlight);
}

.metric-number {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.trust-strip {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.tech-marquee-wrap {
  background: #fff;
  border-bottom: 1px solid var(--border);
  overflow: hidden;
}

.tech-marquee-track {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  white-space: nowrap;
  width: max-content;
  padding: 0.95rem 0;
  animation: techMarquee 30s linear infinite;
}

.tech-marquee-track span {
  display: inline-flex;
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text);
  background: #fff;
}

@keyframes techMarquee {
  from { transform: translateX(0); }
  to { transform: translateX(-40%); }
}

.badge-cloud {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.badge-cloud span,
.tag-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  background: #eef2ff;
  color: var(--bg-soft);
}

.service-card {
  padding: 1.35rem;
  border-top: 4px solid var(--primary);
}

.service-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  color: #fff;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.project-card,
.resource-card,
.blog-card,
.contact-card,
.info-card {
  padding: 1.35rem;
}

/* Ensure readable text inside white cards even when nested in dark parent sections. */
.service-card h1,
.service-card h2,
.service-card h3,
.service-card h4,
.service-card h5,
.service-card h6,
.project-card h1,
.project-card h2,
.project-card h3,
.project-card h4,
.project-card h5,
.project-card h6,
.resource-card h1,
.resource-card h2,
.resource-card h3,
.resource-card h4,
.resource-card h5,
.resource-card h6,
.blog-card h1,
.blog-card h2,
.blog-card h3,
.blog-card h4,
.blog-card h5,
.blog-card h6,
.contact-card h1,
.contact-card h2,
.contact-card h3,
.contact-card h4,
.contact-card h5,
.contact-card h6,
.info-card h1,
.info-card h2,
.info-card h3,
.info-card h4,
.info-card h5,
.info-card h6 {
  color: var(--text);
}

.service-card,
.project-card,
.resource-card,
.blog-card,
.contact-card,
.info-card {
  color: var(--text);
}

.project-card p,
.resource-card p,
.blog-card p,
.service-card p,
.info-card p,
.contact-card p {
  color: var(--muted);
}

.blog-card {
  border-top: 4px solid var(--highlight);
}

.result-pill {
  display: inline-flex;
  padding: 0.45rem 0.8rem;
  border-radius: 999px;
  background: rgba(225, 29, 46, 0.08);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
}

.studio-loop-section {
  background:
    radial-gradient(circle at 12% 30%, rgba(14, 165, 233, 0.1), transparent 45%),
    radial-gradient(circle at 88% 70%, rgba(225, 29, 46, 0.09), transparent 42%);
}

.loop-card {
  position: relative;
  height: 100%;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 1.2rem;
  background: #fff;
  box-shadow: 0 14px 42px rgba(15, 23, 42, 0.08);
}

.loop-card::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -20px;
  width: 64%;
  height: 20px;
  transform: translateX(-50%);
  border-bottom: 2px dashed rgba(100, 116, 139, 0.35);
  display: none;
}

.loop-step {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  color: #fff;
  background: linear-gradient(135deg, #e11d2e 0%, #7c3aed 100%);
  margin-bottom: 0.8rem;
}

.loop-card p {
  color: var(--muted);
  margin-bottom: 0;
}

.dark-section {
  background: var(--bg-soft);
  color: #fff;
}

.dark-section .section-subtitle,
.dark-section p {
  color: rgba(255, 255, 255, 0.78);
}

/* Keep text readable for white cards rendered inside dark sections. */
.dark-section .service-card,
.dark-section .project-card,
.dark-section .resource-card,
.dark-section .blog-card,
.dark-section .contact-card,
.dark-section .info-card {
  color: var(--text);
}

.dark-section .service-card p,
.dark-section .project-card p,
.dark-section .resource-card p,
.dark-section .blog-card p,
.dark-section .contact-card p,
.dark-section .info-card p {
  color: var(--muted);
}

.dark-section .service-card h1,
.dark-section .service-card h2,
.dark-section .service-card h3,
.dark-section .service-card h4,
.dark-section .service-card h5,
.dark-section .service-card h6,
.dark-section .project-card h1,
.dark-section .project-card h2,
.dark-section .project-card h3,
.dark-section .project-card h4,
.dark-section .project-card h5,
.dark-section .project-card h6,
.dark-section .resource-card h1,
.dark-section .resource-card h2,
.dark-section .resource-card h3,
.dark-section .resource-card h4,
.dark-section .resource-card h5,
.dark-section .resource-card h6,
.dark-section .blog-card h1,
.dark-section .blog-card h2,
.dark-section .blog-card h3,
.dark-section .blog-card h4,
.dark-section .blog-card h5,
.dark-section .blog-card h6,
.dark-section .contact-card h1,
.dark-section .contact-card h2,
.dark-section .contact-card h3,
.dark-section .contact-card h4,
.dark-section .contact-card h5,
.dark-section .contact-card h6,
.dark-section .info-card h1,
.dark-section .info-card h2,
.dark-section .info-card h3,
.dark-section .info-card h4,
.dark-section .info-card h5,
.dark-section .info-card h6 {
  color: var(--text);
}

.cta-panel {
  background: linear-gradient(135deg, #0f172a 0%, #111827 70%, #1f2937 100%);
  border-radius: 24px;
  color: #fff;
  padding: 2rem;
}

.cta-signature {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 22px 65px rgba(2, 6, 23, 0.42);
}

.cta-signature::before {
  content: "";
  position: absolute;
  width: 320px;
  height: 320px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(14, 165, 233, 0.24), transparent 68%);
  top: -140px;
  right: -110px;
}

.cta-signature::after {
  content: "";
  position: absolute;
  width: 260px;
  height: 260px;
  border-radius: 999px;
  background: radial-gradient(circle, rgba(225, 29, 46, 0.22), transparent 70%);
  bottom: -130px;
  left: -80px;
}

.cta-signature > .row {
  position: relative;
  z-index: 1;
}

.page-hero-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.page-hero-chips span {
  display: inline-flex;
  align-items: center;
  padding: 0.4rem 0.75rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.services-signature .page-hero {
  background:
    radial-gradient(circle at 8% 18%, rgba(245, 194, 66, 0.2), transparent 36%),
    radial-gradient(circle at 86% 82%, rgba(14, 165, 233, 0.22), transparent 40%),
    linear-gradient(135deg, #081120 0%, #15274a 100%);
}

.service-lane-section {
  background:
    radial-gradient(circle at 90% 10%, rgba(14, 165, 233, 0.08), transparent 35%),
    linear-gradient(180deg, #fff 0%, #f8fbff 100%);
}

.service-process-section .info-card {
  border-top: 4px solid #0ea5e9;
}

.service-process-section .col-md-4:nth-child(2) .info-card {
  border-top-color: #e11d2e;
}

.service-process-section .col-md-4:nth-child(3) .info-card {
  border-top-color: #f5c242;
}

.cta-services {
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.3);
}

.about-signature .page-hero {
  background:
    radial-gradient(circle at 75% 18%, rgba(225, 29, 46, 0.24), transparent 38%),
    radial-gradient(circle at 12% 90%, rgba(245, 194, 66, 0.16), transparent 34%),
    linear-gradient(135deg, #081120 0%, #1b2f4d 100%);
}

.about-proofline {
  display: inline-flex;
  align-items: center;
  padding: 0.45rem 0.78rem;
  border-radius: 999px;
  font-size: 0.84rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.93);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.22);
}

.about-proof-card {
  border-top: 4px solid #f5c242;
}

.about-pillars {
  background:
    radial-gradient(circle at 14% 24%, rgba(14, 165, 233, 0.07), transparent 42%),
    radial-gradient(circle at 86% 78%, rgba(225, 29, 46, 0.08), transparent 40%);
}

.cta-about {
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 20px 45px rgba(2, 6, 23, 0.3);
}

.cta-kicker {
  display: inline-flex;
  align-items: center;
  padding: 0.38rem 0.78rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  margin-bottom: 0.7rem;
}

.cta-mini-points {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.cta-mini-points span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.38rem 0.72rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.cta-actions {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.btn-soft-light {
  border-radius: 999px;
  padding: 0.8rem 1.25rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.btn-soft-light:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.16);
}

.contact-form .form-control,
.contact-form .form-select {
  border-radius: 14px;
  padding: 0.85rem 1rem;
  border: 1px solid var(--border);
}

.contact-form .form-control:focus,
.contact-form .form-select:focus {
  border-color: rgba(225, 29, 46, 0.4);
  box-shadow: 0 0 0 0.2rem rgba(225, 29, 46, 0.1);
}

.footer-custom {
  background: #081120;
  color: rgba(255, 255, 255, 0.75);
}

.footer-custom a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-custom a:hover {
  color: var(--highlight);
}

.home-signature .footer-signature {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  background:
    radial-gradient(circle at 8% 8%, rgba(14, 165, 233, 0.16), transparent 35%),
    radial-gradient(circle at 92% 90%, rgba(225, 29, 46, 0.15), transparent 38%),
    linear-gradient(135deg, #081120 0%, #101f38 100%);
}

.home-signature .footer-signature::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, #000 0%, transparent 100%);
}

.home-signature .footer-signature .container {
  position: relative;
  z-index: 1;
}

.footer-brand-title {
  font-family: "Space Grotesk", "Poppins", sans-serif;
  font-size: 1.15rem;
  color: #fff;
}

.footer-signature p {
  color: rgba(255, 255, 255, 0.76);
}

.footer-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.footer-badges span {
  display: inline-flex;
  align-items: center;
  padding: 0.32rem 0.65rem;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.17);
}

.footer-heading {
  color: #fff;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.footer-links-list {
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}

.footer-links-list a {
  color: rgba(255, 255, 255, 0.85);
}

.footer-links-list a:hover {
  color: var(--highlight);
}

.footer-socials {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.footer-socials .social-link {
  margin-left: 0;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.9rem;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--motion-slow) var(--motion-ease), transform var(--motion-slow) var(--motion-ease);
  transition-delay: var(--reveal-delay, 0ms);
}

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

.success-message {
  display: none;
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 14px;
  background: #ecfdf5;
  color: #166534;
  border: 1px solid #86efac;
}

.page-hero {
  padding: 88px 0 48px;
  background: linear-gradient(135deg, #081120 0%, #10203c 100%);
  color: #fff;
}

.timeline-list {
  padding-left: 1rem;
}

.timeline-list li {
  margin-bottom: 0.9rem;
  color: var(--muted);
}

.social-link {
  margin-left: 0.85rem;
  font-size: 1rem;
  transition: color var(--motion-fast) var(--motion-ease), transform var(--motion-base) var(--motion-ease), opacity var(--motion-base) var(--motion-ease);
}

.social-link:hover {
  transform: translateY(-2px);
}

.floating-chat {
  position: fixed;
  right: 18px;
  bottom: 18px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #25d366;
  color: #fff;
  font-size: 1.55rem;
  box-shadow: 0 12px 35px rgba(37, 211, 102, 0.35);
  z-index: 1080;
  transition: transform var(--motion-base) var(--motion-ease), box-shadow var(--motion-base) var(--motion-ease);
}

.floating-chat:hover {
  color: #fff;
  transform: translateY(-2px);
}

[data-tilt] {
  transform-style: preserve-3d;
  transition: transform var(--motion-fast) var(--motion-ease);
}

@media (max-width: 991px) {
  .navbar-custom .btn-brand {
    margin-top: 1rem;
  }

  .home-signature .navbar-custom .nav-link::after {
    left: 0;
    right: 0;
    bottom: 0;
  }

  .hero-section {
    padding-top: 78px;
  }

  .page-hero {
    padding: 78px 0 36px;
  }

  .hero-orb {
    opacity: 0.45;
  }

  .ops-canvas {
    margin-top: 0.5rem;
  }

  .hero-editorial-title {
    font-size: clamp(1.85rem, 8vw, 2.55rem);
  }

  .hero-proofline {
    width: 100%;
    justify-content: center;
  }

  .fabric-ribbon-one,
  .fabric-ribbon-two {
    opacity: 0.45;
    filter: blur(0.8px);
  }

  .tech-marquee-track {
    animation-duration: 24s;
  }

  .cta-actions {
    justify-content: flex-start;
  }

  .page-hero-chips {
    gap: 0.45rem;
  }

  .page-hero-chips span {
    font-size: 0.76rem;
  }

  .footer-signature .btn-brand {
    width: 100%;
  }

  .footer-bottom {
    text-align: center;
  }
}

@media (min-width: 992px) {
  .snap-layout {
    scroll-snap-type: y proximity;
    scroll-padding-top: 78px;
  }

  .snap-layout > section,
  .snap-layout > footer {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .snap-layout > section.section-padding,
  .snap-layout > section.hero-section,
  .snap-layout > section.page-hero {
    min-height: calc(100svh - 72px);
    display: flex;
    align-items: center;
  }

  .snap-layout > section > .container {
    width: 100%;
  }

  .hero-section,
  .page-hero {
    min-height: calc(100svh - 72px);
    display: flex;
    align-items: center;
    padding-top: 110px;
    padding-bottom: 56px;
  }

  .hero-section > .container,
  .page-hero > .container {
    width: 100%;
  }

  .home-signature .hero-section {
    min-height: calc(100svh - 72px);
    padding-top: 16px;
    padding-bottom: 12px;
  }

  .home-signature .hero-shell {
    min-height: calc(100svh - 72px - 28px);
    row-gap: 1.25rem !important;
    align-content: center;
  }

  .home-signature .ops-canvas {
    padding: 1rem;
  }
}

@media (min-width: 992px) and (max-height: 820px) {
  .home-signature .hero-editorial-title {
    font-size: clamp(1.75rem, 3vw, 2.75rem);
  }

  .home-signature .hero-section {
    padding-top: 10px;
    padding-bottom: 8px;
  }

  .home-signature .hero-shell {
    min-height: calc(100svh - 72px - 18px);
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation: none !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .snap-layout {
    scroll-snap-type: none;
  }

  .rotating-words {
    height: 1.15em;
  }

  .rotating-words span {
    position: absolute;
    display: block;
    opacity: 0;
    transform: translateY(105%);
  }

  .rotating-words span:nth-child(1) {
    animation: rotateWordOne 8s infinite !important;
  }

  .rotating-words span:nth-child(2) {
    animation: rotateWordTwo 8s infinite !important;
  }

  .rotating-words span:nth-child(3) {
    animation: rotateWordThree 8s infinite !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}

@media (min-width: 1200px) {
  .loop-card::after {
    display: block;
  }

  .studio-loop-section .col-xl-3:last-child .loop-card::after {
    display: none;
  }
}
