/**
 * SGE Works — Interactive & Structural Components
 * Navigation, Dropdown, Mobile Drawer, Buttons, Sliders, Tables & Quick-Connect Dock
 */

/* ==========================================================================
   1. FIXED HEADER & NAVIGATION
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: var(--nav-height);
  z-index: 1200;
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--color-hairline);
  transition: background-color var(--transition-base), border-color var(--transition-base), box-shadow var(--transition-base);
}

.site-header.is-scrolled {
  background-color: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid #cbd5e1;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  width: 100%;
  max-width: 100%;
  padding-left: clamp(1.25rem, 2.5vw, 2.5rem);
  padding-right: clamp(1.25rem, 2.5vw, 2.5rem);
}

@media (max-width: 768px) {
  .nav-container {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Brand Link */
.brand-link {
  display: flex;
  align-items: center;
  gap: clamp(0.5rem, 1vw, 0.75rem);
  text-decoration: none;
}

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

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

.brand-text-group {
  display: flex;
  flex-direction: column;
  padding-left: 0.5rem;
  border-left: 1px solid var(--color-hairline);
}

.brand-title {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--color-text-high-contrast);
  line-height: 1.1;
  text-transform: uppercase;
}

.brand-subtitle {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--color-chrome-muted);
  text-transform: uppercase;
}

/* Desktop Nav Links */
.desktop-nav {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2vw, 2.5rem);
  list-style: none;
}

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

.nav-item {
  position: relative;
}

.nav-link {
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--color-on-surface-variant);
  padding: var(--space-sm) 0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  position: relative;
  transition: color var(--transition-fast);
}

.nav-link:hover,
.nav-link.is-active {
  color: var(--color-furnace-orange);
}

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

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-md);
}

@media (max-width: 640px) {
  .nav-cta-btn {
    display: none;
  }

  .nav-actions {
    gap: 0.5rem;
  }

  .nav-container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }

  .brand-link {
    gap: 0.4rem;
  }

  .brand-logo-img {
    height: 30px;
    width: auto;
  }

  .brand-text-group {
    padding-left: 0.35rem;
  }

  .brand-subtitle {
    font-size: 0.525rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
  }

  .mobile-nav-toggle {
    width: 38px;
    height: 38px;
    padding: 0;
  }

  .hamburger-icon {
    width: 18px;
    height: 12px;
  }
}

/* ==========================================================================
   2. ACCESSIBLE SERVICES DROPDOWN
   ========================================================================== */
.dropdown {
  position: relative;
  padding-bottom: 0.5rem;
  margin-bottom: -0.5rem;
}

.dropdown-trigger {
  background: transparent;
  border: none;
  cursor: pointer;
  text-decoration: none;
}

.dropdown-caret {
  display: inline-block;
  font-size: 0.65rem;
  transition: transform var(--transition-fast);
}

.dropdown:hover .dropdown-caret,
.dropdown:focus-within .dropdown-caret,
.dropdown.is-open .dropdown-caret {
  transform: rotate(180deg);
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 290px;
  background-color: #ffffff;
  border: 1px solid var(--color-hairline);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  padding: var(--space-xs) 0;
  list-style: none;
  z-index: 1010;
}

/* Seamless hit-test bridge so cursor movement between tab and menu never loses hover */
.dropdown-menu::before {
  content: '';
  position: absolute;
  top: -20px;
  left: -20px;
  right: -20px;
  height: 25px;
  background: transparent;
}

.dropdown:hover .dropdown-menu,
.dropdown:focus-within .dropdown-menu,
.dropdown.is-open .dropdown-menu {
  display: block;
  animation: dropdownFadeIn 200ms ease-out forwards;
}

@keyframes dropdownFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -6px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.dropdown-item {
  border-bottom: 1px solid var(--color-hairline-alpha);
}

.dropdown-item:last-child {
  border-bottom: none;
}

.dropdown-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem 1rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--color-chrome-silver);
  transition: background-color var(--transition-fast), color var(--transition-fast);
}

.dropdown-link:hover,
.dropdown-link:focus {
  background-color: var(--color-surface-subtle);
  color: var(--color-furnace-orange);
}

.dropdown-link-num {
  font-family: var(--font-body);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-furnace-orange);
  margin-right: 0.5rem;
}

.dropdown-arrow {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--color-outline);
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.dropdown-link:hover .dropdown-arrow,
.dropdown-link:focus .dropdown-arrow {
  transform: translateX(4px);
  color: var(--color-furnace-orange);
}

/* ==========================================================================
   3. MOBILE NAVIGATION DRAWER
   ========================================================================== */
.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--color-hairline-alpha);
  color: var(--color-text-high-contrast);
  width: 42px;
  height: 42px;
  padding: 0;
  cursor: pointer;
  align-items: center;
  justify-content: center;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

@media (max-width: 1024px) {
  .mobile-nav-toggle {
    display: inline-flex;
  }
}

.mobile-nav-toggle:hover {
  border-color: var(--color-furnace-orange);
}

.hamburger-icon {
  width: 20px;
  height: 14px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.hamburger-line {
  height: 2px;
  width: 100%;
  background-color: var(--color-text-high-contrast);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-nav-toggle.is-active .hamburger-line:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.mobile-nav-toggle.is-active .hamburger-line:nth-child(2) {
  opacity: 0;
}

.mobile-nav-toggle.is-active .hamburger-line:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

.mobile-drawer {
  display: none;
  position: fixed;
  top: var(--nav-height);
  left: 0;
  right: 0;
  bottom: 0;
  height: calc(100vh - var(--nav-height));
  height: calc(100dvh - var(--nav-height));
  background-color: #ffffff;
  z-index: 1100;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  padding: var(--space-xl) var(--gutter-mobile) 5rem var(--gutter-mobile);
  border-top: 1px solid var(--color-hairline);
}

/* Hide floating quick-connect dock when mobile navigation drawer is active */
body.mobile-menu-active .floating-dock {
  display: none !important;
}

.mobile-drawer.is-open {
  display: flex !important;
  flex-direction: column;
  animation: drawerSlideDown 250ms cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes drawerSlideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mobile-nav-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: var(--space-xs);
  margin-bottom: var(--space-xl);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-high-contrast);
  text-transform: uppercase;
  border-bottom: 1px solid var(--color-hairline);
  text-decoration: none;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus {
  color: var(--color-furnace-orange);
  padding-left: 0.5rem;
}

/* Mobile Services Accordion */
.mobile-services-accordion {
  border-bottom: 1px solid var(--color-hairline);
}

.mobile-services-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  background: transparent;
  border: none;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--color-text-high-contrast);
  text-transform: uppercase;
  cursor: pointer;
  text-align: left;
}

.mobile-services-list {
  display: none;
  padding: var(--space-sm) 0 var(--space-md) var(--space-md);
  list-style: none;
}

.mobile-services-accordion.is-expanded .mobile-services-list {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.mobile-services-accordion.is-expanded .mobile-services-trigger .accordion-caret {
  transform: rotate(180deg);
}

.mobile-sub-link {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: var(--color-chrome-silver);
  display: block;
  padding: 0.25rem 0;
}

.mobile-sub-link:hover {
  color: var(--color-furnace-orange);
}

.mobile-drawer-contact {
  margin-top: auto;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
  padding-top: var(--space-lg);
  border-top: 1px solid var(--color-hairline);
}

/* ==========================================================================
   4. BUTTONS & INDUSTRIAL ACTIONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  border-radius: var(--border-radius);
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast);
}

/* Primary Button: Furnace Orange */
.btn-primary {
  background-color: var(--color-furnace-orange-deep);
  border-color: var(--color-furnace-orange-deep);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(255, 85, 0, 0.22);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--color-furnace-orange);
  border-color: var(--color-furnace-orange);
  color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 85, 0, 0.38);
}

.btn-primary:active {
  background-color: var(--color-furnace-orange-active);
  transform: translateY(1px);
}

/* Secondary Button: Machined Silver Outline */
.btn-secondary {
  background-color: transparent;
  border-color: var(--color-chrome-silver);
  color: var(--color-chrome-silver);
}

.btn-secondary:hover,
.btn-secondary:focus {
  background-color: rgba(226, 232, 240, 0.08);
  border-color: #ffffff;
  color: #ffffff;
  transform: translateY(-1px);
}

/* Subtle Industrial Planar Button */
.btn-subtle {
  background-color: #f1f5f9;
  border-color: #cbd5e1;
  color: #0f172a;
}

.btn-subtle:hover,
.btn-subtle:focus {
  background-color: #e2e8f0;
  border-color: #0f172a;
  color: #0f172a;
  transform: translateY(-1px);
}

/* Compact Nav Button */
.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.8125rem;
  font-weight: 600;
}

/* ==========================================================================
   5. METRIC STRIP CELLS & CARDS
   ========================================================================== */
.spec-strip-grid {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  overflow-x: hidden;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  border-top: 1px solid var(--theme-steel-grey-border);
  border-bottom: 1px solid var(--theme-steel-grey-border);
  background-color: var(--theme-steel-grey);
}

@media (max-width: 1024px) {
  .spec-strip-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .spec-cell:nth-child(3n) {
    border-right: none;
  }

  .spec-cell:nth-last-child(-n+3) {
    border-bottom: none;
  }
}

@media (max-width: 640px) {
  .spec-strip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .spec-cell {
    padding: 0.65rem 0.55rem;
    min-height: 88px;
    border-right: 1px solid var(--theme-steel-grey-border);
    border-bottom: 1px solid var(--theme-steel-grey-border);
  }

  .spec-cell:nth-child(2n) {
    border-right: none;
  }

  .spec-cell:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .spec-label {
    font-size: 0.625rem;
    margin-bottom: 0.35rem;
  }

  .spec-value {
    font-size: clamp(1.05rem, 3.8vw, 1.3rem);
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.15rem 0.25rem;
  }

  .spec-value-unit {
    font-size: 0.65rem;
    margin-left: 0;
  }

  .spec-range-to {
    font-size: 0.65rem;
    margin: 0;
  }

  .spec-sub {
    font-size: 0.65rem;
    line-height: 1.3;
    margin-top: 0.2rem;
  }
}

@media (max-width: 360px) {
  .spec-strip-grid {
    grid-template-columns: 1fr;
  }

  .spec-cell {
    border-right: none;
    border-bottom: 1px solid var(--theme-steel-grey-border);
  }

  .spec-cell:last-child {
    border-bottom: none;
  }
}

.spec-cell {
  position: relative;
  padding: clamp(0.75rem, 1.35vw, 1.15rem);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 105px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  background-color: var(--theme-steel-grey);
  border-right: 1px solid var(--theme-steel-grey-border);
  border-bottom: 1px solid var(--theme-steel-grey-border);
  transition: background-color var(--transition-fast), border-color var(--transition-fast);
}

.spec-cell > div {
  min-width: 0;
  width: 100%;
}

.spec-cell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--color-furnace-orange);
  transition: width var(--transition-base);
}

.spec-cell:hover {
  background-color: var(--theme-steel-grey-surface);
}

.spec-cell:hover::before {
  width: 100%;
}

.spec-label {
  font-family: var(--font-body);
  font-size: 0.6875rem;
  font-weight: 600;
  color: #cbd5e1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: var(--space-sm);
  transition: color var(--transition-fast);
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.spec-cell:hover .spec-label {
  color: #ffffff;
}

.spec-value {
  font-family: var(--font-display);
  font-size: clamp(1.35rem, 1.85vw, 2.15rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.1;
  letter-spacing: -0.02em;
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

.spec-range-to {
  display: inline-block;
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 500;
  color: #cbd5e1;
  margin: 0 0.55rem;
  letter-spacing: 0.02em;
  text-transform: lowercase;
  vertical-align: baseline;
}

.spec-value-unit {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: var(--color-furnace-orange);
  font-weight: 600;
  margin-left: 0.35rem;
  letter-spacing: 0.02em;
}

.spec-sub {
  font-family: var(--font-body);
  font-size: 0.75rem;
  color: #cbd5e1;
  line-height: 1.4;
  margin-top: var(--space-xs);
  display: block;
  word-break: break-word;
  overflow-wrap: break-word;
  min-width: 0;
}

/* ==========================================================================
   6. TOUCH-FRIENDLY COMPONENT SLIDER
   ========================================================================== */
.component-slider-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  margin-top: var(--space-xl);
}

.component-slider-track {
  display: flex;
  gap: var(--space-md);
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  padding-bottom: var(--space-sm);
}

.component-slider-track::-webkit-scrollbar {
  display: none;
}

.component-slide-item {
  flex: 0 0 calc(25% - (var(--space-md) * 3 / 4));
  scroll-snap-align: start;
  scroll-snap-stop: always;
  background-color: var(--theme-steel-grey-surface);
  border: 1px solid var(--theme-steel-grey-border);
  display: flex;
  flex-direction: column;
  transition: border-color var(--transition-fast), transform var(--transition-fast);
}

@media (max-width: 1024px) {
  .component-slide-item {
    flex: 0 0 calc(50% - (var(--space-md) / 2));
  }
}

@media (max-width: 640px) {
  .component-slide-item {
    flex: 0 0 calc(85% - (var(--space-md) / 2));
  }
}

.component-slide-item:hover {
  border-color: var(--color-furnace-orange);
  transform: translateY(-2px);
}

.component-img-box {
  position: relative;
  aspect-ratio: 4 / 3;
  background-color: var(--color-surface-deep);
  overflow: hidden;
}

.component-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--transition-base);
}

.component-slide-item:hover .component-img-box img {
  transform: scale(1.04);
}

.component-caption {
  padding: 0.85rem;
  text-align: center;
  background-color: var(--theme-steel-grey-surface);
  border-top: 1px solid var(--theme-steel-grey-border);
  font-family: var(--font-body);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #ffffff;
}

/* Slider Controls */
.slider-controls {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: var(--space-sm);
  margin-top: var(--space-md);
}

.slider-btn {
  width: 44px;
  height: 44px;
  background-color: var(--color-surface-container);
  border: 1px solid var(--color-hairline);
  color: var(--color-chrome-silver);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 1.25rem;
  transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast);
}

.slider-btn:hover,
.slider-btn:focus {
  background-color: var(--color-surface-subtle);
  border-color: var(--color-furnace-orange);
  color: var(--color-furnace-orange);
}

/* ==========================================================================
/* ==========================================================================
   7. PERSISTENT FLOATING QUICK-CONNECT DOCK (COLLAPSED ICONS / EXPAND ON HOVER & TAP)
   ========================================================================== */
.floating-dock {
  position: fixed;
  bottom: var(--space-lg);
  right: var(--space-lg);
  z-index: 900;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 6px;
}

@media (max-width: 640px) {
  .floating-dock {
    bottom: var(--space-md);
    right: var(--space-md);
    gap: 6px;
  }
}


/* Stacking the two action cards vertically */
.dock-button-group {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 8px;
  background: transparent;
  border: none;
  padding: 0;
  box-shadow: none;
}

/* Default collapsed icon-only card */
.dock-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  padding: 0;
  background-color: rgba(255, 255, 255, 0.98);
  border: 1px solid #cbd5e1;
  border-radius: 0;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.12);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  overflow: hidden;
  transition: width 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              padding 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              background-color var(--transition-fast),
              border-color var(--transition-fast),
              box-shadow var(--transition-fast);
}

.dock-action-btn:hover,
.dock-action-btn:focus {
  background-color: #ffffff;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.18);
}

/* WhatsApp & Call Specific Styling */
.dock-whatsapp {
  border-left: 3px solid #25D366;
}

.dock-whatsapp:hover,
.dock-whatsapp:focus {
  border-color: #25D366;
}

.dock-call {
  border-left: 3px solid var(--color-furnace-orange);
}

.dock-call:hover,
.dock-call:focus {
  border-color: var(--color-furnace-orange);
}

.dock-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-fast), fill var(--transition-fast);
}

.dock-whatsapp .dock-icon {
  fill: #25D366;
}

.dock-call .dock-icon {
  fill: var(--color-furnace-orange);
}

.dock-action-btn:hover .dock-icon {
  transform: scale(1.08);
}

/* Text Column — Collapsed by Default */
.dock-text-col {
  display: flex;
  flex-direction: column;
  text-align: left;
  max-width: 0;
  opacity: 0;
  margin-left: 0;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
  transition: max-width 0.32s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 0.22s ease,
              margin-left 0.25s ease;
}

.dock-label-type {
  font-family: var(--font-body);
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 2px;
  transition: color var(--transition-fast);
}

.dock-whatsapp .dock-label-type {
  color: #16a34a;
}

.dock-call .dock-label-type {
  color: var(--color-furnace-orange);
}

.dock-label-num {
  font-family: var(--font-body);
  font-size: 0.8125rem;
  color: #0f172a;
  font-weight: 700;
  letter-spacing: -0.01em;
  line-height: 1.2;
}

/* ==========================================================================
   EXPANDED STATE (Desktop Hover/Focus & Mobile Tap/Open)
   ========================================================================== */

.floating-dock:hover .dock-action-btn,
.floating-dock:has(:focus-visible) .dock-action-btn,
.floating-dock.is-open .dock-action-btn {
  width: auto;
  min-width: 46px;
  padding: 0.55rem 0.95rem;
  justify-content: flex-start;
}

.floating-dock:hover .dock-text-col,
.floating-dock:has(:focus-visible) .dock-text-col,
.floating-dock.is-open .dock-text-col {
  max-width: 200px;
  opacity: 1;
  margin-left: 0.65rem;
  pointer-events: auto;
}
