/* ==========================================================================
   CENTAURUSS IT SERVICES — 1. BASE COLORS & STRUCTURES (base.css)
   Design Tokens, Color System, Reset, Typography, Global Header, Footer & Utilities
   ========================================================================== */

:root {
  color-scheme: light;

  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --bg-card-hover: #f8fafc;
  --bg-elevated: #f1f5f9;
  --bg-glass: rgba(255, 255, 255, 0.88);
  --header-bg: #ffffff;
  --header-bg-scrolled: #ffffff;

  --lime: #0055ff;
  --lime-hover: #0043cc;
  --lime-dim: rgba(0, 85, 255, 0.08);
  --lime-glow: rgba(0, 85, 255, 0.22);
  --primary: #075bff;
  --primary-dark: #0648d9;
  --mint: #059669;
  --mint-dim: rgba(5, 150, 105, 0.08);

  --text-primary: #0f172a;
  --text-secondary: #334155;
  --text-muted: #64748b;
  --text-dim: #94a3b8;

  --border: rgba(15, 23, 42, 0.08);
  --border-hover: rgba(15, 23, 42, 0.16);
  --border-lime: rgba(0, 85, 255, 0.28);

  --card-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.06), 0 2px 6px -1px rgba(15, 23, 42, 0.03);
  --card-shadow-hover: 0 20px 40px -4px rgba(15, 23, 42, 0.12), 0 8px 16px -2px rgba(15, 23, 42, 0.05);

  --hero-overlay: linear-gradient(90deg,
      rgba(255, 255, 255, 0.96) 0%,
      rgba(255, 255, 255, 0.92) 36%,
      rgba(255, 255, 255, 0.65) 54%,
      rgba(255, 255, 255, 0.15) 75%,
      rgba(255, 255, 255, 0) 90%);
  --hero-video-opacity: 1;
  --chip-bg: rgba(15, 23, 42, 0.05);
  --btn-text-on-lime: #ffffff;

  --font-hero: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-heading: 'Sora', 'Outfit', system-ui, -apple-system, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, sans-serif;
  --font-sans: var(--font-body);
  --font-mono: 'Space Mono', 'JetBrains Mono', monospace;

  --page-gutter: clamp(20px, 5.5vw, 88px);
  --section-gap: clamp(40px, 4.5vw, 68px);

  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
}

[data-theme="dark"] {
  color-scheme: dark;

  --bg-primary: #0a0a0a;
  --bg-secondary: #121212;
  --bg-card: #171717;
  --bg-card-hover: #1e1e1e;
  --bg-elevated: #222222;
  --bg-glass: rgba(22, 22, 22, 0.85);
  --header-bg: rgba(10, 10, 10, 0.85);
  --header-bg-scrolled: rgba(10, 10, 10, 0.98);

  --lime: #ccff00;
  --lime-hover: #d9ff33;
  --lime-dim: rgba(204, 255, 0, 0.12);
  --lime-glow: rgba(204, 255, 0, 0.3);
  --mint: #47d7ac;
  --mint-dim: rgba(71, 215, 172, 0.12);

  --text-primary: #ffffff;
  --text-secondary: #a3a3a3;
  --text-muted: #737373;
  --text-dim: #525252;

  --border: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(255, 255, 255, 0.18);
  --border-lime: rgba(204, 255, 0, 0.28);
  --card-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.5);
  --card-shadow-hover: 0 20px 48px -4px rgba(0, 0, 0, 0.7);

  --hero-overlay: linear-gradient(90deg,
      rgba(10, 10, 10, 0.96) 0%,
      rgba(10, 10, 10, 0.92) 36%,
      rgba(10, 10, 10, 0.60) 54%,
      rgba(10, 10, 10, 0.15) 75%,
      rgba(10, 10, 10, 0) 90%);
  --hero-video-opacity: 1;
  --chip-bg: rgba(255, 255, 255, 0.05);
  --btn-text-on-lime: #0a0a0a;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 140px;
  scrollbar-width: thin;
  scrollbar-color: rgba(100, 116, 139, 0.28) transparent;
  overflow-x: hidden;
  max-width: 100%;
}

[data-theme="dark"] html {
  scrollbar-color: rgba(255, 255, 255, 0.2) transparent;
}

/* --- Lightweight, Ultra-Thin & Optimized Custom Scrollbar --- */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(15, 23, 42, 0.2);
  border-radius: 999px;
  transition: background 0.2s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(5, 150, 105, 0.65);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.18);
}

[data-theme="dark"] ::-webkit-scrollbar-thumb:hover {
  background: rgba(71, 215, 172, 0.6);
}

::-webkit-scrollbar-button {
  display: none;
  width: 0;
  height: 0;
}

body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  line-height: 1.6;
  transition: background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s ease;
}

/* Headings (Sections below hero): Uniform high-end corporate typography */
h2,
h3,
h4,
h5,
h6,
.section-title,
.nav-menu a,
.button {
  font-family: var(--font-heading);
  letter-spacing: -0.025em;
}

h2 {
  font-weight: 750;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

h3 {
  font-weight: 700;
  letter-spacing: -0.02em;
}

/* Paragraphs & Text: Clean, crisp readability */
p,
.capabilities-lede,
.panel-copy,
.bento-card p,
.pillar-card p,
.industry-card p,
.hardware-card p,
.approach-intro p,
.approach-step p,
.footer-links,
.footer-address {
  font-family: var(--font-body);
  letter-spacing: -0.011em;
}

/* Hero Section: Preserved exact original Plus Jakarta Sans font */
.hero,
.hero h1,
.hero-slide-desc,
.hero-tab-btn,
.hero-badge-mint {
  font-family: var(--font-hero) !important;
}

body,
.site-header,
.bento-card,
.pillar-card,
.hardware-card,
.approach-step,
.stat-counter-card,
.consultation-hub-card,
.wizard-box,
.intro-main,
.tech-hub-card,
.site-footer {
  transition: background-color 0.35s cubic-bezier(0.16, 1, 0.3, 1), color 0.35s ease, border-color 0.35s ease, box-shadow 0.35s ease;
}

body.menu-open {
  overflow: hidden;
}

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

a {
  color: inherit;
  text-decoration: none;
}

button {
  color: inherit;
  font: inherit;
  cursor: pointer;
  background: none;
  border: none;
}

.section-shell {
  padding-right: var(--page-gutter);
  padding-left: var(--page-gutter);
}




.reveal {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.6s var(--ease-out), transform 0.6s var(--ease-out);
}

.js-reveal .reveal:not(.is-visible) {
  opacity: 0;
  transform: translateY(24px);
}

.reveal.is-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.reveal-delay-1 {
  transition-delay: 0.1s;
}

.reveal-delay-2 {
  transition-delay: 0.2s;
}

.reveal-delay-3 {
  transition-delay: 0.3s;
}

.reveal-delay-4 {
  transition-delay: 0.4s;
}

/* ===== Slim Top Gradient Bar ===== */
.top-bar {
  min-height: 34px;
  padding: 0 clamp(16px, 2.5vw, 44px);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  background: linear-gradient(100deg,
      #f0a5ba 0%,
      #7438ed 36%,
      #0877ef 70%,
      #00bc76 100%);
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.3px;
  position: relative;
  z-index: 1001;
}

.top-bar-links {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-links span:nth-child(even) {
  opacity: 0.55;
}

/* ===== Corporate Main Header ===== */
.site-header,
.main-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  min-height: 120px;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.6vw, 24px);
  padding: 10px clamp(16px, 2.5vw, 44px);
  width: 100%;
  box-sizing: border-box;
  max-width: 100%;
  background: var(--header-bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
  transition: background 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease, min-height 0.3s ease;
  overflow: visible;
}

.site-header.is-scrolled {
  min-height: 98px;
  background: var(--header-bg-scrolled);
  box-shadow: 0 4px 20px -2px rgba(15, 23, 42, 0.08);
  border-bottom-color: var(--border-hover);
}

/* ===== Larger, Crystal-Clear Logo with Vertical Separator ===== */
.logo,
.wordmark {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding-right: clamp(14px, 1.8vw, 26px);
  border-right: 1px solid var(--border);
  text-decoration: none;
  transition: opacity 0.2s ease;
}

.site-logo-img,
.logo img {
  display: block;
  width: auto;
  /* height: clamp(86px, 7.2vw, 112px); */
  max-height: 118px;
  max-width: 340px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.25s var(--ease-out), height 0.25s ease;
}

.site-header.is-scrolled .site-logo-img,
.site-header.is-scrolled .logo img {
  height: clamp(72px, 5.8vw, 88px);
}

.logo:hover .site-logo-img,
.wordmark:hover .site-logo-img {
  transform: translateY(-1px);
}

[data-theme="dark"] .logo,
[data-theme="dark"] .wordmark {
  background: #ffffff;
  padding: 6px 16px;
  border-radius: 12px;
  border-right: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.35);
}

[data-theme="dark"] .site-logo-img,
[data-theme="dark"] .logo img {
  height: clamp(76px, 6.2vw, 96px);
}

[data-theme="dark"] .site-header.is-scrolled .site-logo-img,
[data-theme="dark"] .site-header.is-scrolled .logo img {
  height: clamp(66px, 5.2vw, 80px);
}

/* ===== Navigation Menu & Chevron Dropdowns ===== */
.nav-menu,
.primary-navigation {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(10px, 1.25vw, 24px);
  flex: 1 1 auto;
  min-width: 0;
}

.nav-menu a,
.primary-navigation a:not(.nav-contact) {
  color: var(--text-primary);
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: clamp(13.5px, 0.95vw, 15px);
  font-weight: 600;
  white-space: nowrap;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  position: relative;
  padding: 4px 2px;
}

.nav-menu a:hover,
.nav-menu a:focus-visible,
.primary-navigation a:not(.nav-contact):hover,
.primary-navigation a:not(.nav-contact):focus-visible {
  color: var(--primary);
}

/* Chevron Dropdown Arrow Indicator */
.nav-menu .has-dropdown::after,
.primary-navigation .has-dropdown::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 6px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  transition: transform 0.2s ease;
}

.nav-menu .has-dropdown:hover::after,
.primary-navigation .has-dropdown:hover::after {
  transform: translateY(1px) rotate(45deg);
}

/* ===== Right-Side Action Hub ===== */
.header-actions {
  display: flex;
  align-items: center;
  gap: clamp(8px, 0.9vw, 14px);
  flex: 0 0 auto;
  flex-shrink: 0;
  margin-left: auto;
}

.theme-toggle {
  min-height: clamp(42px, 3.2vw, 48px);
  padding: 0 clamp(14px, 1.2vw, 20px);
  border: 1px solid var(--border);
  border-radius: 32px;
  background: var(--bg-card);
  color: var(--text-primary);
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: clamp(12px, 0.85vw, 13px);
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.theme-toggle:hover {
  background: var(--lime-dim);
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-1px);
}

.theme-toggle-icon {
  font-size: 14px;
  line-height: 1;
}

.theme-toggle-label {
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.connect-btn,
.nav-contact {
  min-height: clamp(44px, 3.4vw, 50px);
  padding: 0 clamp(16px, 1.4vw, 24px);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: none;
  border-radius: 12px;
  background: var(--primary);
  color: #ffffff;
  text-decoration: none;
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  font-size: clamp(13px, 0.95vw, 14.5px);
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 8px 22px rgba(7, 91, 255, 0.2);
  transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.connect-btn:hover,
.nav-contact:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(7, 91, 255, 0.3);
  color: #ffffff;
}

.connect-btn .arrow,
.nav-contact .arrow,
.nav-contact span {
  font-size: 18px;
  line-height: 1;
}

.mobile-drawer-actions {
  display: none;
}

.menu-toggle {
  display: none;
}

.section-index {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.section-index .index-rule {
  flex: 0 0 32px;
  height: 1px;
  background: var(--border-hover);
}

.section-index-lime {
  color: var(--mint);
}

.section-index-lime .index-rule {
  background: var(--mint);
  opacity: 0.55;
}

.section-shell h2 em,
.section-shell h3 em {
  font-style: normal;
  color: var(--mint);
}

.eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.8px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 16px;
}


/* --- Universal Buttons --- */
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0 28px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.25s var(--ease-out);
}

.button:hover {
  transform: translateY(-2px);
}

.button-mint {
  background: var(--lime);
  color: var(--btn-text-on-lime);
  box-shadow: 0 4px 18px var(--lime-glow);
}

.button-mint:hover {
  box-shadow: 0 8px 30px var(--lime-glow);
  background: var(--lime-hover);
}

.button-outline {
  background: var(--bg-card);
  border: 1px solid var(--border-hover) !important;
  color: var(--text-primary);
  box-shadow: var(--card-shadow);
}

.button-outline:hover {
  border-color: var(--lime) !important;
  color: var(--lime);
  background: var(--lime-dim);
}

.button-dark {
  background: var(--bg-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border);
}

.button-dark:hover {
  background: var(--bg-card-hover);
  border-color: var(--lime);
  color: var(--lime);
}

/* --- Global Footer & Back-To-Top --- */
.site-footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, var(--mint) 50%, transparent 100%);
  opacity: 0.8;
}

.footer-inner {
  padding-top: clamp(36px, 4.5vw, 52px);
  padding-bottom: 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1.1fr 1.1fr 1.5fr;
  gap: clamp(24px, 3.5vw, 44px);
  margin-bottom: clamp(28px, 4vw, 40px);
  text-align: left;
}

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

.footer-wordmark {
  display: inline-flex;
  align-items: center;
  margin-bottom: 18px;
  text-decoration: none;
}

.footer-wordmark .site-logo-img {
  height: clamp(58px, 6vw, 76px);
  max-width: 300px;
}

.footer-brand-desc {
  font-size: 13.5px;
  line-height: 1.65;
  color: var(--text-secondary);
  margin: 0 0 18px 0;
  max-width: 380px;
  text-align: justify;
  text-justify: inter-word;
}

.footer-badge-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--chip-bg);
  color: var(--text-muted);
  border: 1px solid var(--border);
  letter-spacing: 0.02em;
}

.footer-heading {
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-primary);
  margin: 0 0 20px 0;
  position: relative;
  display: inline-block;
}

.footer-heading::after {
  content: "";
  display: block;
  width: 20px;
  height: 2px;
  background: var(--mint);
  margin-top: 6px;
  border-radius: 2px;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links li a {
  font-size: 13.5px;
  color: var(--text-secondary);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.footer-links li a:hover {
  color: var(--lime);
  transform: translateX(4px);
}

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

.footer-contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  color: var(--mint);
  flex-shrink: 0;
  margin-top: 1px;
}

.footer-contact-icon svg {
  width: 17px;
  height: 17px;
  stroke: var(--mint);
}

.footer-address {
  font-style: normal;
  color: var(--text-secondary);
}

.footer-contact-link {
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-contact-link:hover {
  color: var(--mint);
  text-decoration: underline;
}

.footer-sep {
  margin: 0 6px;
  color: var(--text-dim);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  gap: 16px;
}

.footer-bottom-left {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: left;
}

.footer-year {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
}

.footer-subtext {
  font-size: 11px;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.footer-back-to-top {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  box-shadow: var(--card-shadow);
  transition: all 0.25s var(--ease-spring);
  text-decoration: none;
  cursor: pointer;
}

.footer-back-to-top svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.footer-back-to-top:hover {
  background: var(--mint);
  border-color: var(--mint);
  color: #ffffff;
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
  transform: translateY(-3px);
}

.footer-back-to-top:hover svg {
  transform: translateY(-2px);
}

.corner-back-to-top {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 998;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--mint);
  border: 2px solid rgba(255, 255, 255, 0.4);
  color: #ffffff;
  box-shadow: 0 6px 22px rgba(5, 150, 105, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  cursor: pointer;
  opacity: 0;
  visibility: hidden;
  transform: translateY(16px);
  transition: opacity 0.3s ease, transform 0.3s var(--ease-spring), visibility 0.3s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.corner-back-to-top.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.corner-back-to-top svg {
  width: 20px;
  height: 20px;
  transition: transform 0.25s ease;
}

.corner-back-to-top:hover {
  background: #047857;
  border-color: #047857;
  color: #ffffff;
  box-shadow: 0 8px 28px rgba(5, 150, 105, 0.5);
  transform: translateY(-4px);
}

.corner-back-to-top:hover svg {
  transform: translateY(-2px);
}


/* ===== Floating Social & Quick Contact Dock (Right Side) ===== */
.floating-social-dock {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 996;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
  pointer-events: none;
}

.floating-social-toggle {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--mint);
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  pointer-events: auto;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 2;
}

.floating-social-toggle:hover {
  background: #047857;
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(5, 150, 105, 0.5);
}

.floating-social-toggle svg {
  width: 20px;
  height: 20px;
  transition: transform 0.3s ease;
}

.floating-social-dock .toggle-icon-collapse {
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-social-dock .toggle-icon-expand {
  display: none;
}

.floating-social-dock.is-collapsed .toggle-icon-collapse {
  display: none;
}

.floating-social-dock.is-collapsed .toggle-icon-expand {
  display: flex;
  align-items: center;
  justify-content: center;
}

.floating-social-dock.is-collapsed .floating-social-toggle {
  background: var(--mint);
  animation: floatingPulse 2.8s infinite ease-in-out;
}

@keyframes floatingPulse {

  0%,
  100% {
    box-shadow: 0 4px 18px rgba(5, 150, 105, 0.35);
    transform: scale(1);
  }

  50% {
    box-shadow: 0 0 0 8px rgba(5, 150, 105, 0.15), 0 8px 28px rgba(5, 150, 105, 0.45);
    transform: scale(1.05);
  }
}

.floating-social-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: flex-end;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
}

.floating-social-dock.is-collapsed .floating-social-list {
  opacity: 0;
  visibility: hidden;
  transform: translateY(-12px) scale(0.92);
  pointer-events: none;
  max-height: 0;
  overflow: hidden;
  margin: 0;
  gap: 0;
}

.floating-social-link {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 1.5px solid var(--border);
  color: var(--text-primary);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  pointer-events: auto;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
  backdrop-filter: blur(10px);
}

.floating-social-link svg {
  width: 20px;
  height: 20px;
  transition: transform 0.2s ease;
}

.floating-social-link:hover {
  transform: translateX(-4px) scale(1.08);
}

.floating-social-link:hover svg {
  transform: scale(1.1);
}

.floating-social-link.link-whatsapp:hover {
  background: #25D366;
  border-color: #25D366;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.floating-social-link.link-mail:hover {
  background: var(--mint);
  border-color: var(--mint);
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(5, 150, 105, 0.4);
}

.floating-social-link.link-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(214, 36, 159, 0.4);
}

.floating-social-link.link-twitter:hover {
  background: #0f172a;
  border-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.35);
}

[data-theme="dark"] .floating-social-link.link-twitter:hover {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.35);
}

.floating-social-link.link-facebook:hover {
  background: #1877F2;
  border-color: #1877F2;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4);
}

.floating-tooltip {
  position: absolute;
  right: calc(100% + 10px);
  top: 50%;
  transform: translateY(-50%) translateX(6px);
  padding: 5px 10px;
  border-radius: 6px;
  background: #0f172a;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.2px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.floating-tooltip::after {
  content: "";
  position: absolute;
  right: -4px;
  top: 50%;
  transform: translateY(-50%);
  border-width: 4px 0 4px 4px;
  border-style: solid;
  border-color: transparent transparent transparent #0f172a;
}

[data-theme="dark"] .floating-tooltip {
  background: #1e293b;
}

[data-theme="dark"] .floating-tooltip::after {
  border-color: transparent transparent transparent #1e293b;
}

.floating-social-link:hover .floating-tooltip {
  opacity: 1;
  transform: translateY(-50%) translateX(0);
}

@media (max-width: 768px) {
  .floating-social-dock {
    right: 14px;
    top: auto;
    bottom: 84px;
    transform: none;
  }

  .floating-tooltip {
    display: none;
  }
}



@media (max-width: 1280px) and (min-width: 1081px) {

  .site-header,
  .main-header {
    min-height: 100px;
    gap: 12px;
    padding: 8px clamp(12px, 1.8vw, 24px);
  }

  .site-header.is-scrolled {
    min-height: 90px;
  }

  .logo,
  .wordmark {
    padding-right: 14px;
  }

  .site-logo-img,
  .logo img {
    height: clamp(74px, 6vw, 88px);
    max-width: 260px;
  }

  [data-theme="dark"] .site-logo-img,
  [data-theme="dark"] .logo img {
    height: clamp(66px, 5.2vw, 78px);
  }

  .nav-menu,
  .primary-navigation {
    gap: clamp(8px, 1vw, 14px);
  }

  .nav-menu a,
  .primary-navigation a {
    font-size: 13.5px;
  }

  .theme-toggle {
    min-height: 42px;
    padding: 0 14px;
    font-size: 12px;
  }


  .connect-btn,
  .nav-contact {
    min-height: 44px;
    padding: 0 16px;
    font-size: 13px;
  }
}

@media (max-width: 1080px) {
  .top-bar {
    min-height: 28px;
    font-size: 11px;
    padding: 0 16px;
  }

  .top-bar-links {
    gap: 10px;
  }

  .site-header,
  .site-header.is-scrolled,
  .main-header {
    min-height: 78px;
    padding: 8px 16px;
    gap: 12px;
    justify-content: space-between;
  }

  .logo,
  .wordmark {
    padding-right: 0;
    border-right: none;
  }

  .site-logo-img,
  .logo img {
    height: clamp(62px, 7vw, 76px);
    max-width: 240px;
  }

  [data-theme="dark"] .logo,
  [data-theme="dark"] .wordmark {
    padding: 4px 12px;
    border-radius: 10px;
  }

  [data-theme="dark"] .site-logo-img,
  [data-theme="dark"] .logo img {
    height: clamp(54px, 6vw, 66px);
  }

  /* Hide desktop action buttons on header bar */
  .header-actions {
    display: none;
  }

  /* Mobile Hamburger Toggle */
  .menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    height: 24px;
    justify-content: center;
    cursor: pointer;
    z-index: 1003;
    background: none;
    border: none;
    padding: 0;
    margin-left: auto;
  }

  .menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    transition: all 0.3s ease;
  }

  .menu-toggle[aria-expanded="true"] span:first-child {
    transform: rotate(45deg) translate(3px, 3px);
  }

  .menu-toggle[aria-expanded="true"] span:last-child {
    transform: rotate(-45deg) translate(3px, -3px);
  }

  /* Solid Full-Screen Mobile Navigation (Zero Blur, 100% Crisp) */
  .primary-navigation,
  .nav-menu {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    z-index: 1002;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    background: #ffffff;
    transform: translateX(100%);
    transition: transform 0.3s var(--ease-out);
    font-size: 16px;
    gap: 0;
    padding: 72px 24px 36px;
    box-shadow: none;
    border: none;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  [data-theme="dark"] .primary-navigation,
  [data-theme="dark"] .nav-menu {
    background: #0a0a0a;
  }

  .primary-navigation.is-open,
  .nav-menu.is-open {
    transform: translateX(0);
  }

  .primary-navigation a,
  .nav-menu a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 4px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    text-align: left;
    transition: color 0.2s ease, padding-left 0.2s ease;
  }

  .primary-navigation a:hover,
  .nav-menu a:hover {
    color: var(--primary);
    padding-left: 6px;
  }

  .primary-navigation .has-dropdown::after,
  .nav-menu .has-dropdown::after {
    transform: rotate(-45deg);
  }

  /* Mobile Drawer Actions */
  .mobile-drawer-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 20px;
    padding-top: 16px;
  }

  .mobile-drawer-actions .theme-toggle {
    display: inline-flex;
    align-self: flex-start;
    min-height: 46px;
    padding: 0 18px;
    font-size: 13px;
  }

  .mobile-drawer-actions .connect-btn,
  .mobile-drawer-actions .nav-contact {
    display: inline-flex !important;
    width: 100%;
    min-height: 48px;
    justify-content: center;
    font-size: 14px;
    font-weight: 700;
  }

  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 36px;
  }
}

@media (max-width: 768px) {

  .site-header,
  .site-header.is-scrolled,
  .main-header {
    min-height: 72px;
    padding: 8px 14px;
  }

  .site-logo-img,
  .logo img {
    height: 56px;
    max-width: 220px;
  }

  [data-theme="dark"] .site-logo-img,
  [data-theme="dark"] .logo img {
    height: 50px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }

  .footer-bottom-right {
    align-self: flex-start;
  }

  .corner-back-to-top {
    bottom: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
  }
}

@media (max-width: 480px) {
  .top-bar-links {
    gap: 8px;
    font-size: 10px;
  }

  .site-header,
  .main-header {
    padding: 6px 12px;
    min-height: 68px;
  }

  .site-logo-img,
  .logo img {
    height: 50px;
    max-width: 185px;
  }

  [data-theme="dark"] .site-logo-img,
  [data-theme="dark"] .logo img {
    height: 44px;
  }
}