/* ==========================================================================
   UNIFY STUDIO - CORE DESIGN SYSTEM & STYLESHEET
   Design Language: High-Performance Technical Dark, WCAG 2.1 AA Compliant
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Bitter:ital,wght@0,400;0,500;1,400&family=JetBrains+Mono:wght@400;500;600&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Zilla+Slab:ital,wght@0,400;0,500;0,600;1,400;1,500&display=swap');

:root {
  /* Color Palette - Clean Flat Light Architecture */
  --bg-dark: #F5F5F5;
  --bg-surface: #FCFBF7;
  --bg-surface-elevated: #F1F5F9;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F8FAFC;
  --bg-glass: #F5F5F5;

  /* Borders & Dividers */
  --border-subtle: rgba(50, 71, 91, 0.1);
  --border-light: rgba(50, 71, 91, 0.16);
  --border-accent: #f5a043;
  --border-glow: transparent;

  /* Typography Colors - Slate Navy from Logo (No Black) */
  --text-primary: #32475B;
  --text-secondary: #5A6E82;
  --text-muted: #7E90A2;
  --text-faint: #A6B4C2;

  /* Brand Colors from Logo (Flat Palette) */
  --brand-teal: #50A2AA;
  --brand-teal-light: #6CB8BF;
  --brand-teal-dark: #266970;
  --brand-coral: #DC5D4C;
  --brand-coral-light: #E87A6B;
  --brand-coral-dark: #B74334;
  --brand-amber: #f5a043;
  --brand-amber-light: #F8B66B;
  --brand-amber-dark: #B5722B;
  --brand-slate: #32475B;

  /* Flat Buttons & Accents (100% Flat) */
  --gradient-brand: #50A2AA;
  --gradient-text: #32475B;
  --gradient-accent-text: #f5a043;
  --gradient-card: #FFFFFF;
  --gradient-glow: transparent;

  /* Zero Shadows - Pure Flat Design */
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-xl: none;
  --shadow-glow-indigo: none;
  --shadow-glow-cyan: none;

  /* Typography */
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Zilla Slab', 'Bitter', Georgia, serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;

  /* Sizing & Transitions */
  --container-max: 1240px;
  --container-width: 1240px;
  --transition-fast: 0.18s ease;
  --transition-base: 0.28s ease;
  --transition-slow: 0.45s cubic-bezier(0.16, 1, 0.3, 1);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
}

/* Headings Typography - Unified Semi-Bold (600) */
h1,
h2,
h3,
h4,
h5,
h6,
.hero-title,
.section-title,
.challenge-title,
.faq-title,
.home-about-title,
.service-hero-title,
.service-hero__title,
.work-carousel-title,
.work-card-client,
.footer-col-title,
.cta-title,
.final-cta-title,
.faq-question-text {
  font-family: var(--font-sans);
  color: var(--text-primary);
  font-weight: 600;
  letter-spacing: -0.01em;
}

/* Accessible Skip Link */
.skip-to-content {
  position: absolute;
  top: -100px;
  left: 20px;
  background: var(--brand-teal);
  color: #FFFFFF;
  padding: 12px 20px;
  font-weight: 700;
  border-radius: var(--radius-sm);
  z-index: 9999;
  transition: top var(--transition-fast);
  text-decoration: none;
}

.skip-to-content:focus {
  top: 20px;
  outline: 3px solid var(--brand-amber);
}

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

a:hover {
  color: var(--brand-teal-dark);
}

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

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

/* ==========================================================================
   Utility Classes & Layout
   ========================================================================== */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.text-gradient {
  color: var(--text-primary);
}

.text-accent-gradient {
  color: var(--brand-amber);
}

.section-spacing {
  padding-top: 80px;
  padding-bottom: 80px;
}

@media (max-width: 768px) {
  .section-spacing {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background var(--transition-base), border-color var(--transition-base);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
}

.logo-wrapper {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 800;
  font-size: 1.25rem;
  letter-spacing: -0.02em;
  transition: opacity var(--transition-fast), transform var(--transition-fast);
}


.logo-exact-img {
  height: 70px;
  width: auto;
  max-width: 250px;
  object-fit: contain;
  display: block;
}

.logo-symbol {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-image: url('/assets/images/logo-icon.png');
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  font-weight: 800;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: transform var(--transition-base);
}

.logo-wrapper:hover .logo-symbol {
  transform: scale(1.08) rotate(3deg);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-name {
  color: var(--brand-slate);
  line-height: 1.1;
  font-weight: 800;
  letter-spacing: -0.02em;
}

.logo-tag {
  font-size: 0.68rem;
  font-weight: 700;
  color: var(--brand-coral);
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.nav-desktop {
  display: flex;
  align-items: center;
  gap: 32px;
}

.nav-link {
  color: var(--text-secondary);
  font-weight: 600;
  font-size: 0.95rem;
  position: relative;
  padding: 6px 2px;
  transition: color var(--transition-fast);
}

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

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
}

/* Navigation Dropdown Menu (Flat Design) */
.nav-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

button.nav-dropdown-toggle {
  background: transparent;
  border: none;
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  line-height: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 2px;
}

.dropdown-chevron {
  transition: transform var(--transition-fast);
}

.nav-dropdown.is-open .dropdown-chevron {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  width: 700px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 20px 24px 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.2s cubic-bezier(0.16, 1, 0.3, 1), transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.2s;
  z-index: 250;
  box-shadow: 0 16px 40px -8px rgba(50, 71, 91, 0.12), 0 4px 16px rgba(50, 71, 91, 0.04);
}

/* Controlled ONLY by .is-open, NEVER by hover */
.nav-dropdown.is-open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(4px);
}

/* Extra Item: First Row Full-Width Above the Grid */
.dropdown-header-all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  margin-bottom: 14px;
  background: var(--bg-surface-elevated, #F1F5F9);
  border-radius: 10px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
  text-decoration: none;
  transition: background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  border: 1px solid var(--border-subtle);
}

.dropdown-header-all:hover,
.dropdown-header-all:focus-visible {
  background: rgba(80, 162, 170, 0.12);
  color: var(--brand-teal);
  border-color: rgba(80, 162, 170, 0.35);
}

.dropdown-header-all .dropdown-all-arrow {
  transition: transform 0.18s ease;
  font-size: 16px;
}

.dropdown-header-all:hover .dropdown-all-arrow,
.dropdown-header-all:focus-visible .dropdown-all-arrow {
  transform: translateX(4px);
}

.dropdown-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 6px 16px;
}

.dropdown-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-primary);
  transition: background 0.18s ease;
  box-sizing: border-box;
}

.dropdown-item:hover {
  background: #F7F8F9;
}

.dropdown-item-icon {
  width: 20px;
  height: 20px;
  stroke: var(--text-secondary);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
  margin-top: 2px;
  transition: stroke 0.18s ease, transform 0.18s ease;
}

/* Hover color assignment per item */
.dropdown-item-teal:hover .dropdown-item-icon {
  stroke: var(--brand-teal);
}

.dropdown-item-coral:hover .dropdown-item-icon {
  stroke: var(--brand-coral);
}

.dropdown-item-amber:hover .dropdown-item-icon {
  stroke: var(--brand-amber);
}

.dropdown-item-slate:hover .dropdown-item-icon {
  stroke: var(--brand-slate);
}

.dropdown-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.dropdown-item-title {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}

.dropdown-item-desc {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.35;
  white-space: normal;
}

.dropdown-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 16px;
  margin-top: 14px;
  border-top: 1px solid var(--border-subtle);
}

.dropdown-view-all {
  font-family: var(--font-sans);
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-teal);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: color 0.18s ease, transform 0.18s ease;
}

.dropdown-view-all:hover {
  color: var(--brand-teal-dark);
  transform: translateX(3px);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

/* Language Switcher */
.lang-switcher {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 2px;
}

.lang-btn {
  padding: 5px 12px;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-full);
  color: var(--text-muted);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.lang-btn:hover {
  color: var(--text-primary);
}

.lang-btn.active {
  background: var(--brand-teal);
  color: #FFFFFF;
}

.site-header .lang-switcher {
  display: none !important;
}

.site-footer .lang-switcher {
  display: inline-flex !important;
}

/* Mobile Menu Toggle */
.mobile-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-sm);
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

@media (max-width: 992px) {
  .nav-desktop {
    display: none;
  }

  .mobile-toggle {
    display: flex;
  }
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  max-height: calc(100dvh - 80px);
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 12px 24px 32px;
  flex-direction: column;
  gap: 0;
  z-index: 99;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.08);
}

.mobile-drawer.open {
  display: flex;
}

.mobile-drawer .nav-link {
  display: block;
  font-size: 1.25rem;
  font-weight: 600;
  padding: 18px 0;
  border-bottom: 1px solid var(--border-subtle);
  color: var(--text-primary);
  text-decoration: none;
  font-family: var(--font-sans);
}

.mobile-drawer .nav-link:hover,
.mobile-drawer .nav-link:focus-visible {
  color: var(--brand-teal);
}

/* Accordion Nav Groups */
.mobile-nav-group {
  width: 100%;
}

.mobile-nav-toggle {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 18px 0;
  background: none;
  border: none;
  font-size: 1.25rem;
  font-weight: 600;
  text-align: left;
  color: var(--text-primary);
  cursor: pointer;
  border-bottom: 1px solid var(--border-subtle);
  font-family: var(--font-sans);
}

.mobile-nav-toggle:hover,
.mobile-nav-toggle:focus-visible {
  color: var(--brand-teal);
}

.mobile-nav-chevron {
  transition: transform 0.25s ease;
  flex-shrink: 0;
}

.mobile-nav-group.is-open .mobile-nav-chevron {
  transform: rotate(180deg);
}

.mobile-nav-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
}

.mobile-nav-group.is-open .mobile-nav-panel {
  grid-template-rows: 1fr;
}

.mobile-nav-panel-inner {
  overflow: hidden;
  visibility: hidden;
  transition: visibility 0.3s ease;
  display: flex;
  flex-direction: column;
}

.mobile-nav-group.is-open .mobile-nav-panel-inner {
  visibility: visible;
}

.mobile-service-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 0 14px 8px;
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-primary);
  text-decoration: none;
  border-bottom: 1px solid rgba(226, 232, 240, 0.6);
  transition: color 0.15s ease, background 0.15s ease;
  font-family: var(--font-sans);
}

.mobile-service-item:hover,
.mobile-service-item:focus-visible {
  color: var(--brand-teal);
}

.mobile-nav-panel-inner .mobile-service-item:last-child {
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-service-icon {
  width: 18px;
  height: 18px;
  stroke: var(--text-secondary);
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
}

.mobile-service-item-teal .mobile-service-icon {
  stroke: var(--brand-teal);
}

.mobile-service-item-coral .mobile-service-icon {
  stroke: var(--brand-coral);
}

.mobile-service-item-amber .mobile-service-icon {
  stroke: var(--brand-amber);
}

.mobile-service-item-slate .mobile-service-icon {
  stroke: var(--brand-slate);
}

.mobile-service-item-teal-dark .mobile-service-icon {
  stroke: var(--brand-teal-dark);
}

.mobile-service-item-coral-dark .mobile-service-icon {
  stroke: var(--brand-coral-dark);
}

/* ==========================================================================
   Buttons & CTAs (100% Flat + Hover Arrow Micro-interaction)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-base);
  text-decoration: none;

  box-shadow: none !important;
}

.btn svg {
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  flex-shrink: 0;
}

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

/* .btn:not(:has(svg))::after {
  content: '→';
  display: inline-block;
  opacity: 0;
  width: 0;
  margin-left: -4px;
  transform: translateX(-5px);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn:not(:has(svg)):hover::after {
  opacity: 1;
  width: auto;
  margin-left: 6px;
  transform: translateX(0);
} */

.btn-primary {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
  color: #FFFFFF;
}

.btn-primary:hover {
  background: var(--brand-teal-dark);
  border-color: var(--brand-teal-dark);
  transform: translateY(-2px);
  color: #FFFFFF;
}

.btn-secondary {
  background: transparent;
  color: var(--brand-slate);
  border-color: var(--brand-slate);
}

.btn-secondary.white {
  color: #fff;
  border-color: #fff;
}

.btn-secondary.white:hover {
  color: #fff;
  background-color: rgba(255, 255, 255, 0.12);
  border-color: #fff;
  transform: translateY(-2px);
}

#services,
#servicios {
  background-color: #fff;
}

.btn-secondary:hover {
  background: var(--bg-surface);
  border-color: var(--brand-teal);
  color: var(--brand-teal);
  transform: translateY(-2px);
}

.btn-outline-emerald {
  background: rgba(16, 185, 129, 0.08);
  color: #34D399;
  border-color: rgba(16, 185, 129, 0.3);
}

.btn-outline-emerald:hover {
  background: rgba(16, 185, 129, 0.18);
  border-color: #34D399;
  transform: translateY(-2px);
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
  background-color: var(--brand-amber);
  border-color: var(--brand-amber);
  transform: none !important;
}

.btn-sm:hover {
  background-color: var(--brand-amber-dark);
  border-color: var(--brand-amber-dark);
  color: #fff;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  position: relative;
  padding: 85px 40px 75px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25)), url('/assets/images/pr-splash.jpg') center center / cover no-repeat;
  margin: 20px 30px;
  border-radius: 12px;
}


.hero-content {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

.pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(245, 160, 67, 0.1);
  border: 1px solid rgba(245, 160, 67, 0.3);
  color: var(--brand-amber);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  margin-bottom: 24px;
}

.pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-amber);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    opacity: 0.8;
  }

  50% {
    transform: scale(1.2);
    opacity: 1;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.8;
  }
}

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #fff;
  margin-bottom: 20px;
  text-align: center;
}

.hero-subtitle {
  font-size: clamp(1.05rem, 1.8vw, 1.22rem);
  color: #fff;
  line-height: 1.6;
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 50px;
}

/* Hero 2-Column Grid Layout */
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.95fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.hero-text-col {
  text-align: left;
}

.hero-text-col .pill-badge {
  margin-left: 0;
  margin-right: auto;
}

.hero-visual-col {
  position: relative;
  width: 100%;
}

.hero-image-card {
  position: relative;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  background: #FFFFFF;
  overflow: hidden;
}

.hero-browser-frame {
  margin: 0;
  border: none;
}

.hero-browser-frame .browser-header {
  background: #F8FAFC;
  border-bottom: 1px solid var(--border-subtle);
  padding: 10px 16px;
}

/* ==========================================================================
   Homepage CTA Wrap Section
   ========================================================================== */
.cta_wrap {
  padding: 40px 0 100px;
  background: transparent;
}

.cta_wrap .cta-card {
  width: 100%;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 255, 255, 0.16) 0%, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(255, 255, 255, 0.12) 0%, transparent 40%),
    linear-gradient(135deg, var(--brand-teal-dark) 0%, var(--brand-teal) 100%);
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  color: #FFFFFF;
  box-shadow: 0 20px 40px -15px rgba(38, 105, 112, 0.25);
  box-sizing: border-box;
}

.cta_wrap .cta-title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 600;
  color: #FFFFFF;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin: 0 0 16px;
}

.cta_wrap .cta-subtitle {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  color: rgba(255, 255, 255, 0.9);
  max-width: 580px;
  margin: 0 auto 36px;
  line-height: 1.5;
}

.cta_wrap .cta-action {
  margin-bottom: 20px;
}

.cta_wrap .btn-cta-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 16px 40px;
  border-radius: 9999px;
  background: #FFFFFF;
  color: var(--brand-teal-dark);
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
  transition: transform 200ms ease, box-shadow 200ms ease, background-color 200ms ease;
}

.cta_wrap .btn-cta-pill:hover {
  transform: translateY(-2px);
  background: #F8FAFC;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  color: var(--brand-teal-dark);
}

.cta_wrap .cta-email-link {
  display: inline-block;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 200ms ease, opacity 200ms ease;
}

.cta_wrap .cta-email-link:hover {
  color: #FFFFFF;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .cta_wrap {
    padding: 20px 0 60px;
  }

  .cta_wrap .cta-card {
    padding: 60px 24px;
    border-radius: 20px;
  }

  body .site-footer {
    padding: 40px 0 35px;
    margin: 24px;

  }

  body .contact-schedule-card,
  body .contact-card--form {


    padding: 40px 25px;
  }



}

.hero-browser-body {
  position: relative;
  padding: 0;
  background: #FFFFFF;
  overflow: hidden;
}

.hero-showcase-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.hero-floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 8px 14px;
  z-index: 2;
  font-size: 0.82rem;
}

.hero-floating-badge.badge-top {
  top: 16px;
  right: 16px;
  border-left: 3px solid var(--brand-amber);
}

.hero-floating-badge.badge-bottom {
  bottom: 16px;
  left: 16px;
  border-left: 3px solid var(--brand-teal);
}

.hero-floating-badge strong {
  display: block;
  color: var(--text-primary);
  font-size: 0.86rem;
  line-height: 1.2;
}

.hero-floating-badge span {
  display: block;
  color: var(--text-muted);
  font-size: 0.74rem;
}

.badge-icon-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: rgba(245, 160, 67, 0.15);
  color: var(--brand-amber);
  font-weight: 700;
  font-size: 0.95rem;
}

@media (max-width: 992px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .hero-text-col {
    text-align: center;
  }

  .hero-text-col .pill-badge {
    margin: 0 auto 20px;
  }

  .hero-text-col .hero-subtitle {
    margin: 0 auto 30px;
  }

  .hero-text-col .hero-cta-group {
    justify-content: center;
  }
}

/* ==========================================================================
   Service Page Architecture Sections
   ========================================================================== */
.service-about-section {
  padding: 100px 0;
  background: var(--bg-glass);
}

.service-about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: flex-start;
}

.service-about-left {
  display: flex;
  flex-direction: column;
}

.service-section-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: 12px;
  display: inline-block;
}

.service-section-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: clamp(1.8rem, 3.5vw, 2.3rem);
  letter-spacing: -0.02em;
  line-height: 1.15;
  color: var(--text-primary);
  text-align: left;
  margin: 0;
}

.service-about-body p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-secondary);
  margin: 0 0 16px;
}

.service-about-body p:last-child {
  margin-bottom: 0;
}

/* Section 3: Deliverables (What you get) */
.service-deliverables-section {
  padding: 100px 0;
  background-color: #fff;
}

.service-deliverables-header {
  margin-bottom: 0;
  text-align: left;
}

.deliverables-list {
  display: flex;
  flex-direction: column;
  margin-top: 48px;
}

.deliverable-row {
  display: grid;
  grid-template-columns: 38% 1fr;
  column-gap: 64px;
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  align-items: baseline;
}

.deliverable-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.35;
  padding-right: 24px;
}

.deliverable-desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

/* Section 4: How We Work */
.service-process-section {
  padding: 100px 0;
  background: #FFFFFF;
}

.service-process-header {
  margin-bottom: 0;
  text-align: left;
}

.process-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 56px;
}

.process-step {
  position: relative;
  padding-top: 28px;
  border-top: 2px solid var(--step-color, var(--brand-teal));
}

.process-step-header {
  display: block;
}

.process-number {
  font-family: var(--font-mono);
  font-size: clamp(3rem, 5vw, 4.5rem);
  font-weight: 600;
  line-height: 1;
  color: var(--step-color, var(--brand-teal));
  display: block;
  margin-bottom: 20px;
}

.process-title {
  font-family: var(--font-sans);
  font-size: 1.25rem;
  font-weight: 600;
  margin: 0 0 10px;
  color: var(--text-primary);
  line-height: 1.25;
}

.process-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 34ch;
  margin: 0;
}

@media (max-width: 900px) {
  .service-process-section {
    padding: 80px 0;
  }

  .process-grid {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-top: 40px;
  }

  .process-number {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
  }

  .process-desc {
    max-width: 100%;
  }
}

@media (max-width: 600px) {
  .service-process-section {
    padding: 80px 0;
  }

  .process-step {
    padding-top: 20px;
  }

  .process-step-header {
    display: flex;
    align-items: baseline;
    gap: 16px;
    margin-bottom: 10px;
  }

  .process-step-header .process-number {
    margin-bottom: 0;
    line-height: 1;
    flex-shrink: 0;
  }

  .process-step-header .process-title {
    margin-bottom: 0;
  }
}

/* Section 5: Real Case Study */
.service-case-section {
  padding: 100px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
}

.service-case-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 40px;
  background: #FFFFFF;
  box-shadow: var(--shadow-sm);
}

.service-case-content {
  display: flex;
  flex-direction: column;
}

.service-case-client {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.7rem;
  color: var(--text-primary);
  margin: 0 0 12px;
  line-height: 1.2;
}

.service-case-desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 20px;
}

.service-case-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 20px 32px;
  margin-bottom: 24px;
}

.case-metric-item {
  display: flex;
  flex-direction: column;
}

.case-metric-val {
  font-family: var(--font-mono);
  font-size: 1.4rem;
  font-weight: 600;
  color: var(--brand-teal);
  line-height: 1.2;
}

.case-metric-lbl {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 2px;
}

/* Section 6: Related Services */
.service-related-section {
  padding: 100px 0;
  background-color: #F5F5F5;
}

.service-related-header {
  margin-bottom: 40px;
  text-align: left;
}

.service-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
}

.service-related-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 24px;
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  text-decoration: none;
  color: inherit;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.service-related-card:hover {
  transform: translateY(-2px);
  border-color: var(--border-accent);
  box-shadow: var(--shadow-sm);
}

.service-related-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--brand-teal);
  margin-top: 2px;
}

.related-card-title {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.05rem;
  color: var(--text-primary);
  margin: 0 0 6px;
  line-height: 1.3;
}

.related-card-desc {
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--text-secondary);
  margin: 0;
}

@media (max-width: 768px) {

  .service-about-section,
  .service-deliverables-section,
  .service-process-section,
  .service-case-section,
  .service-related-section {
    padding: 80px 0;
  }

  .service-about-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .deliverable-row {
    grid-template-columns: 1fr;
    column-gap: 0;
    padding: 32px 0;
  }

  .deliverable-name {
    margin-bottom: 12px;
    padding-right: 0;
  }

  .service-case-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
}

/* ==========================================================================
   Section Headers & Eyebrows
   ========================================================================== */
.section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 56px;
}

/* Unified Eyebrow Specification */
.eyebrow,
.section-eyebrow,
.faq-eyebrow,
.home-about-eyebrow,
.about-hero-eyebrow,
.page-hero-eyebrow,
.about-how-eyebrow,
.legal-hero-eyebrow,
.marquee-title,
.service-hero__eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  line-height: 1.4;
}

.section-eyebrow {
  color: var(--brand-amber);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: var(--text-primary);
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Services Grid & Clean Flat Palette
   ========================================================================== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
}

/* Service Card Color & Gradient Variants */
.service-card--wordpress,
.service-card--teal,
.service-card-teal {
  --card-color: var(--brand-teal);
  --card-gradient: linear-gradient(135deg, var(--brand-teal-dark), var(--brand-teal) 60%, var(--brand-teal-light));
}

.service-card--frontend,
.service-card--coral,
.service-card-coral {
  --card-color: var(--brand-coral);
  --card-gradient: linear-gradient(135deg, var(--brand-coral-dark), var(--brand-coral) 60%, var(--brand-coral-light));
}

.service-card--seo,
.service-card--amber,
.service-card-amber {
  --card-color: var(--brand-amber);
  --card-gradient: linear-gradient(135deg, color-mix(in srgb, var(--brand-coral-dark) 15%, var(--brand-amber)), var(--brand-amber-light));
  /* Darkened amber for WCAG AA compliance (4.8:1 contrast on white) */
  --card-link-color: color-mix(in srgb, var(--brand-amber) 25%, var(--brand-coral-dark));
}

.service-card--performance,
.service-card--slate,
.service-card-slate {
  --card-color: var(--brand-slate);
  --card-gradient: linear-gradient(135deg, var(--brand-slate), var(--brand-teal-dark) 70%, var(--brand-teal));
}

.service-card--brand,
.service-card--teal-dark,
.service-card-teal-dark {
  --card-color: var(--brand-teal-dark);
  --card-gradient: linear-gradient(135deg, var(--brand-coral), var(--brand-amber));
}

.service-card--growth,
.service-card--coral-dark,
.service-card-coral-dark {
  --card-color: var(--brand-coral-dark);
  --card-gradient: linear-gradient(135deg, var(--brand-teal-dark), var(--brand-slate));
}

.service-card {
  display: flex;
  flex-direction: column;
  padding: 36px 32px;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  background: #FFFFFF;
  height: 100%;
  position: relative;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: var(--card-color);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.05);
}

.service-card:hover .service-card__icon {
  transform: scale(1.04);
}

/* Icon Box: 60x60 filled with service gradient and white line icon */
.service-card__icon,
.service-icon-box {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background: var(--card-gradient);
  position: relative;
  overflow: hidden;
  flex-shrink: 0;
  margin-bottom: 24px;
  box-sizing: border-box;
  transition: transform 250ms ease;
}

.service-card__icon::before,
.service-icon-box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(70% 70% at 25% 85%, rgba(255, 255, 255, 0.25), transparent 70%);
  pointer-events: none;
}

.service-card__icon svg,
.service-icon-box svg {
  position: relative;
  z-index: 1;
  width: 26px;
  height: 26px;
  stroke: #FFFFFF !important;
  fill: none !important;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card__icon svg *,
.service-icon-box svg * {
  stroke: #FFFFFF !important;
  fill: none !important;
}

.service-card__title,
.service-title {
  font-size: 1.25rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 12px 0;
  color: var(--text-primary);
  line-height: 1.3;
}

.service-card__desc,
.service-summary {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.55;
  min-height: 4.8em;
  margin: 0 0 24px 0;
}

.service-card__divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 0 0 20px 0;
  width: 100%;
}

.service-card__features,
.service-deliverables {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.service-card__features li,
.service-deliverables li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  line-height: 1.4;
  margin: 0;
}

/* Neutral feature check icon */
.service-card__features li svg,
.service-deliverables li svg {
  width: 14px;
  height: 14px;
  color: var(--text-muted);
  stroke: var(--text-muted);
  fill: none;
  flex-shrink: 0;
}

.service-card__features li span,
.service-deliverables li span {
  color: var(--text-secondary);
}

/* Service link: pushed to the bottom of the card */
.service-card__link,
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--card-link-color, var(--card-color));
  text-decoration: none;
  margin-top: auto;
  transition: gap 0.2s ease, opacity 0.2s ease;
}

.service-card__link svg,
.service-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  fill: none;
  transition: transform 0.2s ease;
}

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

@media (max-width: 1000px) {
  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 640px) {
  .services-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .service-card {
    padding: 28px 24px;
  }

  .service-card__desc,
  .service-summary {
    min-height: auto;
  }
}

/* Featured Badge */
.featured-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--brand-amber);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 12px;
  border-radius: var(--radius-full);
}

/* ==========================================================================
   Challenges We Solve - Gradient Cards Grid Layout
   ========================================================================== */
.challenges-section-header {
  margin-bottom: 40px;
  text-align: left;
}

.challenges-section-header .section-eyebrow {
  margin-bottom: 12px;
}

.challenges-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.challenge-card {
  border-radius: 20px;
  padding: 36px;
  min-height: 320px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  text-decoration: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.challenge-card:hover {
  transform: translateY(-4px);
}

/* Asymmetric 1fr : 1.4fr Rhythm (12-column grid: 5 cols vs 7 cols) */
.challenge-card:nth-child(1) {
  grid-column: span 5;
}

.challenge-card:nth-child(2) {
  grid-column: span 7;
}

.challenge-card:nth-child(3) {
  grid-column: span 7;
}

.challenge-card:nth-child(4) {
  grid-column: span 5;
}

.challenge-card:nth-child(5) {
  grid-column: span 5;
}

.challenge-card:nth-child(6) {
  grid-column: span 7;
}

@media (max-width: 992px) {
  .challenges-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .challenge-card:nth-child(n) {
    grid-column: span 1;
    min-height: 280px;
    padding: 30px 24px;
  }
}

/* Card Header (Title & Icon) */
.challenge-card-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
}

.challenge-title {
  font-family: var(--font-sans);
  font-size: clamp(1.6rem, 2.1vw, 2.1rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0;
  max-width: 82%;
}

.challenge-icon-box {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}

.challenge-icon {
  width: 28px;
  height: 28px;
  stroke: #FFFFFF;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
}

/* Card Footer (Description & Button) */
.challenge-card-bottom {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.challenge-desc {
  font-family: var(--font-sans);
  font-size: 0.96rem;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.5;
  margin: 0 0 24px 0;
  max-width: 540px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.challenge-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 22px;
  border-radius: 9999px;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  font-family: var(--font-sans);
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  width: fit-content;
}

.challenge-btn svg {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
}

.challenge-btn:hover {
  background: #FFFFFF;
  border-color: #FFFFFF;
}

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

/* 6 Gradient Colorways (Brand palette only + 18% white radial light in bottom left + AA contrast overlay) */

/* 1. WordPress: var(--brand-teal-dark) → var(--brand-teal) → var(--brand-teal-light) */
.challenge-card-teal {
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 60%),
    linear-gradient(135deg, var(--brand-teal-dark) 0%, var(--brand-teal) 50%, var(--brand-teal-light) 100%);
}

.challenge-card-teal .challenge-btn:hover {
  color: var(--brand-teal-dark);
}

/* 2. Front-End & Web Apps: var(--brand-coral-dark) → var(--brand-coral) → var(--brand-coral-light) */
.challenge-card-coral {
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 60%),
    linear-gradient(135deg, var(--brand-coral-dark) 0%, var(--brand-coral) 50%, var(--brand-coral-light) 100%);
}

.challenge-card-coral .challenge-btn:hover {
  color: var(--brand-coral-dark);
}

/* 3. Technical SEO & Indexability: var(--brand-amber) → var(--brand-amber-light) */
.challenge-card-amber {
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.12) 60%, transparent 100%),
    linear-gradient(135deg, var(--brand-amber) 0%, var(--brand-amber-light) 100%);
}

.challenge-card-amber .challenge-btn:hover {
  color: #B45309;
}

/* 4. Performance & Accessibility: var(--brand-slate) → var(--brand-teal-dark) → var(--brand-teal) */
.challenge-card-slate-teal {
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 60%),
    linear-gradient(135deg, var(--brand-slate) 0%, var(--brand-teal-dark) 50%, var(--brand-teal) 100%);
}

.challenge-card-slate-teal .challenge-btn:hover {
  color: var(--brand-slate);
}

/* 5. Brand & Design Systems: var(--brand-coral) → var(--brand-amber) */
.challenge-card-coral-amber {
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, transparent 60%),
    linear-gradient(135deg, var(--brand-coral) 0%, var(--brand-amber) 100%);
}

.challenge-card-coral-amber .challenge-btn:hover {
  color: var(--brand-coral-dark);
}

/* 6. Growth & Conversion Engineering: var(--brand-teal-dark) → var(--brand-slate) */
.challenge-card-teal-slate {
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.18) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 60%),
    linear-gradient(135deg, var(--brand-teal-dark) 0%, var(--brand-slate) 100%);
}

.challenge-card-teal-slate .challenge-btn:hover {
  color: var(--brand-slate);
}

/* Black Button at the Bottom-Right of the Grid */
.challenges-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 36px;
}

.btn-services-black {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #000000;
  color: #FFFFFF;
  padding: 14px 30px;
  border-radius: 9999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: 1.5px solid #000000;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.btn-services-black svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.btn-services-black:hover {
  background: #242424;
  border-color: #242424;
  color: #FFFFFF;
  transform: translateY(-2px);
}

.btn-services-black:hover svg {
  transform: translateX(4px);
}

@media (max-width: 640px) {
  .challenges-footer {
    justify-content: stretch;
  }

  .btn-services-black {
    width: 100%;
    justify-content: center;
  }
}

/* ==========================================================================
   Showcase / Work Cards & Mockups
   ========================================================================== */
/* Horizontal Carousel (Homepage) */
.work-carousel-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 20px;
}

.work-carousel-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.05;
  margin: 0;
  letter-spacing: -0.02em;
}

.work-nav-buttons {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.work-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--border-subtle);
  background: transparent;
  color: var(--text-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 250ms ease;
  padding: 0;
}

.work-nav-btn svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 200ms ease;
}

.work-nav-btn:hover:not(:disabled) {
  background: var(--brand-teal);
  border-color: var(--brand-teal);
  color: #FFFFFF;
}

.work-nav-btn:disabled,
.work-nav-btn[aria-disabled="true"] {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

.work-carousel-section {
  overflow: hidden;
}

.work-carousel-viewport {
  position: relative;
  width: 100%;
}

.work-carousel-track {
  display: flex;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding-left: max(24px, calc((100vw - var(--container-max)) / 2 + 24px));
  padding-right: 0;
  scroll-padding-inline-start: max(24px, calc((100vw - var(--container-max)) / 2 + 24px));
  scroll-padding-inline-end: 0;
  padding-bottom: 16px;
  padding-top: 4px;
  -ms-overflow-style: none;
  scrollbar-width: none;
  cursor: grab;
}

.work-carousel-track::-webkit-scrollbar {
  display: none;
}

.work-carousel-track.is-dragging {
  cursor: grabbing;
  scroll-snap-type: none;
  scroll-behavior: auto;
  user-select: none;
}

.work-carousel-card {
  flex: 0 0 560px;
  width: 560px;
  max-width: 560px;
  scroll-snap-align: start;
  background: #FFFFFF;
  border-radius: 20px;
  border: 1px solid var(--border-subtle);
  padding: 20px;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.work-carousel-card:last-child {
  scroll-snap-align: end;
  scroll-padding-inline-end: 0;
}

.work-carousel-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px -10px rgba(50, 71, 91, 0.12);
  border-color: rgba(50, 71, 91, 0.2);
}

.work-carousel-card .browser-frame {
  width: 100%;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border-subtle);
  background: #F8FAFC;
  margin-bottom: 20px;
  transition: transform 250ms ease, box-shadow 250ms ease, border-color 250ms ease;
}

.work-carousel-mockup-link {
  display: block;
  text-decoration: none;
  cursor: pointer;
}

.work-carousel-mockup-link:hover .browser-frame {
  transform: translateY(-4px);
}

.work-carousel-card .browser-body {
  width: 100%;
  aspect-ratio: 16 / 10;
  height: auto;
  overflow: hidden;
  position: relative;
  background: #F8FAFC;
  display: block;
}

.work-carousel-card .project-screenshot {
  width: 100%;
  height: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: top center;
  display: block;
  border-radius: 0 0 12px 12px;
  transition: transform 400ms ease;
}

.work-carousel-card:hover .project-screenshot {
  transform: scale(1.02);
}

.work-card-details {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.work-card-client {
  font-size: 20px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0 0 4px;
  line-height: 1.3;
}

.work-card-url {
  font-size: 14px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  margin-bottom: 16px;
  display: block;
}

.work-card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.work-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.work-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: color 200ms ease, gap 200ms ease;
}

.work-card-link svg {
  width: 16px;
  height: 16px;
  stroke: currentColor;
  stroke-width: 2;
  transition: transform 200ms ease;
}

.work-carousel-card:hover .work-card-link {
  color: var(--brand-teal);
}

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

.work-carousel-footer {
  text-align: center;
  margin-top: 48px;
}

@media (max-width: 900px) {
  .work-carousel-card {
    flex: 0 0 85vw;
    width: 85vw;
    max-width: 85vw;
  }
}

@media (max-width: 768px) {
  .work-carousel-track {
    gap: 16px;
    padding-left: max(24px, calc((100vw - var(--container-max)) / 2 + 24px));
    scroll-padding-inline-start: max(24px, calc((100vw - var(--container-max)) / 2 + 24px));
  }

  .work-carousel-card {
    flex: 0 0 85vw;
    width: 85vw;
    max-width: 85vw;
  }
}

/* Dedicated Grid (Work Page) */
.work-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

@media (max-width: 900px) {
  .work-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Work Cards System (/works/, /es/trabajos/ & Homepage Carousel)
   ========================================================================== */

/* Project Brand Color Themes */
.work-card--amber {
  --work-color: var(--brand-amber);
  --work-color-dark: var(--brand-amber-dark);
  --work-color-light: var(--brand-amber-light);
  --work-btn-text: var(--brand-slate);
  --work-pill-text: var(--brand-coral-dark);
}

.work-card--teal {
  --work-color: var(--brand-teal);
  --work-color-dark: var(--brand-teal-dark);
  --work-color-light: var(--brand-teal-light);
  --work-btn-text: #FFFFFF;
  --work-pill-text: var(--brand-teal-dark);
}

.work-card--coral {
  --work-color: var(--brand-coral);
  --work-color-dark: var(--brand-coral-dark);
  --work-color-light: var(--brand-coral-light);
  --work-btn-text: #FFFFFF;
  --work-pill-text: var(--brand-coral-dark);
}

.work-card--slate {
  --work-color: var(--brand-slate);
  --work-color-dark: var(--brand-slate);
  --work-color-light: var(--brand-teal);
  --work-btn-text: #FFFFFF;
  --work-pill-text: var(--brand-slate);
}

/* DESKTOP (por defecto, sin media query): */
.work-card {
  display: grid;
  grid-template-columns: 55% 45%;
  align-items: stretch;
  border-radius: 24px;
  overflow: hidden;
  border: none !important;
  background: #FFFFFF;
  box-shadow: 0 4px 24px rgba(50, 71, 91, 0.06);
  transition: transform var(--transition-base), box-shadow var(--transition-base);
  scroll-margin-top: 100px;
}

#trulioo,
#nova,
#jobscan,
#peoplefinders {
  scroll-margin-top: 100px;
}

.work-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(50, 71, 91, 0.12);
}

/* ALTERNANCIA EN DESKTOP */
.work-card:nth-child(even) {
  grid-template-columns: 45% 55%;
}

.work-card:nth-child(even) .work-card-visual {
  order: 2;
}

.work-card:nth-child(even) .work-card-content {
  order: 1;
}

/* PANEL IZQUIERDO (.work-card-visual) */
.work-card-visual {
  position: relative;
  background: linear-gradient(135deg, var(--work-color-dark), var(--work-color) 60%, var(--work-color-light));
  padding: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-sizing: border-box;
  width: 100%;
}

.work-card-visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 20% 85%, rgba(255, 255, 255, 0.18), transparent 70%);
  pointer-events: none;
  z-index: 1;
}

/* EL MOCKUP */
.work-mockup-stage {
  position: relative;
  width: 100%;
  max-width: 500px;
  z-index: 2;
}

.work-card-visual .browser-frame {
  position: relative;
  width: 100%;
  max-width: 100%;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18) !important;
  z-index: 2;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-sizing: border-box;
}

.work-card .browser-body {
  position: relative;
  height: 240px;
  background: #F8FAFC;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.work-card-phone {
  position: absolute;
  bottom: -10px;
  right: 14px;
  width: 105px;
  height: 165px;
  background: #FFFFFF;
  border: 3px solid var(--brand-slate);
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.22) !important;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  z-index: 4;
}

.work-card-phone .phone-speaker {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 3px;
  background: var(--brand-slate);
  border-radius: 3px;
  z-index: 5;
}

/* PANEL DERECHO (.work-card-content) */
.work-card-content {
  background: #FFFFFF;
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
}

.work-card-content .project-header {
  margin-bottom: 16px;
}

.work-card-content .project-client {
  font-size: 1.8rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.work-card-content .project-tagline {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.9rem;
  font-family: var(--font-mono);
  font-weight: 600;
  color: var(--work-color) !important;
  text-decoration: none;
  transition: opacity var(--transition-base);
}

.work-card-content .project-tagline:hover {
  opacity: 0.8;
}

.work-card-content .project-desc {
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

/* Metric Box */
.work-card-content .project-metric-box {
  background: color-mix(in srgb, var(--work-color) 6%, #FFFFFF);
  border-left: 3px solid var(--work-color);
  padding: 14px 18px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 24px;
}

.work-card-content .project-metric-text {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 4px;
  line-height: 1.4;
  font-family: var(--font-sans);
}

.work-card-content .project-metric-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.4;
}

/* Tag Pills */
.work-card-content .tag-pill,
.work-carousel-card .tag-pill {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
  font-weight: 500;
  border-radius: var(--radius-full);
  background: transparent !important;
  /* border: 1px solid color-mix(in srgb, var(--work-color) 30%, transparent) !important; */
  color: var(--work-pill-text, var(--work-color)) !important;
  text-decoration: none;
  transition: background 200ms ease, border-color 200ms ease;
}

.work-card-content .tag-pill:hover,
.work-carousel-card .tag-pill:hover {
  background: color-mix(in srgb, var(--work-color) 8%, transparent) !important;
  border-color: color-mix(in srgb, var(--work-color) 50%, transparent) !important;
}

/* Button */
.work-card-content .work-card-btn,
.work-card-content .btn-secondary {
  background: var(--work-color) !important;
  color: var(--work-btn-text, #FFFFFF) !important;
  border: 1px solid var(--work-color) !important;
  border-radius: 999px !important;
  font-weight: 600;
  padding: 12px 24px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  align-self: flex-start;
  text-decoration: none;
  transition: all var(--transition-base);
}

.work-card-content .work-card-btn:hover,
.work-card-content .btn-secondary:hover {
  background: var(--work-color-dark, var(--work-color)) !important;
  border-color: var(--work-color-dark, var(--work-color)) !important;
  color: var(--work-btn-text, #FFFFFF) !important;
  transform: translateY(-2px);
}

/* MOBILE (max-width: 900px): */
@media (max-width: 900px) {

  .work-card,
  .work-card:nth-child(even) {
    grid-template-columns: 1fr;
  }

  .work-card .work-card-visual,
  .work-card:nth-child(even) .work-card-visual {
    order: 0;
    padding: 28px 20px;
  }

  .work-card .work-card-content,
  .work-card:nth-child(even) .work-card-content {
    order: 1;
    padding: 36px 24px;
  }

  .work-card .browser-body {
    height: 200px;
  }

  .work-card-phone {
    width: 80px;
    height: 125px;
    bottom: -8px;
    right: 10px;
  }
}

@media (max-width: 480px) {

  .work-card .work-card-visual,
  .work-card:nth-child(even) .work-card-visual {
    padding: 24px 16px;
  }

  .work-card .work-card-content,
  .work-card:nth-child(even) .work-card-content {
    padding: 28px 16px;
  }

  .work-card .browser-body {
    height: 170px;
  }

  .work-card-phone {
    width: 68px;
    height: 105px;
    bottom: -6px;
    right: 8px;
  }
}

/* Carousel Content Accents */
.work-carousel-card .work-card-url {
  color: var(--work-color, var(--text-muted)) !important;
  font-weight: 500;
}

.work-carousel-card:hover .work-card-link {
  color: var(--work-color, var(--brand-teal));
}

.work-carousel-card:hover .work-card-link svg {
  stroke: var(--work-color, var(--brand-teal));
}

/* Realistic Browser Frame Mockup */
.browser-frame {
  background: #F8FAFC;
  border: 1px solid var(--border-subtle);
}

.browser-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #F1F5F9;
  border-bottom: 1px solid rgba(15, 23, 42, 0.08);
}

.browser-dots {
  display: flex;
  gap: 6px;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}

.dot-red {
  background: #EF4444;
}

.dot-yellow {
  background: #F59E0B;
}

.dot-green {
  background: #10B981;
}

.browser-url {
  background: #FFFFFF;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: var(--radius-sm);
  padding: 4px 12px;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  flex-grow: 1;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.browser-url-ssl {
  color: var(--brand-teal);
  font-weight: 700;
}

.browser-body {
  position: relative;
  height: 240px;
  background: #F8FAFC;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform var(--transition-slow), filter var(--transition-base);
}

.project-card:hover .project-screenshot {
  transform: scale(1.01);
}

.phone-screenshot {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Mockup UI Render inside browser frame */
.mockup-canvas {
  width: 100%;
  height: 100%;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: radial-gradient(circle at top right, rgba(99, 102, 241, 0.1), transparent 60%);
}

.mockup-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

.mockup-hero-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex-grow: 1;
}

.mockup-skeleton-text {
  height: 10px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.mockup-skeleton-title {
  height: 18px;
  width: 65%;
  background: var(--gradient-brand);
  border-radius: 4px;
  opacity: 0.8;
}

.mockup-stat-badge {
  position: absolute;
  display: none;
  bottom: 16px;
  right: 16px;
  background: rgba(16, 185, 129, 0.9);
  color: #052E16;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 800;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.project-info {
  padding: 28px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.project-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 12px;
}

.project-client {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.project-tagline {
  font-size: 0.85rem;
  color: var(--brand-teal);
  font-weight: 600;
  font-family: var(--font-mono);
}

.project-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 20px;
}

.project-metric-box {
  background: var(--bg-surface);
  border-left: 3px solid var(--brand-amber);
  padding: 10px 16px;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin-bottom: 20px;
}

.project-metric-text {
  font-family: var(--font-mono);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-teal-dark);
}

.project-metric-sub {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.project-services-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.tag-pill {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.project-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--brand-teal);
  text-decoration: none;
  margin-top: auto;
}

.project-footer-link:hover {
  color: var(--brand-teal-dark);
}

/* ==========================================================================
   Methodology / 4-Step Process
   ========================================================================== */
.process-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  position: relative;
}

@media (max-width: 992px) {
  .process-timeline {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 580px) {
  .process-timeline {
    grid-template-columns: 1fr;
  }
}

.step-card {
  background: #FFFFFF;
  border: 1.5px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.step-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-amber);
}

.step-number {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--brand-amber);
  line-height: 1;
  margin-bottom: 16px;
}

.step-card:hover .step-number {
  color: var(--brand-teal);
}

.step-title {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   Impact / Proof Section (Flat & Crystal Clear Contrast)
   ========================================================================== */
.impact-banner {
  background: #FFFFFF;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 56px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.impact-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .impact-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  .impact-grid {
    grid-template-columns: 1fr;
  }
}

.impact-stat {
  font-family: var(--font-mono);
  font-size: clamp(2.4rem, 4vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  margin-bottom: 8px;
}

.impact-grid>div:nth-child(1) .impact-stat {
  color: #f5a043;
}

.impact-grid>div:nth-child(2) .impact-stat {
  color: #50A2AA;
}

.impact-grid>div:nth-child(3) .impact-stat {
  color: #DC5D4C;
}

.impact-grid>div:nth-child(4) .impact-stat {
  color: #f5a043;
}

.impact-title {
  font-size: 1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.impact-sub {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 6px;
}

/* ==========================================================================
   Final Conversion CTA Section (Clean Flat Card)
   ========================================================================== */
.final-cta-card {

  border-radius: var(--radius-lg);
  padding: 70px 40px;
  text-align: center;
}

.final-cta-content {
  max-width: 680px;
  margin: 0 auto;
}

.final-cta-title {
  font-size: clamp(2.2rem, 4vw, 3rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  line-height: 1.05;
  color: #fff;
  margin-bottom: 18px;
}

.final-cta-desc {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 36px;
}

.cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Service Landing Page Specifics (Reference: Technical SEO)
   ========================================================================== */
.service-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: var(--radius-full);
  background: rgba(80, 162, 170, 0.12);
  border: 1px solid rgba(80, 162, 170, 0.3);
  color: var(--brand-teal-dark);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.problem-solution-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-top: 48px;
}

@media (max-width: 768px) {
  .problem-solution-grid {
    grid-template-columns: 1fr;
  }
}

.ps-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: 36px 30px;
  border: 1px solid var(--border-subtle);
}

.ps-card.problem {
  border-top: 4px solid #EF4444;
}

.ps-card.solution {
  border-top: 4px solid var(--brand-teal);
}

.ps-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
  font-size: 1.25rem;
  font-weight: 600;
}

.ps-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.ps-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.deliverables-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 900px) {
  .deliverables-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 600px) {
  .deliverables-grid {
    grid-template-columns: 1fr;
  }
}

.deliverable-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 28px 24px;
}

.deliverable-card h4 {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
  color: var(--text-primary);
}

.deliverable-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Tools & Technologies Grid */
.tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  margin-top: 32px;
}

.tool-chip {
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.tool-chip:hover {
  background: var(--bg-surface);
  border-color: var(--brand-amber);
  color: var(--brand-amber);
  transform: translateY(-2px);
}

/* ==========================================================================
   Forms & Contact
   ========================================================================== */
.contact-container {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 56px;
}

@media (max-width: 860px) {
  .contact-container {
    grid-template-columns: 1fr;
  }
}

.form-group {
  margin-bottom: 20px;
}

.form-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-secondary);
}

.form-input,
.form-textarea,
.form-select {
  width: 100%;
  background: #FFFFFF;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(79, 162, 170, 0.2);
  outline: none;
}

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

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.5;
  color: var(--text-secondary);
  margin-bottom: 24px;
}

.form-consent input {
  margin-top: 3px;
  flex-shrink: 0;
  accent-color: var(--brand-teal);
  cursor: pointer;
}

.form-consent a {
  color: var(--brand-teal);
  text-decoration: underline;
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: var(--brand-coral) !important;
  outline-color: var(--brand-coral);
}

.form-consent.is-invalid {
  color: var(--brand-coral-dark);
}

.form-consent.is-invalid input {
  outline: 2px solid var(--brand-coral);
  outline-offset: 2px;
}

.form-field-error {
  margin-top: 6px;
  font-size: 13px;
  line-height: 1.4;
  color: var(--brand-coral-dark);
}

.form-feedback {
  margin-top: 16px;
  font-size: 14px;
  line-height: 1.5;
  font-weight: 500;
}

.form-feedback.is-success {
  color: var(--brand-teal-dark);
}

.form-feedback.is-error {
  color: var(--brand-coral-dark);
}

/* Contact Page Specific Components */
.contact-section {
  margin-bottom: 100px;
}

.contact-eyebrow {
  color: var(--brand-teal) !important;
}

.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}

.contact-card--form {
  padding: 40px;
}

.contact-card--mb {
  margin-bottom: 24px;
}

.contact-card__title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 12px;
  text-align: left;
}

.contact-card__title--lg {
  font-size: 1.8rem;
  font-weight: 600;
  margin-bottom: 8px;
  text-align: left;
}

.contact-card__title--sm {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
  text-align: left;
}

.contact-card__lead {
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 24px;
}

/* High-Impact Featured Schedule Card (Calendly) */
.contact-schedule-card {
  background: linear-gradient(135deg, var(--brand-teal-dark), #2a686e 65%, #38787e);
  color: #FFFFFF;
  border: none !important;
  border-radius: 20px;
  padding: 40px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 12px 36px -8px rgba(38, 105, 112, 0.25);
}

.contact-schedule-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(60% 60% at 20% 90%, rgba(255, 255, 255, 0.15), transparent 70%);
  pointer-events: none;
}

.contact-schedule-card>* {
  position: relative;
  z-index: 1;
}

.contact-schedule-card .contact-eyebrow {
  color: rgba(255, 255, 255, 0.8) !important;
}

.contact-schedule-card .contact-card__title {
  color: #FFFFFF !important;
}

.contact-schedule-card .contact-card__lead {
  color: rgba(255, 255, 255, 0.9) !important;
}

.contact-schedule-card .contact-calendly-card {
  background: rgba(255, 255, 255, 0.12);
  border: none !important;
  border-radius: 14px;
  color: #FFFFFF;
  box-shadow: none;
}

.contact-schedule-card .contact-calendly-title {
  color: #FFFFFF !important;
}

.contact-schedule-card .contact-calendly-meta {
  color: rgba(255, 255, 255, 0.9) !important;
}

.contact-schedule-card .contact-calendly-desc {
  color: rgba(255, 255, 255, 0.9) !important;
}

.contact-schedule-card .contact-calendly-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
}

.contact-schedule-card .btn-calendly-primary {
  background: var(--brand-amber);
  color: #fff;
}

/* Calendly Box inside Contact Card */
.contact-calendly-card {
  background: #FFFFFF;
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: var(--shadow-sm);
}

.contact-calendly-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-calendly-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--brand-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  flex-shrink: 0;
}

.contact-calendly-title {
  font-size: 1rem;
  font-weight: 600;
  margin: 0;
  color: var(--text-primary);
}

.contact-calendly-meta {
  font-size: 0.8rem;
  color: var(--brand-teal-dark);
  font-family: var(--font-mono);
  font-weight: 600;
  display: block;
}

.contact-calendly-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* Primary Calendly Button */
.btn-calendly-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 14px 24px;
  background: var(--brand-amber);
  color: var(--brand-slate);
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 0.95rem;
  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-calendly-primary:hover {
  background: var(--brand-amber-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Secondary Solid Form Submit Button */
.btn-contact-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 16px 28px;
  background: var(--brand-teal);
  color: #FFFFFF;
  border-radius: 999px;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-contact-submit:hover {
  background: var(--brand-teal-dark);
  color: #FFFFFF;
  transform: translateY(-1px);
}

/* Direct Engineering Info List */
.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  font-size: 0.95rem;
}

.contact-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-info-icon {
  width: 20px;
  height: 20px;
  color: var(--brand-teal);
  stroke: var(--brand-teal);
  flex-shrink: 0;
}

.contact-info-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.contact-info-value {
  color: var(--text-primary);
  font-weight: 600;
}

.contact-info-link {
  color: var(--text-primary);
  font-weight: 600;
  text-decoration: none;
  transition: color var(--transition-fast);
}

.contact-info-link:hover {
  color: var(--brand-teal);
}

/* Form Helper Text */
.form-help-text {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 6px;
  line-height: 1.4;
}

/* FAQ on Contact Page */
.contact-faq-section {
  margin-bottom: 120px;
}

.contact-faq-wrapper {
  max-width: 800px;
  margin: 0 auto;
}

/* Mobile drawer button & Footer label */
.mobile-drawer-btn {
  margin-top: 16px;
}

.footer-lang-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 12px;
}

/* ==========================================================================
   Footer - Slate Navy (#32475B) with Crisp White Typography
   ========================================================================== */
.site-footer {
  margin-top: auto;
  background-color: #32475B;
  border-top: 0;
  color: #FFFFFF;
  padding: 70px 0 35px;
  margin: 30px;
  border-radius: 12px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

@media (max-width: 900px) {
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 580px) {
  .footer-top {
    grid-template-columns: 1fr;
  }
}

.footer-brand p {
  color: #CBD5E1;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 16px 0 20px;
  max-width: 320px;
}

.footer-col-title {
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #FFFFFF;
  margin-bottom: 18px;
  font-family: var(--font-mono);
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-nav a {
  color: #CBD5E1;
  font-size: 0.9rem;
  transition: color var(--transition-fast);
}

.footer-nav a:hover {
  color: var(--brand-amber);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 0.85rem;
  color: #94A3B8;
}

.footer-legal-links {
  display: flex;
  gap: 20px;
}

.footer-legal-links a {
  color: #CBD5E1;
  transition: color var(--transition-fast);
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   Visually Hidden Helper (Accessibility)
   ========================================================================== */
.visually-hidden {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

/* ==========================================================================
   Client Logos Section (Infinite Full-Bleed Marquee Carousel)
   ========================================================================== */
.client-logos-section {
  width: 100%;
  padding: 50px 0 60px;
  background-color: var(--bg-dark);
  overflow: hidden;
  position: relative;
}

.marquee-header {
  text-align: center;
  margin-bottom: 45px;
  padding: 0 20px;
}

.marquee-title {
  color: var(--brand-amber);
  text-align: center;
}

.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0%, #000 8%, #000 92%, transparent 100%);
}

.marquee-track {
  display: flex;
  flex-wrap: nowrap;
  width: max-content;
  will-change: transform;
  -webkit-animation: marquee 35s linear infinite;
  animation: marquee 35s linear infinite;
}

/* .marquee-container:hover .marquee-track {
  -webkit-animation-play-state: paused;
  animation-play-state: paused;
} */

.marquee-group {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 72px;
  padding-right: 72px;
  flex-shrink: 0;
}

.marquee-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 44px;
  flex-shrink: 0;
}

.marquee-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.5;
  color: var(--brand-slate);
  transition: filter 0.25s ease, opacity 0.25s ease;
  vertical-align: middle;
  display: block;
}


.logo--wide,
.marquee-item img.logo--wide {
  max-height: 60%;
}

.logo--normal,
.marquee-item img.logo--normal {
  max-height: 80%;
}

.logo--square,
.marquee-item img.logo--square {
  max-height: 100%;
}

.logo--tall,
.marquee-item img.logo--tall {
  max-height: 100%;
  max-width: 70%;
}

@-webkit-keyframes marquee {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  100% {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes marquee {
  0% {
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
  }

  100% {
    -webkit-transform: translate3d(-50%, 0, 0);
    transform: translate3d(-50%, 0, 0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .marquee-track {
    -webkit-animation-duration: 80s;
    animation-duration: 80s;
  }
}

/* ==========================================================================
   FAQ Section (Clean Flat Design Accordion)
   ========================================================================== */
/* ==========================================================================
   FAQ Section (Homepage Redesign)
   ========================================================================== */
.faq-section {
  background-color: #F5F5F5;
  padding: 80px 0;
}

.faq-header {
  text-align: left;
  margin-bottom: 48px;
}

.faq-eyebrow {
  color: var(--brand-teal);
  margin-bottom: 12px;
}

.faq-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
}

.faq-accordion {
  max-width: 100%;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.faq-item {
  background: #FFFFFF;
  border-radius: 16px;
  border: 1px solid var(--border-subtle);
  margin-bottom: 12px;
  box-shadow: none;
  transition: border-color 250ms ease;
  overflow: hidden;
}

.faq-item.is-open {
  border-color: var(--brand-teal);
}

.faq-question {
  width: 100%;
  padding: 24px 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 600;
  color: var(--text-primary);
  transition: color 200ms ease;
}

.faq-question:hover {
  color: var(--brand-teal);
}

.faq-question-text {
  font-size: 17px;
  font-weight: 600;
  color: inherit;
  line-height: 1.35;
  text-align: left;
  flex: 1;
  padding-right: 16px;
}

.faq-chevron {
  width: 20px;
  height: 20px;
  stroke: var(--text-secondary);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  fill: none;
  flex-shrink: 0;
  transition: transform 250ms ease, stroke 250ms ease;
}

.faq-item.is-open .faq-chevron {
  transform: rotate(180deg);
  stroke: var(--brand-teal);
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 300ms ease;
}

.faq-item.is-open .faq-answer {
  grid-template-rows: 1fr;
}

.faq-answer-inner {
  overflow: hidden;
  min-height: 0;
  padding: 0 28px 0;
  transition: padding 300ms ease;
}

.faq-item.is-open .faq-answer-inner {
  padding: 0 28px 26px;
}

.faq-answer-inner p {
  font-size: 15px;
  line-height: 1.6;
  color: var(--text-secondary);
  max-width: 90%;
  margin: 0;
}

@media (max-width: 768px) {
  .faq-section {
    padding: 80px 0;
  }

  .faq-question {
    padding: 20px 20px;
  }

  .faq-answer-inner {
    padding: 0 20px 0;
  }

  .faq-item.is-open .faq-answer-inner {
    padding: 0 20px 22px;
  }

  .faq-answer-inner p {
    max-width: 100%;
  }
}

/* ==========================================================================
   Section Color Dividers & Flat Rhythm
   ========================================================================== */
.section-divide-teal {
  border-top: 3px solid var(--brand-teal);
  background-color: #FFFFFF;
}

.section-divide-coral {
  border-top: 3px solid var(--brand-coral);
  background-color: var(--bg-surface);
}

.section-divide-amber {
  border-top: 3px solid var(--brand-amber);
}

.section-divide-slate {
  border-top: 3px solid var(--brand-slate);
  background-color: #FFFFFF;
}

.services-top-action {
  text-align: center;
  margin-top: 40px;
}

/* ==========================================================================
   Legal Pages (Privacy Policy, Terms)
   ========================================================================== */
.legal-hero {
  background-color: #F5F5F5;
  padding: 80px 0;
  border-bottom: 1px solid var(--border-subtle);
}

.legal-hero-inner {
  max-width: 100%;
  text-align: left;
}

.legal-hero-eyebrow {
  color: var(--brand-teal);
  margin-bottom: 12px;
}

.legal-hero-title {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--text-primary);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.legal-hero-date {
  font-size: 14px;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0;
}

.legal-section {
  background-color: #FFFFFF;
  padding: 80px 0;
}

.legal-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 64px;
  align-items: start;
}

.legal-toc-wrapper {
  position: sticky;
  top: 100px;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
}

.legal-toc-title {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.legal-toc-nav {
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-left: 2px solid var(--border-subtle);
  padding-left: 16px;
}

.legal-toc-link {
  font-size: 14px;
  line-height: 1.45;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 200ms ease, font-weight 150ms ease;
  position: relative;
}

.legal-toc-link:hover {
  color: var(--brand-teal);
}

.legal-toc-link.active {
  color: var(--brand-teal);
  font-weight: 700;
}

.legal-content {
  max-width: 760px;
  margin: 0;
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
}

.legal-content h2 {
  font-size: 1.4rem;
  font-weight: 600;
  letter-spacing: -0.02em;
  margin-top: 48px;
  margin-bottom: 16px;
  color: var(--text-primary);
  scroll-margin-top: 110px;
}

.legal-content h2:first-child {
  margin-top: 0;
}

.legal-content h3 {
  font-size: 1.15rem;
  font-weight: 600;
  margin-top: 28px;
  margin-bottom: 12px;
  color: var(--text-primary);
}

.legal-content p {
  margin-bottom: 20px;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 24px 0;
  padding-left: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal-content li {
  line-height: 1.7;
}

.legal-content a {
  color: var(--brand-teal);
  text-decoration: none;
  transition: color 150ms ease, text-decoration 150ms ease;
}

.legal-content a:hover {
  text-decoration: underline;
}

.legal-placeholder {
  background-color: rgba(245, 160, 67, 0.12);
  color: #B45309;
  padding: 1px 6px;
  border-radius: 4px;
  font-family: var(--font-mono, monospace);
  font-weight: 600;
  font-size: 0.9em;
  border: 1px dashed rgba(245, 160, 67, 0.4);
}

@media (max-width: 992px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .legal-toc-wrapper {
    position: static;
    max-height: none;
    padding: 24px;
    background: #F9FAFB;
    border-radius: 12px;
    border: 1px solid var(--border-subtle);
  }

  .legal-toc-nav {
    border-left: none;
    padding-left: 0;
  }

  .legal-hero {
    padding: 60px 0;
  }

  .legal-section {
    padding: 60px 0;
  }
}

/* ==========================================================================
   Homepage - About Us Section
   ========================================================================== */
.home-about-section {
  background-color: var(--brand-slate);
  color: #fff;
  padding: 80px 0;
}

.home-about-grid {
  display: grid;
  grid-template-columns: 1.45fr 1fr;
  gap: 64px;
  align-items: start;
}

.home-about-left {
  display: flex;
  flex-direction: column;
}

.home-about-eyebrow {
  color: var(--brand-teal);
  margin-bottom: 16px;
}

.home-about-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 600;
  line-height: 1.05;
  color: #fff;
  margin: 0 0 24px 0;
  letter-spacing: -0.02em;
}

.home-about-title span {
  color: var(--brand-teal);
}

.home-about-desc {
  font-size: 17px;
  line-height: 1.7;
  color: #fff;
  margin: 0 0 32px 0;
  max-width: 580px;
}

.home-about-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  font-weight: 700;
  color: var(--brand-teal);
  text-decoration: none;
  transition: color 200ms ease;
  width: fit-content;
}

.home-about-cta span.arrow {
  display: inline-block;
  transition: transform 200ms ease;
}

.home-about-cta:hover span.arrow {
  transform: translateX(4px);
}

.home-about-right {
  display: flex;
  flex-direction: column;
}

.home-about-photo-wrap {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
  margin-bottom: 16px;
  background: #E5E7EB;
}

.home-about-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.home-about-caption {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.home-about-name {
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
}

.home-about-role {
  font-size: 14px;
  color: var(--text-muted);
}

/* Stats Bar */
.home-about-stats {
  margin-top: 40px;
  background: #FFFFFF;
  border-radius: 20px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.04);
  padding: 48px 32px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  text-align: center;
  border: 1px solid var(--border-subtle);
}

.home-about-stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.home-about-stat-num {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  color: var(--text-primary);
  margin-bottom: 8px;
  font-variant-numeric: tabular-nums;
  letter-spacing: -0.02em;
}

.home-about-stat-label {
  font-size: 15px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.35;
}

@media (max-width: 992px) {
  .home-about-section {
    padding: 80px 0;
  }

  .home-about-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .home-about-right {
    max-width: 380px;
  }

  .home-about-stats {
    margin-top: 48px;
    padding: 36px 24px;
    gap: 28px;
  }
}

@media (max-width: 640px) {
  .home-about-stats {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .home-about-stat-item:not(:last-child) {
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 24px;
  }
}

/* ==========================================================================
   Page Hero & About Us Page (/about/, /works/, /contact/, /works/ and /es/)
   ========================================================================== */
.page-hero,
.about-hero {
  background-color: #F5F5F5;
  padding: 80px 0;
  text-align: center;

}

.page-hero-eyebrow,
.about-hero-eyebrow {
  color: var(--brand-teal);
  margin-bottom: 16px;
}

.page-hero-title,
.about-hero-title {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--text-primary);
  margin: 0 auto;
  max-width: 820px;
  letter-spacing: -0.02em;
}

.about-story-section {
  background-color: #FFFFFF;
  padding: 100px 0;
}

.about-story-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 64px;
  align-items: center;
}

.about-story-text p {
  font-size: 17px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 24px 0;
  max-width: 600px;
}

.about-story-text p:last-child {
  margin-bottom: 0;
}

.about-story-img-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.06);
  background: #E5E7EB;
}

.about-story-img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 11;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

/* How We Work Section */
.about-how-section {
  background-color: var(--bg-glass);
  padding: 80px 0;

}

.about-how-header {
  text-align: left;
  margin-bottom: 56px;
}

.about-how-eyebrow {
  color: var(--brand-teal);
  margin-bottom: 12px;
}

.about-how-title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--text-primary);
  margin: 0;
  letter-spacing: -0.02em;
}

.about-how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}

.about-how-card {
  background: #FFFFFF;
  border: 1px solid var(--border-subtle);
  border-radius: 16px;
  padding: 36px 28px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  transition: transform 200ms ease, border-color 200ms ease, box-shadow 200ms ease;
}

.about-how-card:hover {
  transform: translateY(-4px);
  border-color: var(--brand-teal);
  box-shadow: 0 10px 28px rgba(80, 162, 170, 0.08);
}

.about-how-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(80, 162, 170, 0.1);
  color: var(--brand-teal);
  margin-bottom: 4px;
}

.about-how-card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
  line-height: 1.3;
}

.about-how-card-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

/* Team Section */
.about-team-section {
  background-color: #FFFFFF;
  padding: 100px 0;
}

.about-team-grid {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: center;
  max-width: 960px;
  margin: 0 auto;
}

.about-team-photo-wrap {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
  background: #E5E7EB;
}

.about-team-photo {
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 5;
  object-fit: cover;
  display: block;
  border-radius: 20px;
}

.about-team-info {
  display: flex;
  flex-direction: column;
}

.about-team-name {
  font-size: clamp(2rem, 3.5vw, 2.5rem);
  font-weight: 600;
  line-height: 1.05;
  color: var(--text-primary);
  margin: 0 0 4px 0;
  letter-spacing: -0.02em;
}

.about-team-role {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--brand-teal);
  margin-bottom: 18px;
}

.about-team-bio {
  font-size: 16px;
  line-height: 1.75;
  color: var(--text-secondary);
  margin: 0 0 24px 0;
}

.about-team-model {
  padding: 18px 22px;
  background: #F9FAFB;
  border-radius: 12px;
  border-left: 3px solid var(--brand-teal);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}

.about-team-model svg {
  color: var(--brand-teal);
  flex-shrink: 0;
}

/* Stats Section wrapper */
.about-stats-section {
  padding: 0 0 80px 0;
  background-color: #FFFFFF;
}

@media (max-width: 992px) {

  .page-hero,
  .about-hero {
    padding: 70px 0;
  }

  .about-story-section,
  .about-how-section,
  .about-team-section {
    padding: 70px 0;
  }

  .about-stats-section {
    padding: 0 0 70px 0;
  }

  .about-story-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-how-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .about-team-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .about-team-photo-wrap {
    max-width: 320px;
  }
}

/* ==========================================================================
   Reusable Service Hero Component
   ========================================================================== */
.service-hero-wrapper {
  padding: 32px 0 0;
  background-color: var(--bg-surface);
}

.service-hero-block {
  border-radius: 24px;
  padding: 80px 40px;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.service-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #FFFFFF;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  margin-bottom: 24px;
}

.service-hero-badge svg {
  stroke-width: 1.8;
  flex-shrink: 0;
}

.service-hero-title,
.service-hero__title {
  font-size: clamp(2.2rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  margin: 0 auto 20px;
  max-width: 960px;
}

.service-hero-subtitle {
  font-size: 1.1rem;
  line-height: 1.6;
  max-width: 700px;
  margin: 0 auto 36px;
  color: rgba(255, 255, 255, 0.9);
}

.service-hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px 36px;
  border-radius: 9999px;
  background: #FFFFFF;
  font-size: 16px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  transition: transform 200ms ease, box-shadow 200ms ease, background 200ms ease;
  cursor: pointer;
}

.service-hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.22);
}

/* Service Hero Gradient Themes (Brand colors + 15% radial light) */
.service-hero-teal {
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 60%),
    linear-gradient(135deg, var(--brand-teal-dark) 0%, var(--brand-teal) 50%, var(--brand-teal-light) 100%);
}

.service-hero-teal .service-hero-cta {
  color: var(--brand-teal-dark);
}

.service-hero-coral {
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 60%),
    linear-gradient(135deg, var(--brand-coral-dark) 0%, var(--brand-coral) 50%, var(--brand-coral-light) 100%);
}

.service-hero-coral .service-hero-cta {
  color: var(--brand-coral-dark);
}

.service-hero-amber {
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.28) 0%, rgba(0, 0, 0, 0.12) 60%, transparent 100%),
    linear-gradient(135deg, var(--brand-amber) 0%, var(--brand-amber-light) 100%);
}

.service-hero-amber .service-hero-cta {
  color: #B45309;
}

.service-hero-slate {
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 60%),
    linear-gradient(135deg, var(--brand-slate) 0%, var(--brand-teal-dark) 50%, var(--brand-teal) 100%);
}

.service-hero-slate .service-hero-cta {
  color: var(--brand-slate);
}

.service-hero-coral-amber {
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.22) 0%, transparent 60%),
    linear-gradient(135deg, var(--brand-coral) 0%, var(--brand-amber) 100%);
}

.service-hero-coral-amber .service-hero-cta {
  color: var(--brand-coral-dark);
}

.service-hero-teal-slate {
  background:
    radial-gradient(circle at 0% 100%, rgba(255, 255, 255, 0.15) 0%, transparent 60%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 60%),
    linear-gradient(135deg, var(--brand-teal-dark) 0%, var(--brand-slate) 100%);
}

.service-hero-teal-slate .service-hero-cta {
  color: var(--brand-slate);
}


@media (max-width: 992px) {
  .service-hero-block {
    padding: 80px 24px;
    border-radius: 20px;
  }
}

/* ==========================================================================
   Simple Dropdown (About Us / Single Column ~260px)
   ========================================================================== */
.dropdown-menu--simple {
  width: 260px;
  min-width: 240px;
  padding: 8px;
  border-radius: 12px;
}

.dropdown-simple-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.dropdown-simple-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  text-decoration: none;
  color: var(--text-primary);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  transition: background 0.15s ease, color 0.15s ease;
}

.dropdown-simple-link:hover,
.dropdown-simple-link:focus-visible {
  background: var(--bg-surface-elevated, #F1F5F9);
  color: var(--brand-teal);
}

.dropdown-simple-icon {
  width: 18px;
  height: 18px;
  stroke: var(--text-secondary);
  stroke-width: 1.6;
  fill: none;
  flex-shrink: 0;
  transition: stroke 0.15s ease;
}

.dropdown-simple-link:hover .dropdown-simple-icon,
.dropdown-simple-link:focus-visible .dropdown-simple-icon {
  stroke: var(--brand-teal);
}

/* ==========================================================================
   Page Hero Split Component (Used by /industries/ and /technologies/)
   ========================================================================== */
.page-hero {
  background-color: #F5F5F5;
  padding: 80px 0;
}

.page-hero-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: flex-end;
}

.page-hero-split .page-hero-title {
  margin: 0;
  text-align: left;
}

.page-hero-lead {
  font-size: clamp(1.05rem, 2vw, 1.25rem);
  line-height: 1.6;
  color: var(--text-secondary);
  margin: 0;
}

.page-hero-split .page-hero-lead {
  text-align: left;
}

@media (max-width: 768px) {
  .page-hero-split {
    grid-template-columns: 1fr;
    gap: 20px;
    align-items: flex-start;
  }
}

/* ==========================================================================
   Industries Page Components
   ========================================================================== */
.industries-section {
  padding: 40px 0 0;
  background: #FFFFFF;
}

.industries-list {
  display: flex;
  flex-direction: column;

  .client-logos-section--industries {
    margin: 10px 0;
  }

  padding-bottom: 30px;
}

.industry-row {
  display: grid;
  grid-template-columns: 40% 60%;
  padding: 40px 0;
  border-top: 1px solid var(--border-subtle);
  align-items: flex-start;
  gap: 32px;
}

.industries-list :first-child {
  border-top: none;
}

.industry-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.4rem;
  color: var(--text-primary);
  letter-spacing: -0.01em;
  margin: 0;
  line-height: 1.25;
}

.industry-desc {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0;
}

.client-logos-section--industries {
  margin: 10px 0;
}

.industry-logos {
  display: none;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 32px;
}

.industry-logo-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 32px;
  flex-shrink: 0;
}

.industry-logo-item img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.55;
  transition: opacity 0.2s ease, filter 0.2s ease;
}

.industry-logo-item:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

/* Teams at Every Stage */
.stages-section {
  padding: 60px 0 100px;
  background: #FFFFFF;
}

.stages-header {
  margin-bottom: 40px;
}

.stages-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: 12px;
  display: inline-block;
}

.stages-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0;
}

.stages-list {
  display: flex;
  flex-direction: column;
}

.stage-header-group {
  display: contents;
}

.stage-row {
  border-top: 2px solid var(--stage-color, var(--border-subtle));
  padding: 36px 0;
  display: grid;
  grid-template-columns: auto 1fr 1.4fr;
  gap: 40px;
  align-items: start;
}

.stage-number {
  font-family: var(--font-mono);
  font-size: clamp(2.5rem, 4vw, 3.5rem);
  font-weight: 600;
  line-height: 1;
  color: var(--stage-color);
}

.stage-name {
  font-family: var(--font-sans);
  font-weight: 600;
  font-size: 1.3rem;
  color: var(--text-primary);
  margin: 0;
}

.stage-statement {
  font-size: clamp(1.2rem, 2.5vw, 1.55rem);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  margin: 0;
}

@media (max-width: 768px) {

  .header-actions .btn-sm {
    display: none;
  }

  .hero {
    position: relative;
    padding: 40px 10px;
  }

  .logo-exact-img {
    max-width: 160px;
  }

  .hero-cta-group {

    margin-bottom: 10px;
  }


  .industry-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 0;
  }

  .stage-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 32px 0;
  }

  .stage-header-group {
    display: flex;
    align-items: baseline;
    gap: 16px;
  }
}

/* ==========================================================================
   Technologies Page Components
   ========================================================================== */
.tech-section {
  padding: 60px 0 100px;
  background: #FFFFFF;
}

/* Group container with group color border and eyebrow */
.tech-group,
.tech-category {
  --group-color: var(--brand-teal);
  padding-top: 28px;
  border-top: 2px solid var(--group-color);
  margin-bottom: 80px;
}

.tech-group:first-of-type,
.tech-category:first-of-type {
  border-top: none;
  padding-top: 0;
}

.tech-group:last-of-type,
.tech-category:last-of-type {
  margin-bottom: 48px;
}

/* Color assignments per group */
.tech-group--teal {
  --group-color: var(--brand-teal);
}

.tech-group--coral {
  --group-color: var(--brand-coral);
}

.tech-group--amber {
  --group-color: var(--brand-amber);
  /* Contrast AA adjustment for 12px mono text on white (passes 4.5:1) */
  --group-eyebrow-color: color-mix(in srgb, var(--brand-amber) 25%, var(--brand-coral-dark));
}

.tech-group--slate {
  --group-color: var(--brand-slate);
}

.tech-group--teal-dark {
  --group-color: var(--brand-teal-dark);
}

.tech-group--coral-dark {
  --group-color: var(--brand-coral-dark);
}

.tech-group__eyebrow,
.tech-category-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--group-eyebrow-color, var(--group-color));
  margin-bottom: 40px;
  display: block;
}

.tech-group__lead,
.tech-category-lead {
  font-size: 1.05rem;
  line-height: 1.65;
  color: var(--text-secondary);
  max-width: 720px;
  margin: -20px 0 36px;
}

/* Grid specifications: 3 col desktop, 2 col tablet (900px), 1 col mobile (600px) */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 40px;
  row-gap: 56px;
}

.tech-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* Logo container & image specifications */
.tech-item__logo {
  width: 100%;
  height: 28px;
  display: flex;
  align-items: flex-start;
  margin-bottom: 14px;
}

.tech-item__logo img {
  max-height: 100%;
  max-width: 120px;
  width: auto;
  object-fit: contain;
  opacity: 0.45;
  transition: opacity 0.25s ease;
}

.tech-item:hover .tech-item__logo img {
  opacity: 1;
}

/* Optical normalization classes within tech-item__logo */
.tech-item__logo img.logo--wide {
  max-height: 65%;
}

.tech-item__logo img.logo--normal {
  max-height: 85%;
}

.tech-item__logo img.logo--square {
  max-height: 100%;
}

.tech-item__logo img.logo--tall {
  max-height: 100%;
  max-width: 70px;
}

/* Single-stroke line icon for conceptual & fallback items in group color */
.tech-item__icon {
  width: 28px;
  height: 28px;
  stroke: var(--group-color);
  color: var(--group-color);
  stroke-width: 1.5;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
  opacity: 0.8;
  transition: opacity 0.25s ease;
}

.tech-item:hover .tech-item__icon {
  opacity: 1;
}

.tech-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
  margin: 0 0 8px 0;
}

.tech-desc {
  font-size: 15px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

.tech-note {
  font-size: 14px;
  line-height: 1.6;
  color: var(--text-muted, #64748B);
  max-width: 680px;
  margin: 48px 0 0;
  padding-top: 24px;
  border-top: 1px solid var(--border-subtle);
}

@media (max-width: 900px) {
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 32px;
    row-gap: 48px;
  }
}

@media (max-width: 600px) {
  .tech-grid {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 40px;
  }
}

/* ==========================================================================
   Homepage Industries Section (After About, Before FAQ)
   ========================================================================== */
.home-industries-section {
  padding: 70px 0;
  background: #FFFFFF;
  border-top: 1px solid var(--border-subtle);
}

.home-industries-eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-teal);
  margin-bottom: 12px;
  display: inline-block;
}

.home-industries-title {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  margin: 0 0 32px 0;
}

.home-industries-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 28px;
}

.home-industries-item {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
}

.home-industries-divider {
  color: var(--border-subtle);
  font-weight: 300;
  user-select: none;
}

.home-industries-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 15px;
  font-weight: 600;
  color: var(--brand-teal);
  text-decoration: none;
  transition: gap 0.18s ease;
}

.home-industries-cta:hover,
.home-industries-cta:focus-visible {
  gap: 10px;
}

@media (max-width: 640px) {
  .home-industries-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .home-industries-divider {
    display: none;
  }
}