/* Custom Theme CSS for Gua Emas Engineering Sdn Bhd */
/* DUAL MODE SYSTEM:
   Mode 1 (Default): Custom PCs, Repairs & IoT Hardware (Theme: Cyber Yellow #FFC72C, Dark Grey #17171C, Onyx #0B0B0E)
   Mode 2: KT System Power Engineering & 500kV Grid Protection (Theme: Electric Cyan #00F0FF, Grid Blue #0084FF, Deep Navy #060913, Surface #0D1527)
*/

:root {
  /* PC Mode Palette (Yellow & Black) */
  --ge-yellow: #FFC72C;
  --ge-yellow-hover: #E0AC1B;
  --ge-yellow-light: #FFF5D6;
  --ge-black: #0B0B0E;
  --ge-dark-grey: #17171C;
  --ge-surface-grey: #22222A;
  --ge-border-grey: #343442;
  --ge-text-light: #FFFFFF;
  --ge-text-dark: #0B0B0E;
  --ge-text-muted: #9E9EA5;

  /* Engineering Mode Palette (Electric Cyan & Deep Tech Blue) */
  --eng-cyan: #00F0FF;
  --eng-cyan-hover: #00C8D6;
  --eng-blue: #0084FF;
  --eng-blue-glow: rgba(0, 240, 255, 0.25);
  --eng-black: #050811;
  --eng-dark: #0B1120;
  --eng-surface: #111B30;
  --eng-border: #1E2E4E;
  --eng-text-light: #F8FAFC;
  --eng-text-muted: #94A3B8;
  --eng-green: #00E676;

  /* Active Dynamic Variables */
  --active-accent: var(--ge-yellow);
  --active-accent-hover: var(--ge-yellow-hover);
  --active-bg: var(--ge-black);
  --active-card-bg: var(--ge-surface-grey);
  --active-border: var(--ge-border-grey);
  --active-text: var(--ge-text-light);
  --active-muted: var(--ge-text-muted);
}

/* ===================================================
   MODE OVERRIDES
   =================================================== */

body.glue-body {
  background-color: var(--active-bg) !important;
  color: var(--active-text) !important;
  font-family: 'Google Sans', 'Inter', system-ui, -apple-system, sans-serif !important;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* PC Mode Active */
body[data-mode="pc"] {
  --active-accent: var(--ge-yellow);
  --active-accent-hover: var(--ge-yellow-hover);
  --active-bg: var(--ge-black);
  --active-card-bg: var(--ge-surface-grey);
  --active-border: var(--ge-border-grey);
  --active-text: var(--ge-text-light);
  --active-muted: var(--ge-text-muted);
}

/* Engineering Mode Active */
body[data-mode="engineering"] {
  --active-accent: var(--eng-cyan);
  --active-accent-hover: var(--eng-cyan-hover);
  --active-bg: var(--eng-black);
  --active-card-bg: var(--eng-surface);
  --active-border: var(--eng-border);
  --active-text: var(--eng-text-light);
  --active-muted: var(--eng-text-muted);
}

/* Announcement Banner Reset */
.bsp-banner.glue-banner {
  position: relative !important;
  z-index: 1001 !important;
  width: 100% !important;
  max-width: 100vw !important;
  min-height: auto !important;
  padding: 10px 16px !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  background-color: var(--active-accent) !important;
  color: #050811 !important;
  display: block !important;
}

.glue-banner__content-wrapper {
  margin: 0 auto !important;
  max-width: 1200px !important;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0 !important;
  display: flex !important;
  justify-content: center !important;
}

.glue-banner__content {
  padding: 0 !important;
  width: 100% !important;
  text-align: center !important;
  display: block !important;
}

.glue-banner__message p {
  margin: 0 !important;
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
  color: #050811 !important;
}

body[data-mode="engineering"] .bsp-banner.glue-banner {
  background-color: var(--eng-cyan) !important;
  color: #050811 !important;
}

body[data-mode="engineering"] .bsp-banner.glue-banner p,
body[data-mode="engineering"] .bsp-banner.glue-banner a {
  color: #050811 !important;
}

/* ===================================================
   MODE SWITCHER COMPONENT (FLOATING & HEADER)
   =================================================== */

.mode-switcher-container {
  display: inline-flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 4px;
  border-radius: 40px;
  backdrop-filter: blur(12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  user-select: none;
}

/* Header Toggle filling the central navigation area */
.header-nav-fill,
.ge-header-nav-fill {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 20px;
}

.header-mode-tabs {
  width: 100%;
  max-width: 580px;
  display: flex;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 5px;
  border-radius: 50px;
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: all 0.3s ease;
}

.header-mode-tabs .mode-switch-btn {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 10px 22px;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 40px;
  gap: 8px;
  white-space: nowrap;
  letter-spacing: -0.01em;
}

.header-mode-tabs .mode-switch-btn svg {
  flex-shrink: 0;
}

@media (max-width: 1100px) {
  .header-mode-tabs {
    max-width: 460px;
  }
  .header-mode-tabs .mode-switch-btn {
    padding: 8px 12px;
    font-size: 0.84rem;
    gap: 6px;
  }
}

@media (max-width: 840px) {
  .floating-mode-bar {
    display: none !important;
  }

  .bsp-banner.glue-banner {
    padding: 8px 12px !important;
  }

  .glue-banner__message p {
    font-size: 0.78rem !important;
    line-height: 1.35 !important;
  }

  .ge-site-header,
  .android-page-header {
    height: auto !important;
    padding: 6px 0 8px !important;
  }

  .ge-header-container,
  .android-page-header__inner-container {
    display: flex !important;
    flex-wrap: wrap !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 0 12px !important;
    row-gap: 6px !important;
    box-sizing: border-box !important;
    max-width: 100% !important;
  }

  .ge-header-logo-wrap,
  .android-page-header__logo-container {
    order: 1 !important;
    flex: 0 0 auto !important;
  }

  .ge-header-logo-link,
  .android-page-header__logo {
    gap: 8px !important;
  }

  .ge-header-logo {
    height: 32px !important;
    max-width: 135px !important;
  }

  .ge-brand-subtitle-badge {
    display: none !important;
  }

  .ge-header-button-wrap,
  .android-page-header__button {
    order: 2 !important;
    flex: 0 0 auto !important;
    margin-left: auto !important;
    display: flex !important;
  }

  .ge-header-button-wrap .bsp-button,
  .android-page-header__button .bsp-button {
    padding: 6px 12px !important;
    font-size: 0.76rem !important;
    height: 34px !important;
    line-height: 22px !important;
    border-radius: 18px !important;
  }

  .ge-header-nav-fill,
  .header-nav-fill {
    order: 3 !important;
    width: 100% !important;
    flex: 0 0 100% !important;
    margin: 4px 0 0 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    box-sizing: border-box !important;
  }

  .header-mode-tabs {
    width: 100% !important;
    max-width: 100% !important;
    border-radius: 30px !important;
    padding: 2px !important;
    box-sizing: border-box !important;
    display: flex !important;
  }

  .header-mode-tabs .mode-switch-btn {
    flex: 1 1 50% !important;
    min-width: 0 !important;
    padding: 6px 4px !important;
    font-size: 0.72rem !important;
    gap: 4px !important;
    justify-content: center !important;
    text-align: center !important;
    white-space: nowrap !important;
    letter-spacing: -0.02em !important;
    box-sizing: border-box !important;
  }

  .header-mode-tabs .mode-switch-btn svg {
    width: 14px !important;
    height: 14px !important;
    flex-shrink: 0 !important;
  }
}

.mode-switch-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 30px;
  border: none;
  background: transparent;
  color: #94A3B8;
  font-family: 'Google Sans', 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.mode-switch-btn:hover {
  color: #FFFFFF;
}

.mode-switch-btn.active {
  color: #0B0B0E;
  font-weight: 800;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
}

/* PC Mode active button styling */
body[data-mode="pc"] .mode-switch-btn[data-target="pc"] {
  background: var(--ge-yellow);
  color: #0B0B0E;
  box-shadow: 0 0 18px rgba(255, 199, 44, 0.45);
}

/* Engineering Mode active button styling */
body[data-mode="engineering"] .mode-switch-btn[data-target="engineering"] {
  background: var(--eng-cyan);
  color: #050811;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.45);
}

/* Floating quick switcher badge */
.floating-mode-bar {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: rgba(11, 15, 25, 0.9);
  border: 1px solid var(--active-accent);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.6), 0 0 20px var(--eng-blue-glow);
  padding: 6px;
  border-radius: 40px;
  backdrop-filter: blur(16px);
  animation: floatBounce 4s ease-in-out infinite;
}

.floating-mode-bar .mode-switch-btn {
  padding: 8px 18px;
  font-size: 0.85rem;
  white-space: nowrap;
}

@keyframes floatBounce {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50% { transform: translateX(-50%) translateY(-5px); }
}

/* ===================================================
   HEADER & NAVIGATION
   =================================================== */

.ge-site-header,
.android-page-header {
  position: sticky !important;
  top: 0 !important;
  width: 100% !important;
  z-index: 1000 !important;
  background-color: rgba(11, 11, 14, 0.95) !important;
  border-bottom: 2px solid var(--active-accent) !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color 0.3s ease, background-color 0.3s ease;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

body[data-mode="engineering"] .ge-site-header,
body[data-mode="engineering"] .android-page-header {
  background-color: rgba(5, 8, 17, 0.95) !important;
  border-bottom: 2px solid var(--eng-cyan) !important;
}

.ge-header-container {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  max-width: 1320px;
  margin: 0 auto;
  padding: 10px 24px;
  width: 100%;
  box-sizing: border-box;
}

.ge-header-logo-wrap {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.ge-header-logo-link,
.android-page-header__logo {
  color: var(--active-accent) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.ge-header-button-wrap {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
}

.ge-header-button-wrap .bsp-button {
  padding: 8px 20px !important;
  font-size: 0.85rem !important;
  border-radius: 24px !important;
  white-space: nowrap !important;
}

.ge-header-logo {
  height: 46px;
  width: auto;
  max-width: 190px;
  object-fit: contain;
  transition: all 0.3s ease;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.4));
}

.ge-brand-subtitle-badge {
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid var(--active-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--active-accent);
  transition: all 0.3s ease;
  white-space: nowrap;
}

@media (max-width: 900px) {
  .ge-brand-subtitle-badge {
    display: none;
  }
}

.ge-brand-logo-text {
  font-family: 'Google Sans', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #FFFFFF;
  text-transform: uppercase;
}

.ge-brand-logo-text span {
  color: var(--active-accent);
  transition: color 0.3s ease;
}

.android-navigation-item__cta span,
.android-navigation-item__link span {
  color: #FFFFFF !important;
  transition: color 0.2s ease;
}

.android-navigation-item__cta:hover span,
.android-navigation-item__link:hover span {
  color: var(--active-accent) !important;
}

/* ===================================================
   BUTTONS & BADGES
   =================================================== */

.glue-button--high-emphasis,
.bsp-button.glue-button--high-emphasis {
  background-color: var(--active-accent) !important;
  color: #050811 !important;
  border-color: var(--active-accent) !important;
  font-weight: 800 !important;
  border-radius: 28px !important;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.glue-button--high-emphasis:hover,
.bsp-button.glue-button--high-emphasis:hover {
  background-color: var(--active-accent-hover) !important;
  box-shadow: 0 6px 20px rgba(0, 240, 255, 0.35) !important;
  transform: translateY(-2px);
}

body[data-mode="pc"] .glue-button--high-emphasis:hover,
body[data-mode="pc"] .bsp-button.glue-button--high-emphasis:hover {
  box-shadow: 0 6px 20px rgba(255, 199, 44, 0.35) !important;
}

.glue-button--medium-emphasis,
.bsp-button.glue-button--medium-emphasis {
  background-color: transparent !important;
  color: var(--active-accent) !important;
  border: 2px solid var(--active-accent) !important;
  font-weight: 700 !important;
  border-radius: 28px !important;
  transition: all 0.25s ease !important;
}

.glue-button--medium-emphasis:hover,
.bsp-button.glue-button--medium-emphasis:hover {
  background-color: var(--active-accent) !important;
  color: #050811 !important;
}

.ge-badge {
  background-color: var(--active-accent) !important;
  color: #050811 !important;
  padding: 5px 16px !important;
  border-radius: 20px !important;
  font-weight: 800 !important;
  font-size: 0.82rem !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  display: inline-block !important;
  transition: background-color 0.3s ease;
}

/* ===================================================
   CARDS & SHOWCASE GRIDS
   =================================================== */

.ge-grid-card {
  background-color: var(--active-card-bg);
  border: 1px solid var(--active-border);
  border-radius: 22px;
  padding: 28px;
  color: #FFFFFF;
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.ge-grid-card:hover {
  border-color: var(--active-accent);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 240, 255, 0.15);
  transform: translateY(-4px);
}

body[data-mode="pc"] .ge-grid-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 199, 44, 0.15);
}

.ge-grid-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 10px;
}

.ge-grid-card__price {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--active-accent);
  margin-bottom: 12px;
}

.ge-grid-card__desc {
  font-size: 0.95rem;
  color: var(--active-muted);
  line-height: 1.6;
  margin-bottom: 20px;
  flex-grow: 1;
}

.ge-grid-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 16px;
}

.ge-tag {
  background: rgba(255, 255, 255, 0.06);
  color: var(--active-accent);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 12px;
  border: 1px solid var(--active-accent);
  letter-spacing: 0.02em;
}

/* Software Engineering Pulsing Eyebrow Badge */
.soft-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 199, 44, 0.12);
  border: 1px solid #FFC72C;
  color: #FFC72C;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 30px;
  backdrop-filter: blur(8px);
}

.soft-pulse {
  width: 8px;
  height: 8px;
  background: #FFC72C;
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px #FFC72C;
  animation: pulseGold 2s infinite;
}

@keyframes pulseGold {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 199, 44, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(255, 199, 44, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(255, 199, 44, 0); }
}

/* Universal Technical Metric Badges */
.theme-metrics-grid,
.eng-metrics-flex {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  max-width: 960px;
  margin: 32px auto 0;
}

@media (max-width: 860px) {
  .theme-metrics-grid,
  .eng-metrics-flex {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}

@media (max-width: 480px) {
  .theme-metrics-grid,
  .eng-metrics-flex {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
  .theme-metric-box,
  .eng-metric-box {
    padding: 12px 8px !important;
    border-radius: 14px !important;
  }
  .theme-metric-val,
  .eng-metric-val {
    font-size: 1.35rem !important;
  }
  .theme-metric-label,
  .eng-metric-label {
    font-size: 0.68rem !important;
    letter-spacing: 0.02em !important;
  }
}

.theme-metric-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--active-border);
  border-radius: 18px;
  padding: 16px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.theme-metric-box:hover {
  border-color: var(--active-accent);
  box-shadow: 0 0 20px var(--accent-glow);
  transform: translateY(-3px);
}

.theme-metric-val {
  font-size: 1.85rem;
  font-weight: 900;
  color: var(--active-accent);
  line-height: 1.1;
  font-family: 'Google Sans', sans-serif;
}

.theme-metric-label {
  font-size: 0.78rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 5px;
}

/* Technical Metric Badges for Engineering */
.eng-metric-box {
  background: rgba(0, 240, 255, 0.05);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 16px;
  padding: 16px 20px;
  text-align: center;
  transition: all 0.3s ease;
}

.eng-metric-box:hover {
  border-color: var(--eng-cyan);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3);
  transform: translateY(-3px);
}

.eng-metric-val {
  font-size: 2rem;
  font-weight: 900;
  color: var(--eng-cyan);
  line-height: 1.1;
  font-family: 'Google Sans', sans-serif;
}

.eng-metric-label {
  font-size: 0.8rem;
  color: #94A3B8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

/* Client & Partner Logo Tags */
.partner-logo-pill,
.client-logo-pill {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 24px;
  border-radius: 16px;
  font-weight: 800;
  color: #FFFFFF;
  font-size: 1.05rem;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}

.partner-logo-pill:hover,
.client-logo-pill:hover {
  border-color: var(--active-accent);
  background: var(--accent-glow);
  transform: translateY(-2px);
  color: #FFFFFF;
}

/* Expansion Panel / FAQ */
.glue-expansion-panel {
  background-color: var(--active-card-bg) !important;
  border: 1px solid var(--active-border) !important;
  border-radius: 18px !important;
  margin-bottom: 14px !important;
}

.glue-expansion-panel h3 {
  color: var(--active-accent) !important;
}

/* Forms */
input, select, textarea {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

input:focus, select:focus, textarea:focus {
  outline: none;
  border-color: var(--active-accent) !important;
  box-shadow: 0 0 0 3px rgba(0, 240, 255, 0.2);
}

body[data-mode="pc"] input:focus, 
body[data-mode="pc"] select:focus, 
body[data-mode="pc"] textarea:focus {
  box-shadow: 0 0 0 3px rgba(255, 199, 44, 0.2);
}

/* Smooth Mode Switching Animations */
.mode-section {
  animation: fadeInMode 0.35s ease-in-out;
}

@keyframes fadeInMode {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ===================================================
   HERO MEDIA & RESPONSIVE CONTAINERS
   =================================================== */

.hero-media-container {
  width: 100%;
  max-height: 520px;
  overflow: hidden;
  border-radius: 28px;
  border: 2px solid var(--active-border);
  position: relative;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
  transition: border-color 0.3s ease;
}

.hero-media-overlay {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  max-width: fit-content;
  background: rgba(11, 11, 14, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid var(--active-accent);
  padding: 16px 24px;
  border-radius: 18px;
  color: #FFF;
  transition: border-color 0.3s ease;
}

body[data-mode="engineering"] .hero-media-overlay {
  background: rgba(5, 8, 17, 0.88);
}

/* Contact and Promo Container Wrappers */
.contact-wrapper {
  background-color: #17171C;
  border: 1px solid var(--active-border);
  border-radius: 28px;
  padding: 48px;
  transition: border-color 0.3s ease;
}

.contact-form-box {
  background: #0B0B0E;
  padding: 32px;
  border-radius: 20px;
  border: 1px solid var(--active-border);
}

.client-portfolio-card {
  background-color: #0D1527;
  border: 1px solid #00F0FF;
  border-radius: 28px;
  padding: 48px;
  text-align: center;
}

/* ===================================================
   COMPREHENSIVE MOBILE-FRIENDLY RESPONSIVE SYSTEM
   =================================================== */

/* Zero Horizontal Overflow */
html, body {
  overflow-x: hidden !important;
  width: 100% !important;
  max-width: 100vw !important;
  box-sizing: border-box;
}

*, *::before, *::after {
  box-sizing: inherit;
}

img, video {
  max-width: 100%;
  height: auto;
}

@media (max-width: 768px) {
  /* Glue Page and Grid Mobile Override - Eliminates 72px margin blowout */
  .glue-page {
    margin-left: 12px !important;
    margin-right: 12px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    width: calc(100% - 24px) !important;
    max-width: calc(100% - 24px) !important;
    box-sizing: border-box !important;
  }

  .glue-grid {
    grid-column-gap: 12px !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Headline Clamp */
  .glue-headline--headline-1 {
    font-size: clamp(1.85rem, 6.8vw, 2.6rem) !important;
    line-height: 1.18 !important;
  }

  .glue-headline--headline-2 {
    font-size: clamp(1.4rem, 5.2vw, 1.95rem) !important;
    line-height: 1.25 !important;
  }

  .glue-subheadline {
    font-size: 1.02rem !important;
    line-height: 1.6 !important;
    padding: 0 4px;
  }

  /* Full-width Stacked CTA Buttons */
  .cta-container {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
    max-width: 320px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    gap: 10px !important;
  }

  .cta-container .bsp-button {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
    padding: 12px 20px !important;
  }

  /* Spacers reduction on mobile */
  .bsp-spacer-6-top {
    padding-top: 32px !important;
  }

  .bsp-spacer-6-bottom {
    padding-bottom: 32px !important;
  }

  /* Card and section paddings */
  .page-promo-container-wrapper {
    padding: 22px 16px !important;
    border-radius: 18px !important;
  }

  .client-portfolio-card {
    padding: 26px 16px !important;
    border-radius: 18px !important;
  }

  .contact-wrapper {
    padding: 24px 16px !important;
    border-radius: 18px !important;
  }

  .contact-form-box {
    padding: 20px 14px !important;
    border-radius: 16px !important;
  }

  .ge-grid-card {
    padding: 20px 16px !important;
    border-radius: 18px !important;
  }

  .client-logo-pill,
  .partner-logo-pill {
    padding: 8px 14px !important;
    font-size: 0.85rem !important;
    border-radius: 12px !important;
  }

  /* Hero Media Overlay Responsive */
  .hero-media-container {
    max-height: 280px;
    border-radius: 18px;
  }

  .hero-media-overlay {
    bottom: 12px;
    left: 12px;
    right: 12px;
    padding: 12px 16px;
    border-radius: 14px;
  }

  .hero-media-overlay .overlay-title {
    font-size: 1rem !important;
  }

  /* Form controls: 16px font prevents auto-zoom on iOS */
  input[type="text"],
  input[type="tel"],
  input[type="email"],
  select,
  textarea {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .hero-media-container {
    max-height: 220px;
    border-radius: 16px;
  }

  .hero-media-overlay {
    position: static;
    border-radius: 0 0 16px 16px;
    border-top: none;
    max-width: 100%;
    padding: 10px 14px;
  }

  .hero-media-overlay .overlay-title {
    font-size: 0.95rem !important;
  }

  .hero-media-overlay .overlay-desc {
    font-size: 0.78rem !important;
  }
}
