/* ==========================================================================
   SIGN POINT LLC — Design System & Main Stylesheet
   Theme: Contemporary Creative Agency (Dubai, UAE)
   Palette derived authentically from the official company logo:
   - Primary Crimson: #C02026
   - Brand Accent: #EAD3D3
   ========================================================================== */

/* --- Custom Brand Font: Asgard Trial (Wide Bold) --- */
@font-face {
  font-family: 'Asgard Trial';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Asgard Trial Wide Bold'),
       local('Asgard Trial'),
       local('AsgardTrial-WideBold'),
       url('../assets/fonts/AsgardTrial-WideBold.woff') format('woff'),
       url('../assets/fonts/AsgardTrial-WideBold.ttf') format('truetype'),
       url('https://fonts.cdnfonts.com/s/73827/AsgardTrial-WideBold.woff') format('woff');
}

@font-face {
  font-family: 'Asgard';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: local('Asgard Wide Bold'),
       local('Asgard'),
       local('Asgard-WideBold'),
       url('../assets/fonts/AsgardTrial-WideBold.woff') format('woff'),
       url('../assets/fonts/AsgardTrial-WideBold.ttf') format('truetype'),
       url('https://fonts.cdnfonts.com/s/73827/AsgardTrial-WideBold.woff') format('woff');
}

/* --- CSS Variables & Design Tokens --- */
:root {
  --font-logo: 'Asgard Trial', 'Asgard', 'Space Grotesk', sans-serif;
  /* Brand Core Colors (Direct from Logo Vector Extraction) */
  --color-primary: #C02026;
  --color-primary-dark: #9E161B;
  --color-primary-darker: #7D0E12;
  --color-primary-light: #DE363D;
  --color-primary-subtle: rgba(192, 32, 38, 0.08);
  --color-primary-glow: rgba(192, 32, 38, 0.28);
  
  /* Brand Accent & Rose Platinum */
  --color-accent: #EAD3D3;
  --color-accent-light: #F7EFEF;
  --color-accent-subtle: rgba(234, 211, 211, 0.15);

  /* Tone Foundations (Bright Red & White Theme) */
  --color-dark-bg: #FFFFFF;
  --color-dark-surface: #F8F9FA;
  --color-dark-card: #FFFFFF;
  --color-dark-border: #E5E7EB;
  --color-dark-hover: #FFF5F5;

  /* Light Tone Foundations */
  --color-light-bg: #FFFFFF;
  --color-light-surface: #F8F9FA;
  --color-light-card: #FFFFFF;
  --color-light-border: #E5E7EB;
  --color-light-muted: #6B7280;

  /* Typography Colors */
  --text-dark: #1F2937;
  --text-dark-body: #374151;
  --text-light: #FFFFFF;
  --text-light-body: #D1D5DB;
  --text-muted: #9CA3AF;

  /* Status Colors */
  --color-success: #10B981;
  --color-success-bg: rgba(16, 185, 129, 0.12);
  --color-warning: #F59E0B;
  --color-whatsapp: #25D366;
  --color-whatsapp-dark: #1EBE5D;

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;

  /* Spacing Scale */
  --space-2xs: 0.25rem;
  --space-xs: 0.5rem;
  --space-sm: 0.75rem;
  --space-md: 1rem;
  --space-lg: 1.5rem;
  --space-xl: 2rem;
  --space-2xl: 3rem;
  --space-3xl: 4.5rem;
  --space-4xl: 6rem;

  /* Layout & Containers */
  --container-max: 1240px;
  --container-narrow: 920px;
  --header-height: 84px;
  --header-height-scrolled: 72px;

  /* Elevation & Shadows */
  --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.05);
  --shadow-sm: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.04);
  --shadow-md: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -4px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 20px 25px -5px rgba(0, 0, 0, 0.12), 0 8px 10px -6px rgba(0, 0, 0, 0.06);
  --shadow-xl: 0 25px 50px -12px rgba(0, 0, 0, 0.22);
  --shadow-primary: 0 10px 25px -5px rgba(192, 32, 38, 0.35);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 180ms ease;
  --transition-base: 280ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 450ms cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  font-size: 16px;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  width: 100%;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-dark-body);
  background-color: var(--color-light-bg);
  overflow-x: clip;
  width: 100%;
  position: relative;
}

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

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

button, input, select, textarea {
  font: inherit;
  color: inherit;
}

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

ul, ol {
  list-style: none;
}

/* Accessible Skip Link */
.skip-link {
  position: absolute;
  top: -100px;
  left: 1rem;
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top var(--transition-fast);
}
.skip-link:focus {
  top: 1rem;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

h1 { font-size: clamp(2.25rem, 5vw, 3.75rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 2.75rem); }
h3 { font-size: clamp(1.35rem, 2.5vw, 1.85rem); }
h4 { font-size: 1.25rem; font-weight: 600; }
h5 { font-size: 1.1rem; font-weight: 600; }

p {
  margin-bottom: 1.25rem;
}
p:last-child {
  margin-bottom: 0;
}

.lead-text {
  font-size: 1.15rem;
  line-height: 1.7;
  color: #4B5563;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-primary);
  margin-bottom: 0.875rem;
}

.section-label::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background-color: var(--color-primary);
}

.text-center { text-align: center; }
.text-center .section-label::after {
  content: '';
  display: inline-block;
  width: 14px;
  height: 2px;
  background-color: var(--color-primary);
}

.section-title {
  margin-bottom: 1.25rem;
}

.section-desc {
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  color: #4B5563;
  font-size: 1.075rem;
}

/* --- Layout Containers --- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  width: 100%;
  max-width: var(--container-narrow);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section-padding {
  padding-top: var(--space-4xl);
  padding-bottom: var(--space-4xl);
}

.section-padding-sm {
  padding-top: var(--space-3xl);
  padding-bottom: var(--space-3xl);
}

/* Section Surface Variant */
.section-dark {
  background-color: var(--color-light-surface);
  color: var(--text-dark-body);
}
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 {
  color: var(--text-dark);
}
.section-dark .section-desc {
  color: #4B5563;
}
.section-dark .section-label {
  color: var(--color-primary);
}
.section-dark .section-label::before,
.section-dark .section-label::after {
  background-color: var(--color-primary);
}

/* Light Surface Variant */
.section-surface {
  background-color: var(--color-light-surface);
}

/* --- Top Utility Bar (Dubai Contact Strip - Signature Red & White) --- */
.topbar {
  background-color: var(--color-primary);
  color: #FFFFFF;
  font-size: 0.8125rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.45rem 0;
  display: block;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

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

.topbar-item {
  color: rgba(255, 255, 255, 0.9);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: color var(--transition-fast);
}

.topbar-item:hover {
  color: #FFFFFF;
}

.topbar-item svg {
  width: 14px;
  height: 14px;
  color: #FFFFFF;
  flex-shrink: 0;
}

.topbar-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.15rem 0.6rem;
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 600;
}

/* --- Navigation Header --- */
.site-header {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 1005;
  border-bottom: 1px solid rgba(192, 32, 38, 0.12);
  transition: background-color var(--transition-base), box-shadow var(--transition-base), height var(--transition-base);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.site-header.scrolled {
  background-color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(192, 32, 38, 0.08);
}

/* Header styling - unified editorial light background across home and all pages */
body.home-page .site-header,
body.home-page .ed-header,
body.editorial-theme .site-header,
body.editorial-theme .ed-header {
  background-color: rgba(244, 242, 243, 0.94);
  border-bottom: 1px solid var(--ed-border);
}

body.home-page .site-header.scrolled,
body.home-page .ed-header.scrolled,
body.editorial-theme .site-header.scrolled,
body.editorial-theme .ed-header.scrolled {
  background-color: rgba(244, 242, 243, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

body.home-page .brand-name {
  color: var(--text-dark);
}

body.home-page .brand-tagline {
  color: var(--color-light-muted);
}

body.home-page .nav-link {
  color: #374151;
}

body.home-page .nav-link:hover,
body.home-page .nav-link.active {
  color: var(--color-primary);
}

body.home-page .mobile-toggle {
  background: #F3F4F6;
  border-color: #E5E7EB;
}

body.home-page .mobile-toggle span {
  background-color: var(--text-dark);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-height);
  transition: height var(--transition-base);
}

.site-header.scrolled .header-container {
  height: var(--header-height-scrolled);
}

/* Logo Brand Lockup */
.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.875rem;
  text-decoration: none;
  position: relative;
  z-index: 1002;
}

.brand-logo-img {
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 3px 8px rgba(192, 32, 38, 0.25);
  transition: transform var(--transition-fast);
}

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

.brand-text-wrap {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-family: 'Asgard Trial', 'Asgard', var(--font-logo), var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  color: var(--text-dark);
  line-height: 1.1;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.brand-name .llc-tag {
  font-size: 0.725rem;
  font-weight: 800;
  color: var(--color-primary);
  background: var(--color-primary-subtle);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.brand-tagline {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-light-muted);
  margin-top: 0.15rem;
}

/* Desktop Navigation Menu */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 600;
  color: #374151;
  padding: 0.5rem 0.25rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--color-primary);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-primary);
}

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

.nav-link.active {
  color: var(--color-primary);
}

/* Header Action Buttons */
.header-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  cursor: pointer;
  z-index: 1002;
  transition: background var(--transition-fast);
}

.mobile-toggle:hover {
  background: #E5E7EB;
}

.mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--text-dark);
  margin: 3px 0;
  transition: transform var(--transition-base), opacity var(--transition-fast);
  border-radius: 2px;
}

.mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -100%;
  width: 100%;
  max-width: 360px;
  height: 100vh;
  background: #FFFFFF;
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 1001;
  padding: 6rem 2rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: right var(--transition-slow);
  overflow-y: auto;
}

.mobile-drawer.is-open {
  right: 0;
}

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(192, 32, 38, 0.22);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: opacity var(--transition-base), visibility var(--transition-base);
}

.drawer-backdrop.is-visible {
  opacity: 1;
  visibility: visible;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--text-dark);
  padding: 0.75rem 0.5rem;
  border-bottom: 1px solid #F3F4F6;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mobile-nav-link.active {
  color: var(--color-primary);
  font-weight: 800;
  border-left: 3px solid var(--color-primary);
  padding-left: 0.85rem;
  background: rgba(192, 32, 38, 0.05);
}

.mobile-nav-link:hover {
  color: var(--color-primary);
}

.mobile-drawer-bottom {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E5E7EB;
}

.mobile-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.875rem;
  color: #4B5563;
  margin-bottom: 1.25rem;
}

.mobile-contact-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.mobile-contact-item svg {
  width: 16px;
  height: 16px;
  color: var(--color-primary);
}

/* --- Buttons & UI Elements --- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-heading);
  font-size: 0.9375rem;
  font-weight: 700;
  padding: 0.85rem 1.65rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-base);
  text-align: center;
  white-space: nowrap;
  line-height: 1.2;
}

.btn svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.btn:hover svg {
  transform: translateX(3px);
}

/* Button Variants */
.btn-primary {
  background-color: var(--color-primary);
  color: #FFFFFF;
  border: 1px solid var(--color-primary);
  box-shadow: 0 4px 14px rgba(192, 32, 38, 0.35);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background-color: var(--color-primary-dark);
  border-color: var(--color-primary-dark);
  box-shadow: 0 6px 20px rgba(192, 32, 38, 0.45);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--text-dark);
  border: 1.5px solid #D1D5DB;
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background-color: #F9FAFB;
  border-color: var(--text-dark);
  color: var(--text-dark);
  transform: translateY(-2px);
}

.btn-secondary-light {
  background-color: rgba(255, 255, 255, 0.12);
  color: #FFFFFF;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
}

.btn-secondary-light:hover,
.btn-secondary-light:focus-visible {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: var(--text-dark);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background-color: var(--color-whatsapp);
  color: #FFFFFF;
  border: 1px solid var(--color-whatsapp);
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp:hover,
.btn-whatsapp:focus-visible {
  background-color: var(--color-whatsapp-dark);
  border-color: var(--color-whatsapp-dark);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
}

.btn-sm {
  font-size: 0.8125rem;
  padding: 0.6rem 1.15rem;
}

.btn-lg {
  font-size: 1.05rem;
  padding: 1rem 2.15rem;
}

.btn-full {
  width: 100%;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
}

.badge-primary {
  background: var(--color-primary-subtle);
  color: var(--color-primary);
  border: 1px solid rgba(192, 32, 38, 0.2);
}

.badge-accent {
  background: rgba(234, 211, 211, 0.25);
  color: #8C1C22;
  border: 1px solid rgba(192, 32, 38, 0.15);
}

.badge-dark {
  background: var(--color-primary);
  color: #FFFFFF;
  border: 1px solid var(--color-primary);
}

/* --- Hero Section (Signature Red & White Theme) --- */
.hero-ref {
  position: relative;
  background-color: #FFFFFF;
  color: var(--text-dark);
  padding: 4.5rem 0 6rem;
  overflow: hidden;
  min-height: 88vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-bottom: 1px solid rgba(192, 32, 38, 0.08);
}

/* Background Subtle Gradient & Grid */
.hero-ref::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 15% 20%, rgba(192, 32, 38, 0.04) 0%, transparent 50%),
              radial-gradient(circle at 85% 70%, rgba(192, 32, 38, 0.07) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

/* Left Concentric Line-Art Watermark */
.hero-watermark-left {
  position: absolute;
  left: -90px;
  top: 8%;
  width: 440px;
  height: 720px;
  pointer-events: none;
  z-index: 1;
  opacity: 0.12;
}

.hero-watermark-left svg {
  width: 100%;
  height: 100%;
}

/* Hero Content Wrapper - Centered Layout */
.hero-ref-container {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 4.5rem 1.5rem 5.5rem;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

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

.hero-ref-eyebrow {
  display: inline-flex;
  align-items: center;
  align-self: center;
  gap: 0.55rem;
  padding: 0.4rem 1.15rem;
  background: rgba(192, 32, 38, 0.08);
  border: 1px solid rgba(192, 32, 38, 0.22);
  border-radius: var(--radius-pill);
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin: 0 auto 1.35rem;
}

.hero-ref-eyebrow .eyebrow-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 8px rgba(192, 32, 38, 0.4);
}

/* Main Headline */
.hero-ref-title {
  font-family: var(--font-heading);
  font-size: clamp(2.35rem, 4.6vw, 4.1rem);
  font-weight: 800;
  color: var(--text-dark);
  text-transform: uppercase;
  letter-spacing: -0.015em;
  line-height: 1.1;
  margin-bottom: 0.85rem;
  text-align: center;
  width: 100%;
}

/* Category Subtitle */
.hero-ref-categories {
  font-family: var(--font-heading);
  font-size: clamp(0.85rem, 1.4vw, 1.15rem);
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 0.75rem;
  width: 100%;
}

.hero-ref-categories span.bullet {
  color: var(--color-primary);
  font-size: 1.1em;
  line-height: 1;
}

.hero-ref-categories .cat-pill {
  color: var(--color-primary);
}

/* Paragraph Description */
.hero-ref-desc {
  font-size: clamp(0.95rem, 1.3vw, 1.08rem);
  line-height: 1.75;
  color: #4B5563;
  margin: 0 auto 2.25rem;
  max-width: 820px;
  font-weight: 400;
  text-align: center;
  width: 100%;
}

/* Action Group: Pill Primary Button + Secondary Outline Button */
.hero-ref-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.15rem;
  margin-bottom: 1.25rem;
  width: 100%;
}

.btn-ref-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: linear-gradient(135deg, #DE363D 0%, #C02026 60%, #A6161B 100%);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.95rem 2.2rem;
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 24px rgba(192, 32, 38, 0.35);
  transition: all var(--transition-fast);
  border: 1px solid rgba(255, 255, 255, 0.15);
  text-decoration: none;
}

.btn-ref-pill:hover {
  background: linear-gradient(135deg, #FF4750 0%, #DE363D 60%, #C02026 100%);
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 12px 30px rgba(192, 32, 38, 0.5);
  color: #FFFFFF;
}

.btn-ref-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #FFFFFF;
  color: var(--color-primary);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.95rem 1.65rem;
  border-radius: var(--radius-pill);
  border: 2px solid var(--color-primary);
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

.btn-ref-outline:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192, 32, 38, 0.25);
}

.hero-ref-prompt {
  margin-bottom: 1.5rem;
  text-align: center;
  width: 100%;
}

.hero-ref-italic {
  font-size: 0.95rem;
  font-style: italic;
  color: #6B7280;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* Micro Highlights Trust Bar */
.hero-ref-highlights {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  padding-top: 1.35rem;
  border-top: 1px solid rgba(192, 32, 38, 0.12);
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
}

.hero-highlight-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.825rem;
  font-weight: 600;
  color: #4B5563;
  letter-spacing: 0.02em;
}

@media (max-width: 992px) {
  .hero-ref {
    padding: 3rem 0 4rem;
  }
  .hero-ref-container {
    padding: 2rem 1.5rem 3rem;
  }
  .hero-ref-content {
    max-width: 100%;
  }
  .hero-watermark-left {
    opacity: 0.06;
    width: 240px;
    left: -120px;
  }
}

@media (max-width: 640px) {
  .hero-ref-cta-group {
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0.75rem;
  }
  .hero-ref-cta-group .btn-ref-pill,
  .hero-ref-cta-group .btn-ref-outline {
    width: 100%;
    max-width: 320px;
  }
  .hero-ref-highlights {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
  }
}


/* --- Page Hero Banner (Inner Pages - Red & White Theme) --- */
.page-hero {
  position: relative;
  background-color: #FFFFFF;
  background: linear-gradient(180deg, #FFFFFF 0%, #FFF5F5 100%);
  color: var(--text-dark);
  padding: 4.5rem 0 4rem;
  overflow: hidden;
  border-bottom: 1px solid rgba(192, 32, 38, 0.12);
}

.page-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at top right, rgba(192, 32, 38, 0.08) 0%, transparent 60%);
  z-index: 1;
}

.page-hero-content {
  position: relative;
  z-index: 2;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #6B7280;
  margin-bottom: 1rem;
}

.breadcrumb a {
  color: #4B5563;
}
.breadcrumb a:hover {
  color: var(--color-primary);
}

.breadcrumb .separator {
  color: #9CA3AF;
}

.breadcrumb .current {
  color: var(--color-primary);
  font-weight: 600;
}

.page-hero-title {
  color: var(--text-dark);
  margin-bottom: 1rem;
}

.page-hero-desc {
  max-width: 680px;
  color: #4B5563;
  font-size: 1.125rem;
  line-height: 1.6;
  margin-bottom: 0;
}

/* --- Cards Grid & Styles --- */
.grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

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

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2.5rem;
  align-items: center;
}

/* Service Card (Home & Overview) */
.service-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-sm);
  position: relative;
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 32, 38, 0.3);
  box-shadow: 0 16px 32px -8px rgba(192, 32, 38, 0.15);
}

.service-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: #F8F9FA;
}

.service-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.service-card:hover .service-card-media img {
  transform: scale(1.08);
}

.service-card-icon-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  width: 44px;
  height: 44px;
  background: #FFFFFF;
  border: 1px solid rgba(192, 32, 38, 0.22);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(192, 32, 38, 0.15);
  z-index: 2;
}

.service-card-icon-badge svg {
  width: 22px;
  height: 22px;
  color: var(--color-primary);
}

.service-card-body {
  padding: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.service-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
  transition: color var(--transition-fast);
}

.service-card:hover .service-card-title {
  color: var(--color-primary);
}

.service-card-text {
  font-size: 0.9375rem;
  color: #4B5563;
  margin-bottom: 1.5rem;
  flex-grow: 1;
}

.service-card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: auto;
}

.service-card-link svg {
  width: 16px;
  height: 16px;
  transition: transform var(--transition-fast);
}

.service-card:hover .service-card-link svg {
  transform: translateX(4px);
}

/* --- Workflow / Process Section --- */
.workflow-step-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  padding: 2.25rem 1.75rem;
  position: relative;
  transition: all var(--transition-base);
}

.workflow-step-card:hover {
  transform: translateY(-4px);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-md);
}

.workflow-num {
  font-family: var(--font-heading);
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--color-accent);
  line-height: 1;
  margin-bottom: 1rem;
  transition: color var(--transition-fast);
}

.workflow-step-card:hover .workflow-num {
  color: var(--color-primary);
}

.workflow-step-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.workflow-step-desc {
  font-size: 0.9375rem;
  color: #4B5563;
  margin-bottom: 0;
}

/* --- Capability Checklist --- */
.capability-list {
  display: flex;
  flex-direction: column;
  gap: 0.875rem;
  margin-top: 1.5rem;
}

.capability-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #374151;
}

.capability-item svg {
  width: 18px;
  height: 18px;
  color: var(--color-primary);
  flex-shrink: 0;
  margin-top: 3px;
}

/* --- Services Detail Rows (services.html) --- */
.service-detail-block {
  padding: 4.5rem 0;
  border-bottom: 1px solid #E5E7EB;
}
.service-detail-block:last-child {
  border-bottom: none;
}

.service-detail-block:nth-child(even) .grid-2 {
  direction: rtl;
}
.service-detail-block:nth-child(even) .grid-2 > * {
  direction: ltr;
}

.service-media-frame {
  position: relative;
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.service-media-frame img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
}

.service-badge-pill {
  position: absolute;
  top: 1rem;
  left: 1rem;
  bottom: auto;
  right: auto;
  height: auto;
  width: auto;
  max-width: calc(100% - 2rem);
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.3);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  box-shadow: 0 4px 12px rgba(192, 32, 38, 0.25);
  z-index: 3;
  pointer-events: none;
  display: inline-flex;
  align-items: center;
  line-height: 1.2;
}

.service-specs-box {
  background: #F8F9FA;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-md);
  padding: 1.25rem 1.5rem;
  margin: 1.75rem 0;
}

.service-specs-box h5 {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-dark);
  margin-bottom: 0.75rem;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.service-tag {
  background: #FFFFFF;
  border: 1px solid #D1D5DB;
  font-size: 0.8125rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  color: #374151;
  font-weight: 500;
}

/* Service Actions Button Wrap */
.service-actions-wrap {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 2rem;
  align-items: center;
}

/* Section Header Row (Title + Top Action) */
.section-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

/* Domain Card Component (About Us) */
.domain-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  box-shadow: var(--shadow-xs);
}

.domain-card:hover {
  transform: translateY(-4px);
  border-color: rgba(192, 32, 38, 0.3);
  box-shadow: var(--shadow-md);
}

.domain-card-media {
  height: 200px;
  overflow: hidden;
  position: relative;
  background-color: #F8F9FA;
}

.domain-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.domain-card:hover .domain-card-media img {
  transform: scale(1.05);
}

.domain-card-body {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

/* --- Portfolio Page Styles --- */
.portfolio-filter-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 3rem;
}

.filter-btn {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  padding: 0.65rem 1.35rem;
  border-radius: var(--radius-pill);
  background: #F3F4F6;
  color: #4B5563;
  border: 1px solid #E5E7EB;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.filter-btn:hover {
  background: #E5E7EB;
  color: var(--text-dark);
}

.filter-btn.active {
  background: var(--color-primary);
  color: #FFFFFF;
  border-color: var(--color-primary);
  box-shadow: 0 4px 12px rgba(192, 32, 38, 0.3);
}

.filter-btn .count {
  font-size: 0.75rem;
  opacity: 0.8;
  margin-left: 0.3rem;
}

.portfolio-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.portfolio-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background-color: #FFFFFF;
  border: 1px solid #E5E7EB;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  cursor: pointer;
}

.portfolio-item.is-hidden {
  display: none;
}

.portfolio-item:hover {
  transform: translateY(-6px);
  border-color: rgba(192, 32, 38, 0.3);
  box-shadow: 0 16px 30px rgba(192, 32, 38, 0.15);
}

.portfolio-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  overflow: hidden;
}

.portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

.portfolio-item:hover .portfolio-thumb img {
  transform: scale(1.08);
}

.portfolio-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, transparent 20%, rgba(192, 32, 38, 0.9) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.75rem;
  opacity: 0.95;
  transition: opacity var(--transition-base);
}

.portfolio-item:hover .portfolio-overlay {
  background: linear-gradient(180deg, rgba(192, 32, 38, 0.2) 0%, rgba(166, 22, 27, 0.95) 100%);
}

.portfolio-cat {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFE5E5;
  margin-bottom: 0.4rem;
}

.portfolio-title {
  color: #FFFFFF;
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.25;
}

.portfolio-desc {
  color: #D1D5DB;
  font-size: 0.875rem;
  line-height: 1.5;
  margin-bottom: 1rem;
}

.portfolio-action-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.portfolio-zoom-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  padding: 0.35rem 0.8rem;
  border-radius: var(--radius-pill);
  backdrop-filter: blur(4px);
  transition: background var(--transition-fast);
}

.portfolio-item:hover .portfolio-zoom-btn {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

/* --- Lightbox Modal (Red & White Theme) --- */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.lightbox-modal.is-active {
  display: flex;
  opacity: 1;
}

.lightbox-dialog {
  position: relative;
  max-width: 1000px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  background: #FFFFFF;
  border: 1px solid rgba(192, 32, 38, 0.2);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 25px 60px rgba(192, 32, 38, 0.15);
}

.lightbox-image-wrap {
  position: relative;
  background: #F9FAFB;
  display: flex;
  align-items: center;
  justify-content: center;
  max-height: 70vh;
  overflow: hidden;
}

.lightbox-image-wrap img {
  max-height: 70vh;
  max-width: 100%;
  width: auto;
  object-fit: contain;
}

.lightbox-caption-bar {
  padding: 1.25rem 1.75rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #FFFFFF;
  border-top: 1px solid #E5E7EB;
}

.lightbox-caption-text {
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
}

.lightbox-caption-cat {
  font-size: 0.8125rem;
  color: var(--color-primary);
  font-weight: 600;
  text-transform: uppercase;
}

.lightbox-close-btn {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 40px;
  height: 40px;
  background: var(--color-primary);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(192, 32, 38, 0.3);
}

.lightbox-close-btn:hover {
  background: var(--color-primary-dark);
  transform: rotate(90deg);
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  background: #FFFFFF;
  border: 1px solid rgba(192, 32, 38, 0.25);
  border-radius: 50%;
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 12px rgba(192, 32, 38, 0.15);
}

.lightbox-nav-btn:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
}

.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }

/* --- Discuss Project Popup Modal --- */
.quote-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.quote-modal-overlay.is-active {
  opacity: 1;
  visibility: visible;
}

.quote-modal-dialog {
  position: relative;
  background: #FFFFFF;
  border-radius: var(--radius-xl);
  width: 100%;
  max-width: 580px;
  max-height: 90vh;
  overflow-y: auto;
  overscroll-behavior: contain;
  padding: 2.25rem 2.25rem 2rem;
  box-shadow: 0 25px 60px -15px rgba(192, 32, 38, 0.2), 0 0 0 1px rgba(192, 32, 38, 0.12);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.26s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.25s ease;
}

.quote-modal-overlay.is-active .quote-modal-dialog {
  transform: translateY(0) scale(1);
}

.quote-modal-close-btn {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #F3F4F6;
  border: 1px solid #E5E7EB;
  color: #4B5563;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  z-index: 10;
}

.quote-modal-close-btn:hover {
  background: #E5E7EB;
  color: var(--color-primary);
  transform: rotate(90deg);
}

.quote-modal-header {
  margin-bottom: 1.5rem;
  padding-right: 2.25rem;
}

.quote-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--color-primary);
  background: var(--color-primary-subtle);
  border: 1px solid rgba(192, 32, 38, 0.2);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-pill);
  margin-bottom: 0.65rem;
}

.quote-modal-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(192, 32, 38, 0.25);
  animation: pulseBeacon 2s infinite;
}

.quote-modal-title {
  font-size: 1.65rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--text-dark);
  margin-bottom: 0.35rem;
  line-height: 1.2;
}

.quote-modal-subtitle {
  color: #4B5563;
  font-size: 0.925rem;
  line-height: 1.5;
}

.quote-modal-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.15rem;
  margin-bottom: 1.35rem;
}

.quote-modal-grid .span-full {
  grid-column: span 2;
}

.quote-modal-actions {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.quote-modal-alt {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

/* --- Contact Page Styles --- */
.contact-info-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-lg);
  padding: 2rem;
  display: flex;
  gap: 1.25rem;
  transition: all var(--transition-base);
  box-shadow: var(--shadow-xs);
}

.contact-info-card:hover {
  transform: translateY(-4px);
  border-color: rgba(192, 32, 38, 0.3);
  box-shadow: var(--shadow-md);
}

.contact-icon-box {
  width: 52px;
  height: 52px;
  background: var(--color-primary-subtle);
  border: 1px solid rgba(192, 32, 38, 0.2);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  flex-shrink: 0;
}

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

.contact-card-content h4 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.contact-card-content p {
  color: #4B5563;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
}

.contact-card-link {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--color-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.contact-card-link:hover {
  text-decoration: underline;
}

/* Contact Form Container */
.form-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-group.span-full {
  grid-column: span 2;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--text-dark);
}

.form-label .required {
  color: var(--color-primary);
}

.form-control {
  width: 100%;
  padding: 0.85rem 1.15rem;
  border: 1.5px solid #D1D5DB;
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  font-size: 0.95rem;
  color: var(--text-dark);
  transition: all var(--transition-fast);
}

.form-control:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(192, 32, 38, 0.15);
}

.form-control.is-invalid {
  border-color: #EF4444;
  background-color: #FEF2F2;
}

.form-error-msg {
  font-size: 0.775rem;
  color: #DC2626;
  font-weight: 500;
  display: none;
}

.form-control.is-invalid + .form-error-msg {
  display: block;
}

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

/* Form Notice / Static Site Demo Badge */
.form-static-notice {
  background: #F9FAFB;
  border: 1px solid #E5E7EB;
  border-radius: var(--radius-sm);
  padding: 0.85rem 1.25rem;
  margin-top: 1.25rem;
  font-size: 0.8125rem;
  color: #6B7280;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.form-static-notice svg {
  width: 18px;
  height: 18px;
  color: #9CA3AF;
  flex-shrink: 0;
}

/* Form Success & Error States */
.form-alert {
  display: none;
  padding: 1.25rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.75rem;
  font-size: 0.9375rem;
}

.form-alert.is-success {
  display: block;
  background-color: #ECFDF5;
  border: 1px solid #A7F3D0;
  color: #065F46;
}

.form-alert.is-error {
  display: block;
  background-color: #FEF2F2;
  border: 1px solid #FECACA;
  color: #991B1B;
}

/* Map Embed Card */
.map-card {
  border-radius: var(--radius-xl);
  overflow: hidden;
  border: 1px solid #E5E7EB;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.map-header {
  padding: 1.25rem 1.75rem;
  background: var(--color-primary);
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.map-header-title {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.map-header-title svg {
  color: #FFFFFF;
}

.map-frame-wrapper {
  position: relative;
  height: 380px;
  width: 100%;
  background-color: #E5E7EB;
}

.map-frame-wrapper iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.map-card-info {
  padding: 1.5rem;
  background: #FFFFFF;
}

.map-card-info h5 {
  margin-bottom: 0.4rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
}

.map-card-info p {
  font-size: 0.875rem;
  color: #4B5563;
  margin-bottom: 0.85rem;
  line-height: 1.5;
}

.map-badges {
  display: flex;
  gap: 0.6rem;
  flex-wrap: wrap;
}

/* Map Column & Direct WhatsApp Card */
.map-section-col {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.contact-whatsapp-card {
  background: linear-gradient(135deg, #DE363D 0%, #C02026 60%, #9E161B 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 2.25rem;
  color: #FFFFFF;
  box-shadow: 0 12px 28px rgba(192, 32, 38, 0.25);
}

.contact-whatsapp-card h4 {
  color: #FFFFFF;
  font-size: 1.3rem;
  margin-bottom: 0.65rem;
  font-weight: 700;
}

.contact-whatsapp-card p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.9375rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.contact-cards-grid {
  margin-bottom: 3.5rem;
}

.form-card-title {
  font-size: 1.75rem;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.form-card-desc {
  color: #4B5563;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.form-actions-wrap {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

/* --- Floating WhatsApp Icon (Icon Only, Clean Floating Action Button) --- */
.floating-whatsapp {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 990;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: transform var(--transition-base);
}

.floating-whatsapp:hover {
  transform: translateY(-4px) scale(1.06);
}

.whatsapp-badge-icon {
  width: 58px;
  height: 58px;
  background: var(--color-whatsapp);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.45);
  color: #FFFFFF;
  position: relative;
}

.whatsapp-badge-icon svg {
  width: 32px;
  height: 32px;
}

.whatsapp-pulse {
  position: absolute;
  top: -4px;
  left: -4px;
  right: -4px;
  bottom: -4px;
  border-radius: 50%;
  border: 2px solid var(--color-whatsapp);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.35); opacity: 0; }
}

@media (max-width: 868px) {
  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
  }
}

/* --- CTA Banner Strip --- */
/* --- CTA Banner Strip (Signature Crimson Red) --- */
.cta-banner {
  background: linear-gradient(135deg, #DE363D 0%, #C02026 60%, #9E161B 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 4rem 3rem;
  position: relative;
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(192, 32, 38, 0.35);
}

.cta-banner::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 720px;
}

.cta-banner h2 {
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.cta-banner p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.1rem;
  margin-bottom: 2rem;
}

.cta-banner .btn-secondary,
.cta-banner .btn-secondary-light {
  background: #FFFFFF;
  color: var(--color-primary);
  border: 1.5px solid #FFFFFF;
  font-weight: 700;
}

.cta-banner .btn-secondary:hover,
.cta-banner .btn-secondary-light:hover {
  background: #FFF5F5;
  color: var(--color-primary-dark);
  border-color: #FFF5F5;
}

.cta-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

/* --- Site Footer (Clean Red & White Theme) --- */
.site-footer {
  background-color: #FFFFFF;
  color: #4B5563;
  padding-top: 5rem;
  padding-bottom: 2.5rem;
  border-top: 3px solid var(--color-primary);
  position: relative;
}

.footer-top {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 3rem;
  margin-bottom: 4rem;
}

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

.footer-brand .brand-name {
  color: var(--text-dark);
}

.footer-brand-desc {
  font-size: 0.9375rem;
  color: #4B5563;
  line-height: 1.6;
  margin: 1.25rem 0 1.5rem;
  max-width: 320px;
}

.footer-social-wrap {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-social-title {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary);
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.social-placeholder-link {
  width: 38px;
  height: 38px;
  background: #FFF5F5;
  border: 1px solid rgba(192, 32, 38, 0.2);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary);
  transition: all var(--transition-fast);
}

.social-placeholder-link:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
  color: #FFFFFF;
  transform: translateY(-2px);
}

.footer-heading {
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.02em;
  margin-bottom: 1.5rem;
  position: relative;
}

.footer-heading::after {
  content: '';
  display: block;
  width: 24px;
  height: 2px;
  background-color: var(--color-primary);
  margin-top: 0.5rem;
}

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

.footer-link {
  font-size: 0.9375rem;
  color: #4B5563;
  transition: all var(--transition-fast);
}

.footer-link:hover {
  color: var(--color-primary);
  padding-left: 4px;
}

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

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9375rem;
  color: #4B5563;
  line-height: 1.5;
}

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

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

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid #E5E7EB;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.8125rem;
  color: #6B7280;
}

.footer-bottom-links {
  display: flex;
  gap: 1.5rem;
}

.footer-bottom-links a {
  color: #6B7280;
}

.footer-bottom-links a:hover {
  color: var(--color-primary);
}

/* --- Comprehensive Pin-to-Pin Responsive System --- */

/* 1. Large Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .portfolio-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
  .hero-ref-title {
    font-size: clamp(2.2rem, 4.8vw, 3.5rem);
  }
}

/* 2. Tablets & Mobile Landscape (max-width: 868px) */
@media (max-width: 868px) {
  :root {
    --header-height: 70px;
    --header-height-scrolled: 62px;
  }

  /* Sticky Navigation on Mobile & Tablet */
  .site-header {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 0 !important;
    left: 0;
    width: 100%;
    z-index: 1005;
    background-color: rgba(244, 242, 243, 0.94);
  }

  body.home-page .site-header,
  body.editorial-theme .site-header,
  body.editorial-theme .ed-header {
    background-color: rgba(244, 242, 243, 0.94);
    border-bottom: 1px solid var(--ed-border);
  }

  .site-header.scrolled,
  .ed-header.scrolled {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  }

  body.home-page .site-header.scrolled,
  body.editorial-theme .site-header.scrolled,
  body.editorial-theme .ed-header.scrolled {
    background-color: rgba(244, 242, 243, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  }

  /* Header & Navigation */
  .topbar {
    display: none;
  }
  .nav-menu {
    display: none;
  }
  .header-actions .btn-quote {
    display: none;
  }
  .ed-header-btn,
  .ed-header .ed-btn-project,
  .site-header .ed-btn-project,
  .ed-header a.ed-btn-project {
    display: none !important;
  }
  .mobile-toggle {
    display: flex;
  }

  /* Structural Grids */
  .grid-2 {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .grid-3 {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .service-detail-block:nth-child(even) .grid-2 {
    direction: ltr;
  }

  /* Hero Section */
  .hero-ref {
    padding: 3.5rem 0 4.5rem;
    min-height: auto;
  }
  .hero-watermark-left {
    opacity: 0.16;
    width: 260px;
    left: -100px;
  }
  .hero-wave-right {
    opacity: 0.55;
    width: 160px;
  }
  .hero-ref-cta-group {
    flex-direction: column;
    align-items: stretch;
    gap: 1.15rem;
    margin-bottom: 2.5rem;
  }
  .btn-ref-pill {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Service Blocks & Images */
  .service-detail-block {
    padding: 3.5rem 0;
  }
  .service-media-frame {
    border-radius: var(--radius-lg);
  }

  /* Forms & CTAs */
  .form-card {
    padding: 2.25rem 1.75rem;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
  .form-group.span-full {
    grid-column: span 1;
  }
  .cta-banner {
    padding: 2.75rem 2rem;
  }

  /* Footer */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 1.25rem;
  }
  .footer-bottom-links {
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.25rem;
  }
}

/* 3. Mobile Phones (max-width: 640px) */
@media (max-width: 640px) {
  :root {
    --header-height: 64px;
    --header-height-scrolled: 58px;
  }

  /* Side Space Alignment: Perfectly balanced side margins */
  .container,
  .container-narrow,
  .hero-ref-container {
    padding-left: 1.25rem;
    padding-right: 1.25rem;
  }

  /* Section Spacing */
  .section-padding {
    padding-top: 3.25rem;
    padding-bottom: 3.25rem;
  }
  .section-padding-sm {
    padding-top: 2.5rem;
    padding-bottom: 2.5rem;
  }

  /* Typography Sizing & Hierarchy */
  h1 { font-size: 2rem; }
  h2 { font-size: 1.65rem; }
  h3 { font-size: 1.25rem; }
  .lead-text { font-size: 1.05rem; }
  .section-desc { font-size: 0.975rem; }

  /* Hero Section Pin-to-Pin Polish */
  .hero-ref {
    padding: 2.75rem 0 3.75rem;
  }
  .hero-ref-title {
    font-size: clamp(1.75rem, 7vw, 2.35rem);
    line-height: 1.15;
    letter-spacing: -0.01em;
    margin-bottom: 0.875rem;
  }
  .hero-ref-categories {
    font-size: 0.8125rem;
    gap: 0.35rem 0.6rem;
    margin-bottom: 1.25rem;
    line-height: 1.5;
  }
  .hero-ref-categories span.bullet {
    font-size: 0.85em;
  }
  .hero-ref-desc {
    font-size: 0.9375rem;
    line-height: 1.65;
    margin-bottom: 1.75rem;
  }
  .hero-ref-italic {
    font-size: 0.9375rem;
    line-height: 1.45;
    text-align: center;
  }
  .hero-ref-showcase {
    border-radius: var(--radius-md);
  }
  .hero-ref-showcase img {
    max-height: 320px;
  }
  .hero-watermark-left {
    display: none;
  }
  .hero-wave-right {
    opacity: 0.3;
    width: 120px;
  }

  /* Brand Logo & Header in Mobile */
  .brand-logo-img {
    width: 38px;
    height: 38px;
  }
  .brand-name {
    font-size: 1.1rem;
  }
  .brand-name .llc-tag {
    font-size: 0.65rem;
    padding: 0.05rem 0.3rem;
  }
  .brand-tagline {
    font-size: 0.625rem;
    letter-spacing: 0.1em;
  }

  /* Single Column Grids */
  .grid-4,
  .portfolio-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  /* Full-width Touch Buttons & Actions */
  .btn {
    width: 100%;
    justify-content: center;
    padding: 0.85rem 1.35rem;
    font-size: 0.9375rem;
  }
  .btn-ref-pill {
    width: 100%;
    padding: 0.875rem 1.5rem;
    font-size: 0.9rem;
  }
  .cta-actions,
  .service-actions-wrap {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }
  .cta-actions .btn,
  .service-actions-wrap .btn {
    width: 100%;
    justify-content: center;
  }
  .section-header-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 2rem;
  }
  .section-header-row .btn {
    width: 100%;
  }

  /* Smooth Touch-Scrollable Category Filter Pills */
  .portfolio-filter-bar {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    justify-content: flex-start;
    padding: 0.25rem 0.25rem 0.75rem;
    gap: 0.5rem;
    margin-bottom: 2rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .portfolio-filter-bar::-webkit-scrollbar {
    display: none;
  }
  .filter-btn {
    flex-shrink: 0;
    padding: 0.55rem 1.05rem;
    font-size: 0.8125rem;
  }

  /* Touch Screen Portfolio Overlay Readability */
  @media (hover: none) and (pointer: coarse) {
    .portfolio-overlay {
      background: linear-gradient(180deg, transparent 15%, rgba(192, 32, 38, 0.9) 100%);
      opacity: 1;
    }
    .portfolio-action-row {
      display: flex;
    }
  }

  /* Contact Page & Inputs (Prevent iOS Safari auto-zoom with 16px minimum font) */
  .form-card {
    padding: 1.75rem 1.25rem;
    border-radius: var(--radius-lg);
  }
  .form-control {
    font-size: 16px;
    padding: 0.8rem 1rem;
    min-height: 46px;
  }
  textarea.form-control {
    min-height: 120px;
  }
  /* Contact Page Mobile Alignment System */
  .contact-cards-grid {
    gap: 0.875rem;
    margin-bottom: 2.25rem;
  }
  .contact-info-card {
    padding: 1.15rem 1.15rem;
    gap: 0.875rem;
    border-radius: var(--radius-md);
  }
  .contact-icon-box {
    width: 44px;
    height: 44px;
    border-radius: var(--radius-sm);
    flex-shrink: 0;
  }
  .contact-icon-box svg {
    width: 20px;
    height: 20px;
  }
  .contact-card-content h4 {
    font-size: 1.05rem;
    margin-bottom: 0.2rem;
  }
  .contact-card-content p {
    font-size: 0.875rem;
    line-height: 1.45;
    margin-bottom: 0.45rem;
  }
  .contact-card-link {
    font-size: 0.875rem;
    word-break: break-all;
    overflow-wrap: anywhere;
  }

  /* Form Card on Mobile */
  .form-card {
    padding: 1.65rem 1.25rem;
    border-radius: var(--radius-lg);
  }
  .form-card-title {
    font-size: 1.45rem;
    margin-bottom: 0.35rem;
  }
  .form-card-desc {
    font-size: 0.875rem;
    margin-bottom: 1.35rem;
    line-height: 1.5;
  }
  .form-grid {
    gap: 1.1rem;
  }
  .form-actions-wrap {
    margin-top: 1.35rem;
    gap: 0.75rem;
  }
  .form-static-notice {
    margin-top: 1.25rem;
    padding: 0.875rem 1rem;
    font-size: 0.8rem;
    gap: 0.65rem;
  }

  /* Map Card on Mobile */
  .map-card {
    border-radius: var(--radius-lg);
  }
  .map-header {
    padding: 1rem 1.15rem;
    gap: 0.75rem;
    flex-direction: column;
    align-items: stretch;
  }
  .map-header-title {
    font-size: 0.9375rem;
    line-height: 1.35;
  }
  .map-header .btn {
    width: 100%;
    justify-content: center;
    font-size: 0.8125rem;
    padding: 0.65rem 1rem;
  }
  .map-frame-wrapper {
    height: 260px;
  }
  .map-card-info {
    padding: 1.25rem 1.15rem;
  }
  .map-card-info h5 {
    font-size: 0.975rem;
  }
  .map-card-info p {
    font-size: 0.8125rem;
    margin-bottom: 0.75rem;
  }
  .map-badges {
    gap: 0.45rem;
  }
  .map-badges .badge {
    font-size: 0.75rem;
    padding: 0.25rem 0.6rem;
  }

  /* Direct WhatsApp Card on Mobile */
  .map-section-col {
    gap: 1.5rem;
  }
  .contact-whatsapp-card {
    padding: 1.5rem 1.25rem;
    border-radius: var(--radius-lg);
  }
  .contact-whatsapp-card h4 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
  }
  .contact-whatsapp-card p {
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1.25rem;
  }
  .contact-whatsapp-card .btn {
    font-size: 0.875rem;
    padding: 0.85rem 1.15rem;
  }

  /* Service Detail Blocks */
  .service-detail-block {
    padding: 2.75rem 0;
  }
  .service-badge-pill {
    top: 0.75rem;
    left: 0.75rem;
    bottom: auto;
    right: auto;
    height: auto;
    width: auto;
    max-width: calc(100% - 1.5rem);
    font-size: 0.6875rem;
    padding: 0.28rem 0.65rem;
    letter-spacing: 0.05em;
  }
  .service-specs-box {
    padding: 1.15rem 1.25rem;
    margin: 1.35rem 0;
  }

  /* Domain Cards in About Us */
  .domain-card-media {
    height: 195px;
  }
  .domain-card-body {
    padding: 1.5rem 1.25rem;
  }

  /* CTA Banners */
  .cta-banner {
    padding: 2.25rem 1.35rem;
    border-radius: var(--radius-lg);
    text-align: center;
  }
  .cta-banner h2 {
    font-size: 1.6rem;
  }
  .cta-banner p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  /* Floating WhatsApp Beacon: Compact Mobile Mode */
  .floating-whatsapp {
    bottom: 1.25rem;
    right: 1.25rem;
  }
  .whatsapp-badge-icon {
    width: 52px;
    height: 52px;
  }
  .whatsapp-badge-icon svg {
    width: 28px;
    height: 28px;
  }

  /* Lightbox Modal on Mobile */
  .lightbox-modal {
    padding: 0.75rem;
  }
  .lightbox-dialog {
    max-height: 92vh;
    border-radius: var(--radius-md);
  }
  .lightbox-image-wrap {
    max-height: 55vh;
  }
  .lightbox-caption-bar {
    padding: 0.875rem 1.15rem;
  }
  .lightbox-caption-text {
    font-size: 0.975rem;
  }
  .lightbox-caption-cat {
    font-size: 0.75rem;
  }
  .lightbox-close-btn {
    top: 0.6rem;
    right: 0.6rem;
    width: 36px;
    height: 36px;
  }
  .lightbox-nav-btn {
    width: 40px;
    height: 40px;
  }
  .lightbox-prev { left: 0.5rem; }
  .lightbox-next { right: 0.5rem; }

  /* Quote Popup Modal on Mobile */
  .quote-modal-overlay {
    padding: 0.75rem;
  }
  .quote-modal-dialog {
    padding: 1.5rem 1.25rem;
    max-height: 94vh;
    border-radius: var(--radius-lg);
  }
  .quote-modal-title {
    font-size: 1.35rem;
  }
  .quote-modal-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .quote-modal-grid .span-full {
    grid-column: span 1;
  }
  .quote-modal-alt {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
}

/* 4. Small Screen Mobiles (max-width: 420px) */
@media (max-width: 420px) {
  .container,
  .container-narrow,
  .hero-ref-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .form-card {
    padding: 1.35rem 1rem;
  }
  .contact-info-card {
    padding: 1rem 0.875rem;
  }
  .contact-whatsapp-card {
    padding: 1.35rem 1rem;
  }
  .map-header {
    padding: 0.875rem 1rem;
  }
  .map-card-info {
    padding: 1.15rem 1rem;
  }
  .domain-card-body {
    padding: 1.25rem 1rem;
  }
  .service-card-body {
    padding: 1.35rem 1.15rem;
  }
  .hero-ref-title {
    font-size: 1.85rem;
  }
  .hero-ref-categories {
    font-size: 0.75rem;
    gap: 0.3rem 0.5rem;
  }
}

/* ==========================================================================
   EDITORIAL LIGHT THEME (Clean Minimal Studio Design)
   Background: Light Architectural Grey (#F4F2F3) with Subtle Blueprint Grid (39px)
   Accents: Jet Black (#111), Signature Crimson (#FF1E1E / #C02026)
   ========================================================================== */

:root {
  --ed-bg: #F4F2F3;
  --ed-bg-grid: rgba(0, 0, 0, 0.04);
  --ed-red: #FF1E1E;
  --ed-red-hover: #E01313;
  --ed-dark: #111111;
  --ed-dark-card: #141414;
  --ed-border: rgba(0, 0, 0, 0.09);
  --ed-border-subtle: rgba(0, 0, 0, 0.05);
  --ed-text-main: #111111;
  --ed-text-muted: #55524E;
  --font-ed-display: 'Bebas Neue', 'Oswald', sans-serif;
  --font-ed-mono: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
}

/* Background Grid Pattern */
body.editorial-theme {
  background-color: var(--ed-bg);
  background-image: 
    linear-gradient(var(--ed-bg-grid) 1px, transparent 1px),
    linear-gradient(90deg, var(--ed-bg-grid) 1px, transparent 1px);
  background-size: 39px 39px;
  color: var(--ed-text-main);
  font-family: var(--font-body);
  overflow-x: clip;
}

.ed-container {
  width: 100%;
  max-width: 1380px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Red Tag Eyebrow */
.ed-tag-red {
  display: inline-block;
  font-family: var(--font-ed-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--ed-red);
  margin-bottom: 0.85rem;
}

/* Shared Huge Titles */
.ed-title-huge {
  font-family: var(--font-ed-display);
  font-size: clamp(2.8rem, 5.8vw, 5.4rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--ed-dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin-bottom: 1.25rem;
}

.ed-title-huge .text-red {
  color: var(--ed-red);
}

/* Offset for in-page anchors under the sticky nav bar */
#aboutSection,
#worksSection,
#servicesSection,
section[id] {
  scroll-margin-top: 85px;
}

@media (max-width: 860px) {
  #aboutSection,
  #worksSection,
  #servicesSection,
  section[id] {
    scroll-margin-top: 65px;
  }
}

/* --- Editorial Top Navigation Bar (Sticky Desktop & Mobile) --- */
.ed-header {
  border-bottom: 1px solid var(--ed-border);
  padding: 1.15rem 0;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  z-index: 1005;
  background-color: rgba(244, 242, 243, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: padding var(--transition-base), background-color var(--transition-base), box-shadow var(--transition-base);
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
}

.ed-header.scrolled {
  padding: 0.85rem 0;
  background-color: rgba(244, 242, 243, 0.98);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.ed-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
}

.ed-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 1;
}

.ed-brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 240px;
  display: block;
  object-fit: contain;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

.ed-brand:hover .ed-brand-logo-img {
  opacity: 0.92;
  transform: scale(1.02);
}

.ed-header.scrolled .ed-brand-logo-img {
  height: 32px;
}

.ed-brand-name {
  font-family: 'Asgard Trial', 'Asgard', var(--font-ed-display), sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: var(--ed-dark);
  line-height: 1;
}

.ed-brand-name .ed-dot {
  color: var(--ed-red);
}

.ed-nav {
  display: flex;
  align-items: center;
  gap: 2.75rem;
}

.ed-nav-link {
  font-family: var(--font-ed-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #2D2C29;
  text-decoration: none;
  position: relative;
  transition: color var(--transition-fast);
  padding: 0.25rem 0;
}

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

.ed-nav-link:hover,
.ed-nav-link.active {
  color: var(--ed-red) !important;
}

.ed-nav-link.active {
  font-weight: 800;
}

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

.ed-btn-project {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background-color: var(--ed-red);
  color: #FFFFFF;
  font-family: var(--font-ed-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.75rem 1.65rem;
  border-radius: 4px;
  border: 1px solid var(--ed-red);
  text-decoration: none;
  cursor: pointer;
  transition: all var(--transition-fast);
  box-shadow: 0 4px 14px rgba(255, 30, 30, 0.25);
}

.ed-btn-project:hover {
  background-color: var(--ed-red-hover);
  border-color: var(--ed-red-hover);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(255, 30, 30, 0.4);
  color: #FFFFFF;
}

/* Mobile Toggle for Editorial Header */
.ed-mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 42px;
  height: 42px;
  background: rgba(0, 0, 0, 0.05);
  border: 1px solid var(--ed-border);
  border-radius: 4px;
  cursor: pointer;
  padding: 0;
  transition: background var(--transition-fast);
}

.ed-mobile-toggle:hover {
  background: rgba(0, 0, 0, 0.1);
}

.ed-mobile-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background-color: var(--ed-dark);
  margin: 2.5px 0;
  transition: transform var(--transition-base), opacity var(--transition-fast);
  border-radius: 2px;
}

.ed-mobile-toggle.is-active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}
.ed-mobile-toggle.is-active span:nth-child(2) {
  opacity: 0;
}
.ed-mobile-toggle.is-active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --- Hero Section --- */
.ed-hero-section {
  padding: 3rem 0 2.5rem;
  position: relative;
  overflow: hidden;
}

.ed-hero-eyebrow {
  margin-bottom: 0.6rem;
}

/* Top 2-Column Grid: Headlines Left, Tech Specs & CTA Right */
.ed-hero-top-grid,
.ed-hero-layout {
  display: grid;
  grid-template-columns: 1.55fr 1fr;
  gap: 3.5rem;
  align-items: stretch;
}

.ed-hero-main,
.ed-hero-headline-block {
  display: flex;
  flex-direction: column;
}

.ed-headline-row {
  font-family: var(--font-ed-display);
  font-size: clamp(4.6rem, 9.4vw, 9.6rem);
  font-weight: 700;
  line-height: 0.88;
  color: var(--ed-dark);
  text-transform: uppercase;
  letter-spacing: -0.015em;
  display: block;
}

/* Bottom Full-Width Row: Black Badge Card on Left + EXPERIENCES to Right */
.ed-hero-bottom-row,
.ed-headline-row-combined {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 0.5rem;
  width: 100%;
}

.ed-badge-card {
  background-color: var(--ed-dark);
  color: #EAEAEA;
  padding: 1.15rem 1.45rem;
  border-radius: 2px;
  width: 320px;
  max-width: 320px;
  flex-shrink: 0;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  line-height: 1.5;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
}

.ed-badge-card p {
  margin-bottom: 0;
  color: #DDD;
}

.ed-headline-red {
  font-family: var(--font-ed-display);
  font-size: clamp(4.4rem, 8.8vw, 9.6rem);
  font-weight: 700;
  line-height: 0.88;
  color: var(--ed-red);
  text-transform: uppercase;
  letter-spacing: -0.015em;
  white-space: nowrap;
}

/* Hero Side Specs Column */
.ed-hero-side {
  padding-top: 0.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  gap: 1.75rem;
}

.ed-specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.ed-spec-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.ed-spec-num {
  font-family: var(--font-ed-mono);
  font-size: 0.85rem;
  font-weight: 600;
  color: #555;
  letter-spacing: 0.05em;
}

.ed-spec-line {
  flex-grow: 1;
  height: 1px;
  background-color: rgba(0, 0, 0, 0.22);
}

.ed-spec-text {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  color: #1A1A1A;
  text-decoration: none;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

.ed-spec-text:hover {
  color: var(--ed-red);
}

/* Explore Work Red Arrow Button */
.ed-explore-cta {
  display: flex;
  justify-content: flex-end;
  margin-top: auto;
}

.ed-explore-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  font-family: var(--font-ed-mono);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ed-dark);
  text-decoration: none;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.ed-arrow-box {
  width: 34px;
  height: 34px;
  background-color: var(--ed-red);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 2px;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.ed-arrow-box svg {
  width: 18px;
  height: 18px;
  transition: transform var(--transition-fast);
}

.ed-explore-btn:hover {
  color: var(--ed-red);
}

.ed-explore-btn:hover .ed-arrow-box {
  background-color: var(--ed-red-hover);
  transform: translateX(3px);
}

/* --- Stats Trust Strip --- */
.ed-stats-strip {
  border-top: 1px solid var(--ed-border);
  border-bottom: 1px solid var(--ed-border);
  padding: 2.75rem 0;
  margin: 1.5rem 0 4rem;
}

.ed-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.ed-stat-col {
  display: flex;
  flex-direction: column;
  padding: 0 1.25rem;
  position: relative;
}

.ed-stat-col:not(:last-child)::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10%;
  height: 80%;
  width: 1px;
  background-color: var(--ed-border);
}

.ed-stat-number {
  font-family: var(--font-ed-display);
  font-size: clamp(3.2rem, 5.2vw, 5.4rem);
  font-weight: 700;
  line-height: 0.95;
  color: var(--ed-dark);
  letter-spacing: -0.01em;
}

.ed-stat-label {
  font-family: var(--font-ed-mono);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #33312E;
  margin-top: 0.5rem;
}

/* --- About Us Section --- */
.ed-about-section {
  padding: 4.5rem 0 5.5rem;
  border-top: 1px solid var(--ed-border);
}

.ed-about-header-grid {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  margin-bottom: 2.75rem;
}

.ed-about-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ed-text-muted);
  max-width: 820px;
  margin-bottom: 0;
}

.ed-about-banner-frame {
  width: 100%;
  overflow: hidden;
  border-radius: 3px;
  border: 1px solid var(--ed-border);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
}

.ed-about-banner-frame img {
  width: 100%;
  max-height: 520px;
  object-fit: cover;
  display: block;
}

/* --- Works Section --- */
.ed-works-section {
  padding: 4.5rem 0 5.5rem;
  border-top: 1px solid var(--ed-border);
}

.ed-works-header-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2rem;
  margin-bottom: 2.75rem;
}

.ed-works-header-left {
  max-width: 780px;
}

.ed-works-desc {
  font-size: 1rem;
  line-height: 1.65;
  color: var(--ed-text-muted);
  margin-bottom: 0;
}

/* Works Grid: Uniform 3-Column Symmetrical Aligned Layout */
.ed-mosaic-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}

.ed-tile {
  position: relative;
  overflow: hidden;
  background-color: #000000;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  border: 1px solid rgba(0, 0, 0, 0.2);
  height: clamp(340px, 28vw, 390px);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.ed-tile:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.16);
}

.ed-tile-img-wrap {
  width: 100%;
  height: 100%;
  overflow: hidden;
  flex: 1;
  min-height: 0;
  position: relative;
}

.ed-tile-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform var(--transition-slow);
}

.ed-tile:hover .ed-tile-img-wrap img {
  transform: scale(1.06);
}

/* Black Bottom Bar on Tiles */
.ed-tile-bar {
  background-color: #0E0E0E;
  color: #FFFFFF;
  padding: 0.85rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  flex-shrink: 0;
  z-index: 2;
}

.ed-tile-title {
  font-family: var(--font-ed-display);
  font-size: 1.15rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFFFFF;
}

.ed-tile-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: #FFF;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

.ed-tile:hover .ed-tile-arrow {
  background-color: var(--ed-red);
  border-color: var(--ed-red);
  transform: translate(2px, -2px);
}

/* Overrides for uniform placement */
.ed-tile-tall,
.ed-tile-right-top,
.ed-tile-right-mid,
.ed-tile-bottom {
  grid-column: auto !important;
  grid-row: auto !important;
  min-height: unset !important;
}

/* --- Services Section ("WHAT WE DO") --- */
.ed-services-section {
  padding: 5rem 0 6rem;
  border-top: 1px solid var(--ed-border);
}

.ed-services-header-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 2rem;
  margin-bottom: 3.5rem;
}

.ed-services-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ed-text-muted);
  max-width: 820px;
  margin-bottom: 0;
}

.ed-services-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--ed-border);
}

.ed-service-item {
  display: grid;
  grid-template-columns: 80px 1fr 1.15fr;
  align-items: center;
  gap: 2rem;
  padding: 2.25rem 1.5rem;
  border-bottom: 1px solid var(--ed-border);
  transition: all var(--transition-base);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.ed-service-num {
  font-family: var(--font-ed-mono);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--ed-red);
}

.ed-service-main {
  display: flex;
  flex-direction: column;
}

.ed-service-title {
  font-family: var(--font-ed-display);
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 1.05;
  color: var(--ed-dark);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 0.45rem;
}

.ed-service-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: #555;
  margin-bottom: 0;
  max-width: 480px;
}

.ed-service-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.65rem 1.5rem;
}

.ed-tag-bullet {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-ed-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2D2C29;
}

.ed-square {
  width: 6px;
  height: 6px;
  background-color: var(--ed-red);
  display: inline-block;
  flex-shrink: 0;
}

/* Active Dark Card State (Item 02 in Reference Mockup) */
.ed-service-item.active-dark {
  background-color: var(--ed-dark-card);
  color: #FFFFFF;
  padding: 2.5rem 2rem;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
  border-color: transparent;
}

.ed-service-item.active-dark .ed-service-num {
  color: var(--ed-red);
}

.ed-service-item.active-dark .ed-service-title {
  color: #FFFFFF;
}

.ed-service-item.active-dark .ed-service-desc {
  color: #A3A3A3;
}

.ed-service-item.active-dark .ed-tag-bullet {
  color: #D1D5DB;
}

/* Embedded Floating Preview Card on Active Item */
.ed-service-thumb-wrap {
  display: none;
  width: 88px;
  height: 64px;
  border-radius: 3px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.15);
  transform: rotate(-4deg);
  flex-shrink: 0;
}

.ed-service-thumb-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.ed-service-item.active-dark .ed-service-thumb-wrap {
  display: block;
}

.ed-service-main-with-thumb {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

/* Hover effect on regular service items */
.ed-service-item:not(.active-dark):hover {
  background-color: rgba(0, 0, 0, 0.035);
}

/* --- Responsive Media Queries for Editorial Brutalist Layout --- */
@media (max-width: 1100px) {
  .ed-hero-top-grid,
  .ed-hero-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .ed-hero-side {
    padding-top: 0;
    gap: 1.5rem;
  }
  .ed-hero-bottom-row,
  .ed-headline-row-combined {
    flex-wrap: wrap;
    gap: 1.25rem;
  }
  .ed-headline-red {
    white-space: normal;
  }
  .ed-specs-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem 2rem;
  }
  .ed-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem 1.5rem;
  }
  .ed-stat-col {
    border-bottom: 1px solid var(--ed-border);
    padding-bottom: 1.5rem;
  }
  .ed-stat-col:nth-child(3),
  .ed-stat-col:nth-child(4) {
    border-bottom: none;
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
  }
  .ed-stat-col:nth-child(odd)::after {
    display: block !important;
  }
  .ed-stat-col:nth-child(even)::after {
    display: none !important;
  }
  .ed-service-item {
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
  }
  .ed-service-tags {
    grid-column: 2 / 3;
  }
}

@media (max-width: 860px) {
  .ed-header {
    padding: 0.85rem 0;
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    z-index: 1005;
  }
  .ed-header.scrolled {
    padding: 0.65rem 0;
  }
  .ed-nav {
    display: none;
  }
  .ed-header-btn,
  .ed-header .ed-btn-project,
  .site-header .ed-btn-project,
  .ed-header a.ed-btn-project,
  .ed-header .open-quote-modal {
    display: none !important;
  }
  .ed-mobile-toggle {
    display: flex;
  }
  .ed-about-header-grid,
  .ed-services-header-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }
  .ed-works-header-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .ed-mosaic-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  .ed-tile {
    height: 320px;
  }
  .ed-specs-list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 600px) {
  .ed-container {
    padding: 0 1.25rem;
  }
  .ed-header {
    padding: 0.75rem 0;
  }
  .ed-header.scrolled {
    padding: 0.55rem 0;
  }
  .ed-brand-name {
    font-size: 1.45rem;
  }
  .ed-brand {
    gap: 0.5rem;
  }
  .ed-brand-logo-img {
    height: 28px;
    width: auto;
    max-width: 175px;
  }
  .ed-header-btn,
  .ed-header .ed-btn-project,
  .site-header .ed-btn-project,
  .ed-header a.ed-btn-project,
  .ed-header .open-quote-modal {
    display: none !important;
  }
  .ed-headline-row,
  .ed-headline-red {
    font-size: clamp(3.2rem, 15vw, 5.2rem);
  }
  .ed-hero-bottom-row,
  .ed-headline-row-combined {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
  .ed-badge-card {
    max-width: 100%;
    width: 100%;
  }
  /* Aligned 2x2 Mobile Stats Grid */
  .ed-stats-strip {
    padding: 2rem 0;
    margin: 1.25rem 0 2.5rem;
  }
  .ed-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem 1.25rem;
  }
  .ed-stat-col {
    padding: 0.5rem 0.75rem 1.25rem 0;
    position: relative;
    border-bottom: 1px solid var(--ed-border);
  }
  .ed-stat-col:nth-child(3),
  .ed-stat-col:nth-child(4) {
    border-bottom: none;
    padding-bottom: 0.5rem;
    padding-top: 0.5rem;
  }
  .ed-stat-col:nth-child(odd)::after {
    content: '';
    position: absolute;
    right: 0;
    top: 8%;
    height: 84%;
    width: 1px;
    background-color: var(--ed-border);
    display: block !important;
  }
  .ed-stat-col:nth-child(even)::after {
    display: none !important;
  }
  .ed-stat-number {
    font-size: clamp(2.6rem, 10vw, 3.6rem);
    line-height: 0.95;
    letter-spacing: -0.01em;
  }
  .ed-stat-label {
    font-size: clamp(0.68rem, 2.5vw, 0.75rem);
    line-height: 1.35;
    letter-spacing: 0.08em;
    margin-top: 0.4rem;
  }
  .ed-service-item {
    grid-template-columns: 1fr;
    padding: 1.5rem 1rem;
  }
  .ed-service-tags {
    grid-column: 1 / 2;
    grid-template-columns: 1fr;
  }
  .ed-mosaic-grid {
    grid-template-columns: 1fr;
  }
  .ed-tile {
    height: 290px;
  }
}

/* ==========================================================================
   EDITORIAL MULTI-PAGE STYLES (Inner Pages: About, Services, Portfolio, Contact)
   ========================================================================== */

/* Editorial Inner Page Hero */
body.editorial-theme .page-hero {
  background-color: transparent;
  background: none;
  padding: 3.5rem 0 3rem;
  border-bottom: 1px solid var(--ed-border);
  position: relative;
}

body.editorial-theme .page-hero-bg {
  display: none;
}

body.editorial-theme .breadcrumb {
  font-family: var(--font-ed-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ed-text-muted);
  margin-bottom: 1.25rem;
}

body.editorial-theme .breadcrumb a {
  color: var(--ed-dark);
}

body.editorial-theme .breadcrumb a:hover {
  color: var(--ed-red);
}

body.editorial-theme .breadcrumb .current {
  color: var(--ed-red);
}

body.editorial-theme .page-hero-title {
  font-family: var(--font-ed-display);
  font-size: clamp(3.2rem, 6.8vw, 6.4rem);
  font-weight: 700;
  line-height: 0.92;
  color: var(--ed-dark);
  text-transform: uppercase;
  letter-spacing: -0.015em;
  margin-bottom: 1rem;
}

body.editorial-theme .page-hero-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--ed-text-muted);
  max-width: 780px;
}

/* Sections on Editorial Theme */
body.editorial-theme .section-padding {
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
}

body.editorial-theme .section-surface,
body.editorial-theme .section-dark {
  background-color: rgba(0, 0, 0, 0.025);
  border-top: 1px solid var(--ed-border);
  border-bottom: 1px solid var(--ed-border);
}

body.editorial-theme .section-title {
  font-family: var(--font-ed-display);
  font-size: clamp(2.4rem, 4.8vw, 4.2rem);
  font-weight: 700;
  line-height: 0.98;
  color: var(--ed-dark);
  text-transform: uppercase;
  letter-spacing: -0.01em;
}

body.editorial-theme .section-desc {
  color: var(--ed-text-muted);
  font-size: 1.025rem;
}

/* Workflow Step Cards (About Page) */
body.editorial-theme .workflow-step-card {
  background-color: #FFFFFF;
  border: 1px solid var(--ed-border);
  border-radius: 2px;
  padding: 2.25rem 1.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
  transition: all var(--transition-base);
}

body.editorial-theme .workflow-step-card:hover {
  background-color: var(--ed-dark);
  color: #FFFFFF;
  border-color: var(--ed-dark);
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.2);
}

body.editorial-theme .workflow-step-card .workflow-num {
  font-family: var(--font-ed-mono);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--ed-red);
}

body.editorial-theme .workflow-step-card .workflow-step-title {
  font-family: var(--font-ed-display);
  font-size: 1.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--ed-dark);
  margin-bottom: 0.75rem;
}

body.editorial-theme .workflow-step-card:hover .workflow-step-title {
  color: #FFFFFF;
}

body.editorial-theme .workflow-step-card:hover .workflow-step-desc {
  color: #D1D5DB;
}

/* Domain Cards (About Page) */
body.editorial-theme .domain-card {
  background-color: #FFFFFF;
  border: 1px solid var(--ed-border);
  border-radius: 2px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

body.editorial-theme .domain-card-media {
  position: relative;
  overflow: hidden;
  height: 240px;
}

body.editorial-theme .domain-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-slow);
}

body.editorial-theme .domain-card:hover .domain-card-media img {
  transform: scale(1.05);
}

body.editorial-theme .domain-card-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

body.editorial-theme .domain-card h3 {
  font-family: var(--font-ed-display);
  font-size: 1.85rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

/* Service Detail Blocks (Services Page) */
body.editorial-theme .service-detail-block {
  padding: 5rem 0;
  border-bottom: 1px solid var(--ed-border);
}

body.editorial-theme .service-specs-box {
  background-color: #FFFFFF;
  border: 1px solid var(--ed-border);
  border-radius: 2px;
  padding: 1.5rem 1.75rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.02);
}

body.editorial-theme .service-specs-box h5 {
  font-family: var(--font-ed-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ed-dark);
  margin-bottom: 1rem;
}

body.editorial-theme .service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 0.65rem;
}

body.editorial-theme .service-tag {
  background-color: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--ed-border);
  border-radius: 2px;
  font-family: var(--font-ed-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.75rem;
  color: #222;
}

body.editorial-theme .service-media-frame {
  border-radius: 2px;
  border: 1px solid var(--ed-border);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.12);
  overflow: hidden;
}

/* Portfolio Gallery (Portfolio Page) */
body.editorial-theme .portfolio-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 3rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--ed-border);
}

body.editorial-theme .filter-btn {
  font-family: var(--font-ed-mono);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.65rem 1.35rem;
  border-radius: 2px;
  background-color: rgba(255, 255, 255, 0.5);
  border: 1px solid var(--ed-border);
  color: var(--ed-dark);
  transition: all var(--transition-fast);
}

body.editorial-theme .filter-btn:hover {
  background-color: var(--ed-dark);
  color: #FFFFFF;
  border-color: var(--ed-dark);
}

body.editorial-theme .filter-btn.active {
  background-color: var(--ed-red);
  color: #FFFFFF;
  border-color: var(--ed-red);
  box-shadow: 0 4px 14px rgba(255, 30, 30, 0.3);
}

body.editorial-theme .portfolio-item {
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.2);
  background-color: #000;
  overflow: hidden;
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

body.editorial-theme .portfolio-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.18);
}

/* Contact Page Cards & Form */
body.editorial-theme .contact-info-card {
  background-color: #FFFFFF;
  border: 1px solid var(--ed-border);
  border-radius: 2px;
  padding: 1.75rem;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.03);
}

body.editorial-theme .contact-icon-box {
  background-color: var(--ed-dark);
  color: var(--ed-red);
  border-radius: 2px;
}

body.editorial-theme .contact-card-content h4 {
  font-family: var(--font-ed-display);
  font-size: 1.35rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.45rem;
}

body.editorial-theme .form-card {
  background-color: #FFFFFF;
  border: 1px solid var(--ed-border);
  border-radius: 2px;
  padding: 2.75rem 2.25rem;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
}

body.editorial-theme .form-card-title {
  font-family: var(--font-ed-display);
  font-size: 2.25rem;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: var(--ed-dark);
}

body.editorial-theme .form-control {
  background-color: #FFFFFF;
  border: 1px solid var(--ed-border);
  border-radius: 2px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  padding: 0.85rem 1rem;
}

body.editorial-theme .form-control:focus {
  border-color: var(--ed-red);
  box-shadow: 0 0 0 3px rgba(255, 30, 30, 0.15);
}

body.editorial-theme .form-label {
  font-family: var(--font-ed-mono);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #333;
}

/* Footer on Editorial Theme */
body.editorial-theme .site-footer {
  background-color: #0E0E0E;
  color: #FFFFFF;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

body.editorial-theme .site-footer .ed-brand-name,
body.editorial-theme .footer-brand .brand-name {
  font-family: 'Asgard Trial', 'Asgard', var(--font-ed-display), sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: 0.035em;
  text-transform: uppercase;
  color: #FFFFFF;
}

.footer-brand-link,
body.editorial-theme .site-footer .footer-brand-link,
body.editorial-theme .footer-brand .footer-brand-link {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
  margin-bottom: 1.25rem;
}


.footer-brand-logo-img,
body.editorial-theme .site-footer .footer-brand-logo-img,
body.editorial-theme .footer-brand .footer-brand-logo-img {
  height: 38px;
  width: auto;
  max-width: 240px;
  display: block;
  object-fit: contain;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}

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

body.editorial-theme .footer-brand .brand-tagline {
  color: #999999;
}

body.editorial-theme .footer-brand-desc {
  color: #D1D5DB;
  font-size: 0.95rem;
  line-height: 1.65;
}

body.editorial-theme .footer-heading {
  font-family: var(--font-ed-display);
  font-size: 1.35rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #FFFFFF;
  margin-bottom: 1.25rem;
}

body.editorial-theme .footer-link {
  color: #C4C4C4;
  transition: color var(--transition-fast);
}

body.editorial-theme .footer-link:hover {
  color: var(--ed-red);
}

body.editorial-theme .footer-contact-item {
  color: #CCCCCC;
}

body.editorial-theme .footer-contact-item a {
  color: #CCCCCC;
}

body.editorial-theme .footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: #888888;
}

body.editorial-theme .footer-bottom-links a {
  color: #888888;
}

/* ==========================================================================
   EDITORIAL CTA BANNER (2-Column Balanced Architecture & Dark Obsidian Theme)
   ========================================================================== */
body.editorial-theme .cta-banner {
  background: #0E0E0E;
  background-image: 
    radial-gradient(circle at 95% 10%, rgba(255, 30, 30, 0.08) 0%, transparent 45%),
    linear-gradient(to right, rgba(255, 255, 255, 0.025) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 100% 100%, 32px 32px, 32px 32px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  padding: 3.5rem 3.5rem;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.3);
  position: relative;
  overflow: hidden;
}

body.editorial-theme .cta-banner::before {
  display: none !important;
}

body.editorial-theme .cta-content {
  max-width: 100%;
}

/* 2-Column Grid eliminating empty space */
body.editorial-theme .cta-banner-grid {
  display: grid;
  grid-template-columns: 1.35fr 1fr;
  gap: 3.5rem;
  align-items: center;
}

body.editorial-theme .cta-banner-left {
  display: flex;
  flex-direction: column;
}

body.editorial-theme .cta-banner h2 {
  font-family: var(--font-ed-display);
  font-size: clamp(2.4rem, 4.4vw, 4.2rem);
  font-weight: 700;
  line-height: 0.95;
  text-transform: uppercase;
  letter-spacing: -0.015em;
  color: #FFFFFF;
  margin-top: 0.75rem;
  margin-bottom: 1rem;
}

body.editorial-theme .cta-banner p {
  color: #B5B5B5;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 1.75rem;
  max-width: 620px;
}

body.editorial-theme .cta-studio-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
}

body.editorial-theme .cta-badge-item {
  font-family: var(--font-ed-mono);
  font-size: 0.75rem;
  font-weight: 700;
  color: #8E8E8E;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

body.editorial-theme .cta-badge-item span {
  color: var(--ed-red);
}

/* Right Column: High-Utility Studio Consultation Card */
body.editorial-theme .cta-banner-right {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
  background-color: rgba(255, 255, 255, 0.035);
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 2px;
  padding: 2.25rem 2.25rem;
  backdrop-filter: blur(10px);
}

body.editorial-theme .cta-right-header {
  margin-bottom: 0.25rem;
}

body.editorial-theme .cta-right-title {
  font-family: var(--font-ed-mono);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #EAEAEA;
  display: block;
}

body.editorial-theme .cta-right-subtitle {
  font-size: 0.8125rem;
  color: #8E8E8E;
  margin-top: 0.35rem;
  display: block;
}

body.editorial-theme .cta-btn-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: var(--ed-red);
  color: #FFFFFF;
  padding: 1.05rem 1.5rem;
  font-family: var(--font-ed-mono);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

body.editorial-theme .cta-btn-main:hover {
  background-color: var(--ed-red-hover);
  transform: translateY(-2px);
  color: #FFFFFF;
}

body.editorial-theme .cta-contact-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

body.editorial-theme .cta-contact-btn {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 2px;
  padding: 0.75rem 0.95rem;
  color: #E0E0E0;
  text-decoration: none;
  font-family: var(--font-ed-mono);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  transition: all var(--transition-fast);
}

body.editorial-theme .cta-contact-btn svg {
  width: 17px;
  height: 17px;
  flex-shrink: 0;
}

body.editorial-theme .cta-contact-btn.btn-wa:hover {
  background-color: #25D366;
  border-color: #25D366;
  color: #FFFFFF;
}

body.editorial-theme .cta-contact-btn.btn-call:hover {
  background-color: #FFFFFF;
  border-color: #FFFFFF;
  color: #0E0E0E;
}

@media (max-width: 992px) {
  body.editorial-theme .cta-banner {
    padding: 2.75rem 2rem;
  }
  body.editorial-theme .cta-banner-grid {
    grid-template-columns: 1fr;
    gap: 2.25rem;
  }
}

@media (max-width: 600px) {
  body.editorial-theme .cta-banner {
    padding: 2.25rem 1.25rem;
  }
  body.editorial-theme .cta-contact-links {
    grid-template-columns: 1fr;
  }
  body.editorial-theme .cta-banner-right {
    padding: 1.5rem 1.25rem;
  }
}

/* ==========================================================================
   EDITORIAL THEME MOBILE DRAWER & MENU CTA
   ========================================================================== */
body.editorial-theme .mobile-drawer {
  background-color: #0E0E0E;
  color: #FFFFFF;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.45);
}

body.editorial-theme .mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

body.editorial-theme .mobile-nav-link {
  font-family: var(--font-ed-display);
  font-size: 1.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #FFFFFF;
  padding: 0.65rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-decoration: none;
  transition: color var(--transition-fast);
}

body.editorial-theme .mobile-nav-link:hover,
body.editorial-theme .mobile-nav-link.active {
  color: var(--ed-red);
}

body.editorial-theme .mobile-drawer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 1.25rem;
  margin-top: 1.5rem;
}

body.editorial-theme .mobile-drawer .ed-btn-project {
  display: flex !important;
  width: 100%;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  font-size: 0.9rem;
  border-radius: 2px;
  margin-bottom: 1rem;
  box-shadow: 0 4px 18px rgba(255, 30, 30, 0.35);
}

body.editorial-theme .mobile-drawer .ed-btn-project:hover {
  background-color: var(--ed-red-hover);
  color: #FFFFFF;
}

body.editorial-theme .mobile-contact-item {
  color: #B0B0B0;
}

body.editorial-theme .mobile-contact-item svg {
  color: var(--ed-red);
}

body.editorial-theme .mobile-contact-item a {
  color: #EAEAEA;
}

body.editorial-theme .mobile-contact-item a:hover {
  color: var(--ed-red);
}

/* ==========================================================================
   CAREERS PAGE STYLES (Editorial Theme)
   ========================================================================== */
.career-card {
  background: #FFFFFF;
  border: 1px solid var(--ed-border);
  border-radius: 2px;
  padding: 2.25rem 2.5rem;
  transition: transform var(--transition-base), box-shadow var(--transition-base), border-color var(--transition-base);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.career-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.08);
  border-color: #0E0E0E;
}

.career-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 1.5rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.career-title {
  font-family: var(--font-ed-display);
  font-size: 1.85rem;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--ed-dark);
  margin-bottom: 0.45rem;
}

.career-badges {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.career-badge {
  font-family: var(--font-ed-mono);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 0.25rem 0.65rem;
  background-color: var(--ed-bg);
  border: 1px solid var(--ed-border);
  color: #33312E;
  border-radius: 2px;
}

.career-desc {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--ed-text-muted);
  margin-bottom: 1.5rem;
  max-width: 900px;
}

.career-req-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.career-req-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: #374151;
}

.career-req-item svg {
  width: 16px;
  height: 16px;
  color: var(--ed-red);
  flex-shrink: 0;
  margin-top: 3px;
}

.career-pillar-card {
  transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.career-pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.06);
}

@media (max-width: 600px) {
  .career-card {
    padding: 1.75rem 1.25rem;
  }
  .career-header {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================================================
   SERVICES DUAL PILLARS: THE CREATIVE ENGINE & THE BUILD FLOOR
   ========================================================================== */
.services-pillars-section {
  padding: 4.5rem 0 5rem;
  background: #FFFFFF;
  border-bottom: 1px solid var(--ed-border);
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3.5rem;
  align-items: flex-start;
}

@media (max-width: 900px) {
  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 3.5rem;
  }
}

.pillar-col {
  display: flex;
  flex-direction: column;
}

.pillar-category-title {
  font-family: var(--font-ed-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: capitalize;
  letter-spacing: -0.01em;
  color: #111111;
  margin-bottom: 1.25rem;
}

.pillar-banner-card {
  position: relative;
  min-height: 260px;
  border-radius: 2px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 2.75rem 2.25rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
}

.pillar-card-engine {
  background-color: #556B52;
  background-image: 
    radial-gradient(circle, rgba(255,255,255,0.45) 1.5px, transparent 1.5px),
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 44px 44px;
}

.pillar-card-build {
  background-color: #6398A8;
  background-image: 
    radial-gradient(circle, rgba(255,255,255,0.45) 1.5px, transparent 1.5px),
    linear-gradient(rgba(255, 255, 255, 0.16) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.16) 1px, transparent 1px);
  background-size: 44px 44px;
}

.pillar-card-heading {
  font-family: var(--font-ed-display);
  font-size: clamp(2.3rem, 4.2vw, 3.2rem);
  line-height: 1.05;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #FFFFFF;
  margin: 0;
  text-transform: uppercase;
}

.pillar-content {
  padding-top: 1.75rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.pillar-desc-lead {
  font-size: 1.05rem;
  color: #4B5563;
  line-height: 1.65;
  margin-bottom: 1.5rem;
  font-weight: 500;
}

.pillar-points-list {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
}

.pillar-points-list li {
  position: relative;
  padding-left: 1.5rem;
  font-size: 1.025rem;
  color: #2D3748;
  line-height: 2.1;
  font-weight: 500;
}

.pillar-points-list li::before {
  content: '•';
  position: absolute;
  left: 0;
  color: #111111;
  font-size: 1.4rem;
  line-height: 1.4;
}

.pillar-learn-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  align-self: flex-start;
  padding: 0.55rem 1.25rem;
  border: 1.5px solid #E05A47;
  color: #E05A47;
  background: transparent;
  font-family: var(--font-ed-heading);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  border-radius: 2px;
  text-decoration: none;
  transition: all 0.25s ease;
  margin-top: auto;
}

.pillar-learn-btn .arrow-icon {
  font-size: 1rem;
  transition: transform 0.2s ease;
}

.pillar-learn-btn:hover {
  background: #E05A47;
  color: #FFFFFF;
}

.pillar-learn-btn:hover .arrow-icon {
  transform: translate(2px, -2px);
}

/* ==========================================================================
   CAREER APPLICATION INQUIRY CARD & RESPONSIVE EMAIL BUTTON
   ========================================================================== */
.career-resume-box {
  max-width: 680px;
  width: 100%;
  margin: 0 auto;
  background: #FFFFFF;
  border: 1px solid var(--ed-border);
  padding: 3.5rem 2.5rem;
  border-radius: 2px;
  text-align: center;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.04);
  box-sizing: border-box;
}

.career-email-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  max-width: 100%;
  padding: 1.1rem 2.5rem;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
  box-sizing: border-box;
  text-align: center;
}

@media (max-width: 640px) {
  .career-resume-box {
    padding: 2.25rem 1.25rem;
  }
  .career-email-cta {
    display: flex;
    width: 100%;
    max-width: 100%;
    padding: 0.85rem 0.65rem;
    font-size: clamp(0.72rem, 3.4vw, 0.88rem);
    letter-spacing: 0.02em;
    justify-content: center;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .career-email-cta svg {
    width: 18px;
    height: 18px;
    margin-right: 0.4rem;
    flex-shrink: 0;
  }
}






