/* ==========================================================================
   SYSPRO TECHNOLOGY - MODERN STYLESHEET
   Brand Colors: Deep Blue (#084c8d), Vivid Red (#d91419), Dark Navy (#0a121e)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

/* --- CSS Variables & Design Tokens --- */
:root {
  --font-heading: 'Outfit', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  /* Brand Palette from Logo */
  --brand-blue: #084c8d;
  --brand-blue-hover: #063c70;
  --brand-blue-dark: #04294d;
  --brand-blue-light: #0284c7;
  --brand-blue-subtle: #eef6fc;

  --brand-red: #d91419;
  --brand-red-hover: #b80d12;
  --brand-red-subtle: #fef2f2;
  --brand-red-glow: rgba(217, 20, 25, 0.2);

  /* Neutrals */
  --navy-950: #060d15;
  --navy-900: #0b1522;
  --navy-800: #132235;
  --navy-700: #1e334d;

  --gray-900: #0f172a;
  --gray-800: #1e293b;
  --gray-700: #334155;
  --gray-600: #475569;
  --gray-500: #64748b;
  --gray-400: #94a3b8;
  --gray-300: #cbd5e1;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --gray-50: #f8fafc;
  --white: #ffffff;

  /* Elevation Shadows */
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --shadow-card-hover: 0 14px 30px rgba(8, 76, 141, 0.12);

  /* Layout */
  --container-max: 1200px;
  --header-height: 80px;
  --topbar-height: 42px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* --- Global Reset & Base Styles --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 20px);
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--gray-700);
  background-color: var(--white);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

button {
  font: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Focus styles for keyboard accessibility */
:focus-visible {
  outline: 3px solid var(--brand-blue-light);
  outline-offset: 3px;
}

.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

/* Typography Utilities */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--navy-900);
  line-height: 1.2;
  font-weight: 700;
}

/* ==========================================================================
   TOP CONTACT STRIP
   ========================================================================== */
.top-bar {
  background-color: var(--navy-950);
  color: var(--gray-300);
  font-size: 0.84rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 100;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--topbar-height);
  padding-block: 0.4rem;
  gap: 1rem;
  flex-wrap: wrap;
}

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-bar-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--gray-300);
  font-weight: 500;
}

.top-bar-link:hover {
  color: var(--white);
}

.top-bar-link svg {
  width: 15px;
  height: 15px;
  color: var(--brand-red);
  flex-shrink: 0;
}

.top-bar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.07);
  padding: 0.2rem 0.65rem;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  color: var(--gray-300);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-badge .status-dot {
  width: 7px;
  height: 7px;
  background-color: #22c55e;
  border-radius: 50%;
  box-shadow: 0 0 6px #22c55e;
}

/* ==========================================================================
   STICKY HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-normal);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
  background-color: rgba(255, 255, 255, 0.98);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: var(--header-height);
  gap: 1.5rem;
}

/* Brand Logo */
.brand-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  flex-shrink: 0;
}

.brand-logo-img {
  height: 52px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  transition: transform var(--transition-fast);
}

.brand-link:hover .brand-logo-img {
  transform: scale(1.02);
}

/* Desktop Navigation */
.primary-nav {
  display: flex;
  align-items: center;
  gap: 2rem;
  min-width: 0;
}

/* These controls belong in the mobile navigation drawer only. */
.nav-drawer-actions {
  display: none;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: clamp(0.8rem, 1.5vw, 1.75rem);
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
  position: relative;
  white-space: nowrap;
  padding-block: 0.5rem;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background-color: var(--brand-red);
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover {
  color: var(--brand-blue);
}

.nav-link:hover::after {
  width: 100%;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.7rem 1.4rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
  cursor: pointer;
  white-space: nowrap;
  text-decoration: none;
}

.btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-primary {
  background-color: var(--brand-red);
  color: var(--white);
  box-shadow: 0 4px 12px var(--brand-red-glow);
}

.btn-primary:hover {
  background-color: var(--brand-red-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(217, 20, 25, 0.3);
}

.btn-secondary {
  background-color: var(--brand-blue);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(8, 76, 141, 0.2);
}

.btn-secondary:hover {
  background-color: var(--brand-blue-hover);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(8, 76, 141, 0.3);
}

.btn-outline {
  background-color: transparent;
  color: var(--brand-blue);
  border: 2px solid var(--brand-blue);
}

.btn-outline:hover {
  background-color: var(--brand-blue-subtle);
  color: var(--brand-blue-dark);
  transform: translateY(-2px);
}

.btn-outline-white {
  background-color: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.4);
}

.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: var(--white);
  color: var(--white);
  transform: translateY(-2px);
}

/* Mobile Menu Toggle */
.menu-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: var(--gray-100);
  color: var(--gray-800);
  border: 1px solid var(--gray-200);
  padding: 8px;
  transition: all var(--transition-fast);
}

.menu-toggle:hover {
  background: var(--gray-200);
  color: var(--brand-blue);
}

.menu-toggle-icon {
  width: 24px;
  height: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-around;
}

.menu-toggle-icon span {
  display: block;
  width: 100%;
  height: 2.5px;
  background-color: currentColor;
  border-radius: 2px;
  transition: all var(--transition-normal);
}

/* Mobile Menu Active State Animation */
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(2) {
  opacity: 0;
}
.menu-toggle[aria-expanded="true"] .menu-toggle-icon span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #060e18 0%, #0d1e33 60%, #102947 100%);
  color: var(--white);
  padding-block: clamp(3rem, 6vw, 5.5rem);
  overflow: hidden;
}

/* Subtle tech grid background pattern */
.hero-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(8, 76, 141, 0.25) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(217, 20, 25, 0.15) 0%, transparent 40%),
    linear-gradient(to right, rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 100% 100%, 100% 100%, 40px 40px, 40px 40px;
  pointer-events: none;
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.hero-grid-text-only {
  grid-template-columns: minmax(0, 1fr);
  max-width: 880px;
  margin-inline: auto;
}

.hero-tagline-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.86rem;
  font-weight: 600;
  color: #7dd3fc;
  margin-bottom: 1.25rem;
}

.hero-tagline-pill svg {
  width: 16px;
  height: 16px;
  color: var(--brand-red);
}

.hero-title {
  font-size: clamp(2.1rem, 4vw + 0.5rem, 3.4rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.hero-title .text-red {
  color: #ff474d;
}

.hero-title .text-blue {
  color: #38bdf8;
}

.hero-description {
  font-size: clamp(1.05rem, 1.2vw, 1.2rem);
  color: var(--gray-300);
  line-height: 1.65;
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.hero-badges-row {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  flex-wrap: wrap;
}

.hero-badge-item {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray-200);
}

.hero-badge-item svg {
  width: 18px;
  height: 18px;
  color: #38bdf8;
  flex-shrink: 0;
}

/* Hero Visual / Flyer Showcase Card */
.hero-visual-card {
  position: relative;
  background: rgba(18, 34, 53, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5), 0 0 30px rgba(8, 76, 141, 0.2);
  backdrop-filter: blur(12px);
  overflow: hidden;
}

.hero-visual-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.hero-visual-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--white);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.hero-visual-title svg {
  width: 16px;
  height: 16px;
  color: var(--brand-red);
}

.hero-visual-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(217, 20, 25, 0.2);
  color: #ff6b6b;
  border: 1px solid rgba(217, 20, 25, 0.4);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}

.hero-flyer-wrapper {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.hero-flyer-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: top center;
  transition: transform var(--transition-normal);
}

.hero-visual-card:hover .hero-flyer-img {
  transform: scale(1.02);
}

.hero-visual-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.visual-chip {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-200);
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.3rem 0.7rem;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.visual-chip svg {
  width: 13px;
  height: 13px;
  color: #38bdf8;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.section-padding {
  padding-block: clamp(3.5rem, 6vw, 5.5rem);
}

.bg-soft-gray {
  background-color: var(--gray-50);
}

.section-header {
  text-align: center;
  max-width: 680px;
  margin-inline: auto;
  margin-bottom: clamp(2.5rem, 4vw, 3.5rem);
}

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-blue);
  background-color: var(--brand-blue-subtle);
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  font-weight: 800;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
  letter-spacing: -0.01em;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* Services Section & Grid */
#services {
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr));
  gap: 1.75rem;
}

@media (min-width: 993px) {
  .services-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.service-card {
  background-color: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--gray-200);
  padding: 2rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-blue) 0%, var(--brand-red) 100%);
  opacity: 0.8;
  transition: height var(--transition-fast);
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(8, 76, 141, 0.25);
}

.service-card:hover::before {
  height: 6px;
}

.service-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.service-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background-color: var(--brand-blue-subtle);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.service-card:hover .service-icon-wrapper {
  background-color: var(--brand-blue);
  color: var(--white);
}

.service-icon-wrapper svg {
  width: 28px;
  height: 28px;
}

.service-card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  background-color: var(--gray-100);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
}

.service-card-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.75rem;
}

.service-card-desc {
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.55;
  margin-bottom: 1.5rem;
}

.service-feature-list {
  list-style: none;
  margin-bottom: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: auto;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--gray-700);
  line-height: 1.4;
}

.service-feature-item svg {
  width: 17px;
  height: 17px;
  color: var(--brand-red);
  flex-shrink: 0;
  margin-top: 2px;
}

.service-card-footer {
  padding-top: 1.25rem;
  border-top: 1px solid var(--gray-100);
  margin-top: auto;
}

.btn-service-action,
.service-cta-link {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  width: 100%;
  min-height: 48px;
  padding: 0.8rem 1.25rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #ffffff !important;
  background-color: var(--brand-blue);
  background: linear-gradient(135deg, var(--brand-blue) 0%, #063c70 100%);
  border: 1px solid rgba(8, 76, 141, 0.35);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 12px rgba(8, 76, 141, 0.18);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  position: relative;
  overflow: hidden;
}

.btn-service-action .btn-action-icon,
.service-cta-link svg:first-child {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.9);
}

.btn-service-action .btn-arrow-icon,
.service-cta-link svg:last-child {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  transition: transform var(--transition-fast);
}

.btn-service-action:hover,
.service-cta-link:hover {
  background-color: var(--brand-red);
  background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-hover) 100%);
  border-color: var(--brand-red);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px var(--brand-red-glow);
}

.btn-service-action:hover .btn-arrow-icon,
.service-cta-link:hover svg:last-child {
  transform: translateX(4px);
}

.btn-service-action:focus-visible,
.service-cta-link:focus-visible {
  outline: 3px solid var(--brand-red);
  outline-offset: 3px;
  box-shadow: 0 0 0 4px rgba(217, 20, 25, 0.25);
}

.btn-service-action:active,
.service-cta-link:active {
  transform: translateY(0);
}

/* ==========================================================================
   EQUIPMENT & FLYER SHOWCASE SECTION
   ========================================================================== */
.showcase-section {
  background-color: var(--white);
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}

.showcase-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  align-items: center;
  gap: clamp(2rem, 4vw, 4rem);
}

.showcase-media-frame {
  position: relative;
  background: var(--navy-900);
  border-radius: var(--radius-xl);
  padding: 1rem;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--gray-200);
}

.showcase-media-img {
  width: 100%;
  height: auto;
  border-radius: var(--radius-lg);
  object-fit: cover;
  background-color: #ffffff;
}

.showcase-caption {
  margin-top: 0.85rem;
  text-align: center;
  font-size: 0.82rem;
  color: var(--gray-400);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.showcase-content {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.equipment-pill-group {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.equipment-pillar-card {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  background-color: var(--gray-50);
  border: 1px solid var(--gray-200);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.equipment-pillar-card:hover {
  background-color: var(--white);
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
  transform: translateX(4px);
}

.equipment-pillar-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background-color: var(--brand-blue-subtle);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.equipment-pillar-card:hover .equipment-pillar-icon {
  background-color: var(--brand-red);
  color: var(--white);
}

.equipment-pillar-icon svg {
  width: 22px;
  height: 22px;
}

.equipment-pillar-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy-900);
  margin-bottom: 0.35rem;
}

.equipment-pillar-desc {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ==========================================================================
   WHY CHOOSE US SECTION
   ========================================================================== */
.why-us-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
  gap: 1.5rem;
}

.why-card {
  background-color: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.why-card:hover {
  border-color: var(--brand-blue);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}

.why-icon-box {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background-color: var(--brand-blue-subtle);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
}

.why-card:hover .why-icon-box {
  background-color: var(--brand-blue);
  color: var(--white);
}

.why-icon-box svg {
  width: 24px;
  height: 24px;
}

.why-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy-900);
}

.why-desc {
  font-size: 0.92rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ==========================================================================
   CONTACT & CTA SECTION
   ========================================================================== */
.contact-section {
  background: linear-gradient(135deg, #091524 0%, #0f233a 100%);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-section::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(217, 20, 25, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(2rem, 4vw, 3.5rem);
  align-items: start;
}

.contact-callout {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  align-self: start;
  width: 100%;
  padding: clamp(1.75rem, 4vw, 2.5rem);
  background: rgba(14, 26, 42, 0.82) !important;
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.03) 100%), #0d1a2b !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: var(--radius-xl);
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  position: relative;
  overflow: hidden;
}

.contact-callout::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #38bdf8 0%, #d91419 100%);
}

.contact-section .contact-callout .contact-callout-kicker,
.contact-callout-kicker {
  display: inline-block;
  color: #38bdf8 !important;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 0;
  margin-bottom: 0.85rem;
}

.contact-section .contact-callout h3,
.contact-callout h3,
.contact-section h3.contact-callout-title {
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: clamp(1.6rem, 2.5vw, 2.15rem);
  font-weight: 800;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin-top: 0;
  margin-bottom: 0.9rem;
  max-width: 22ch;
}

.contact-section .contact-callout p,
.contact-callout p {
  color: #cbd5e1 !important;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  margin-top: 0;
  margin-bottom: 1.75rem;
}

.contact-callout .btn-primary {
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background-color: var(--brand-red) !important;
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  padding: 0.85rem 1.75rem;
  border-radius: var(--radius-md);
  box-shadow: 0 4px 14px var(--brand-red-glow);
  text-decoration: none;
  cursor: pointer;
  margin-bottom: 1.1rem;
  transition: all var(--transition-fast);
}

.contact-callout .btn-primary:hover {
  background-color: var(--brand-red-hover) !important;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 20, 25, 0.4);
}

.contact-callout .btn-primary svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.contact-section .contact-callout .contact-callout-secondary,
.contact-callout-secondary {
  display: inline-flex !important;
  align-items: center;
  gap: 0.35rem;
  color: #94a3b8 !important;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  margin-top: 0;
  transition: color var(--transition-fast);
}

.contact-callout-secondary span {
  color: #e2e8f0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.contact-section .contact-callout .contact-callout-secondary:hover,
.contact-callout-secondary:hover,
.contact-callout-secondary:hover span {
  color: #ffffff !important;
}

.contact-intro-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  color: var(--white);
  margin-bottom: 1rem;
}

.contact-intro-desc {
  font-size: 1.05rem;
  color: var(--gray-300);
  line-height: 1.6;
  margin-bottom: 2rem;
}

.contact-cards-stack {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-item-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  transition: all var(--transition-fast);
  text-decoration: none;
  color: var(--white);
}

.contact-item-card:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.25);
  transform: translateX(4px);
}

.contact-item-icon {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  background-color: var(--brand-red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 12px var(--brand-red-glow);
}

.contact-item-icon.blue-bg {
  background-color: var(--brand-blue);
  box-shadow: 0 4px 12px rgba(8, 76, 141, 0.3);
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
}

.contact-item-info {
  display: flex;
  flex-direction: column;
}

.contact-item-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--gray-400);
}

.contact-item-value {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
  font-family: var(--font-heading);
}

.contact-item-hint {
  font-size: 0.8rem;
  color: #7dd3fc;
  margin-top: 0.15rem;
}

/* Quick Inquiry / Service Request Box */
.inquiry-box {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-xl);
  padding: clamp(1.5rem, 3vw, 2.5rem);
  backdrop-filter: blur(10px);
}

.inquiry-box-title {
  font-size: 1.35rem;
  color: var(--white);
  margin-bottom: 0.5rem;
}

.inquiry-box-desc {
  font-size: 0.92rem;
  color: var(--gray-300);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.form-group {
  margin-bottom: 1.1rem;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gray-200);
  margin-bottom: 0.35rem;
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--white);
  background: rgba(11, 21, 34, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 3px rgba(56, 189, 248, 0.25);
}

.form-control option {
  background-color: var(--navy-900);
  color: var(--white);
}

textarea.form-control {
  resize: vertical;
  min-height: 90px;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.site-footer {
  background-color: var(--navy-950);
  color: var(--gray-400);
  padding-top: 4rem;
  padding-bottom: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.footer-logo-img {
  height: 48px;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  background-color: #ffffff;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.footer-desc {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--gray-400);
}

.footer-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 28px;
  height: 2px;
  background-color: var(--brand-red);
  border-radius: 2px;
}

.footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.footer-link {
  font-size: 0.9rem;
  color: var(--gray-400);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all var(--transition-fast);
}

.footer-link:hover {
  color: var(--white);
  transform: translateX(3px);
}

.footer-contact-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  color: var(--gray-300);
}

.footer-contact-item svg {
  width: 17px;
  height: 17px;
  color: var(--brand-red);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-item a:hover {
  color: var(--white);
}

.footer-bottom {
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.85rem;
}

.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gray-400);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  transition: all var(--transition-fast);
}

.back-to-top:hover {
  background: var(--brand-blue);
  color: var(--white);
  border-color: var(--brand-blue);
}

.back-to-top svg {
  width: 14px;
  height: 14px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES & MOBILE NAVIGATION
   Designed for all screens: 320px, 375px, 430px, tablets (768-992px), and desktop
   ========================================================================== */

/* Navigation Drawer Backdrop (Appears when mobile nav is open) */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(6, 13, 22, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 85;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-normal), visibility var(--transition-normal);
  pointer-events: none;
}

.nav-backdrop.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Base Mobile Sticky Call Bar - Strictly hidden by default on tablet & desktop */
.mobile-sticky-call {
  display: none !important;
}

.mobile-sticky-call svg,
.mobile-sticky-call-icon {
  width: 18px !important;
  height: 18px !important;
  max-width: 18px !important;
  max-height: 18px !important;
  flex-shrink: 0 !important;
}

/* Mobile Drawer Action Callout - Strictly hidden on desktop */
.nav-drawer-actions {
  display: none !important;
}

/* Tablet & Smaller (<= 992px) - Switch to Accessible Mobile Drawer */
@media (max-width: 992px) {
  :root {
    --header-height: 68px;
  }

  .site-header {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background-color: var(--white);
  }

  .header-inner {
    min-height: var(--header-height);
    gap: 1rem;
  }

  .brand-logo-img {
    height: 44px;
    max-width: 190px;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions .btn {
    display: none; /* Call action moves to mobile drawer and sticky call bar */
  }

  /* Mobile Drawer Navigation */
  .primary-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    height: calc(100vh - var(--header-height));
    height: calc(100dvh - var(--header-height));
    background-color: var(--white);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 1.5rem 1.25rem 2rem;
    gap: 1.5rem;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: transform var(--transition-normal), opacity var(--transition-normal), visibility var(--transition-normal);
    box-shadow: 0 20px 35px rgba(0, 0, 0, 0.15);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    z-index: 89;
  }

  .primary-nav.is-open {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0.35rem;
    width: 100%;
  }

  .nav-link {
    display: flex;
    align-items: center;
    min-height: 48px;
    padding: 0.75rem 1rem;
    font-size: 1.05rem;
    border-radius: var(--radius-sm);
    border-bottom: 1px solid var(--gray-100);
  }

  .nav-link:hover,
  .nav-link:focus-visible {
    background-color: var(--brand-blue-subtle);
    color: var(--brand-blue);
  }

  .nav-drawer-actions {
    display: flex !important;
    flex-direction: column;
    gap: 0.75rem;
    padding-top: 1.25rem;
    border-top: 1px solid var(--gray-200);
  }

  .nav-drawer-actions svg {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex-shrink: 0;
  }

  .nav-drawer-btn {
    width: 100%;
    min-height: 48px;
    justify-content: center;
    box-shadow: 0 4px 12px var(--brand-red-glow);
  }

  .nav-drawer-alt-phone {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--gray-600);
    text-decoration: underline;
    text-underline-offset: 3px;
    text-align: center;
    transition: color var(--transition-fast);
  }

  .nav-drawer-alt-phone:hover {
    color: var(--brand-blue);
  }

  /* Section Grids on Tablet */
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    text-align: left;
  }

  .hero-visual-card {
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }

  .showcase-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .showcase-media-frame {
    max-width: 520px;
    width: 100%;
    margin-inline: auto;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* Medium Mobile Devices (<= 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 64px;
  }

  .section-padding {
    padding-block: clamp(2.75rem, 5vw, 4rem);
  }

  .top-bar-inner {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.45rem;
    padding-block: 0.5rem;
  }

  .top-bar-left, .top-bar-right {
    gap: 1rem;
  }

  .brand-logo-img {
    height: 40px;
    max-width: 175px;
  }

  .hero-title {
    font-size: clamp(1.85rem, 5.5vw, 2.5rem);
    line-height: 1.2;
  }

  .hero-description {
    font-size: 1rem;
    margin-bottom: 1.75rem;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
    min-height: 48px;
  }

  .hero-badges-row {
    gap: 0.85rem 1.25rem;
  }

  .hero-badge-item {
    font-size: 0.84rem;
  }

  .service-card {
    padding: 1.5rem;
  }

  .contact-callout {
    padding: 1.5rem !important;
    width: 100% !important;
  }

  .contact-callout .btn-primary {
    width: 100% !important;
    min-height: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .footer-bottom {
    flex-direction: column-reverse;
    text-align: center;
    gap: 1rem;
  }

  .back-to-top {
    min-height: 44px;
    padding: 0.5rem 1.25rem;
    font-size: 0.88rem;
  }
}

/* Mobile Devices with Sticky Call Button (<= 640px) */
@media (max-width: 640px) {
  /* Prevent sticky call bar from covering footer content */
  .site-footer {
    padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px));
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .why-us-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }

  .why-card {
    padding: 1.35rem;
  }

  /* Floating Mobile Quick Action Bar */
  .mobile-sticky-call {
    display: flex !important;
    position: fixed;
    bottom: max(1rem, env(safe-area-inset-bottom, 1rem));
    left: 1rem;
    right: 1rem;
    z-index: 80;
    min-height: 48px;
    background: linear-gradient(135deg, var(--brand-red) 0%, var(--brand-red-hover) 100%);
    color: var(--white);
    padding: 0.75rem 1.25rem;
    border-radius: var(--radius-full);
    box-shadow: 0 10px 25px rgba(217, 20, 25, 0.45);
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.98rem;
    text-decoration: none;
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
  }

  .mobile-sticky-call:hover,
  .mobile-sticky-call:active {
    transform: scale(0.98);
    box-shadow: 0 4px 15px rgba(217, 20, 25, 0.4);
  }

  .mobile-sticky-call:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
    box-shadow: 0 0 0 5px rgba(217, 20, 25, 0.5);
  }

  .mobile-sticky-call svg,
  .mobile-sticky-call-icon {
    width: 18px !important;
    height: 18px !important;
    max-width: 18px !important;
    max-height: 18px !important;
    flex-shrink: 0 !important;
  }

  .mobile-sticky-call-text {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    flex-wrap: wrap;
    justify-content: center;
  }
}

/* Continuous right-to-left services card marquee */
.services-marquee {
  width: 100%;
  overflow: hidden;
  padding: 0.5rem 0 1.25rem;
}

.services-track,
.services-group {
  display: flex;
  align-items: stretch;
  width: max-content;
}

.services-track {
  animation: services-marquee-scroll 52s linear infinite;
  will-change: transform;
}

.services-group {
  gap: 1.75rem;
  padding-right: 1.75rem;
}

.services-group .service-card {
  flex: 0 0 clamp(300px, calc((min(100vw - 4rem, 1160px) - 3.5rem) / 3), 368px);
}

.services-marquee:hover .services-track,
.services-marquee:focus-within .services-track,
.services-marquee:active .services-track {
  animation-play-state: paused;
}

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

@media (max-width: 640px) {
  .services-group .service-card {
    flex-basis: min(84vw, 360px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .services-marquee {
    overflow-x: auto;
    scrollbar-width: thin;
  }

  .services-track {
    animation: none;
    transform: none;
  }

  .services-group[aria-hidden="true"] {
    display: none;
  }
}

/* Compact Mobile Screens (<= 480px, e.g. iPhone 13/14/15/16, Galaxy S21/S24) */
@media (max-width: 480px) {
  .container {
    padding-inline: 1rem;
  }

  .top-bar {
    padding-block: 0.35rem;
  }

  .top-bar-inner {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 0.35rem;
  }

  .top-bar-left {
    justify-content: center;
    gap: 0.5rem 1rem;
    font-size: 0.8rem;
  }

  .top-bar-right {
    display: none; /* Hide non-essential status dot on narrow mobile screens to save screen height */
  }

  .hero-tagline-pill {
    font-size: 0.78rem;
    padding: 0.35rem 0.75rem;
    white-space: normal;
  }

  .hero-title {
    font-size: 1.75rem;
  }

  .hero-visual-card {
    padding: 0.85rem;
  }

  .hero-visual-chips {
    gap: 0.35rem;
  }

  .visual-chip {
    font-size: 0.72rem;
    padding: 0.25rem 0.5rem;
  }

  .service-card {
    padding: 1.25rem;
  }

  .service-card-title {
    font-size: 1.2rem;
  }

  .service-card-desc {
    font-size: 0.9rem;
  }

  .service-feature-item {
    font-size: 0.85rem;
  }

  .btn-service-action {
    padding: 0.8rem 1rem;
    font-size: 0.9rem;
  }

  .equipment-pillar-card {
    padding: 1rem;
    gap: 0.85rem;
  }

  .equipment-pillar-icon {
    width: 38px;
    height: 38px;
  }

  .equipment-pillar-icon svg {
    width: 19px;
    height: 19px;
  }

  .equipment-pillar-title {
    font-size: 1rem;
  }

  .equipment-pillar-desc {
    font-size: 0.88rem;
  }

  .contact-intro-title {
    font-size: 1.6rem;
  }

  .contact-item-card {
    padding: 0.9rem 1rem;
    gap: 0.85rem;
  }

  .contact-item-icon {
    width: 44px;
    height: 44px;
  }

  .contact-item-icon svg {
    width: 20px;
    height: 20px;
  }

  .contact-item-value {
    font-size: 1.05rem;
  }

  .contact-callout {
    padding: 1.25rem !important;
  }

  .contact-callout-title {
    font-size: 1.35rem;
  }
}

/* Very Small Mobile Screens (<= 375px & 320px, e.g. iPhone SE, compact Androids) */
@media (max-width: 375px) {
  .container {
    padding-inline: 0.85rem;
  }

  :root {
    --header-height: 60px;
  }

  .brand-logo-img {
    height: 36px;
    max-width: 145px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    padding: 6px;
  }

  .menu-toggle-icon {
    width: 20px;
    height: 20px;
  }

  .hero-title {
    font-size: 1.55rem;
  }

  .btn {
    padding: 0.65rem 1rem;
    font-size: 0.9rem;
  }

  .btn-service-action {
    padding: 0.75rem 0.85rem;
    font-size: 0.86rem;
    gap: 0.45rem;
  }

  .btn-service-action .btn-action-icon {
    width: 15px;
    height: 15px;
  }

  .btn-service-action .btn-arrow-icon {
    width: 14px;
    height: 14px;
  }

  .mobile-sticky-call {
    font-size: 0.88rem;
    padding: 0.7rem 0.9rem;
  }

  .mobile-sticky-call-num {
    display: none; /* Keep sticky bar ultra-compact with "Call for Service" to prevent any wrapping */
  }

  .contact-item-value {
    font-size: 0.98rem;
  }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATIONS
   Restrained, smooth left-to-right entrance, subtle stagger, accessible.
   ========================================================================== */

/* Prevent horizontal overflow during animations */
html, body {
  overflow-x: clip;
}

/* Base Reveal Defaults */
.reveal-on-scroll {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-on-scroll.is-revealed {
  opacity: 1;
  transform: translate(0, 0);
}

/* Reveal from Left (used on headers, media frames, left columns) */
.reveal-from-left {
  opacity: 0;
  transform: translateX(-35px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-from-left.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Reveal from Right */
.reveal-from-right {
  opacity: 0;
  transform: translateX(35px);
  transition: opacity 0.65s cubic-bezier(0.16, 1, 0.3, 1), transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal-from-right.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Service Section Intro: Heading & Subtitle enter from Right to Left */
.services-intro-reveal {
  opacity: 0;
  transform: translateX(35px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.services-intro-reveal.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

.services-intro-reveal .section-eyebrow,
.services-intro-reveal .section-title,
.services-intro-reveal .section-subtitle {
  opacity: 0;
  transform: translateX(25px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

.services-intro-reveal.is-revealed .section-eyebrow {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 40ms;
}

.services-intro-reveal.is-revealed .section-title {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 110ms;
}

.services-intro-reveal.is-revealed .section-subtitle {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 180ms;
}

/* Service Cards: Right-to-Left entrance with subtle right-to-left stagger */
.service-card-reveal {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.55s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.55s cubic-bezier(0.16, 1, 0.3, 1),
              box-shadow var(--transition-normal),
              border-color var(--transition-normal);
  will-change: opacity, transform;
}

.service-card-reveal.is-revealed {
  opacity: 1;
  transform: translateX(0);
}

/* Stagger Delays for Service Cards on Desktop: Right-to-Left sequence */
@media (min-width: 993px) {
  /* Row 1: Card 3 (right) -> Card 2 (center) -> Card 1 (left) */
  .services-grid .service-card-reveal:nth-child(3) { transition-delay: 80ms; }
  .services-grid .service-card-reveal:nth-child(2) { transition-delay: 170ms; }
  .services-grid .service-card-reveal:nth-child(1) { transition-delay: 260ms; }
  /* Row 2: Card 5 (right) -> Card 4 (left) */
  .services-grid .service-card-reveal:nth-child(5) { transition-delay: 350ms; }
  .services-grid .service-card-reveal:nth-child(4) { transition-delay: 440ms; }
}

/* Stagger Delays for Service Cards on Mobile / Tablet: Right-to-Left entrance in view order */
@media (max-width: 992px) {
  .services-grid .service-card-reveal:nth-child(1) { transition-delay: 70ms; }
  .services-grid .service-card-reveal:nth-child(2) { transition-delay: 140ms; }
  .services-grid .service-card-reveal:nth-child(3) { transition-delay: 210ms; }
  .services-grid .service-card-reveal:nth-child(4) { transition-delay: 280ms; }
  .services-grid .service-card-reveal:nth-child(5) { transition-delay: 350ms; }
}

/* Stagger Delays for Equipment Pillars & Why Cards */
.equipment-pill-group .equipment-pillar-card:nth-child(1) { transition-delay: 100ms; }
.equipment-pill-group .equipment-pillar-card:nth-child(2) { transition-delay: 220ms; }
.equipment-pill-group .equipment-pillar-card:nth-child(3) { transition-delay: 340ms; }

.why-us-grid .why-card:nth-child(1) { transition-delay: 100ms; }
.why-us-grid .why-card:nth-child(2) { transition-delay: 200ms; }
.why-us-grid .why-card:nth-child(3) { transition-delay: 300ms; }
.why-us-grid .why-card:nth-child(4) { transition-delay: 400ms; }

/* Mobile Gentle Reveal Transitions (prevents layout jump on narrow viewports) */
@media (max-width: 768px) {
  .services-intro-reveal,
  .services-intro-reveal .section-eyebrow,
  .services-intro-reveal .section-title,
  .services-intro-reveal .section-subtitle,
  .service-card-reveal {
    transform: translateX(18px); /* Gentler right-to-left distance on mobile */
  }

  .reveal-from-left {
    transform: translateX(-16px);
  }

  .reveal-from-right {
    transform: translateX(16px);
  }
}

/* Accessible Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .reveal-on-scroll,
  .reveal-from-left,
  .reveal-from-right,
  .services-intro-reveal,
  .services-intro-reveal .section-eyebrow,
  .services-intro-reveal .section-title,
  .services-intro-reveal .section-subtitle,
  .service-card-reveal {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

