/* --- 1. Design Tokens ---------------------------------------------- */
:root {
  /* Brand */
  --ips-red: #be2b28;
  --ips-red-dark: #9e2422;
  --ips-red-rgb: 190, 43, 40;

  /* Backgrounds */
  --ips-white: #ffffff;
  --ips-glass: rgba(255, 255, 255, 0.78);
  --ips-bg: #ffffff;

  /* Text */
  --ips-text: #0f172a;
  --ips-muted: #334155;
  --ips-subtle: #64748b;

  /* Borders */
  --ips-border: #e2e8f0;
  --ips-red-border: rgba(200, 16, 46, 0.18);

  /* Shadows — Clean-Tech System */
  --shadow-sm:
    0 1px 3px rgba(15, 23, 42, 0.04), 0 4px 12px rgba(15, 23, 42, 0.03);
  --shadow-md:
    0 4px 16px rgba(15, 23, 42, 0.06), 0 8px 32px rgba(15, 23, 42, 0.04);
  --shadow-lg:
    0 8px 32px rgba(15, 23, 42, 0.08), 0 16px 48px rgba(15, 23, 42, 0.06);
  --shadow-xl:
    0 12px 48px rgba(15, 23, 42, 0.1), 0 24px 64px rgba(15, 23, 42, 0.08);
  --glow-red:
    0 0 20px rgba(200, 16, 46, 0.15), 0 0 40px rgba(200, 16, 46, 0.08);

  /* Radii */
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;

  /* Layout */
  --section-padding: 60px;
  --section-padding-mobile: 40px;

  /* Transitions */
  --ease-out: cubic-bezier(0.4, 0, 0.2, 1);
  --dur-fast: 180ms;
  --dur-mid: 280ms;

  /* Blueprint Grid Utility */
  --grid-blueprint:
    linear-gradient(rgba(190, 43, 40, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(190, 43, 40, 0.05) 1px, transparent 1px);
}

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  /* Fallback */
  overflow-x: clip;
  /* Modern standard */
  position: relative;
}

/* --- Global Utilities ------------------------------------------- */
.bg-light-tech {
  background: #f8fafc;
}

.tracking-widest {
  letter-spacing: 0.25em;
}

.text-sm {
  font-size: 0.875rem;
}

.text-muted-large {
  font-size: 1.15rem;
  color: var(--ips-muted);
  line-height: 1.7;
}

/* --- 2. Reset & Base ---------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  background: var(--ips-white);
  font-family: "Inter", sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ips-text);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  -webkit-touch-callout: none;
}

/* --- 2.1 Cross-Device Normalization (Android & iOS) --------------- */
input,
button,
select,
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  outline: none;
  border-radius: 0;
}

/* Hardware Acceleration — Solves scroll jitter on mobile */
.nav-float,
.nav-mobile-menu,
.hero-section {
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

img {
  -webkit-user-drag: none;
  user-select: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--dur-fast) var(--ease-out);
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    sans-serif;
  font-weight: 700;
  line-height: 1.15;
  color: var(--ips-text);
  letter-spacing: -0.022em;
}

ul {
  list-style: none;
}

/* --- 3. Buttons (Glassmorphism Global) ----------------------------- */
.btn-ghost,
.btn-solid {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 28px;
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.8125rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--radius-lg);
  cursor: pointer;
  transition: all var(--dur-mid) var(--ease-out);
  white-space: nowrap;
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  text-decoration: none;
}

.btn-ghost {
  color: var(--ips-text);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(15, 23, 42, 0.08);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
}

.btn-ghost:hover,
.btn-ghost:focus-visible {
  background: rgba(var(--ips-red-rgb), 0.05);
  border-color: var(--ips-red);
  color: var(--ips-red);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-solid {
  color: var(--ips-white);
  background: var(--ips-red);
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 12px rgba(var(--ips-red-rgb), 0.2);
}

.btn-solid:hover,
.btn-solid:focus-visible {
  background: var(--ips-red-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(var(--ips-red-rgb), 0.35);
}

.btn-ghost-sm {
  padding: 8px 18px;
  font-size: 0.75rem;
}

.btn-solid svg {
  transition: transform 0.3s var(--ease-out);
}

.btn-solid:hover svg {
  transform: translateX(4px);
}

/* --- 4. AI Pulse Animation ---------------------------------------- */
@keyframes ai-pulse {

  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(var(--ips-red-rgb), 0.3);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(var(--ips-red-rgb), 0);
  }
}

/* --- 5. Global Reveal Animations (Scroll-Based) ------------------- */
[class*="reveal-"] {
  opacity: 0.001;
  transition:
    opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  perspective: 1000px;
  /* Premium Perspective Rise Engine */
}

.reveal-up {
  transform: perspective(1000px) translateY(40px) scale(0.96) rotateX(5deg);
  transform-origin: center bottom;
}

.reveal-down {
  transform: perspective(1000px) translateY(-40px) scale(0.96) rotateX(-5deg);
  transform-origin: center top;
}

.reveal-left {
  transform: perspective(1000px) translateX(30px) scale(0.98) rotateY(-5deg);
  transform-origin: left center;
}

.reveal-right {
  transform: perspective(1000px) translateX(-30px) scale(0.98) rotateY(5deg);
  transform-origin: right center;
}

.reveal-zoom {
  transform: scale(0.94) translateY(20px);
}

.reveal-scale-up {
  transform: perspective(1000px) translateY(30px) scale(0.92) rotateX(8deg);
  transform-origin: center bottom;
}

[class*="reveal-"].visible {
  opacity: 1 !important;
  transform: perspective(1000px) translate(0, 0) scale(1) rotateX(0deg) rotateY(0deg) !important;
}

/* --- 5.1 Shared Page Sections -------------------------------------- */
.about-section,
.award-section {
  padding: var(--section-padding) 0 !important;
  position: relative;
}

@media (max-width: 768px) {

  .about-section,
  .award-section {
    padding: var(--section-padding-mobile) 0 !important;
  }
}

/* --- 5.2 Section Dividers (Global Reveal) -------------------------- */
.section-divider {
  position: relative;
  height: 80px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  overflow: hidden;
}

.section-divider::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10%;
  right: 10%;
  height: 1px;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(var(--ips-red-rgb), 0.15) 20%,
      rgba(var(--ips-red-rgb), 0.15) 80%,
      transparent 100%);
}

.section-divider::after {
  content: "";
  position: absolute;
  top: 50%;
  left: -10%;
  width: 160px;
  height: 1px;
  background: linear-gradient(90deg,
      transparent,
      rgba(var(--ips-red-rgb), 0.6),
      transparent);
  animation: beam-flow 5s ease-in-out infinite;
  box-shadow: 0 0 12px rgba(var(--ips-red-rgb), 0.3);
}

@keyframes beam-flow {
  0% {
    left: -10%;
  }

  100% {
    left: 110%;
  }
}

.divider-glow {
  width: 6px;
  height: 6px;
  background: var(--ips-red);
  border-radius: 50%;
  filter: blur(2px);
  opacity: 0.5;
  box-shadow: 0 0 12px var(--ips-red);
  position: relative;
  z-index: 2;
}

/* --- 6. Navigation ------------------------------------------------- */
.nav-float {
  position: fixed;
  top: calc(10px + env(safe-area-inset-top, 0px));
  left: 0;
  right: 0;
  margin: 0 auto;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  padding: 0 24px;
  width: calc(100% - 32px);
  max-width: 1400px;
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  border: 1px solid transparent;
  border-radius: var(--radius-xl);
  box-shadow: none;
  opacity: 0;
  transform: translateY(-20px);
  will-change: max-width, height, top, background, transform;
  transition:
    background var(--dur-mid) var(--ease-out),
    border-color var(--dur-mid) var(--ease-out),
    box-shadow var(--dur-mid) var(--ease-out),
    max-width 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    height 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    top 0.6s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.nav-float.nav-visible {
  opacity: 1;
  transform: translateY(0);
}

.nav-float.scrolled {
  background: var(--ips-glass);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-color: var(--ips-border);
  box-shadow: var(--shadow-xl);
  max-width: 1150px;
  height: 66px;
  top: 20px;
}

.service-card-inner {
  position: relative;
  height: 340px;
  background: var(--ips-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--ips-red-border);
  border-radius: 40px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.5s var(--ease-out);
  overflow: hidden;
  /* Optimization */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform;
  box-shadow:
    0 4px 24px -1px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.nav-logo img {
  height: 40px;
  width: auto;
  margin-left: 20px;
  filter: drop-shadow(0 2px 4px rgba(200, 16, 46, 0.15));
  transition: height 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.scrolled .nav-logo img {
  height: 32px;
}

ul.nav-links {
  list-style: none;
  margin: 0;
  display: flex;
  gap: 0;
  /* Changed to 0 to keep the indicator movement seamless */
  background: transparent;
  padding: 4px;
  border-radius: 50px;
  border: 1px solid transparent;
  position: relative;
  transition: all var(--dur-mid) var(--ease-out);
}

.scrolled ul.nav-links {
  background: rgba(15, 23, 42, 0.04);
  border-color: var(--ips-border);
}

.nav-links li.nav-active-pill {
  position: absolute;
  display: block;
  list-style: none;
  background: linear-gradient(135deg,
      rgba(var(--ips-red-rgb), 0.12) 0%,
      rgba(var(--ips-red-rgb), 0.08) 100%);
  border: 1px solid rgba(var(--ips-red-rgb), 0.3);
  border-radius: 50px;
  top: 6px;
  left: 0;
  height: calc(100% - 12px);
  z-index: 0;
  pointer-events: none;
  backdrop-filter: blur(6px) saturate(160%);
  /* Optimized for background canvas performance */
  -webkit-backdrop-filter: blur(6px) saturate(160%);
  will-change: transform, width, opacity, scaleX;

  /* Premium Internal Glow */
  box-shadow:
    inset 0 0 10px rgba(var(--ips-red-rgb), 0.1),
    0 4px 12px rgba(0, 0, 0, 0.04);

  /* Subtle Shimmer Decoration */
  overflow: hidden;
}

.nav-links li.nav-active-pill::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.2),
      transparent);
  animation: pill-shimmer 3s infinite linear;
}

@keyframes pill-shimmer {
  0% {
    left: -100%;
  }

  100% {
    left: 200%;
  }
}

.nav-links li:not(.nav-active-pill) {
  position: relative;
  z-index: 1;
}

.nav-links a {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--ips-text);
  padding: 8px 18px;
  border-radius: 50px;
  transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  text-decoration: none;
  position: relative;
  z-index: 2;
}

.scrolled .nav-links a {
  padding: 6px 14px;
  font-size: 0.85rem;
}

.nav-links a:hover,
.nav-links a.pill-active,
.nav-links a.active {
  color: var(--ips-text);
  font-weight: 700;
  transform: translateY(-1px);
}

.nav-actions {
  display: flex;
  gap: 12px;
}

.nav-mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  color: var(--ips-text);
  border-radius: var(--radius-sm);
  transition: background-color 0.3s var(--ease-out);
}

.nav-mobile-toggle:hover {
  background: rgba(var(--ips-red-rgb), 0.05);
}

.nav-mobile-toggle svg path {
  transition:
    transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.4s var(--ease-out);
  transform-origin: center;
}

.nav-mobile-toggle .icon-close {
  opacity: 0;
}

.nav-mobile-menu {
  display: none;
}

@media (max-width: 1024px) {
  .nav-float {
    left: calc(8px + env(safe-area-inset-left, 0px));
    right: calc(8px + env(safe-area-inset-right, 0px));
    padding: 0 16px;
    max-width: calc(100vw - 16px - env(safe-area-inset-left, 0px) - env(safe-area-inset-right, 0px));
  }

  .nav-logo img {
    height: 32px;
    margin-left: 0;
  }

  ul.nav-links,
  .nav-actions {
    display: none;
  }

  .nav-mobile-toggle {
    display: block;
  }

  .nav-mobile-menu {
    display: flex;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(28px) saturate(180%);
    -webkit-backdrop-filter: blur(28px) saturate(180%);
    border: 1px solid var(--ips-border);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-xl);
    padding: 24px 16px;
    flex-direction: column;
    gap: 8px;
    transform: translateY(-12px) scale(0.96);
    transform-origin: top;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
    margin: 0 -8px;
    width: calc(100% + 16px);
  }

  .nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 23, 42, 0.4);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s var(--ease-out);
    z-index: 999;
  }

  .nav-float.mobile-open+.nav-overlay {
    opacity: 1;
    visibility: visible;
  }

  .nav-mobile-menu a {
    display: block;
    padding: 14px 20px;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--ips-text);
    border-radius: var(--radius-md);
    transition: all 0.3s var(--ease-out);
    opacity: 0;
    transform: translateX(-15px);
  }

  .nav-mobile-menu a:hover,
  .nav-mobile-menu a.active {
    color: var(--ips-red);
    background: rgba(var(--ips-red-rgb), 0.04);
  }

  .nav-mobile-menu a.active::after {
    content: "";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background: var(--ips-red);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(var(--ips-red-rgb), 0.4);
  }

  .nav-float.mobile-open .nav-mobile-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: all;
  }

  .nav-float.mobile-open .nav-mobile-menu a {
    opacity: 1;
    transform: translateX(0);
  }

  /* Staggered Link Reveals */
  .nav-mobile-menu a:nth-child(1) {
    transition-delay: 0.05s;
  }

  .nav-mobile-menu a:nth-child(2) {
    transition-delay: 0.1s;
  }

  .nav-mobile-menu a:nth-child(3) {
    transition-delay: 0.15s;
  }

  .nav-mobile-menu a:nth-child(4) {
    transition-delay: 0.2s;
  }

  .nav-mobile-menu a:nth-child(5) {
    transition-delay: 0.25s;
  }

  .nav-mobile-menu a:nth-child(6) {
    transition-delay: 0.3s;
  }

  .nav-mobile-menu a:nth-child(7) {
    transition-delay: 0.35s;
  }

  .nav-mobile-menu a:nth-child(8) {
    transition-delay: 0.4s;
  }

  .nav-float.mobile-open .nav-mobile-menu {
    z-index: 1001;
  }

  .nav-float.mobile-open .icon-menu {
    opacity: 0;
    transform: scale(0.5) rotate(90deg);
  }

  .nav-float.mobile-open .icon-close {
    opacity: 1;
    transform: scale(1) rotate(0deg);
  }

  .nav-float.mobile-open .icon-menu,
  .nav-float:not(.mobile-open) .icon-close {
    pointer-events: none;
  }

  .nav-float:not(.mobile-open) .icon-close {
    opacity: 0;
    transform: scale(0.5) rotate(-90deg);
  }
}

/* --- 7. Hero Section ----------------------------------------------- */
.hero-section {
  position: relative;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 128px 5% var(--section-padding);
  overflow: visible;
  background: transparent !important;
  /* Cinematic Fade to Next Section */
  mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  pointer-events: none;
  /* Let clicks pass through if needed, though content within has auto */
}

/* Subtle Technical Blueprint Grid */
.hero-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(var(--ips-red-rgb), 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(var(--ips-red-rgb), 0.05) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: -1;
}

.hero-content {
  grid-column: 2;
  justify-self: center;
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 600px;
  width: 100%;
  pointer-events: auto;
  /* Hardware acceleration for parallax */
  will-change: transform, opacity;
  transform: translateZ(0);
}

.hero-badge-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.certification-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  background: var(--ips-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 8px 16px;
  border-radius: 50px;
  border: 1px solid var(--ips-red-border);
  height: 38px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  font-family: "Inter", sans-serif;
  font-size: 0.725rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--ips-red);
  background: rgba(var(--ips-red-rgb), 0.08);
  border: 1px solid rgba(var(--ips-red-rgb), 0.25);
  border-radius: 100px;
  height: 38px;
}

.hero-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--ips-red);
  animation: ai-pulse 2s ease-in-out infinite;
}

.hero-title {
  font-family: "Inter", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ips-text);
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}

.hero-title span {
  color: var(--ips-red);
}

.hero-subtitle {
  font-family: "Inter", sans-serif;
  font-size: 1.125rem;
  line-height: 1.6;
  color: var(--ips-muted);
  margin-bottom: 40px;
  max-width: 540px;
  margin-left: auto;
  margin-right: auto;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-welcome {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--ips-muted);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 24px;
}

/* 7.1 Hero Sections Responsive Overrides */
@media (max-width: 992px) {
  .hero-section {
    grid-template-columns: 1fr;
    justify-content: center;
    padding: 128px 24px var(--section-padding-mobile);
  }

  .hero-content {
    grid-column: 1;
    text-align: center;
  }

  #hero-canvas {
    filter: blur(0px) saturate(150%);
    opacity: 0.6;
  }
}

.hero-hours {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 8px 16px;
  background: rgba(var(--ips-red-rgb), 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(var(--ips-red-rgb), 0.2);
  border-radius: 100px;
  font-family: "Inter", sans-serif;
  font-size: 0.8125rem;
  font-weight: 500;
  color: var(--ips-muted);
  box-shadow: var(--shadow-sm);
  margin: 0 auto 40px;
}

.hours-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  /* Green dot for reliability/opening */
  border-radius: 50%;
  animation: hours-pulse 2s ease-in-out infinite;
}

@keyframes hours-pulse {

  0%,
  100% {
    opacity: 0.5;
  }

  50% {
    opacity: 1;
  }
}

/* --- 8. Services Grid (Liquid Glass High-Tech) ------------------- */
.services-section {
  padding: 40px 0;
  background: transparent !important;
  position: relative;
  overflow: visible;
  /* Show all cards */
}

.services-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  width: 100%;
  /* padding-bottom: 20px; */
}

.service-card {
  width: 100%;
  will-change: transform, filter, opacity;
}

.service-card-inner {
  position: relative;
  height: 340px;
  background: var(--ips-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--ips-red-border);
  border-radius: 40px;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: all 0.5s var(--ease-out);
  overflow: hidden;
  box-shadow:
    0 4px 24px -1px rgba(0, 0, 0, 0.08),
    inset 0 0 0 1px rgba(255, 255, 255, 0.5);
}

.service-card:hover .service-card-inner {
  background: var(--ips-white);
  border-color: rgba(var(--ips-red-rgb), 0.3);
  transform: scale(1) translateY(-4px);
  box-shadow:
    0 40px 80px -16px rgba(var(--ips-red-rgb), 0.15),
    inset 0 0 0 1px rgba(255, 255, 255, 0.8);
}

.card-top-deco {
  position: absolute;
  top: 32px;
  left: 40px;
  right: 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  pointer-events: none;
}

.card-dot {
  width: 8px;
  height: 8px;
  background: var(--ips-red);
  border-radius: 50%;
  opacity: 0.2;
  box-shadow: 0 0 10px var(--ips-red);
}

.card-id {
  font-family: "Inter", sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ips-muted);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.5;
}

.service-icon-wrapper {
  width: 200px;
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  margin: 0 auto;
  transition: all 0.6s var(--ease-out);
}

/* ═══════════════════════════════════════════════════════════════
   SERVICES CTA
   ═══════════════════════════════════════════════════════════════ */
.services-cta-wrapper {
  margin-bottom: 20px;
  position: relative;
  z-index: 5;
}

.services-cta-wrapper .btn-solid {
  padding: 14px 30px;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  gap: 15px;
  box-shadow: 0 15px 35px rgba(var(--ips-red-rgb), 0.25);
  background: var(--ips-red);

}

.services-cta-wrapper .btn-solid svg {
  transition: transform 0.3s var(--ease-out);
}

.services-cta-wrapper .btn-solid:hover svg {
  transform: translateX(5px);
}

.service-icon-wrapper img {
  width: 200px;
  height: 200px;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.05));
  transition: all 0.6s var(--ease-out);
  pointer-events: none;
  /* Avoid blocking drag */
}

.service-content h3 {
  font-size: 1.6rem;
  font-weight: 800;
  margin-bottom: 20px;
  color: var(--ips-text);
  letter-spacing: -0.025em;
}

.service-content p {
  font-size: 1.05rem;
  color: var(--ips-muted);
  line-height: 1.8;
  margin-bottom: 0;
}

/* Responsiveness */
@media (max-width: 992px) {
  .services-track {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .services-track {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* --- 10. (Section Header moved to Shared Components at bottom) --- */

@media (max-width: 576px) {
  .service-card {
    width: clamp(280px, 85vw, 320px);
  }

  .service-card-inner {
    padding: 32px 20px;
    height: 380px;
  }

  .service-content h3 {
    font-size: 1.4rem;
  }
}

/* Card entrance handled by global reveal system */

/* --- 9. Premium About Us Section -------------------------------------------- */
.about-section {
  padding: var(--section-padding) 0;
  background: transparent !important;
  position: relative;
  z-index: 1;
}

.about-glass-container {
  background: var(--ips-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--ips-red-border);
  border-radius: var(--radius-xl);
  padding: 64px;
  box-shadow: var(--shadow-xl);
  position: relative;
  overflow: hidden;
  /* Hardware Acceleration */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform, opacity;
}

.about-glass-container::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle,
      rgba(var(--ips-red-rgb), 0.04) 0%,
      transparent 70%);
  z-index: -1;
  pointer-events: none;
}

.about-content-grid {
  display: flex;
  flex-direction: column;
  gap: 54px;
}

@media (max-width: 1024px) {
  .about-glass-container {
    padding: 40px 24px;
  }

  .about-content-grid {
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .about-glass-container {
    padding: 32px 16px;
    border-radius: var(--radius-lg);
  }
}

@media (max-width: 992px) {
  .about-content-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

/* --- 11. (Section Badge moved to Shared Components at bottom) --- */

.about-text-column {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

@media (max-width: 992px) {
  .about-text-column {
    text-align: center;
  }
}

.about-title {
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 28px;
  letter-spacing: -0.04em;
  color: var(--ips-text);
}

.about-title span {
  color: var(--ips-red);
}

.about-description {
  color: var(--ips-muted);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 40px;
  max-width: 800px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 992px) {
  .about-description {
    text-align: center;
    font-size: 1rem;
  }
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  /* margin-bottom: 28px; */
}

@media (max-width: 850px) {
  .about-highlights {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

.highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 24px;
  background: rgba(var(--ips-red-rgb), 0.02);
  border: 1px solid var(--ips-red-border);
  border-radius: var(--radius-lg);
  transition: all 0.3s var(--ease-out);
}

.highlight-item:hover {
  background: rgba(var(--ips-red-rgb), 0.05);
  border-color: rgba(var(--ips-red-rgb), 0.3);
  transform: translateY(-4px);
  box-shadow: var(--shadow-sm);
}

.highlight-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  color: var(--ips-red);
  font-size: 1.4rem;
}

.highlight-info strong {
  display: block;
  font-size: 1.05rem;
  color: var(--ips-text);
  margin-bottom: 4px;
}

.highlight-info p {
  font-size: 0.9rem;
  color: var(--ips-muted);
  margin: 0;
}

.about-stats-title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ips-text);
  margin-bottom: 50px;
  text-align: center;
  position: relative;
  display: block;
}

.about-stats-title span {
  color: var(--ips-red);
}

.about-stats-title::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--ips-red);
  opacity: 0.3;
}

.trust-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

@media (max-width: 1024px) {
  .trust-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .trust-stats-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .trust-stat-card {
    padding: 24px 16px;
  }
}

.trust-stat-card {
  background: var(--ips-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--ips-red-border);
  border-radius: var(--radius-xl);
  padding: 32px 16px;
  text-align: center;
  transition: all 0.4s var(--ease-out);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}

.trust-stat-card:hover {
  background: var(--ips-white);
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(var(--ips-red-rgb), 0.3);
}

.stat-icon {
  width: 56px;
  height: 56px;
  background: rgba(var(--ips-red-rgb), 0.08);
  color: var(--ips-red);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 1.75rem;
  transition: all 0.4s var(--ease-out);
}

.trust-stat-card:hover .stat-icon {
  background: var(--ips-red);
  color: var(--ips-white);
  transform: rotateY(180deg) scale(1.1);
}

.trust-number {
  display: block;
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--ips-text);
  line-height: 1;
  margin-bottom: 8px;
}

.trust-label {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--ips-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.about-cta {
  margin-top: 5px;
  text-align: center;
}

/* --- 13. Contact Section ------------------------------------------- */
/* Contact Section — High Impact CTA */
.contact-section {
  padding: var(--section-padding) 24px;
  /* background: linear-gradient(
    90deg,
    var(--ips-bg) 0%,
    #fdf2f2 50%,
    var(--ips-bg) 100%
  ); */
  background: transparent;
  position: relative;
  text-align: center;
}

.contact-container {
  max-width: 750px;
  margin: 0 auto;
}

.contact-badge {
  display: inline-block;
  padding: 6px 14px;
  background: rgba(var(--ips-red-rgb), 0.08);
  border: 1px solid rgba(var(--ips-red-rgb), 0.2);
  border-radius: 100px;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--ips-red);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 32px;
}

.contact-container h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 24px;
  color: var(--ips-text);
}

.contact-container h2 span {
  color: var(--ips-red);
}

.contact-container p {
  font-size: 1.1rem;
  color: var(--ips-muted);
  max-width: 600px;
  margin: 0 auto 48px;
  line-height: 1.7;
}

.contact-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

@media (max-width: 576px) {
  .contact-actions {
    flex-direction: column;
    gap: 12px;
  }

  .contact-actions .btn-solid,
  .contact-actions .btn-ghost {
    width: 100%;
    justify-content: center;
  }
}

/* --- 14. Footer ---------------------------------------------------- */
.footer {
  border-top: 1px solid var(--ips-border);
  padding: 64px 24px 0;
  position: relative;
  z-index: 10;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 2fr;
  gap: 48px;
  max-width: 1100px;
  margin: 0 auto 48px;
}

@media (max-width: 768px) {
  .footer-inner {
    grid-template-columns: 1fr;
  }
}

.footer-logo {
  height: 36px;
  width: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  color: var(--ips-muted);
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 300px;
}

.footer-links-group {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

@media (max-width: 576px) {
  .footer-links-group {
    grid-template-columns: 1fr;
  }
}

.footer-col h3 {
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 16px;
  color: var(--ips-text);
}

.footer-col a {
  display: block;
  font-size: 0.8125rem;
  color: var(--ips-muted);
  padding: 4px 0;
  transition: color var(--dur-fast) var(--ease-out);
}

.footer-col a:hover {
  color: var(--ips-red);
}

.footer-bottom {
  border-top: 1px solid var(--ips-border);
  padding: 20px 24px;
  text-align: center;
}

.footer-bottom p {
  font-size: 0.85rem;
  color: var(--ips-subtle);
}

/* --- 15. Scroll Progress ------------------------------------------ */
.scroll-progress {
  position: fixed;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  z-index: 999;
  width: 3px;
  height: 100px;
  background: var(--ips-border);
  border-radius: 2px;
  overflow: hidden;
}

.scroll-progress-fill {
  width: 100%;
  background: var(--ips-red);
  border-radius: 2px;
  height: 0%;
  transition: height 50ms linear;
}

@media (max-width: 768px) {
  .scroll-progress {
    display: none;
  }
}

.certification-text {
  font-family: "Inter", sans-serif;
  font-size: 0.725rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ips-muted);
}

.md-logo {
  height: 20px;
  width: auto;
}

.pillars-section {
  padding: 80px 0;
  background: transparent !important;
  position: relative;
  overflow: visible;
}

@media (max-width: 768px) {
  .pillars-section {
    padding: var(--section-padding-mobile) 24px;
  }
}

.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

@media (max-width: 992px) {
  .pillars-grid {
    grid-template-columns: 1fr;
  }
}

.pillar-card {
  position: relative;
  padding: 48px 32px 32px;
  background: var(--ips-glass);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border-radius: var(--radius-xl);
  border: 1px solid var(--ips-red-border);
  border-top: 3px solid var(--ips-red);
  height: 100%;
  transition: all var(--dur-mid) var(--ease-out);
  display: flex;
  flex-direction: column;
  z-index: 1;
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg), var(--glow-red);
  border-color: rgba(var(--ips-red-rgb), 0.4);
}

.pillar-number {
  position: absolute;
  top: 24px;
  right: 32px;
  font-family: "Inter", sans-serif;
  font-size: 3rem;
  font-weight: 800;
  color: rgba(var(--ips-red-rgb), 0.04);
  line-height: 1;
  pointer-events: none;
  z-index: -1;
  transition: color var(--dur-mid) var(--ease-out);
}

.pillar-card:hover .pillar-number {
  color: rgba(var(--ips-red-rgb), 0.08);
}

.pillar-icon {
  font-size: 2.5rem;
  color: var(--ips-red);
  margin-bottom: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  background: var(--ips-white);
  border: 1px solid var(--ips-red-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--dur-mid) var(--ease-out);
}

.pillar-card:hover .pillar-icon {
  background: var(--ips-red);
  color: var(--ips-white);
  box-shadow: var(--glow-red);
  transform: rotate(-4deg);
}

.pillar-card h3 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--ips-text);
}

.pillar-card p {
  font-size: 0.9375rem;
  color: var(--ips-muted);
  line-height: 1.7;
  margin-bottom: 0;
}

/* --- 14. Customer Experience Reintegrated (Classic) ---------------- */
.customer-section-classic {
  padding: var(--section-padding) 0;
  background: transparent !important;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.customer-bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  width: 100%;
}

.bento-tile {
  background: var(--ips-glass);
  backdrop-filter: blur(24px) saturate(200%);
  -webkit-backdrop-filter: blur(24px) saturate(200%);
  border: 1px solid var(--ips-red-border);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-xl);
  /* GPU Acceleration for smooth glass reveal */
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  will-change: transform, box-shadow, border-color, background;
  transition:
    transform var(--dur-mid) var(--ease-out),
    box-shadow var(--dur-mid) var(--ease-out),
    border-color var(--dur-mid) var(--ease-out),
    background var(--dur-mid) var(--ease-out);
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.bento-tile:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: var(--shadow-xl), var(--glow-red);
  border-color: rgba(var(--ips-red-rgb), 0.4);
}

/* 1. Logos Tile */
.bento-logos {
  grid-column: span 3;
  padding: var(--section-padding-mobile) 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.logo-carousel-track {
  display: flex;
  align-items: center;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 32px 64px;
  width: 100%;
  padding: 0 5%;
}

@media (max-width: 768px) {
  .logo-carousel-track {
    gap: 24px 32px;
    padding: 20px;
  }

  .logo-carousel-track img {
    height: 60px;
  }
}

.logo-carousel-track img {
  height: 100px;
  width: auto;
  /* filter: opacity(0.7) grayscale(100%); */
  transition: all 0.4s var(--ease-out);
}

.bento-tile:hover .logo-carousel-track img,
.logo-carousel-track img:hover {
  filter: opacity(1) grayscale(0%);
  transform: scale(1.05);
}

/* 2. Quote Tile */
.bento-quote {
  grid-column: span 2;
  flex-direction: row;
  min-height: 400px;
}

.bento-quote-img {
  flex: 0.8;
  position: relative;
  overflow: hidden;
  background: var(--ips-text);
}

.bento-quote-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: transform 1.2s var(--ease-out);
}

.bento-tile:hover .bento-quote-img img {
  transform: scale(1.05);
}

.bento-quote-content {
  flex: 0.9;
  padding: 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.quote-icon {
  font-size: 3rem;
  color: var(--ips-red);
  opacity: 0.15;
  line-height: 1;
  margin-bottom: 24px;
}

.bento-quote-content h3 {
  font-size: clamp(1.4rem, 2.5vw, 1.8rem);
  font-weight: 600;
  line-height: 1.4;
  color: var(--ips-text);
  margin-bottom: 32px;
}

.quote-author {
  font-family: "Inter", sans-serif;
  font-weight: 600;
  font-size: 0.875rem;
  text-transform: uppercase;
  color: var(--ips-muted);
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  gap: 12px;
}

.quote-author::before {
  content: "";
  width: 24px;
  height: 2px;
  background: var(--ips-red);
}

/* 3. CTA Tile */
.bento-cta {
  grid-column: span 1;
  padding: 48px 32px;
  background: rgba(var(--ips-red-rgb), 0.85);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--ips-white);
  text-align: center;
  justify-content: center;
  align-items: center;
}

.bento-cta .together-label {
  display: inline-block;
  font-family: "Inter", sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 12px;
}

.bento-cta h2 {
  font-size: clamp(2rem, 3vw, 2.5rem);
  margin-bottom: 16px;
  color: var(--ips-white);
}

.bento-cta p {
  font-size: 1rem;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 32px;
}

.btn-cta {
  background: var(--ips-white);
  color: var(--ips-red);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.btn-cta:hover {
  background: var(--ips-bg);
  color: var(--ips-red-dark);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* responsive */
@media (max-width: 992px) {
  .customer-bento-grid {
    grid-template-columns: 1fr;
  }

  .bento-logos,
  .bento-quote,
  .bento-cta {
    grid-column: span 1;
  }

  .bento-quote {
    flex-direction: column;
  }

  .bento-quote-img {
    min-height: 250px;
  }
}

/* --- 16. 3D Canvas (Global Fixed) ----------------------------- */
#hero-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  /* Removed 'opacity' from transition to allow GSAP to handle it directly without lag */
  transition: filter 0.8s var(--ease-out);
}

/* --- 17. Reduced Motion -------------------------------------------- */
@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  [class*="reveal-"] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }

  .nav-float {
    opacity: 1 !important;
    transform: none !important;
  }

  #hero-canvas {
    display: none;
  }
}

/* ═══════════════════════════════════════════════════════════════
   18. SHARED INNER-PAGE HERO COMPONENTS
   (Used across About, Award, Services, Contact, Portfolio pages)
   Single source of truth — eliminates 4× redundancy.
   ═══════════════════════════════════════════════════════════════ */

/* Blueprint Grid Overlay */
.hero-bg-grid {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: var(--grid-blueprint);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 0;
  opacity: 0.6;
}

/* Watermark Text */
.hero-watermark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 15vw;
  font-weight: 900;
  color: rgba(var(--ips-red-rgb), 0.03);
  white-space: nowrap;
  pointer-events: none;
  z-index: -1;
  user-select: none;
  letter-spacing: -0.02em;
}

/* Shared Hero Split Layout */
.hero-split-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 150px;
  text-align: left;
}

/* Breadcrumb Navigation */
.breadcrumb-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  margin-bottom: 32px;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ips-muted);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.breadcrumb-nav a {
  color: var(--ips-subtle);
  transition: color var(--dur-fast) var(--ease-out);
}

.breadcrumb-nav a:hover {
  color: var(--ips-red);
}

.breadcrumb-nav i {
  font-size: 0.65rem;
  opacity: 0.5;
}

.breadcrumb-nav span {
  color: var(--ips-red);
}

/* Hero Credential Labels */
.hero-labels {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  margin-top: 40px;
}

.label-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--ips-muted);
  font-size: 0.875rem;
  font-weight: 500;
}

.label-item i {
  color: var(--ips-red);
  font-size: 1rem;
}

/* Journey Timeline Track */
.journey-track {
  position: absolute;
  left: 12px;
  top: 0;
  width: 2px;
  height: 100%;
  background: rgba(var(--ips-red-rgb), 0.1);
}

/* Journey Step */
.journey-step {
  position: relative;
  padding-left: 48px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s var(--ease-out);
}

.journey-step::before {
  content: "";
  position: absolute;
  left: 5px;
  top: 6px;
  width: 14px;
  height: 14px;
  background: var(--ips-white);
  border: 3px solid rgba(var(--ips-red-rgb), 0.2);
  border-radius: 50%;
  z-index: 2;
  transition: all 0.3s var(--ease-out);
}

.services-page-grid .service-card-inner {
  position: relative;
  height: 100%;
  min-height: 480px;
  padding: 50px 40px;
  z-index: 2;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.05);
  backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(15, 23, 42, 0.1);
  border-radius: 12px;
  transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  will-change: transform, opacity, box-shadow;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

.journey-step.active::before {
  background: var(--ips-red);
  border-color: rgba(var(--ips-red-rgb), 0.2);
  box-shadow: 0 0 15px rgba(var(--ips-red-rgb), 0.4);
}

/* Journey Step Labels */
.step-num,
.step-year {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--ips-text);
  line-height: 1;
  margin-bottom: 4px;
}

.step-label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ips-muted);
  text-transform: uppercase;
}

/* Scroll Indicator */
.hero-scroll {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  z-index: 10;
  pointer-events: none;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.hero-scroll:hover {
  transform: translateY(5px);
}

.scroll-text {
  font-size: 0.65rem;
  font-weight: 700;
  color: var(--ips-muted);
  letter-spacing: 0.25em;
  text-transform: uppercase;
  opacity: 0.6;
}

.scroll-track {
  width: 1px;
  height: 60px;
  background: rgba(var(--ips-red-rgb), 0.1);
  position: relative;
  overflow: hidden;
}

.scroll-line {
  position: absolute;
  top: -100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, transparent, var(--ips-red), transparent);
  animation: line-flow 2s var(--ease-out) infinite;
}

@keyframes line-flow {
  0% {
    top: -100%;
  }

  100% {
    top: 100%;
  }
}

/* Shared Inner-Page Hero ::before dot-pattern overlay */
[class$="-hero"]::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(var(--ips-red-rgb), 0.1) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(circle at center, black, transparent 80%);
  -webkit-mask-image: radial-gradient(circle at center, black, transparent 80%);
  opacity: 0.5;
  z-index: -1;
  pointer-events: none;
}

/* Shared Inner Hero base layout */
[class$="-hero"] {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.95) 0%, rgba(255, 255, 255, 1) 100%),
    radial-gradient(circle at 80% 20%, rgba(var(--ips-red-rgb), 0.04) 0%, transparent 40%),
    radial-gradient(circle at 20% 80%, rgba(var(--ips-red-rgb), 0.04) 0%, transparent 40%) !important;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 128px 0 var(--section-padding) !important;
  z-index: 5;
}

/* Shared Inner Hero Title pattern */
[class$="-hero-title"] {
  font-family: "Inter", sans-serif;
  font-size: clamp(2.5rem, 6vw, 4.25rem);
  font-weight: 800;
  line-height: 1.1;
  color: var(--ips-text);
  margin-bottom: 24px;
  letter-spacing: -0.04em;
}

[class$="-hero-title"] span {
  color: var(--ips-red);
  position: relative;
  display: inline-block;
  text-shadow: 0 0 20px rgba(200, 16, 46, 0.15);
}

/* Shared Inner Hero Subtitle */
[class$="-hero-subtitle"] {
  font-family: "Inter", sans-serif;
  font-size: 1.15rem;
  line-height: 1.7;
  color: var(--ips-muted);
  max-width: 600px;
  margin: 0 0 40px;
  opacity: 0.9;
}

/* Shared Inner-Page Journey container */
[class*="-hero-journey"] {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 48px;
  padding: var(--section-padding-mobile) 0;
  min-width: 240px;
}

/* ── Shared Inner-Page Hero: Responsive ── */
@media (max-width: 1200px) {
  .hero-split-container {
    gap: 60px;
  }
}

@media (max-width: 992px) {
  [class$="-hero"] {
    padding: 128px 24px var(--section-padding-mobile) !important;
  }

  .hero-split-container {
    flex-direction: column;
    text-align: center;
    gap: 60px;
    width: 100%;
  }

  .hero-content-wrap {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
  }

  [class$="-hero-title"] {
    font-size: clamp(2.2rem, 8vw, 3.2rem);
    padding: 0 10px;
  }

  [class$="-hero-title"] br {
    display: none;
  }

  .breadcrumb-nav,
  .hero-labels {
    justify-content: center;
    width: 100%;
  }

  .hero-labels {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 32px;
  }

  .hero-watermark {
    font-size: 20vw;
    opacity: 0.02;
  }

  /* Mobile Journey: horizontal pill row */
  [class*="-hero-journey"] {
    flex-direction: row;
    justify-content: center;
    gap: 16px;
    padding: 24px 0;
    width: 100%;
    min-width: unset;
    border-top: 1px solid rgba(var(--ips-red-rgb), 0.1);
  }

  .journey-track {
    display: none;
  }

  .journey-step {
    padding: 0;
    align-items: center;
    flex: 1;
    min-width: 80px;
  }

  .journey-step::before {
    display: none;
  }

  .step-year,
  .step-num {
    font-size: 1rem;
    margin-bottom: 2px;
    color: var(--ips-red);
  }

  .step-label {
    font-size: 0.65rem;
    text-align: center;
    opacity: 0.8;
  }

  .hero-scroll {
    bottom: 20px;
    gap: 8px;
  }

  .hero-scroll .scroll-track {
    height: 40px;
  }
}

@media (max-width: 576px) {
  [class$="-hero-subtitle"] {
    margin: 0 auto 32px;
    font-size: 1rem;
    padding: 0 10px;
  }
}

/* --- 19. Shared Section Components -------------------------------- */
.section-header {
  text-align: center;
  margin-bottom: 48px;
  padding: 0 10px;
}

.section-header h2 {
  font-family: "Inter", sans-serif;
  font-size: clamp(2.1rem, 4.5vw, 3rem);
  font-weight: 800;
  color: var(--ips-text);
  letter-spacing: -0.04em;
  margin-bottom: 12px;
  line-height: 1.1;
}

.section-header h2 span {
  color: var(--ips-red);
}

.section-header p {
  font-size: 1.1rem;
  color: var(--ips-muted);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.section-badge {
  display: inline-block;
  padding: 6px 16px;
  background: rgba(var(--ips-red-rgb), 0.08);
  color: var(--ips-red);
  border-radius: 50px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
  border: 1px solid rgba(var(--ips-red-rgb), 0.15);
}

/* Animations */
@keyframes spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.spin {
  display: inline-block;
  animation: spin 1s linear infinite;
}

/* --- 20. Enquiry Popup (Global) ----------------------------------- */
.enquiry-popup {
  position: fixed;
  top: 90px;
  right: 20px;
  width: 380px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--ips-red-border);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-xl);
  z-index: 1100;
  padding: 32px;
  transform: translateY(-20px) scale(0.95);
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transform-origin: top right;
}

.enquiry-popup.active {
  transform: translateY(0) scale(1);
  opacity: 1;
  visibility: visible;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.popup-header h3 {
  font-size: 1rem;
  font-weight: 800;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--ips-text);
}

.close-popup {
  background: none;
  border: none;
  font-size: 1.75rem;
  color: var(--ips-subtle);
  cursor: pointer;
  padding: 0;
  line-height: 0.5;
  transition: color 0.3s ease;
}

.close-popup:hover {
  color: var(--ips-red);
}

.popup-form .popup-group {
  margin-bottom: 16px;
}

.popup-form input,
.popup-form textarea {
  width: 100%;
  padding: 12px 16px;
  background: #f8fafc;
  border: 1px solid var(--ips-border);
  border-radius: var(--radius-md);
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--ips-text);
  transition: all 0.3s ease;
}

.popup-form input:focus,
.popup-form textarea:focus {
  border-color: var(--ips-red);
  background: #ffffff;
  box-shadow: 0 0 0 4px rgba(var(--ips-red-rgb), 0.05);
}

.popup-form .btn-solid {
  margin-top: 8px;
  padding: 14px;
}

@media (max-width: 576px) {
  .enquiry-popup {
    left: 15px;
    right: 15px;
    width: auto;
    top: 85px;
    padding: 24px;
  }
}