/*
Theme Name: Prydelix Technologies
Theme URI: https://www.prydelix.com
Author: Lalit Shakya / Prydelix
Author URI: https://www.prydelix.com
Description: Production-ready enterprise WordPress Theme for Prydelix Technologies — Delhi NCR's trusted IT Infrastructure Support, CCTV Surveillance, Biometrics, Office 365, and AMC Services partner. Fully responsive across mobile, tablet, laptop, and desktop screens.
Version: 1.1.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: prydelix
Tags: it-services, technology, amc, enterprise, business, responsive, custom-colors, custom-menu, featured-images
*/

/* ─────────────────────────────────────────────────────────────
   1. CSS VARIABLES & DESIGN TOKENS
───────────────────────────────────────────────────────────── */
:root {
  /* Logo Red Palette */
  --brand-red-50:   #fef2f2;
  --brand-red-100:  #fee2e2;
  --brand-red-200:  #fecaca;
  --brand-red-300:  #fca5a5;
  --brand-red-400:  #f87171;
  --brand-red-500:  #ef4444;
  --brand-red-600:  #ed1c24; /* Primary Brand Logo Red */
  --brand-red-700:  #dc2626;
  --brand-red-800:  #b91c1c;
  --brand-red-900:  #7f1d1d;

  /* Aliasing orange tokens to Logo Red for seamless theme-wide red palette */
  --brand-orange-50:  #fef2f2;
  --brand-orange-100: #fee2e2;
  --brand-orange-200: #fecaca;
  --brand-orange-300: #fca5a5;
  --brand-orange-400: #f87171;
  --brand-orange-500: #ef4444;
  --brand-orange-600: #ed1c24; /* Primary Red */
  --brand-orange-700: #dc2626;
  --brand-orange-800: #b91c1c;
  --brand-orange-900: #7f1d1d;

  /* Enterprise Dark Slate / Onyx Black */
  --brand-blue-50:  #f8fafc;
  --brand-blue-100: #f1f5f9;
  --brand-blue-200: #e2e8f0;
  --brand-blue-300: #cbd5e1;
  --brand-blue-400: #94a3b8;
  --brand-blue-500: #64748b;
  --brand-blue-600: #334155;
  --brand-blue-700: #1e293b;
  --brand-blue-800: #0f172a; /* Primary Dark Slate */
  --brand-blue-900: #090d16; /* Deep Onyx */
  --brand-blue-950: #040711;

  --brand-dark: #0f172a;
  --brand-slate: #1e293b;
  --bg-page: #FAFBFC;

  /* Sharp Edge Tokens */
  --radius-none: 0px;
  --radius-xs: 2px;
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 4px;
  --radius-xl: 6px;

  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-display: 'Montserrat', 'Plus Jakarta Sans', sans-serif;

  --shadow-card: 0 2px 10px rgba(0, 0, 0, 0.05);
  --shadow-card-hover: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-orange-glow: 0 4px 16px rgba(237, 28, 36, 0.35);
  --shadow-red-glow: 0 4px 16px rgba(237, 28, 36, 0.35);
  --shadow-blue-glow: 0 4px 16px rgba(15, 23, 42, 0.35);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  font-family: var(--font-sans);
  color: var(--brand-dark);
  background-color: var(--bg-page);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  padding-top: 7.25rem !important; /* Space for fixed sticky header + announcement ribbon on desktop */
}

@media (max-width: 1023px) {
  body {
    padding-top: 4.85rem !important; /* Exact height of tablet/mobile navbar (ribbon hidden) */
  }
}

@media (max-width: 639px) {
  body {
    padding-top: 4rem !important; /* Exact height of small mobile navbar */
  }
}

::selection {
  background-color: var(--brand-red-100);
  color: var(--brand-red-900);
}

a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s ease, background-color 0.15s ease;
}

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

iframe {
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ─────────────────────────────────────────────────────────────
   3. RESPONSIVE HELPERS & VISIBILITY UTILITIES
───────────────────────────────────────────────────────────── */
.hide-mobile {
  display: inline-block;
}

.show-mobile {
  display: none !important;
}

.hide-desktop {
  display: none !important;
}

.show-desktop {
  display: block !important;
}

@media (max-width: 1023px) {
  .hide-mobile {
    display: none !important;
  }
  .show-mobile {
    display: flex !important;
  }
}

@media (max-width: 767px) {
  .hide-tablet-mobile {
    display: none !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   4. LAYOUT & CONTAINERS
───────────────────────────────────────────────────────────── */
.container-app {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .container-app {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}
@media (min-width: 1024px) {
  .container-app {
    padding-left: 2rem;
    padding-right: 2rem;
  }
}

.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.section-padding {
  padding-top: clamp(2.5rem, 5vw, 5rem);
  padding-bottom: clamp(2.5rem, 5vw, 5rem);
}

/* ─────────────────────────────────────────────────────────────
   5. TYPOGRAPHY
───────────────────────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.2;
  color: var(--brand-blue-800);
  letter-spacing: -0.015em;
}

.heading-xl {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.1;
}

.heading-lg {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 800;
}

.heading-md {
  font-size: clamp(1.25rem, 3vw, 1.75rem);
  font-weight: 800;
}

.text-brand-blue { color: var(--brand-blue-800); }
.text-brand-orange { color: var(--brand-orange-600); }
.bg-brand-blue { background-color: var(--brand-blue-800); }
.bg-brand-orange { background-color: var(--brand-orange-600); }

/* ─────────────────────────────────────────────────────────────
   6. BUTTONS & UI CONTROLS (SHARP EDGES ENTERPRISE LOOK)
───────────────────────────────────────────────────────────── */
.btn-orange, .btn-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  background-color: var(--brand-red-600);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  box-shadow: var(--shadow-red-glow);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  touch-action: manipulation;
}
.btn-orange:hover, .btn-red:hover {
  background-color: var(--brand-red-700);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -2px rgba(237, 28, 36, 0.45);
}
.btn-orange:active, .btn-red:active {
  transform: scale(0.99);
}

.btn-blue, .btn-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  background-color: var(--brand-blue-800);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-xs);
  border: 1px solid transparent;
  box-shadow: var(--shadow-blue-glow);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  touch-action: manipulation;
}
.btn-blue:hover, .btn-dark:hover {
  background-color: var(--brand-blue-900);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px -2px rgba(15, 23, 42, 0.45);
}
.btn-blue:active, .btn-dark:active {
  transform: scale(0.99);
}

.btn-outline-blue, .btn-outline-dark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  border: 2px solid var(--brand-blue-800);
  color: var(--brand-blue-800) !important;
  background-color: transparent;
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  touch-action: manipulation;
}
.btn-outline-blue:hover, .btn-outline-dark:hover {
  background-color: var(--brand-blue-800);
  color: #ffffff !important;
}

.btn-outline-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.5rem;
  min-height: 44px;
  border: 2px solid rgba(255, 255, 255, 0.9);
  color: #ffffff !important;
  background-color: transparent;
  font-weight: 700;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-xs);
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
  touch-action: manipulation;
}
.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--brand-dark) !important;
}

@media (max-width: 480px) {
  .hero-section .modal-trigger-btn,
  .hero-section .btn-outline-white {
    width: 100%;
    justify-content: center;
  }
}

.card {
  background-color: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  box-shadow: var(--shadow-card);
  transition: all 0.3s ease;
}
.card:hover {
  border-color: rgba(237, 28, 36, 0.4);
  box-shadow: var(--shadow-card-hover);
}

.input-base {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-xs);
  font-size: 0.875rem;
  background-color: #ffffff;
  color: #1e293b;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.input-base:focus {
  outline: none;
  border-color: var(--brand-red-600);
  box-shadow: 0 0 0 3px rgba(237, 28, 36, 0.18);
}

/* ─────────────────────────────────────────────────────────────
   5. ANNOUNCEMENT RIBBON & TOP BAR
───────────────────────────────────────────────────────────── */
.announcement-ribbon {
  background-color: var(--brand-blue-900);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.45rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease, padding 0.35s ease;
  overflow: hidden;
  max-height: 50px;
}
.announcement-ribbon .container-app,
.announcement-ribbon .ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.ribbon-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}
.ribbon-sla {
  color: var(--brand-red-500);
  font-weight: 700;
  white-space: nowrap;
}
.ribbon-tagline {
  color: #cbd5e1;
  white-space: nowrap;
}
.ribbon-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}
.ribbon-phone {
  color: #ffffff;
  font-weight: 700;
  white-space: nowrap;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.15s ease;
}
.ribbon-phone:hover {
  color: var(--brand-red-400);
}
.ribbon-quote-btn {
  padding: 0.2rem 0.6rem;
  font-size: 0.625rem;
  white-space: nowrap;
  border-radius: var(--radius-xs);
}
/* Hide Announcement Ribbon completely on Mobile & Tablet (Removes top black strip) */
@media (max-width: 1023px) {
  .announcement-ribbon {
    display: none !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   Responsive Visibility Utilities
───────────────────────────────────────────────────────────── */
.show-mobile {
  display: flex !important;
}
.hide-mobile {
  display: none !important;
}

@media (min-width: 1024px) {
  .show-mobile {
    display: none !important;
  }
  .hide-mobile {
    display: inline-flex !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   7. STICKY HEADER & NAVBAR (PERMANENT PINNED TOP POSITION)
───────────────────────────────────────────────────────────── */
.site-header-sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.04);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
}

.site-navbar .container-app {
  max-width: 100%;
  width: 100%;
  padding-left: clamp(1rem, 2.5vw, 2.5rem);
  padding-right: clamp(1rem, 2.5vw, 2.5rem);
}

.navbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 4.85rem;
  gap: clamp(0.75rem, 1.5vw, 2rem);
  width: 100%;
}

@media (max-width: 639px) {
  .navbar-inner {
    height: 4rem;
  }
}

.brand-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}
.site-logo-img {
  height: 2.85rem;
  width: auto;
  max-width: 220px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
@media (min-width: 1400px) {
  .site-logo-img {
    height: 3.15rem;
    max-width: 250px;
  }
}
.brand-logo:hover .site-logo-img {
  transform: scale(1.03);
}

.site-logo-img-footer {
  height: 3.25rem;
  width: auto;
  max-width: 280px;
  object-fit: contain;
  display: block;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.brand-logo:hover .site-logo-img-footer {
  transform: scale(1.03);
}

@media (max-width: 639px) {
  .site-logo-img {
    height: 2.25rem;
    max-width: 175px;
  }
  .site-logo-img-footer {
    height: 2.5rem;
    max-width: 210px;
  }
}

/* Desktop Nav Container */
.desktop-nav-container {
  display: flex;
  align-items: center;
  flex-shrink: 1;
}

.desktop-nav-menu {
  display: none;
}
@media (min-width: 1024px) {
  .desktop-nav-menu {
    display: flex;
    align-items: center;
    gap: clamp(0.35rem, 0.75vw, 1.15rem);
    list-style: none;
    margin: 0;
    padding: 0;
    flex-wrap: nowrap;
  }
}

.desktop-nav-menu li {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.desktop-nav-menu a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.6875rem, 0.78vw, 0.8rem);
  font-weight: 700;
  letter-spacing: 0.025em;
  color: #334155;
  padding: 0.5rem clamp(0.15rem, 0.35vw, 0.4rem);
  position: relative;
  text-transform: uppercase;
  white-space: nowrap;
  line-height: 1;
  transition: color 0.18s ease-in-out;
}

.desktop-nav-menu a:hover,
.desktop-nav-menu .current-menu-item > a,
.desktop-nav-menu a.active {
  color: var(--brand-red-600);
  font-weight: 800;
}

.desktop-nav-menu a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  border-radius: 0;
  background-color: var(--brand-red-600);
  transition: width 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.desktop-nav-menu a:hover::after,
.desktop-nav-menu .current-menu-item > a::after,
.desktop-nav-menu a.active::after {
  width: 100%;
}

/* Nav Action Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(0.4rem, 0.8vw, 0.75rem);
  flex-shrink: 0;
  white-space: nowrap;
}

.header-portal-btn {
  padding: 0.55rem clamp(0.6rem, 1vw, 1rem) !important;
  font-size: clamp(0.6875rem, 0.75vw, 0.75rem) !important;
  white-space: nowrap;
}

.header-quote-btn {
  padding: 0.55rem clamp(0.75rem, 1.2vw, 1.25rem) !important;
  font-size: clamp(0.6875rem, 0.75vw, 0.75rem) !important;
  white-space: nowrap;
}

/* Mobile Hamburger Button */
.mobile-hamburger-btn {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  width: 40px;
  height: 40px;
  padding: 8px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 2px;
  cursor: pointer;
  z-index: 60;
  touch-action: manipulation;
  transition: background-color 0.2s, border-color 0.2s;
}
.mobile-hamburger-btn:hover {
  background-color: #f8fafc;
  border-color: #cbd5e1;
}
.hamburger-bar {
  display: block;
  width: 20px;
  height: 2px;
  background-color: var(--brand-blue-800);
  border-radius: 0;
}
.hamburger-bar-short {
  display: block;
  width: 14px;
  height: 2px;
  background-color: var(--brand-red-600);
  border-radius: 0;
  margin-left: -6px;
}

/* Mobile Drawer Overlay */
.mobile-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(4px);
  z-index: 9999;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.mobile-drawer-overlay.active {
  opacity: 1 !important;
  visibility: visible !important;
  pointer-events: auto !important;
}
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  width: 85%;
  max-width: 320px;
  height: 100%;
  background-color: #ffffff;
  z-index: 10000;
  padding: 1.5rem 1.25rem;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
}
.mobile-drawer-overlay.active .mobile-drawer {
  transform: translateX(0) !important;
}

.mobile-nav-list {
  list-style: none;
  margin-top: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}
.mobile-nav-list a {
  display: flex;
  align-items: center;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-xs);
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--brand-blue-800);
  transition: background-color 0.15s ease, color 0.15s ease;
}
.mobile-nav-list a:hover,
.mobile-nav-list .current-menu-item a {
  background-color: var(--brand-red-50);
  color: var(--brand-red-600);
}

/* ─────────────────────────────────────────────────────────────
   8. HERO & SECTIONS
───────────────────────────────────────────────────────────── */
.hero-section {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--brand-blue-900) 0%, var(--brand-blue-800) 50%, var(--brand-blue-950) 100%);
  color: #ffffff;
  padding-top: 2.5rem;
  padding-bottom: 4.5rem;
}
@media (min-width: 640px) {
  .hero-section {
    padding-top: 3.5rem;
    padding-bottom: 5.5rem;
  }
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  opacity: 0.08;
  pointer-events: none;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 24px 24px;
}
.hero-glow-1 {
  position: absolute;
  top: 20%;
  right: -5rem;
  width: 20rem;
  height: 20rem;
  background-color: rgba(237, 28, 36, 0.2);
  border-radius: var(--radius-sm);
  filter: blur(60px);
  pointer-events: none;
}
.hero-glow-2 {
  position: absolute;
  bottom: -5rem;
  left: -5rem;
  width: 20rem;
  height: 20rem;
  background-color: rgba(15, 23, 42, 0.4);
  border-radius: var(--radius-sm);
  filter: blur(60px);
  pointer-events: none;
}

.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-xs);
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #ffffff;
  backdrop-filter: blur(8px);
  max-width: 100%;
  box-sizing: border-box;
  text-align: center;
}
@media (max-width: 639px) {
  .hero-pill {
    font-size: 0.625rem;
    padding: 0.3rem 0.5rem;
    letter-spacing: 0.02em;
    line-height: 1.3;
  }
}
@media (min-width: 640px) {
  .hero-pill {
    font-size: 0.75rem;
    padding: 0.35rem 1rem;
    letter-spacing: 0.06em;
  }
}

.hero-trust-highlights {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: #cbd5e1;
  text-align: center;
  width: 100%;
  box-sizing: border-box;
}
@media (min-width: 768px) {
  .hero-trust-highlights {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}
.hero-trust-highlights > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  text-align: center;
}

.pulse-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 0;
  background-color: var(--brand-red-600);
  animation: pulse-dot-anim 1.5s infinite;
  flex-shrink: 0;
}
@keyframes pulse-dot-anim {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.4); opacity: 0.6; }
}

.hero-title {
  font-size: 1.85rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
}
@media (min-width: 640px) {
  .hero-title { font-size: 2.75rem; }
}
@media (min-width: 1024px) {
  .hero-title { font-size: 3.5rem; }
}

.text-gradient {
  background: linear-gradient(to right, #ffffff, #f1f5f9, var(--brand-red-400));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ─────────────────────────────────────────────────────────────
   9. STATS & GRIDS (RESPONSIVE)
───────────────────────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .stats-grid {
    gap: 1rem;
  }
}
@media (min-width: 1024px) {
  .stats-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
  }
}
.stat-box {
  padding: 1.25rem 0.75rem;
  text-align: center;
  background: #ffffff;
  border-radius: var(--radius-sm);
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 16px -2px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}
@media (min-width: 640px) {
  .stat-box {
    padding: 1.5rem;
  }
}
.stat-box:hover {
  border-color: var(--brand-red-600);
  transform: translateY(-2px);
}
.stat-value {
  font-size: 1.75rem;
  font-weight: 900;
  color: var(--brand-blue-800);
}
@media (min-width: 640px) {
  .stat-value { font-size: 2.5rem; }
}
.stat-label {
  font-size: 0.6875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #1f2937;
  margin-top: 0.25rem;
}
@media (min-width: 640px) {
  .stat-label {
    font-size: 0.75rem;
  }
}

/* Services Grid */
.services-grid-4 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 640px) {
  .services-grid-4 { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
}
@media (min-width: 1024px) {
  .services-grid-4 { grid-template-columns: repeat(3, 1fr); gap: 1.75rem; }
}

.service-card {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-sm);
  transition: all 0.3s ease;
}
@media (min-width: 640px) {
  .service-card {
    padding: 1.5rem;
  }
}
.service-card:hover {
  border-color: rgba(237, 28, 36, 0.4);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.service-icon-wrap {
  width: 3rem;
  height: 3rem;
  border-radius: var(--radius-xs);
  background-color: var(--brand-red-50);
  border: 1px solid var(--brand-red-100);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1rem;
  transition: all 0.3s ease;
}
.service-card:hover .service-icon-wrap {
  background-color: var(--brand-red-600);
  color: #ffffff;
  border-color: var(--brand-red-600);
  transform: scale(1.05);
}

/* ─────────────────────────────────────────────────────────────
   10. FOOTER (RESPONSIVE SHARP EDGES)
───────────────────────────────────────────────────────────── */
.site-footer {
  background-color: var(--brand-blue-900);
  color: #ffffff;
  font-size: 0.75rem;
  margin-top: auto;
  border-top: 3px solid var(--brand-red-600);
  padding-top: 3rem;
  padding-bottom: 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}
@media (min-width: 640px) {
  .footer-grid { grid-template-columns: repeat(2, 1fr); gap: 2.25rem; }
}
@media (min-width: 1024px) {
  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 2.5rem; }
}

.footer-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-red-400);
  margin-bottom: 0.875rem;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.footer-links a {
  color: #cbd5e1;
  transition: color 0.15s ease;
}
.footer-links a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 2.5rem;
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.6875rem;
  color: #94a3b8;
  text-align: center;
}
@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    text-align: left;
  }
}

/* ─────────────────────────────────────────────────────────────
   11. MODAL & FLOATING WIDGET (SHARP EDGES)
───────────────────────────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-box {
  background: #ffffff;
  border-radius: var(--radius-sm);
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 1.5rem;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  position: relative;
  transform: scale(0.98);
  transition: transform 0.3s ease;
}
@media (min-width: 640px) {
  .modal-box {
    padding: 2rem;
  }
}
.modal-overlay.active .modal-box {
  transform: scale(1);
}
.modal-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 2rem;
  height: 2rem;
  border-radius: var(--radius-xs);
  background: #f1f5f9;
  border: none;
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #64748b;
  touch-action: manipulation;
}
.modal-close-btn:hover {
  background: #e2e8f0;
  color: #0f172a;
}

.floating-whatsapp {
  position: fixed;
  bottom: 1.25rem;
  right: 1.25rem;
  z-index: 30;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: var(--radius-xs);
  background-color: #25D366;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  box-shadow: 0 8px 20px -3px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  touch-action: manipulation;
}
@media (min-width: 640px) {
  .floating-whatsapp {
    width: 3.5rem;
    height: 3.5rem;
    bottom: 1.5rem;
    right: 1.5rem;
    font-size: 1.75rem;
  }
}
.floating-whatsapp:hover {
  transform: scale(1.05);
  box-shadow: 0 12px 25px -3px rgba(37, 211, 102, 0.5);
}

/* ─────────────────────────────────────────────────────────────
   12. ACCORDION & TIMELINE
───────────────────────────────────────────────────────────── */
.accordion-item {
  border: 1px solid #e2e8f0;
  border-radius: var(--radius-xs);
  overflow: hidden;
  background: #ffffff;
  margin-bottom: 0.75rem;
}
.accordion-header {
  width: 100%;
  padding: 1rem 1.25rem;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  background: transparent;
  border: none;
  cursor: pointer;
  font-weight: 800;
  font-size: 0.875rem;
  color: #0f172a;
  touch-action: manipulation;
}
.accordion-header:hover {
  background-color: #f9fafb;
}
.accordion-content {
  display: none;
  padding: 1.25rem;
  padding-top: 0;
  font-size: 0.8125rem;
  color: #4b5563;
  line-height: 1.6;
  border-top: 1px solid #f3f4f6;
  background-color: #f9fafb;
}
.accordion-item.active .accordion-content {
  display: block;
}

/* Timeline */
.sla-timeline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  margin: 1.5rem 0;
  overflow-x: auto;
  padding: 0.5rem 0;
}
.sla-timeline::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 2px;
  background: #e5e7eb;
  z-index: 1;
  transform: translateY(-50%);
}
.timeline-step {
  position: relative;
  z-index: 2;
  background: #ffffff;
  padding: 0.25rem 0.35rem;
  text-align: center;
  flex-shrink: 0;
}
.step-dot {
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 9999px;
  background: #e5e7eb;
  margin: 0 auto 0.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.625rem;
  color: #ffffff;
}
.timeline-step.done .step-dot {
  background: #10b981;
}
.timeline-step.active .step-dot {
  background: var(--brand-orange-600);
  box-shadow: 0 0 0 4px rgba(255, 109, 0, 0.2);
}

/* ─────────────────────────────────────────────────────────────
   11. SITE FOOTER & BOTTOM STYLING
───────────────────────────────────────────────────────────── */
.site-main {
  flex: 1 0 auto;
  width: 100%;
}

.site-footer {
  margin-top: auto;
  width: 100%;
  background: linear-gradient(135deg, var(--brand-blue-950) 0%, var(--brand-blue-900) 50%, #060a28 100%);
  color: #ffffff;
  padding-top: 4rem;
  padding-bottom: 2rem;
  position: relative;
  z-index: 20;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2.5rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-title {
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand-orange-400);
  margin-bottom: 1.15rem;
}

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

.footer-links a {
  color: #c5cae9;
  font-size: 0.75rem;
  transition: all 0.15s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.footer-bottom {
  padding-top: 1.75rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.75rem;
  color: #94a3b8;
}

.footer-bottom a {
  transition: color 0.15s ease;
}

.footer-bottom a:hover {
  color: #ffffff;
}

/* ─────────────────────────────────────────────────────────────
   12. DYNAMIC MOTION & ANIMATION ENGINE (ENTERPRISE GRADE)
───────────────────────────────────────────────────────────── */

/* Single Blog Article Safety - Always Visible */
article.single-post-card,
.single-post-card,
.article-content-body,
.article-content-body * {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

/* A. Scroll Reveal Keyframes & Base Classes */
.reveal-init {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-init.revealed {
  opacity: 1;
  transform: translateY(0);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-left.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1), transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-right.revealed {
  opacity: 1;
  transform: translateX(0);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-scale.revealed {
  opacity: 1;
  transform: scale(1);
}

/* Stagger Delays */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }

/* B. Hero Ambient Motions */
@keyframes float-slow {
  0% { transform: translateY(0px) scale(1); }
  50% { transform: translateY(-16px) scale(1.05); }
  100% { transform: translateY(0px) scale(1); }
}

@keyframes float-reverse {
  0% { transform: translateY(0px) scale(1.05); }
  50% { transform: translateY(16px) scale(1); }
  100% { transform: translateY(0px) scale(1.05); }
}

.hero-glow-1 {
  animation: float-slow 7s ease-in-out infinite alternate;
}
.hero-glow-2 {
  animation: float-reverse 9s ease-in-out infinite alternate;
}

/* C. Shimmer Effect on Buttons */
.btn-orange, .btn-red, .btn-blue, .btn-dark {
  position: relative;
  overflow: hidden;
}
.btn-orange::before, .btn-red::before, .btn-blue::before, .btn-dark::before {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.32), transparent);
  transition: all 0.65s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
}
.btn-orange:hover::before, .btn-red:hover::before, .btn-blue:hover::before, .btn-dark:hover::before {
  left: 160%;
}

/* D. Interactive Card Micro-Interactions */
.service-card {
  position: relative;
}
.service-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--brand-red-600), #0f172a);
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.service-card:hover::after {
  width: 100%;
}

/* E. Live Pulse Radar on Status Indicators & Floating WhatsApp */
@keyframes radar-ripple {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.75); opacity: 0; }
}

.floating-whatsapp::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-xs);
  background-color: inherit;
  z-index: -1;
  animation: radar-ripple 2s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

.live-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-xs);
  background-color: rgba(237, 28, 36, 0.1);
  border: 1px solid rgba(237, 28, 36, 0.25);
  font-size: 0.6875rem;
  font-weight: 800;
  color: var(--brand-red-600);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.live-badge-dot {
  width: 6px;
  height: 6px;
  background-color: var(--brand-red-600);
  border-radius: 0;
  animation: pulse-dot-anim 1.2s infinite;
}

/* F. Dynamic Number Counter Bump Effect */
@keyframes counter-bump {
  0% { transform: scale(1); }
  50% { transform: scale(1.08); color: var(--brand-red-600); }
  100% { transform: scale(1); }
}
.num-bump {
  animation: counter-bump 0.35s ease-out;
}

/* G. Tech Marquee Ticker */
.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee-scroll 24s linear infinite;
}
.marquee-track:hover {
  animation-play-state: paused;
}
@keyframes marquee-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ─────────────────────────────────────────────────────────────
   SCROLL-DRIVEN MOTION & REVEAL SYSTEM
───────────────────────────────────────────────────────────── */
/* Scroll Progress Indicator Bar */
#scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, #dc2626, #ed1c24, #1e293b);
  z-index: 99999;
  transition: width 0.08s linear;
  pointer-events: none;
}

/* Scroll Reveal Base States */
.reveal-init,
[data-reveal],
.reveal-up {
  opacity: 0 !important;
  transform: translateY(36px) scale(0.98);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-left {
  opacity: 0 !important;
  transform: translateX(-40px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-right {
  opacity: 0 !important;
  transform: translateX(40px);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal-scale {
  opacity: 0 !important;
  transform: scale(0.92);
  transition: opacity 0.75s cubic-bezier(0.16, 1, 0.3, 1), transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

/* Revealed Active State */
.revealed,
.reveal-init.revealed,
[data-reveal].revealed,
.reveal-up.revealed,
.reveal-left.revealed,
.reveal-right.revealed,
.reveal-scale.revealed {
  opacity: 1 !important;
  transform: translateY(0) translateX(0) scale(1) !important;
}

/* Stagger Delays for Grid Children */
.delay-100 { transition-delay: 0.08s !important; }
.delay-200 { transition-delay: 0.16s !important; }
.delay-300 { transition-delay: 0.24s !important; }
.delay-400 { transition-delay: 0.32s !important; }
.delay-500 { transition-delay: 0.40s !important; }
.delay-600 { transition-delay: 0.48s !important; }

/* Sticky Header & Navbar Elevation on Scroll */
.site-header-sticky {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background-color: #ffffff;
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transition: box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.3s ease;
  will-change: transform, box-shadow;
}

.site-header-sticky.is-scrolled,
.site-header-sticky.scrolled {
  box-shadow: 0 10px 30px -5px rgba(11, 21, 40, 0.12);
}

.site-header-sticky.is-scrolled .announcement-ribbon,
.site-header-sticky.scrolled .announcement-ribbon {
  max-height: 0 !important;
  opacity: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
  border-bottom: none !important;
  pointer-events: none !important;
  overflow: hidden !important;
}

.site-header-sticky.is-scrolled .site-navbar,
.site-header-sticky.scrolled .site-navbar {
  background-color: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(226, 232, 240, 0.85);
  box-shadow: 0 4px 20px -2px rgba(11, 21, 40, 0.06);
}

.site-header-sticky.is-scrolled .navbar-inner,
.site-header-sticky.scrolled .navbar-inner {
  height: 4.15rem;
}

.site-header-sticky.is-scrolled .site-logo-img,
.site-header-sticky.scrolled .site-logo-img {
  height: 2.45rem;
}

@media (max-width: 639px) {
  .site-header-sticky.is-scrolled .navbar-inner,
  .site-header-sticky.scrolled .navbar-inner {
    height: 3.5rem;
  }
  .site-header-sticky.is-scrolled .site-logo-img,
  .site-header-sticky.scrolled .site-logo-img {
    height: 2.15rem;
  }
}

/* Floating Back-to-Top Button */
#back-to-top-btn {
  position: fixed;
  bottom: 5.5rem;
  right: 1.5rem;
  width: 44px;
  height: 44px;
  border-radius: 4px;
  background-color: #0f172a;
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: bold;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px) scale(0.9);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}
#back-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
}
#back-to-top-btn:hover {
  background-color: var(--brand-red-600);
  transform: translateY(-3px) scale(1.05);
}

/* ─────────────────────────────────────────────────────────────
   LIVE CHAT ATTACHMENTS & MEDIA PREVIEWS
───────────────────────────────────────────────────────────── */
#track-chat-attach-btn:hover {
  background-color: #f3f4f6 !important;
  border-color: #9ca3af !important;
  transform: scale(1.05);
}
#track-chat-attach-btn:active {
  transform: scale(0.95);
}
#track-chat-thread img {
  cursor: zoom-in;
  transition: transform 0.2s ease, opacity 0.2s ease;
}
#track-chat-thread img:hover {
  opacity: 0.95;
}
#track-chat-preview-wrap {
  animation: fadeInDown 0.2s ease-out;
}
@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


/* Eliminate any external injected whitespace/badges below footer */
html {
  margin: 0 !important;
  padding: 0 !important;
}
body {
  margin: 0 !important;
  background-color: var(--bg-page);
}

/* Hide any free-hosting watermarks or scripts rendering after footer */
body > div[style*="text-align: right"],
body > div[style*="position: fixed; bottom: 0"],
body > div[style*="z-index: 9999999"],
body > a[href*="000webhost"],
body > a[href*="hostinger"],
body > a[href*="infinityfree"],
body > div:last-child:not(.site-footer):not(#consultation-modal):not(.floating-whatsapp):not(.mobile-drawer-overlay):not(#mobile-drawer-overlay):not(#back-to-top-btn):not(#scroll-progress-bar) {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
