@import url('https://api.fontshare.com/v2/css?f[]=satoshi@300,400,500,700,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

:root {
  --bg-white: #FFFFFF;
  --bg-black: #002147; /* Elegant Oxford Blue */
  --text-dark: #001530; /* Deep, premium midnight blue instead of black */
  --text-light: #F5F5F5;
  --text-muted-dark: #50627a; /* Refined slate-blue for secondary text on white backgrounds */
  --text-muted-light: #8fa0b5; /* Professional blue-grey for secondary dark text */
  --gold: #777777; /* Redefined to a premium neutral grey accent */
  --border-white: #d0daf2; /* Soft blue-grey border for white backgrounds instead of plain grey */
  --border-black: #133860; /* Subtle navy border for deep blue backgrounds */
  --transition-smooth: all 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  --font-serif: 'Satoshi', sans-serif; /* Satoshi for Headings */
  --font-sans: 'Inter', sans-serif; /* Inter for Body */

  /* Fluid Typography (clamp-based modular scale) */
  --font-size-h1: clamp(32px, 5.5vw, 76px);
  --font-size-h2: clamp(26px, 4vw, 48px);
  --font-size-h3: clamp(20px, 2.5vw, 32px);
  --font-size-h4: clamp(17px, 1.8vw, 22px);
  --font-size-body: clamp(15px, 1.1vw, 17px);
  --font-size-subcopy: clamp(15px, 1.2vw, 19px);

  /* Mobile-first base spacing coordinates (overridden progressively) */
  --section-padding-y: 40px;
  --section-padding-x: 20px;
}

/* ============================================================
   Base Resets & Global Constraints
   ============================================================ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0 !important; /* STRICT: Roundness Reset Rule */
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-white);
  color: var(--text-dark);
  font-family: var(--font-sans);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  overflow-x: hidden;
  position: relative;
}

/* Custom premium scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-black);
}
::-webkit-scrollbar-thumb {
  background: var(--gold);
}

/* Noise overlay on black sections */
.theme-black {
  background-color: var(--bg-black);
  color: var(--text-light);
  position: relative;
}
.theme-black::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.035;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}

.theme-white {
  background-color: var(--bg-white);
  color: var(--text-dark);
}

/* Generous Whitespace Padding - Fluid Mobile First */
section {
  padding: var(--section-padding-y) var(--section-padding-x);
  position: relative;
  overflow: hidden;
}

/* Typography elements */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.01em;
}

h1 { font-size: var(--font-size-h1); }
h2 { font-size: var(--font-size-h2); }
h3 { font-size: var(--font-size-h3); }
h4 { font-size: var(--font-size-h4); }

p, 
.service-desc, 
.value-desc, 
.step-desc, 
.faq-answer-inner, 
.blog-card-excerpt, 
.article-content li {
  text-align: left;
}

p {
  font-family: var(--font-sans);
  line-height: 1.7;
  font-size: var(--font-size-body);
  font-weight: 400;
}

.label-cap {
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  display: block;
  margin-bottom: 16px;
}

/* Logo brand styles */
.logo-container {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}
header.nav-on-black:not(.scrolled) .logo-container {
  color: var(--text-light);
}
.logo-svg, .logo-img {
  width: 65px;
  height: 65px;
  object-fit: contain;
  transition: var(--transition-smooth);
}
.logo-container:hover .logo-svg,
.logo-container:hover .logo-img {
  transform: scale(1.05);
}
header.nav-on-black:not(.scrolled) .logo-img,
footer .logo-img {
  filter: invert(1) brightness(1.5) contrast(2);
}

/* ============================================================
   Navigation & Mobile Hamburger System
   ============================================================ */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 20px;
  z-index: 2000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: var(--transition-smooth);
}

header.scrolled {
  background-color: var(--bg-white);
  padding: 12px 20px;
  border-bottom: 1px solid var(--border-white);
}

header .wordmark {
  font-family: var(--font-serif);
  font-size: 24px;
  font-weight: 400;
  letter-spacing: 0.25em;
  text-decoration: none;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}
header.nav-on-black:not(.scrolled) .wordmark {
  color: var(--text-light);
}

/* Default Mobile States (Hidden Horizontal Menu) */
.nav-links, .nav-cta {
  display: none;
}

/* Mobile Hamburger Toggle */
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: none;
  background: none;
  cursor: pointer;
  z-index: 2000;
  padding: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--text-dark);
  transition: var(--transition-smooth);
}
header.nav-on-black:not(.scrolled) .hamburger span {
  background-color: var(--text-light);
}
.hamburger.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
  background-color: var(--text-light) !important;
}
.hamburger.active span:nth-child(2) {
  opacity: 0;
}
.hamburger.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
  background-color: var(--text-light) !important;
}

/* Premium Full-Screen Mobile Drawer */
.mobile-nav-overlay {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-color: #000c1e !important;
  background-image: radial-gradient(circle at 85% 15%, rgba(56, 189, 248, 0.12) 0%, rgba(0, 0, 0, 0) 55%) !important;
  z-index: 1500;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  padding: 10% 12% !important;
  box-sizing: border-box;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.25, 1, 0.5, 1), visibility 0.6s;
  overflow-y: auto;
}
.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

body.overflow-hidden header {
  z-index: 2100 !important;
  background-color: transparent !important;
  border-color: transparent !important;
  box-shadow: none !important;
}
body.overflow-hidden header .wordmark {
  color: #ffffff !important;
}
body.overflow-hidden header .logo-img {
  filter: brightness(0) invert(1) !important;
}

.mobile-nav-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 520px;
  gap: 10px;
}
.mobile-nav-links li {
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  overflow: hidden;
}
.mobile-nav-links a {
  display: block;
  font-family: var(--font-serif);
  font-size: clamp(28px, 6vw, 44px) !important;
  font-weight: 300;
  color: #ffffff !important;
  text-decoration: none;
  letter-spacing: -0.01em;
  padding: 16px 0 !important;
  transform: translateY(102%);
  transition: transform 0.65s cubic-bezier(0.25, 1, 0.5, 1), color 0.4s ease, padding-left 0.4s ease;
  will-change: transform;
}
.mobile-nav-overlay.active .mobile-nav-links a {
  transform: translateY(0);
}
.mobile-nav-links li:nth-child(1) a { transition-delay: 0.05s; }
.mobile-nav-links li:nth-child(2) a { transition-delay: 0.10s; }
.mobile-nav-links li:nth-child(3) a { transition-delay: 0.15s; }
.mobile-nav-links li:nth-child(4) a { transition-delay: 0.20s; }
.mobile-nav-links li:nth-child(5) a { transition-delay: 0.25s; }
.mobile-nav-links li:nth-child(6) a { transition-delay: 0.30s; }

.mobile-nav-links a:hover {
  color: #38bdf8 !important;
  padding-left: 10px !important;
}

/* Mobile Accordion Submenu Styles */
.mobile-nav-links .mobile-submenu {
  list-style: none;
  padding-left: 20px;
  margin-top: 5px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  border-left: 1px solid rgba(255, 255, 255, 0.08);
}
.mobile-nav-links .mobile-submenu li {
  border-bottom: none;
}
.mobile-nav-links .mobile-submenu a {
  font-size: clamp(16px, 4vw, 24px) !important;
  padding: 12px 0 !important;
  transform: none !important;
  transition: color 0.3s ease;
  opacity: 0.8;
}
.mobile-nav-links .mobile-submenu a:hover {
  color: #38bdf8 !important;
  opacity: 1;
  padding-left: 6px !important;
}
.mobile-nav-links li.mobile-accordion > a {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.mobile-nav-links li.mobile-accordion > a::after {
  content: "+";
  font-family: var(--font-sans);
  font-weight: 300;
  font-size: 24px;
  transition: transform 0.4s ease;
}
.mobile-nav-links li.mobile-accordion.active > a::after {
  transform: rotate(45deg);
}

/* ============================================================
   Desktop Dropdown — Glassmorphism navigation (hidden by default)
   ============================================================ */
.dropdown-trigger {
  position: relative;
  cursor: pointer;
}
.dropdown-menu {
  display: none; /* hidden on mobile view */
}

/* ============================================================
   Heros & Centering Rules (Mobile View)
   ============================================================ */
.hero {
  min-height: auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 20px 60px 20px;
  box-sizing: border-box;
}

.hero-content {
  max-width: 100%;
  text-align: center;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 10;
}

.hero h1 {
  font-size: clamp(28px, 9vw, 52px);
  line-height: 1.1;
  margin-bottom: 20px;
  text-align: center;
}

.hero-subcopy {
  font-size: var(--font-size-subcopy);
  color: var(--text-muted-dark);
  max-width: 100%;
  margin: 0 auto 24px auto;
  text-align: center;
}
.hero.theme-black .hero-subcopy {
  color: var(--text-muted-light);
}

.hero-actions {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  justify-content: center;
  align-items: stretch;
}

.hero-graphic-container {
  display: none; /* Hide hero graphic image below 768px */
}

.hero-watermark {
  display: none; /* Hide watermark on mobile */
}

/* Scrolling Ticker Marquee — visible on all screen sizes */
@keyframes ticker-animation {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.ticker-wrap {
  display: block;
  width: 100%;
  overflow: hidden;
  border-top: 1px solid var(--border-white);
  border-bottom: 1px solid var(--border-white);
  padding: 18px 0;
  background-color: var(--bg-white);
}
.theme-black .ticker-wrap {
  border-color: var(--border-black);
  background-color: var(--bg-black);
}
.ticker {
  display: flex;
  white-space: nowrap;
  animation: ticker-animation 30s linear infinite;
  will-change: transform;
}
.ticker-item {
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  padding: 0 28px;
  flex-shrink: 0;
}

/* Word reveals - ultra-smooth premium text slide and fade */
.word-reveal {
  overflow: hidden;
  display: inline-block;
  vertical-align: bottom;
}
.word-reveal span {
  display: inline-block;
  transform: translateY(35px);
  opacity: 0;
  transition: transform 0.9s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.word-reveal.active span {
  transform: translateY(0);
  opacity: 1;
}

.reveal-up {
  opacity: 0;
  transform: translateY(35px);
  transition: opacity 0.9s cubic-bezier(0.16, 1, 0.3, 1), transform 0.9s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}
.reveal-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.divider-thin {
  height: 1px;
  background-color: var(--border-white);
  width: 100%;
}
.theme-black .divider-thin {
  background-color: var(--border-black);
}

/* ============================================================
   Custom Service, Blog, Contact Cinematic Heros (Mobile First)
   ============================================================ */
.custom-light-hero,
.custom-web-hero,
.custom-blue-wave-hero,
.custom-digital-hero,
.custom-contact-hero,
.custom-blog-hero {
  min-height: 100vh !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px 20px 60px 20px;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.custom-light-hero::before,
.custom-web-hero::before,
.custom-blue-wave-hero::before,
.custom-digital-hero::before,
.custom-blog-hero::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-size: cover;
  background-position: center top 20%;
  background-repeat: no-repeat;
  z-index: 1;
  pointer-events: none;
  opacity: 0.3;
  transition: transform 0.55s cubic-bezier(0.25, 1, 0.5, 1), opacity 0.55s cubic-bezier(0.25, 1, 0.5, 1);
}

.custom-light-hero::before { background-image: url('../images/ai-hero-bg.jpg') !important; }
.custom-web-hero::before { background-image: url('../images/web-hero-bg.jpg') !important; }
.custom-blue-wave-hero::before { background-image: url('../images/blue-wave-bg.jpg') !important; }
.custom-digital-hero::before { 
  background-image: url('../images/digital-hero-bg.jpg') !important; 
  background-position: center top 38% !important;
}
.custom-blog-hero::before { background-image: url('../images/blog-hero-bg.jpg') !important; }

.custom-light-hero .hero-content,
.custom-web-hero .hero-content,
.custom-blue-wave-hero .hero-content,
.custom-digital-hero .hero-content,
.custom-contact-hero .hero-content,
.custom-blog-hero .hero-content {
  max-width: 100%;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 auto;
  position: relative;
  z-index: 10;
}

.custom-hero-title, .custom-web-title, .custom-blue-wave-title, .custom-digital-title {
  font-family: var(--font-serif);
  font-size: clamp(28px, 8vw, 46px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -0.02em;
  color: #0A192F !important;
  margin-bottom: 20px;
  text-align: center;
}

.custom-hero-subtitle, .custom-web-subtitle, .custom-blue-wave-subtitle, .custom-digital-subtitle {
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.8vw, 17px);
  line-height: 1.6;
  color: #4A5568 !important;
  max-width: 100%;
  margin: 0 auto;
  text-align: center;
}

.custom-light-hero:hover::before,
.custom-web-hero:hover::before,
.custom-blue-wave-hero:hover::before,
.custom-digital-hero:hover::before,
.custom-blog-hero:hover::before {
  transform: scale(1.03) translateY(-6px);
  opacity: 0.45;
}

.custom-web-hero .hero-actions,
.custom-digital-hero .hero-actions,
.custom-blue-wave-hero .hero-actions {
  margin-top: 30px;
  width: 100%;
}
.custom-web-hero .hero-actions,
.custom-digital-hero .hero-actions {
  justify-content: center;
}

/* Video Contact Hero and Mountain Blog Hero Blends */
.contact-hero-video {
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  object-fit: cover;
  z-index: 1;
  pointer-events: none;
  opacity: 0.65;
  filter: brightness(0.85) contrast(1.05);
}
.custom-contact-hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; width: 100%; height: 60%;
  background: linear-gradient(to top, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 100%);
  z-index: 2;
  pointer-events: none;
}
.custom-blog-hero::after {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: linear-gradient(to bottom, rgba(12, 18, 28, 0.7) 0%, rgba(12, 18, 28, 0.3) 60%, rgba(12, 18, 28, 1) 100%);
  z-index: 2;
  pointer-events: none;
}

/* ============================================================
   Interactive Elements & Touch Target Enforcements
   ============================================================ */
.btn-premium, .nav-cta, .custom-hero-cta, .filter-btn, .newsletter-form button {
  min-height: 44px; /* Touch target minimum constraint */
}

.btn-premium {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transition: var(--transition-smooth);
  cursor: pointer;
  width: 100%;
}
.btn-premium.filled-dark {
  background-color: var(--text-dark);
  color: var(--bg-white);
  border: 1px solid var(--text-dark);
}
.btn-premium.filled-dark::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--gold);
  z-index: -1;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.btn-premium.filled-dark:hover::before {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.btn-premium.filled-dark:hover {
  color: var(--text-dark);
  border-color: var(--gold);
}

.btn-premium.outline-dark {
  background: transparent;
  color: var(--text-dark);
  border: 1px solid var(--text-dark);
}
.btn-premium.outline-dark::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--text-dark);
  z-index: -1;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.btn-premium.outline-dark:hover::before {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.btn-premium.outline-dark:hover {
  color: var(--bg-white);
}

.btn-premium.filled-white {
  background-color: var(--text-light);
  color: var(--bg-black);
  border: 1px solid var(--text-light);
}
.btn-premium.filled-white::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--gold);
  z-index: -1;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.btn-premium.filled-white:hover::before {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.btn-premium.filled-white:hover {
  color: var(--bg-black);
  border-color: var(--gold);
}

.btn-premium.outline-white {
  background: transparent;
  color: var(--text-light);
  border: 1px solid var(--text-light);
}
.btn-premium.outline-white::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: var(--text-light);
  z-index: -1;
  clip-path: polygon(0 0, 0 0, 0 100%, 0 100%);
  transition: clip-path 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.btn-premium.outline-white:hover::before {
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}
.btn-premium.outline-white:hover {
  color: var(--bg-black);
}

.custom-hero-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  background-color: #0A192F !important;
  color: #FFFFFF !important;
  padding: 16px 24px;
  text-decoration: none;
  border: 1px solid #0A192F;
  transition: all 300ms cubic-bezier(0.25, 1, 0.5, 1);
  box-shadow: 0 4px 6px rgba(10, 25, 47, 0.05);
  width: 100%;
  text-align: center;
}
.custom-hero-cta:hover {
  background-color: #1E3A8A !important;
  border-color: #1E3A8A;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(30, 58, 138, 0.15);
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-light);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 8px 16px;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: var(--transition-smooth);
}
.back-link:hover {
  border-color: var(--text-light);
  background-color: rgba(255, 255, 255, 0.05);
  transform: translateX(-4px);
}

/* ============================================================
   Layout Grids Stacking Rules (Mobile View Default)
   ============================================================ */

/* Services Grid Stack */
.services-rows {
  margin-top: 40px;
  display: flex;
  flex-direction: column;
}
.service-row {
  display: grid;
  grid-template-columns: 1fr; /* Stacks to 1col below 768px */
  gap: 15px;
  padding: 24px 0;
  border-bottom: 1px solid var(--border-black);
  text-decoration: none;
  color: var(--text-light);
  position: relative;
  transition: var(--transition-smooth);
}
.service-row::before {
  content: "";
  position: absolute;
  left: 0; top: 0; width: 0; height: 100%;
  border-left: 2px solid var(--gold);
  transition: var(--transition-smooth);
}
.service-row:hover::before {
  width: 100%;
}
.service-row:hover {
  padding-left: 12px;
  color: #FFFFFF;
}
.service-num {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-muted-light);
  font-weight: 500;
}
.service-title {
  font-size: 22px;
  font-family: var(--font-serif);
}
.service-desc {
  font-size: 14.5px;
  color: var(--text-muted-light);
}
.service-arrow {
  text-align: left;
  font-size: 24px;
  font-family: var(--font-serif);
  color: var(--gold);
  transition: var(--transition-smooth);
}
.service-row:hover .service-arrow {
  transform: translateX(6px);
}

/* Why Zappizo 3-Column Asymmetric Grid Stack */
.asym-grid-3 {
  display: grid;
  grid-template-columns: 1fr; /* Stacks to 1col below 768px */
  gap: 0;
  border-top: 1px solid var(--border-white);
  border-bottom: 1px solid var(--border-white);
  margin-top: 32px;
}
.grid-col {
  padding: 32px 20px;
  border-right: none;
  border-bottom: 1px solid var(--border-white);
  display: flex;
  flex-direction: column;
}
.grid-col:last-child {
  border-bottom: none;
}
.grid-col-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  margin-bottom: 24px;
  border: 1px solid var(--border-white);
}
.grid-col-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.grid-col:hover .grid-col-img {
  transform: scale(1.08);
}
.grid-col h3 {
  font-size: 24px;
  margin-bottom: 16px;
}
.grid-col p {
  color: var(--text-muted-dark);
}

/* Blog grid stacked */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr; /* Stacks to 1col below 768px */
  gap: 20px;
  margin-top: 28px;
}
.blog-card {
  text-decoration: none;
  color: var(--text-dark);
  display: flex;
  flex-direction: column;
  border: 1px solid transparent;
  padding: 20px;
  transition: var(--transition-smooth);
}
.blog-card:hover {
  border-color: var(--gold);
}
.blog-card-tag {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.15em;
  font-weight: 500;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.blog-card h3 {
  font-size: 20px;
  margin-bottom: 10px;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}
.blog-card-excerpt {
  font-size: 14px;
  color: var(--text-muted-dark);
  margin-bottom: 20px;
  line-height: 1.6;
}
.theme-black .blog-card-excerpt {
  color: rgba(255, 255, 255, 0.7) !important;
}
.blog-card-meta {
  font-size: 12px;
  color: var(--text-muted-dark);
}
.theme-black .blog-card-meta {
  color: rgba(255, 255, 255, 0.55) !important;
}
.theme-black .blog-card {
  color: var(--text-light) !important;
  background-color: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.08) !important;
  padding: 20px;
  transition: var(--transition-smooth);
}
.theme-black .blog-card h3 {
  color: #FFFFFF !important;
}
.theme-black .blog-card-tag {
  color: var(--text-muted-light) !important;
}
.theme-black .blog-card:hover {
  border-color: rgba(255, 255, 255, 0.3) !important;
  background-color: rgba(255, 255, 255, 0.06) !important;
  transform: translateY(-4px);
}

/* Values Card Grid Stack */
.values-grid {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr; /* Stacks to 1col below 768px */
  gap: 16px;
}
.value-card {
  display: flex;
  flex-direction: column;
  background-color: var(--bg-white);
  border: 1px solid var(--border-white);
  transition: var(--transition-smooth);
}
.value-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 30px rgba(0, 33, 71, 0.06);
  border-color: var(--text-muted-dark);
}
.value-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  border-bottom: 1px solid var(--border-white);
}
.value-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
}
.value-card:hover .value-img {
  transform: scale(1.08);
}
.value-card-body {
  padding: 24px 20px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.value-card-header {
  display: flex;
  align-items: baseline;
  gap: 12px;
}
.value-card-num {
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-muted-dark);
}
.value-card-name {
  font-family: var(--font-serif);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
}
.value-card-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  line-height: 1.65;
  color: var(--text-muted-dark);
  text-align: left;
}

/* Values rows list stacked */
.values-rows {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--border-white);
}
.theme-black .values-rows {
  border-top: 1px solid var(--border-black);
}
.value-row {
  display: grid;
  grid-template-columns: 1fr; /* Stacks to 1col below 768px */
  gap: 10px;
  padding: 28px 0;
  border-bottom: 1px solid var(--border-white);
  transition: all 400ms cubic-bezier(0.25, 1, 0.5, 1);
}
.theme-black .value-row {
  border-bottom: 1px solid var(--border-black);
}
.value-row:hover {
  padding-left: 10px;
}
.value-num {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--gold);
  font-weight: 500;
}
.value-name {
  font-family: var(--font-serif);
  font-size: 20px;
  color: var(--text-dark);
  font-weight: 300;
  line-height: 1.2;
}
.theme-black .value-name {
  color: var(--text-light);
}
.value-desc {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-muted-dark);
  line-height: 1.65;
}
.theme-black .value-desc {
  color: var(--text-muted-light);
}

/* Footer columns stacked */
footer {
  background-color: var(--bg-black);
  color: var(--text-light);
  padding: 56px 20px 36px 20px;
  border-top: 1px solid var(--border-black);
  position: relative;
  z-index: 10;
}
footer::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  pointer-events: none;
  opacity: 0.035;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr; /* Stacks to 1col below 768px */
  gap: 28px;
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}
.footer-logo {
  font-family: var(--font-serif);
  font-size: 24px;
  letter-spacing: 0.25em;
  color: var(--text-light);
  margin-bottom: 16px;
  display: block;
  text-decoration: none;
}
.footer-about {
  color: var(--text-muted-light);
  max-width: 100%;
  line-height: 1.6;
  font-size: 14px;
  margin-bottom: 16px;
}
.footer-parent {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-muted-light);
}
.footer-col h5 {
  font-family: var(--font-sans);
  font-weight: 500;
  font-size: 12px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.footer-links a {
  text-decoration: none;
  color: var(--text-muted-light);
  font-size: 14px;
  position: relative;
  display: inline-block;
  transition: color 0.35s ease;
}
.footer-links a:hover {
  color: var(--bg-white);
}
.footer-contact-info {
  color: var(--text-muted-light);
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
}
.footer-contact-info a {
  color: var(--text-light);
  text-decoration: none;
  position: relative;
  display: inline-block;
  transition: color 0.35s ease;
}
.footer-contact-info a:hover {
  color: var(--bg-white);
}
.footer-socials {
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-socials a {
  color: var(--text-muted-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.3s ease, transform 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}
.footer-socials a svg {
  width: 20px;
  height: 20px;
  display: block;
  fill: currentColor;
}
.footer-socials a:hover {
  color: var(--bg-white);
  transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
  border-top: 1px solid var(--border-black);
  padding-top: 24px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  position: relative;
  z-index: 2;
}
.footer-copy {
  font-size: 13px;
  color: var(--text-muted-light);
}
.footer-legal a {
  font-size: 13px;
  color: var(--text-muted-light);
  text-decoration: none;
  margin-right: 16px;
  position: relative;
  display: inline-block;
  transition: color 0.35s ease;
}
.footer-legal a:hover {
  color: var(--bg-white);
}
.lexsiya-mention {
  font-size: 11px;
  color: var(--gold);
  letter-spacing: 0.05em;
  margin-top: 12px;
  display: inline-block;
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: var(--transition-smooth);
}
.lexsiya-mention:hover {
  border-color: var(--gold);
}

/* Lexsiya product trio images stack vertically */
.visual-trio {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 10px 0;
  width: 100%;
}
.visual-trio .mockup-frame {
  width: 100% !important;
  position: relative;
  z-index: 2;
  box-shadow: 0 15px 30px rgba(0, 33, 71, 0.1);
  transition: box-shadow 0.4s ease;
}
.visual-trio .phone-right {
  position: relative !important;
  width: 55% !important;
  margin: 0 auto !important;
  bottom: 0 !important;
  z-index: 10;
  filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.15));
}

/* Section Header Stack styling */
.section-header {
  margin-bottom: 32px;
  max-width: 100%;
}
.section-header h2 {
  font-size: clamp(28px, 9vw, 36px);
  line-height: 1.1;
}

/* Manifesto Stack */
.manifesto-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: flex-start;
  position: relative;
  z-index: 10;
}
.manifesto-left-column {
  position: static;
}
.manifesto-quote {
  font-family: var(--font-serif);
  font-size: clamp(24px, 7.5vw, 30px);
  font-style: normal;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.015em;
  color: var(--text-dark);
  border-left: 3px solid var(--text-dark);
  padding-left: 16px;
}
.manifesto-body {
  display: flex;
  flex-direction: column;
}
.manifesto-body p {
  color: var(--text-muted-dark);
  margin-bottom: 20px;
  font-size: 15.5px;
  line-height: 1.7;
}

/* Other layouts stacked default */
.stats-4col {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}
.stat-box h2 {
  font-size: 48px;
  color: var(--text-light);
  line-height: 1;
  margin-bottom: 12px;
}
.stat-box p {
  color: var(--text-muted-light);
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.product-spotlight-inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: center;
}
.product-info h2 {
  font-size: clamp(36px, 10vw, 48px);
  margin-bottom: 12px;
}
.product-tag {
  font-size: 11px;
  letter-spacing: 0.2em;
  font-weight: 500;
  color: var(--gold);
  margin-bottom: 18px;
}
.product-info p {
  color: var(--text-muted-light);
  margin-bottom: 30px;
  max-width: 100%;
}
.product-note {
  font-size: 12px;
  color: var(--text-muted-light);
  margin-top: 18px;
}

.product-showcase {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  align-items: start;
}
.product-showcase-left h2 {
  font-size: clamp(36px, 12vw, 54px);
  line-height: 1.0;
  margin-bottom: 15px;
}
.product-showcase-left p {
  color: var(--text-muted-dark);
  font-size: 16px;
  margin-bottom: 20px;
}

.process-steps {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;
  margin-top: 32px;
}
.process-step {
  border-top: 1px solid var(--border-white);
  padding-top: 24px;
}
.theme-black .process-step {
  border-color: var(--border-black);
}
.step-num {
  font-family: var(--font-serif);
  font-size: 36px;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 12px;
}
.step-title {
  font-family: var(--font-serif);
  font-size: 20px;
  margin-bottom: 12px;
}
.step-desc {
  font-size: 14px;
  color: var(--text-muted-dark);
}
.theme-black .step-desc {
  color: var(--text-muted-light);
}

.outcomes-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  margin-top: 32px;
}
.outcome-box {
  border: 1px solid var(--border-white);
  padding: 28px 20px;
}
.theme-black .outcome-box {
  border-color: var(--border-black);
}
.outcome-box h3 {
  font-size: 28px;
  color: var(--gold);
  margin-bottom: 12px;
}
.outcome-box h4 {
  font-size: 20px;
  margin-bottom: 10px;
}
.outcome-box p {
  color: var(--text-muted-dark);
  font-size: 14.5px;
}
.theme-black .outcome-box p {
  color: var(--text-muted-light);
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  margin-top: 32px;
}
.contact-form {
  display: flex;
  flex-direction: column;
}
.form-fields {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
}
.input-group {
  position: relative;
  width: 100%;
}
.input-field {
  width: 100%;
  border: none;
  border-bottom: 1px solid var(--border-white);
  padding: 14px 0;
  font-family: var(--font-sans);
  font-size: 16px;
  background: transparent;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}
.theme-black .input-field {
  border-color: var(--border-black);
  color: var(--text-light);
}
.input-field:focus {
  outline: none;
  border-color: var(--gold);
}
.input-label {
  position: absolute;
  left: 0;
  top: 14px;
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-muted-dark);
  pointer-events: none;
  transition: var(--transition-smooth);
}
.theme-black .input-label {
  color: var(--text-muted-light);
}
.input-field:focus ~ .input-label,
.input-field:not(:placeholder-shown) ~ .input-label,
select.input-field:valid ~ .input-label {
  top: -10px;
  font-size: 11px;
  color: var(--gold);
}
select.input-field {
  appearance: none;
  cursor: pointer;
}
.input-group:has(select)::after {
  content: "↓";
  position: absolute;
  right: 0;
  top: 14px;
  pointer-events: none;
  color: var(--text-muted-dark);
}
.contact-details {
  border-left: none;
  padding-left: 0;
  border-top: 1px solid var(--border-white);
  padding-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.details-box h4 {
  font-size: 20px;
  margin-bottom: 10px;
}
.details-box p {
  color: var(--text-muted-dark);
}
.details-box a {
  color: var(--gold);
  text-decoration: none;
}

.team-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
  margin-top: 40px;
}
.team-card {
  border: 1px solid var(--border-black);
  padding: 30px;
  transition: var(--transition-smooth);
}
.team-card:hover {
  border-color: var(--gold);
}
.team-name {
  font-family: var(--font-serif);
  font-size: 28px;
  color: var(--text-light);
  margin-bottom: 8px;
}
.team-role {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

/* CSS Mockup Dashboard detail stacked */
.mockup-frame {
  border: 1px solid var(--border-black);
  background-color: #00152e;
  width: 100%;
  aspect-ratio: 1.6;
  display: flex;
  flex-direction: column;
}
.mockup-header {
  height: 35px;
  border-bottom: 1px solid var(--border-black);
  padding: 0 12px;
  display: flex;
  align-items: center;
  gap: 5px;
  background-color: #000f24;
}
.mockup-dot {
  width: 6px;
  height: 6px;
  background-color: var(--border-black);
  border-radius: 50% !important;
}
.mockup-dot:nth-child(1) { background-color: #555; }
.mockup-url {
  margin-left: 12px;
  font-family: var(--font-sans);
  font-size: 9px;
  color: var(--text-muted-light);
  letter-spacing: 0.05em;
}
.mockup-body {
  flex: 1;
  display: grid;
  grid-template-columns: 100px 1fr;
  overflow: hidden;
}
.mockup-sidebar {
  border-right: 1px solid var(--border-black);
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.sidebar-item {
  height: 10px;
  width: 80%;
  background-color: #0a2c54;
}
.sidebar-item.active {
  background-color: var(--gold);
  width: 60%;
}
.mockup-main {
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.mockup-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
.mockup-card {
  border: 1px solid var(--border-black);
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mockup-line {
  height: 6px;
  background-color: #0a2c54;
  width: 100%;
}
.mockup-line-short {
  height: 6px;
  background-color: #0a2c54;
  width: 60%;
}
.mockup-highlight {
  height: 12px;
  background-color: #0a2c54;
  width: 40%;
  border-left: 2px solid var(--gold);
}
.mockup-chart {
  flex: 1;
  border: 1px solid var(--border-black);
  padding: 12px;
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  min-height: 80px;
}
.chart-bar {
  width: 10px;
  background-color: #0a2c54;
  transition: var(--transition-smooth);
}
.chart-bar:nth-child(odd) {
  background-color: var(--gold);
}

/* FAQ Collapsible module styles */
.faq-list {
  max-width: 100%;
  margin: 0 auto;
  margin-top: 40px;
}
.faq-item {
  border-bottom: 1px solid var(--border-white);
  padding: 28px 0;
  transition: var(--transition-smooth);
}
.theme-black .faq-item {
  border-color: var(--border-black);
}
.faq-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  color: inherit;
  padding: 0;
}
.faq-question {
  font-family: var(--font-sans);
  font-size: clamp(17px, 1.8vw, 22px);
  font-weight: 400;
  color: var(--text-dark) !important;
  line-height: 1.4;
  letter-spacing: -0.01em;
  transition: var(--transition-smooth);
}
.faq-icon {
  font-size: 20px;
  font-family: var(--font-sans);
  color: #A0AEC0;
  font-weight: 300;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1), color 0.4s ease;
}
.faq-trigger:hover .faq-question {
  color: var(--text-muted-dark) !important;
}
.faq-trigger:hover .faq-icon {
  color: var(--text-dark);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.25, 1, 0.5, 1);
}
.faq-answer-inner {
  padding-top: 20px;
  font-size: clamp(14px, 1.1vw, 16px);
  color: var(--text-muted-dark);
  line-height: 1.7;
}
.theme-black .faq-answer-inner {
  color: var(--text-muted-light);
}
.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: var(--text-dark);
}

.blog-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.filter-btn {
  background: transparent;
  border: 1px solid var(--border-white);
  padding: 10px 18px;
  font-family: var(--font-sans);
  font-size: 12px;
  font-weight: 500;
  cursor: pointer;
  color: var(--text-dark);
  transition: var(--transition-smooth);
}
.filter-btn:hover, .filter-btn.active {
  background-color: var(--text-dark);
  color: var(--bg-white);
  border-color: var(--text-dark);
}

/* Editorial Blog Post Template */
.article-container {
  max-width: 740px; /* Optimal reading measure (approx 70-75 chars per line) */
  margin: 0 auto;
  padding: 40px 24px; /* Balanced side gutters for responsive viewports */
}
.article-content {
  font-family: var(--font-sans);
  font-size: clamp(16px, 1.05rem + 0.1vw, 18px); /* Fluent body size */
  line-height: 1.85; /* Beautiful, airy line height */
  color: #2D3748; /* Softened dark neutral for high readability without stark contrast */
  letter-spacing: -0.003em;
}
.article-content p {
  margin-bottom: 28px; /* Elegant paragraph spacing to prevent density */
}
.article-content h2, .article-content h3, .article-content h4 {
  font-family: var(--font-serif);
  color: var(--text-dark);
  margin-top: 48px;
  margin-bottom: 20px;
  line-height: 1.25;
  font-weight: 600;
  letter-spacing: -0.02em;
}
.article-content h2 { 
  font-size: clamp(24px, 3.5vw, 32px); /* Premium heading sizes */
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  padding-bottom: 8px;
}
.article-content h3 { 
  font-size: clamp(20px, 2.5vw, 24px); 
}
.article-content h4 { 
  font-size: clamp(18px, 2vw, 20px); 
}
.article-content ul, .article-content ol {
  margin-top: 12px;
  margin-bottom: 28px;
  padding-left: 24px;
}
.article-content li {
  margin-bottom: 12px;
  line-height: 1.8;
}
.article-content strong {
  color: #111111; /* More contrast for bold text in bodies */
  font-weight: 600;
}
.article-content em {
  font-style: italic;
}
.article-pullquote {
  font-family: var(--font-serif);
  font-size: clamp(20px, 2.8vw, 26px);
  font-style: italic;
  color: var(--text-muted-dark);
  line-height: 1.45;
  margin: 40px 0;
  padding-left: 24px;
  border-left: 3px solid var(--gold);
}

/* WhatsApp Floating Widget */
.wa-floating-widget {
  position: fixed;
  bottom: 16px;
  right: 16px;
  background-color: var(--text-dark);
  color: var(--bg-white);
  border: 1px solid var(--border-white);
  padding: 10px 16px;
  font-family: var(--font-sans);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  text-decoration: none;
  z-index: 1200;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  transition: var(--transition-smooth);
}
.wa-floating-widget:hover {
  background-color: var(--bg-white);
  color: var(--text-dark);
  border-color: var(--text-dark);
  transform: translateY(-4px);
}

/* Floating Animations */
@keyframes floatDesktop {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
  100% { transform: translateY(0px); }
}
@keyframes floatPhoneRight {
  0% { transform: translateY(0px) rotate(1deg); }
  50% { transform: translateY(-16px) rotate(-1deg); }
  100% { transform: translateY(0px) rotate(1deg); }
}
@keyframes heroImageFloat {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-9px); }
}
@keyframes watermarkDrift {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-16px); }
}

/* ============================================================
   PROGRESSIVE ENHANCEMENT: Mobile Landscape (min-width: 480px)
   ============================================================ */
@media (min-width: 480px) {
  /* Let CTA buttons align inline side-by-side */
  .hero-actions {
    flex-direction: row;
    justify-content: center;
    width: auto;
  }
  .btn-premium, .custom-hero-cta {
    width: auto !important;
  }

  /* Intermediate grids grid-columns settings */
  .stats-4col {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .values-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ============================================================
   PROGRESSIVE ENHANCEMENT: Tablet View (min-width: 768px)
   ============================================================ */
@media (min-width: 768px) {
  :root {
    --section-padding-y: clamp(60px, 6vw, 90px);
    --section-padding-x: clamp(4%, 5vw, 6%);
  }

  section {
    padding: var(--section-padding-y) var(--section-padding-x);
  }

  /* Restore Split Layout Heros and Centering overrides */
  .hero {
    min-height: 100vh;
    padding: 130px var(--section-padding-x) 100px var(--section-padding-x);
  }
  .hero-content {
    max-width: 900px;
    text-align: left;
    margin: 0;
    align-items: flex-start;
  }
  .hero h1 {
    font-size: clamp(36px, 9vw, 52px);
    text-align: left;
    margin-bottom: 20px;
  }
  .hero-subcopy {
    text-align: left;
    max-width: 580px;
    margin: 0 0 24px 0;
  }
  .hero-actions {
    justify-content: flex-start;
    align-items: center;
  }
  .hero-graphic-container {
    display: block; /* Show hero graphic image above 768px */
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
    overflow: hidden;
  }
  .hero-graphic-container::after {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
      rgba(255, 255, 255, 1) 0%, 
      rgba(255, 255, 255, 0.95) 35%, 
      rgba(255, 255, 255, 0.7) 60%, 
      rgba(255, 255, 255, 0) 100%
    );
    z-index: 2;
  }
  .hero-graphic-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center right;
    opacity: 0.9;
    transition: transform 1.1s cubic-bezier(0.16, 1, 0.3, 1);
    animation: heroImageFloat 9s ease-in-out infinite;
    animation-delay: 1.8s;
    will-change: transform;
  }
  .hero:hover .hero-graphic-img {
    animation: none;
    transform: scale(1.03) translate(-10px, -5px);
  }

  /* Services page split heroes — left-aligned */
  .custom-light-hero, .custom-blue-wave-hero {
    padding: 140px var(--section-padding-x) 80px var(--section-padding-x);
    align-items: flex-start;
    text-align: left;
  }
  .custom-light-hero .hero-content,
  .custom-blue-wave-hero .hero-content {
    max-width: 850px;
    text-align: left;
    align-items: flex-start;
    margin: 0;
  }
  .custom-hero-title, .custom-blue-wave-title {
    font-size: clamp(30px, 8vw, 46px);
    text-align: left;
  }
  .custom-hero-subtitle, .custom-blue-wave-subtitle {
    text-align: left;
    margin: 0;
  }

  /* Services page center-aligned heroes — Web Solutions & Digital Transformation */
  .custom-web-hero, .custom-digital-hero {
    padding: 140px var(--section-padding-x) 80px var(--section-padding-x) !important;
    align-items: center !important;
    text-align: center !important;
  }
  .custom-web-hero .hero-content,
  .custom-digital-hero .hero-content {
    max-width: 850px !important;
    text-align: center !important;
    align-items: center !important;
    margin: 0 auto !important;
  }
  .custom-web-hero h1,
  .custom-digital-hero h1,
  .custom-web-title,
  .custom-digital-title {
    font-size: clamp(30px, 8vw, 46px) !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }
  .custom-web-hero p,
  .custom-digital-hero p,
  .custom-web-subtitle,
  .custom-digital-subtitle {
    text-align: center !important;
    margin: 0 auto !important;
  }
  .custom-web-hero .hero-actions,
  .custom-digital-hero .hero-actions {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    margin-top: 30px !important;
  }

  /* Ticker — pin to bottom of hero section on tablet+ */
  .ticker-wrap {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 24px 0;
    z-index: 10;
  }
  .ticker-item {
    font-size: 13px;
    padding: 0 40px;
  }

  /* Section Header on tablets */
  .section-header h2 {
    font-size: 44px;
  }

  /* Services Grid progressive enhancement to 2col */
  .service-row {
    grid-template-columns: 80px 1.5fr 1fr;
    gap: 20px;
    padding: 30px 0;
  }
  .service-arrow {
    text-align: right;
  }

  /* Values Row enhancement */
  .value-row {
    grid-template-columns: 80px 1.5fr 2fr;
    gap: 20px;
  }
  .value-name {
    font-size: 28px;
  }

  /* Blog Grid enhancement to 2col */
  .blog-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }
  .blog-card h3 {
    font-size: 24px;
  }

  /* Footer Grid enhancement to 2col */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }
  .footer-legal a {
    margin-right: 0;
    margin-left: 20px;
  }

  /* Product spotlight */
  .product-spotlight-inner {
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
  }
  .product-showcase {
    grid-template-columns: 1.2fr 1fr;
    gap: 60px;
  }

  /* Manifesto */
  .manifesto-inner {
    grid-template-columns: 1.15fr 1fr;
    gap: 60px;
  }
  .manifesto-left-column {
    position: sticky;
    top: 150px;
  }
  .manifesto-quote {
    font-size: clamp(28px, 7vw, 36px);
  }

  /* Outcomes & Contact Grids on Tablet */
  .outcomes-grid {
    grid-template-columns: 1fr 1fr;
    gap: 24px;
  }
  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
  }
  .contact-details {
    border-left: 1px solid var(--border-white);
    padding-left: 40px;
    border-top: none;
    padding-top: 0;
  }

  /* Lexsiya overlapping float trio mockups */
  .visual-trio {
    position: relative;
    width: 100%;
    padding: 40px 0 60px 0;
    display: block;
  }
  .visual-trio .mockup-frame {
    width: 82% !important;
    animation: floatDesktop 6s ease-in-out infinite;
  }
  .visual-trio .phone-right {
    position: absolute !important;
    bottom: -30px !important;
    right: -10px !important;
    left: auto !important;
    width: 34% !important;
    margin: 0 !important;
    animation: floatPhoneRight 5.8s ease-in-out infinite;
  }

  /* FAQ Accordion - using global fluid clamp */
  .wa-floating-widget {
    bottom: 20px;
    right: 20px;
    padding: 12px 20px;
  }
}


/* ============================================================
   PROGRESSIVE ENHANCEMENT: Desktop & Small Laptop (min-width: 1024px)
   ============================================================ */
@media (min-width: 1024px) {
  :root {
    --section-padding-y: clamp(80px, 8vw, 130px);
    --section-padding-x: clamp(5%, 6.5vw, 8%);
  }

  /* Display Full Horizontal Header and Hide Hamburger */
  header {
    padding: 30px 8%;
  }
  header.scrolled {
    padding: 18px 8%;
  }
  .hamburger {
    display: none;
  }
  .nav-links {
    display: flex;
    flex: 1;
    justify-content: center;
    gap: 40px;
    list-style: none;
    align-items: center;
  }
  .nav-links a {
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 500;
    color: var(--text-dark);
    position: relative;
    padding: 6px 0;
    transition: var(--transition-smooth);
  }
  header.nav-on-black:not(.scrolled) .nav-links a {
    color: var(--text-light);
  }
  .nav-links a.active::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: var(--gold);
  }

  .nav-cta {
    display: inline-block;
    text-decoration: none;
    font-family: var(--font-sans);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--text-dark);
    padding: 12px 28px;
    border: 1px solid var(--text-dark);
    position: relative;
    background: transparent;
    z-index: 1;
    transition: var(--transition-smooth);
  }
  header.nav-on-black:not(.scrolled) .nav-cta {
    color: var(--text-light);
    border-color: var(--text-light);
  }
  .nav-cta::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 0; height: 100%;
    background: var(--text-dark);
    z-index: -1;
    transition: var(--transition-smooth);
  }
  header.nav-on-black:not(.scrolled) .nav-cta::before {
    background: var(--text-light);
  }
  .nav-cta:hover {
    color: var(--bg-white) !important;
  }
  header.nav-on-black:not(.scrolled) .nav-cta:hover {
    color: var(--bg-black) !important;
  }
  .nav-cta:hover::before {
    width: 100%;
  }

  /* Hero h1 — controlled scale at desktop widths */
  .hero h1 {
    font-size: clamp(28px, 3.5vw, 52px);
  }

  /* Frosted Glass Dropdown Navigation */
  .dropdown-menu {
    display: flex;
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(12px) scale(0.98);
    background: linear-gradient(
      to bottom,
      rgba(255, 255, 255, 0.92) 0px,
      rgba(255, 255, 255, 0.60) 4px,
      rgba(255, 255, 255, 0.70) 100%
    ) !important;
    backdrop-filter: blur(28px) saturate(200%) brightness(1.05) !important;
    -webkit-backdrop-filter: blur(28px) saturate(200%) brightness(1.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.9) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.98) !important;
    border-radius: 16px !important;
    width: 480px;
    padding: 12px !important;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    box-shadow:
      0 8px 32px rgba(0, 21, 48, 0.14),
      0 2px 8px rgba(0, 21, 48, 0.08),
      0 0 0 1px rgba(255, 255, 255, 0.6) inset,
      0 1px 0 rgba(255, 255, 255, 0.95) inset !important;
    transition:
      transform 0.45s cubic-bezier(0.16, 1, 0.3, 1),
      opacity 0.45s cubic-bezier(0.16, 1, 0.3, 1),
      visibility 0.45s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 1001;
    list-style: none;
    flex-direction: column;
    gap: 4px;
    overflow: hidden;
  }
  .dropdown-menu::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    opacity: 0.025;
    border-radius: 16px !important;
    z-index: 0;
  }
  .dropdown-trigger:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0) scale(1);
  }
  .dropdown-trigger::after {
    content: "";
    position: absolute;
    top: 100%;
    left: -20%;
    width: 140%;
    height: 22px;
  }

  .dropdown-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 13px 14px !important;
    border-radius: 10px !important;
    text-decoration: none;
    background: transparent;
    position: relative;
    z-index: 1;
    transition:
      background 0.28s cubic-bezier(0.16, 1, 0.3, 1),
      transform 0.28s cubic-bezier(0.16, 1, 0.3, 1),
      box-shadow 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  }
  .dropdown-item .item-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 33, 71, 0.07);
    border: 1px solid rgba(0, 33, 71, 0.1);
    border-radius: 10px !important;
    color: var(--bg-black);
    transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
  }
  .dropdown-item .item-icon svg {
    width: 19px;
    height: 19px;
    stroke: currentColor;
    stroke-width: 1.6;
  }
  .dropdown-item .item-text {
    display: flex;
    flex-direction: column;
    gap: 3px;
    flex-grow: 1;
    text-align: left;
  }
  .dropdown-item .item-title {
    font-family: var(--font-sans);
    font-size: 14px;
    font-weight: 600;
    color: #001530 !important;
    letter-spacing: -0.01em;
    transition: color 0.28s ease;
  }
  .dropdown-item .item-desc {
    font-family: var(--font-sans);
    font-size: 11.5px;
    line-height: 1.5;
    color: #4a6080 !important;
    font-weight: 400;
  }
  .dropdown-item .item-arrow {
    width: 22px;
    height: 22px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #001530;
    opacity: 0;
    transform: translateX(-6px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    flex-shrink: 0;
  }
  .dropdown-item .item-arrow svg {
    width: 13px;
    height: 13px;
    stroke-width: 2.2;
  }
  .dropdown-item:hover {
    background: rgba(0, 33, 71, 0.055) !important;
    transform: translateX(3px);
    box-shadow:
      0 1px 3px rgba(0, 33, 71, 0.06),
      0 0 0 1px rgba(0, 33, 71, 0.07) inset;
  }
  .dropdown-item:hover .item-icon {
    background: rgba(0, 33, 71, 0.12) !important;
    border-color: rgba(0, 33, 71, 0.2) !important;
    color: var(--bg-black) !important;
    box-shadow: 0 2px 8px rgba(0, 33, 71, 0.12);
  }
  .dropdown-item:hover .item-title {
    color: var(--bg-black) !important;
  }
  .dropdown-item:hover .item-arrow {
    opacity: 1;
    transform: translateX(0);
    color: var(--bg-black) !important;
  }

  /* Centered Watermark */
  .hero-watermark {
    display: block;
    position: absolute;
    right: 0%;
    bottom: 0%;
    font-family: var(--font-serif);
    font-size: 70vh;
    font-weight: 300;
    line-height: 1;
    color: #F4F4F4;
    user-select: none;
    pointer-events: none;
    z-index: 1;
  }

  /* Section Header on Desktops */
  .section-header h2 {
    font-size: 72px;
  }

  /* Upgrade layout columns side-by-side */
  .services-rows {
    margin-top: 60px;
  }
  .service-row {
    grid-template-columns: 80px 1.5fr 2fr 80px; /* 4col layout */
    padding: 40px 0;
  }
  .service-arrow {
    text-align: right;
  }
  .service-row:hover {
    padding-left: 24px;
  }

  /* Asymmetric 3col Grid */
  .asym-grid-3 {
    grid-template-columns: 1fr 1fr 1fr; /* 3col layout */
    margin-top: 60px;
  }
  .grid-col {
    padding: 60px 40px;
    border-right: 1px solid var(--border-white);
    border-bottom: none;
  }
  .grid-col:last-child {
    border-right: none;
  }
  .grid-col-img-wrap {
    margin-bottom: 30px;
  }
  .grid-col h3 {
    font-size: 32px;
  }

  /* Blog 3col Grid */
  .blog-grid {
    grid-template-columns: 1fr 1fr 1fr; /* 3col layout */
    margin-top: 60px;
  }
  .blog-card {
    padding: 30px;
  }
  .theme-black .blog-card {
    padding: 30px;
  }
  .blog-card h3 {
    font-size: 32px;
  }
  .blog-filter {
    margin-bottom: 50px;
  }

  /* Footer 4col Grid */
  .footer-grid {
    grid-template-columns: 2fr 1fr 1fr 1.5fr; /* 4col layout */
    margin-bottom: 80px;
  }
  .footer-bottom {
    padding-top: 30px;
  }
  .footer-logo {
    font-size: 32px;
  }

  /* Values & Outcomes & Processes 3col / 4col layouts */
  .values-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    margin-top: 60px;
  }
  .value-card-body {
    padding: 30px 24px;
  }
  .value-card-name {
    font-size: 28px;
  }
  .value-card:hover {
    transform: translateY(-8px);
  }

  .outcomes-grid {
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 60px;
  }
  .outcome-box {
    padding: 50px 40px;
  }
  .outcome-box h3 {
    font-size: 40px;
  }
  .outcome-box h4 {
    font-size: 24px;
  }

  .contact-grid {
    grid-template-columns: 1.2fr 1fr;
    gap: 80px;
  }
  .contact-details {
    padding-left: 60px;
  }

  .process-steps {
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    margin-top: 60px;
  }
  .process-step {
    padding-top: 30px;
  }

  .stats-4col {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  }
  .stat-box h2 {
    font-size: 80px;
  }

  .team-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .team-card {
    padding: 40px;
  }

  /* Mockup sidebar progressive sizes */
  .mockup-body {
    grid-template-columns: 180px 1fr;
  }
  .mockup-sidebar {
    padding: 20px;
    gap: 12px;
  }
  .sidebar-item {
    height: 12px;
  }
  .mockup-main {
    padding: 25px;
    gap: 20px;
  }
  .mockup-grid {
    grid-template-columns: 1fr 1fr 1fr;
    gap: 15px;
  }
  .mockup-card {
    padding: 15px;
    gap: 10px;
  }
  .mockup-line {
    height: 8px;
  }
  .mockup-line-short {
    height: 8px;
  }
  .mockup-highlight {
    height: 16px;
  }
  .mockup-chart {
    padding: 20px;
    min-height: 100px;
  }
  .chart-bar {
    width: 15px;
  }

  /* Lexsiya floating image overlays */
  .visual-trio .phone-right {
    bottom: -50px !important;
    right: -20px !important;
    left: auto !important;
    width: 32% !important;
  }

  /* Article pull quotes */
  .article-pullquote {
    font-size: 32px;
    margin: 50px -40px;
    padding-left: 40px;
  }
  .article-container {
    padding: 80px 0;
  }

  /* Lexsiya custom showcase desktop proportion */
  .lx-showcase-section .product-showcase {
    grid-template-columns: 1fr 1.4fr;
    gap: 80px;
  }
}

/* ============================================================
   OVERRIDE: Small Desktop (1024px – 1400px)
   Must come AFTER the general 1024px+ block to cascade properly.
   Fixes nav/logo overlap and reduces grid columns at this size.
   ============================================================ */
@media (min-width: 1024px) and (max-width: 1400px) {
  /* Nav: reduce font size, gap, and CTA to prevent logo overlap */
  .nav-links {
    gap: 20px;
  }
  .nav-links a {
    font-size: 13px;
    padding: 4px 0;
  }
  .nav-cta {
    padding: 8px 16px;
    font-size: 11px;
    letter-spacing: 0.06em;
  }

  /* Downscale 4col grids → 2col */
  .service-row {
    grid-template-columns: 80px 1.5fr 1fr;
    padding: 30px 0;
  }
  .blog-grid {
    grid-template-columns: 1fr 1fr;
  }
  .asym-grid-3 {
    grid-template-columns: 1fr 1fr;
  }
  .grid-col:last-child {
    border-right: none;
  }
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
    gap: 30px;
  }
  .process-steps {
    grid-template-columns: 1fr 1fr;
  }
  .outcomes-grid {
    grid-template-columns: 1fr 1fr;
  }
  .stats-4col {
    grid-template-columns: 1fr 1fr;
  }
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }

  /* Dropdown narrower at this range */
  .dropdown-menu {
    width: 420px;
  }

  /* Lexsiya showcase: equalize columns */
  .lx-showcase-section .product-showcase {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}

/* ============================================================
   RESPONSIVE UTILITY CLASSES
   Replace inline hardcoded padding that breaks mobile layouts.
   ============================================================ */

/* CTA / Newsletter-style sections with generous breathing room */
.section-cta {
  padding: clamp(60px, 10vw, 160px) clamp(20px, 6vw, 8%);
  text-align: center;
}

/* Manifesto / About split sections with extra top breathing room */
.section-editorial {
  padding: clamp(50px, 8vw, 100px) clamp(20px, 6vw, 8%);
}

/* Blog article hero sections */
.blog-article-hero {
  min-height: 70vh;
  padding-top: clamp(100px, 14vw, 160px);
  padding-bottom: clamp(40px, 6vw, 80px);
}

/* Blog card footer with flex-wrap for mobile */
.blog-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-white);
  padding-top: 20px;
  font-size: 12px;
  flex-wrap: wrap;
  gap: 8px;
}
.theme-black .blog-card-footer {
  border-color: var(--border-black);
}

/* Featured blog card footer variant */
.blog-card-footer.featured {
  padding-top: 25px;
}

/* Scoped larger manifesto quote for Home Page About Us section */
#about .manifesto-quote {
  font-size: clamp(28px, 8vw, 36px) !important;
}
@media (min-width: 768px) {
  #about .manifesto-quote {
    font-size: clamp(36px, 4.5vw, 54px) !important;
  }
}
