/* ==========================================================================
   TECHNOMEDICALS GROUP INC. - DESIGN SYSTEM & STYLESHEET
   Harmonic Palette: Cyan / Medical Teal (#00A3C4) & Surgical Purple (#652771)
   Support: Dual Theme (Dark / Light) with Smooth Transitions
   ========================================================================== */

:root {
  /* Brand Core Colors (from Logo) */
  --teal-primary: #00A3C4;
  --teal-dark: #088096;
  --teal-light: #38BDF8;
  --teal-glow: rgba(0, 163, 196, 0.25);

  --purple-primary: #652771;
  --purple-dark: #4A1B54;
  --purple-light: #9333EA;
  --purple-glow: rgba(101, 39, 113, 0.25);

  --gradient-brand: linear-gradient(135deg, #00A3C4 0%, #652771 100%);
  --gradient-teal: linear-gradient(135deg, #06B6D4 0%, #00A3C4 100%);
  --gradient-purple: linear-gradient(135deg, #9333EA 0%, #652771 100%);

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

  /* Transition speeds */
  --transition-fast: 0.2s ease;
  --transition-normal: 0.3s ease;
  --transition-slow: 0.5s ease;

  /* Border radius */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;
}

/* ==========================================================================
   THEMES: DARK (Default) & LIGHT
   ========================================================================== */

/* DARK THEME (Active when data-theme="dark") */
html[data-theme="dark"] {
  --bg-main: #080C15;
  --bg-section: #0D1322;
  --bg-card: #121A2E;
  --bg-card-hover: #17213A;
  --bg-surface: rgba(18, 26, 46, 0.85);
  --bg-input: #0B111F;

  --border-color: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.1);
  --border-highlight: rgba(0, 163, 196, 0.4);

  --text-primary: #F8FAFC;
  --text-secondary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #0F172A;

  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.6);
  --shadow-teal: 0 0 25px rgba(0, 163, 196, 0.3);

  --header-bg: rgba(8, 12, 21, 0.88);
  --topbar-bg: #05080E;
}

/* LIGHT THEME (Active when data-theme="light") */
html[data-theme="light"] {
  --bg-main: #F8FAFC;
  --bg-section: #FFFFFF;
  --bg-card: #FFFFFF;
  --bg-card-hover: #F1F5F9;
  --bg-surface: rgba(255, 255, 255, 0.9);
  --bg-input: #F8FAFC;

  --border-color: rgba(15, 23, 42, 0.08);
  --border-card: rgba(15, 23, 42, 0.09);
  --border-highlight: rgba(0, 163, 196, 0.5);

  --text-primary: #0F172A;
  --text-secondary: #475569;
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;

  --shadow-sm: 0 4px 12px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 10px 25px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 20px 45px rgba(15, 23, 42, 0.12);
  --shadow-teal: 0 0 25px rgba(0, 163, 196, 0.2);

  --header-bg: rgba(255, 255, 255, 0.9);
  --topbar-bg: #0F172A;
}

/* ==========================================================================
   BASE & RESET
   ========================================================================== */

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  color-scheme: dark light;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-main);
  color: var(--text-primary);
  line-height: 1.65;
  transition: background-color var(--transition-normal), color var(--transition-normal);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  hyphens: none;
  -webkit-hyphens: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-primary);
}

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

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

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

/* Container */
.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* Text Highlights & Gradients */
.text-gradient {
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline;
}

.section {
  padding: 6rem 0;
  position: relative;
}

.section-header {
  margin-bottom: 3.5rem;
}

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

.section-subtitle {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.825rem;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--teal-primary);
  margin-bottom: 0.75rem;
  padding: 0.35rem 0.9rem;
  background: rgba(0, 163, 196, 0.1);
  border-radius: var(--radius-full);
  border: 1px solid rgba(0, 163, 196, 0.25);
}

.section-title {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  letter-spacing: -0.5px;
}

.section-lead {
  font-size: 1.15rem;
  color: var(--text-secondary);
  max-width: 780px;
  margin: 0 auto;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.8rem 1.6rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all var(--transition-normal);
  text-decoration: none;
}

.btn-primary {
  background: var(--gradient-brand);
  color: #FFFFFF;
  box-shadow: 0 4px 20px rgba(0, 163, 196, 0.35);
}

.btn-primary:hover {
  color: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 163, 196, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border: 1px solid var(--border-card);
  backdrop-filter: blur(10px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.18);
  color: var(--text-primary);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--teal-primary);
  border: 1px solid var(--teal-primary);
}

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

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

.btn-sm {
  padding: 0.55rem 1.2rem;
  font-size: 0.85rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   TOP ANNOUNCEMENT BAR
   ========================================================================== */

.top-bar {
  background: var(--topbar-bg);
  color: #94A3B8;
  font-size: 0.8rem;
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 110;
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.top-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.top-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: #38BDF8;
  font-weight: 600;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38BDF8;
  display: inline-block;
  box-shadow: 0 0 8px #38BDF8;
}

.top-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.top-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-email {
  color: #E2E8F0;
  font-weight: 500;
}

.top-email:hover {
  color: var(--teal-light);
}

.btn-text-dns {
  background: rgba(0, 163, 196, 0.15);
  border: 1px solid rgba(0, 163, 196, 0.35);
  color: var(--teal-light);
  font-size: 0.775rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  transition: all var(--transition-fast);
}

.btn-text-dns:hover {
  background: var(--teal-primary);
  color: #FFFFFF;
}

/* ==========================================================================
   NAVBAR
   ========================================================================== */

.navbar-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  background: var(--header-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  z-index: 100;
  transition: all var(--transition-normal);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 75px;
}

.brand-logo {
  display: flex;
  align-items: center;
  height: 48px;
  margin-right: 1.15rem;
  flex-shrink: 0;
}

.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  transition: filter var(--transition-normal);
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.15rem;
}

.nav-link {
  font-family: var(--font-heading);
  font-size: 0.885rem;
  font-weight: 500;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
  white-space: nowrap;
  transition: color var(--transition-fast);
}

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

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

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

.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 0.45rem 0.85rem;
  border-radius: var(--radius-full);
  color: var(--text-primary);
  cursor: pointer;
  transition: all var(--transition-normal);
}

.theme-toggle-btn:hover {
  border-color: var(--teal-primary);
  box-shadow: 0 0 12px var(--teal-glow);
}

html[data-theme="dark"] .theme-toggle-btn .moon-icon {
  display: block;
  color: #38BDF8;
}

html[data-theme="dark"] .theme-toggle-btn .sun-icon {
  display: none;
}

html[data-theme="light"] .theme-toggle-btn .moon-icon {
  display: none;
}

html[data-theme="light"] .theme-toggle-btn .sun-icon {
  display: block;
  color: #EAB308;
}

.theme-label {
  font-size: 0.8rem;
  font-weight: 600;
  font-family: var(--font-heading);
}

.nav-cta {
  padding: 0.55rem 1.25rem;
  font-size: 0.85rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
}

.mobile-menu-btn span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all var(--transition-fast);
}

/* Mobile Drawer */
.mobile-drawer {
  display: none;
  position: fixed;
  top: 75px;
  left: 0;
  width: 100%;
  background: var(--bg-card);
  border-bottom: 1px solid var(--border-color);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  z-index: 99;
}

.mobile-drawer.active {
  display: block;
}

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

.mobile-nav-link {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--text-primary);
  padding: 0.5rem 0;
  border-bottom: 1px solid var(--border-color);
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  padding: 5rem 0 6rem 0;
  overflow: hidden;
  background: radial-gradient(circle at 80% 20%, rgba(0, 163, 196, 0.15) 0%, transparent 60%),
              radial-gradient(circle at 10% 80%, rgba(101, 39, 113, 0.12) 0%, transparent 50%);
}

.hero-grid-pattern {
  position: absolute;
  inset: 0;
  background-image: linear-gradient(var(--border-color) 1px, transparent 1px),
                    linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.35;
  pointer-events: none;
}

.hero-container {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
  position: relative;
  z-index: 2;
}

.hero-tag-wrapper {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: rgba(0, 163, 196, 0.12);
  border: 1px solid rgba(0, 163, 196, 0.3);
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal-light);
}

.pulse-ring {
  width: 8px;
  height: 8px;
  background: #00A3C4;
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(0, 163, 196, 0.7);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 163, 196, 0.7);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 163, 196, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 163, 196, 0);
  }
}

.hero-cert-tag {
  display: inline-block;
  padding: 0.4rem 0.9rem;
  background: rgba(101, 39, 113, 0.15);
  border: 1px solid rgba(101, 39, 113, 0.3);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  color: #C084FC;
}

.hero-title {
  font-size: 3.25rem;
  letter-spacing: -1px;
  line-height: 1.15;
  margin-bottom: 1.5rem;
}

.hero-description {
  font-size: 1.15rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2.25rem;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Hero Metrics */
.hero-metrics {
  display: flex;
  align-items: center;
  gap: 1.75rem;
  padding: 1.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  box-shadow: var(--shadow-md);
}

.metric-item {
  flex: 1;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--teal-primary);
  line-height: 1;
  margin-bottom: 0.25rem;
}

.metric-label {
  font-size: 0.775rem;
  color: var(--text-secondary);
  font-weight: 500;
  line-height: 1.3;
}

.metric-divider {
  width: 1px;
  height: 45px;
  background: var(--border-card);
}

/* Hero Visual Showcase */
.hero-visual {
  position: relative;
}

.visual-card-glass {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg), var(--shadow-teal);
  transition: transform var(--transition-normal);
}

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

.visual-image-wrapper {
  position: relative;
  overflow: hidden;
  height: 380px;
}

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

.visual-card-glass:hover .visual-img {
  transform: scale(1.03);
}

.visual-badge-overlay {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(8, 12, 21, 0.8);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #38BDF8;
  padding: 0.45rem 0.9rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.visual-card-footer {
  padding: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  border-top: 1px solid var(--border-card);
  background: var(--bg-surface);
}

.visual-title {
  display: block;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
}

.visual-sub {
  display: block;
  font-size: 0.825rem;
  color: var(--text-secondary);
}

.btn-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--teal-primary);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: all var(--transition-fast);
}

.btn-icon:hover {
  background: var(--teal-dark);
  transform: scale(1.08);
}

/* ==========================================================================
   TRUST STRIP
   ========================================================================== */

.trust-strip {
  background: var(--bg-section);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 1.25rem 0;
}

.trust-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.trust-title {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
  letter-spacing: 0.5px;
}

.trust-badges {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.trust-pill {
  font-size: 0.825rem;
  font-weight: 600;
  color: var(--text-primary);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 0.4rem 0.9rem;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.trust-pill i {
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-primary);
}

/* ==========================================================================
   CORPORATE IDENTITY SECTION (NOSOTROS)
   ========================================================================== */

.corporate-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 2.5rem;
  align-items: start;
}

.corp-history-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.corp-card-header {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.icon-box-primary {
  width: 56px;
  height: 56px;
  border-radius: var(--radius-md);
  background: var(--gradient-teal);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 6px 16px rgba(0, 163, 196, 0.3);
}

.badge-accent {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--teal-primary);
  display: inline-block;
  margin-bottom: 0.2rem;
}

.corp-card-title {
  font-size: 1.35rem;
}

.corp-text {
  font-size: 0.975rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 1.25rem;
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
}

.corp-headquarters-box {
  margin-top: 1.75rem;
  padding: 1.25rem;
  background: var(--bg-input);
  border-radius: var(--radius-md);
  border-left: 3px solid var(--teal-primary);
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  font-size: 0.875rem;
}

.corp-mvv-column {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.mvv-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  display: flex;
  gap: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal), border-color var(--transition-normal);
}

.mvv-card:hover {
  transform: translateY(-3px);
  border-color: var(--teal-primary);
}

.mvv-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-md);
  background: rgba(0, 163, 196, 0.12);
  color: var(--teal-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.mvv-icon-wrap.icon-purple {
  background: rgba(101, 39, 113, 0.15);
  color: #C084FC;
}

.mvv-icon-wrap.icon-teal {
  background: rgba(6, 182, 212, 0.12);
  color: #06B6D4;
}

.mvv-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.mvv-desc {
  font-size: 0.925rem;
  color: var(--text-secondary);
  line-height: 1.68;
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
}

.values-list {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin-top: 0.5rem;
  font-size: 0.875rem;
}

.value-item {
  line-height: 1.55;
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
}

.value-item strong {
  color: var(--teal-primary);
}

/* ==========================================================================
   UNIDADES DE NEGOCIO (BUSINESS PILLARS)
   ========================================================================== */

.business-units-section {
  background: var(--bg-section);
}

.units-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
}

.unit-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
  overflow: hidden;
}

.unit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.unit-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-highlight);
}

.unit-card:hover::before {
  opacity: 1;
}

.unit-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(0, 163, 196, 0.12);
  color: var(--teal-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.unit-icon.icon-teal {
  background: rgba(6, 182, 212, 0.12);
  color: #06B6D4;
}

.unit-icon.icon-purple {
  background: rgba(101, 39, 113, 0.15);
  color: #C084FC;
}

.unit-title {
  font-size: 1.35rem;
  margin-bottom: 0.85rem;
}

.unit-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
  hyphens: none;
  -webkit-hyphens: none;
  word-break: normal;
}

.unit-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 1.75rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
  flex-grow: 1;
}

.unit-features li {
  position: relative;
  padding-left: 1.3rem;
}

.unit-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal-primary);
  font-weight: 700;
}

.unit-link {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--teal-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.unit-link:hover {
  color: var(--teal-light);
  transform: translateX(4px);
}

/* ==========================================================================
   EQUIPMENT SHOWCASE
   ========================================================================== */

.filter-tabs-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2.75rem;
}

.filter-tabs {
  display: flex;
  gap: 0.6rem;
  padding: 0.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-sm);
  flex-wrap: wrap;
  justify-content: center;
}

.filter-btn {
  padding: 0.65rem 1.4rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.875rem;
  font-weight: 600;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
}

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

.filter-btn.active {
  background: var(--gradient-brand);
  color: #FFFFFF;
  box-shadow: 0 4px 15px rgba(0, 163, 196, 0.35);
}

.equipment-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(290px, 1fr));
  gap: 2rem;
}

.equip-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: all var(--transition-normal);
  position: relative;
}

.equip-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--border-highlight);
}

.equip-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: rgba(8, 12, 21, 0.85);
  backdrop-filter: blur(8px);
  color: #38BDF8;
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 0.3rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  z-index: 2;
}

.equip-img-wrap {
  position: relative;
  height: 220px;
  background: #080D18;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.equip-img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform var(--transition-slow);
}

.equip-card:hover .equip-img {
  transform: scale(1.06);
}

.equip-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.equip-title {
  font-size: 1.15rem;
  margin-bottom: 0.6rem;
  line-height: 1.35;
}

.equip-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 1.25rem;
  flex-grow: 1;
}

.equip-specs-preview {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  padding: 0.75rem;
  background: var(--bg-input);
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  margin-bottom: 1.25rem;
  color: var(--text-secondary);
}

.equip-specs-preview strong {
  color: var(--teal-primary);
}

/* ==========================================================================
   HOSPITALES MODULARES SPOTLIGHT
   ========================================================================== */

.modular-spotlight-section {
  background: var(--bg-section);
}

.spotlight-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 3.5rem;
  align-items: center;
}

.spotlight-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
}

.specs-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
  margin-bottom: 2.25rem;
}

.spec-pill {
  display: flex;
  gap: 0.85rem;
  padding: 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
}

.spec-pill .spec-icon {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--teal-primary);
  margin-top: 6px;
  flex-shrink: 0;
}

.spec-pill strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.2rem;
  color: var(--text-primary);
}

.spec-pill p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

.spotlight-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Media Showcase with Thumbnails */
.media-tabs-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.media-image-showcase {
  height: 360px;
  background: #090E1A;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.spotlight-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--transition-fast);
}

.media-thumbs {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  padding: 0.75rem;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-card);
}

.thumb-btn {
  background: transparent;
  border: 2px solid transparent;
  border-radius: var(--radius-sm);
  padding: 0.35rem;
  cursor: pointer;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  transition: all var(--transition-fast);
}

.thumb-btn img {
  width: 100%;
  height: 50px;
  object-fit: cover;
  border-radius: 4px;
}

.thumb-btn span {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.thumb-btn.active,
.thumb-btn:hover {
  border-color: var(--teal-primary);
}

.thumb-btn.active span {
  color: var(--teal-primary);
}

/* ==========================================================================
   PROYECTOS & HUELLA GLOBAL
   ========================================================================== */

.projects-map-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.projects-stats-row {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.5rem;
  padding-bottom: 2rem;
  margin-bottom: 2.5rem;
  border-bottom: 1px solid var(--border-card);
  text-align: center;
}

.pstat-val {
  display: block;
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 800;
  color: var(--teal-primary);
  line-height: 1;
  margin-bottom: 0.35rem;
}

.pstat-lbl {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.locations-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2rem;
}

.loc-card {
  background: var(--bg-main);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.75rem;
}

.loc-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.25rem;
}

.loc-flag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  line-height: 1;
}

.loc-flag-img {
  width: 44px;
  height: 30px;
  object-fit: cover;
  border-radius: 5px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.15);
  display: block;
}

.loc-title {
  font-size: 1.2rem;
  margin-bottom: 0.15rem;
}

.loc-sub {
  font-size: 0.775rem;
  color: var(--teal-primary);
  font-weight: 600;
}

.loc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.loc-list li strong {
  color: var(--text-primary);
}

/* ==========================================================================
   CALIDAD & CERTIFICACIONES
   ========================================================================== */

.cert-section {
  background: var(--bg-section);
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.cert-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: transform var(--transition-normal);
}

.cert-card:hover {
  transform: translateY(-5px);
  border-color: var(--teal-primary);
}

.cert-badge-circle {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  box-shadow: 0 6px 20px rgba(0, 163, 196, 0.35);
}

.cert-card-title {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

.cert-card-desc {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Custom Packaging Feature Box */
.blindaje-box {
  background: linear-gradient(135deg, rgba(0, 163, 196, 0.1) 0%, rgba(101, 39, 113, 0.12) 100%);
  border: 1px solid rgba(0, 163, 196, 0.3);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.blindaje-title {
  font-size: 1.75rem;
  margin: 0.5rem 0 1rem 0;
}

.blindaje-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 800px;
  margin-bottom: 2rem;
}

.blindaje-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.b-feat {
  display: flex;
  gap: 1rem;
  background: var(--bg-card);
  padding: 1.25rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
}

.b-feat i {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal-primary);
  margin-top: 6px;
  flex-shrink: 0;
}

.b-feat strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: var(--text-primary);
}

.b-feat span {
  font-size: 0.825rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

/* ==========================================================================
   CONTACT SECTION & RFP FORM
   ========================================================================== */

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 3rem;
  align-items: start;
}

.contact-info-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.contact-lead {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2rem;
}

.contact-person-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: var(--bg-main);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  margin-bottom: 2rem;
}

.person-avatar {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--gradient-brand);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.person-name {
  font-size: 1.15rem;
  margin-bottom: 0.15rem;
}

.person-role {
  display: block;
  font-size: 0.85rem;
  color: var(--teal-primary);
  font-weight: 600;
}

.person-corp {
  display: block;
  font-size: 0.775rem;
  color: var(--text-muted);
}

.contact-details-list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.contact-channel-item {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-main);
  border: 1px solid var(--border-card);
  transition: all var(--transition-fast);
  color: var(--text-primary);
}

.contact-channel-item:hover {
  border-color: var(--teal-primary);
  transform: translateX(4px);
}

.channel-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 163, 196, 0.12);
  color: var(--teal-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.channel-icon.icon-wa {
  background: rgba(37, 211, 102, 0.15);
  color: #25D366;
}

.channel-label {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 600;
}

.channel-val {
  display: block;
  font-size: 0.95rem;
  font-weight: 600;
}

.channel-sub {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

/* Contact Form */
.contact-form-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

.form-title {
  font-size: 1.6rem;
  margin-bottom: 0.5rem;
}

.form-subtitle {
  font-size: 0.925rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

.rfp-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

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

.form-group label {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-primary);
}

.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  background: var(--bg-input);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.925rem;
  transition: all var(--transition-fast);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal-primary);
  box-shadow: 0 0 12px var(--teal-glow);
}

.form-status {
  padding: 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
}

.form-status.success {
  background: rgba(34, 197, 94, 0.15);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22C55E;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.site-footer {
  background: var(--bg-section);
  border-top: 1px solid var(--border-color);
  padding: 5rem 0 2rem 0;
}

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

.footer-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  margin-bottom: 1.25rem;
}

.footer-tagline {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.footer-domain-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 0.85rem;
  background: var(--bg-main);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  color: var(--teal-primary);
}

.footer-col-title {
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background: var(--teal-primary);
}

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

.footer-links a,
.footer-links button {
  font-size: 0.875rem;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  padding: 0;
  text-align: left;
  cursor: pointer;
  transition: color var(--transition-fast);
}

.footer-links a:hover,
.footer-links button:hover {
  color: var(--teal-primary);
}

.footer-contact-info {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  font-size: 0.875rem;
  color: var(--text-secondary);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 2rem;
  border-top: 1px solid var(--border-color);
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 1rem;
}

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

/* ==========================================================================
   MODALS
   ========================================================================== */

.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(4, 7, 13, 0.8);
  backdrop-filter: blur(8px);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity var(--transition-normal);
}

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

.modal-dialog {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
}

.modal-dialog-lg {
  max-width: 850px;
}

.modal-header {
  padding: 1.5rem 2rem;
  border-bottom: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-category {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal-primary);
  letter-spacing: 1px;
}

.modal-title {
  font-size: 1.35rem;
  margin-top: 0.2rem;
}

.modal-close-btn {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  padding: 0;
}

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

.modal-body {
  padding: 2rem;
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--text-secondary);
}

.modal-footer {
  padding: 1.25rem 2rem;
  border-top: 1px solid var(--border-card);
  display: flex;
  justify-content: flex-end;
  gap: 1rem;
}

/* Modal Internal Formatting */
.modal-detail-img {
  width: 100%;
  max-height: 280px;
  object-fit: cover;
  border-radius: var(--radius-md);
  margin-bottom: 1.5rem;
  border: 1px solid var(--border-card);
}

.modal-spec-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.875rem;
}

.modal-spec-table th,
.modal-spec-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-card);
  text-align: left;
}

.modal-spec-table th {
  background: var(--bg-main);
  color: var(--text-primary);
}

/* DNS Guide Modal Styling */
.dns-guide-content {
  font-size: 0.925rem;
}

.dns-alert-box {
  background: rgba(0, 163, 196, 0.12);
  border: 1px solid rgba(0, 163, 196, 0.35);
  border-radius: var(--radius-md);
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.dns-alert-box code {
  background: rgba(0, 0, 0, 0.3);
  padding: 0.2rem 0.45rem;
  border-radius: 4px;
  font-family: monospace;
  color: #38BDF8;
}

.guide-step-title {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin: 1.5rem 0 0.5rem 0;
}

.dns-table {
  width: 100%;
  border-collapse: collapse;
  margin: 1rem 0;
  font-size: 0.875rem;
}

.dns-table th,
.dns-table td {
  padding: 0.75rem 1rem;
  border: 1px solid var(--border-card);
}

.dns-table th {
  background: var(--bg-main);
  color: var(--text-primary);
}

.record-badge {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.75rem;
}

.record-a {
  background: #0284C7;
  color: #FFFFFF;
}

.record-cname {
  background: #7C3AED;
  color: #FFFFFF;
}

.code-block {
  background: #040810;
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1rem;
  color: #38BDF8;
  font-family: monospace;
  overflow-x: auto;
  margin: 0.75rem 0;
}

/* Floating WhatsApp Button (Premium Corporate Design) */
.wa-floating-btn {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF !important;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42), 0 2px 6px rgba(0, 0, 0, 0.2);
  z-index: 1000;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.wa-floating-btn:hover {
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 12px 32px rgba(37, 211, 102, 0.65), 0 4px 10px rgba(0, 0, 0, 0.25);
  color: #FFFFFF !important;
}

.wa-floating-btn svg {
  width: 32px;
  height: 32px;
  fill: #FFFFFF;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
  pointer-events: none;
}

.wa-floating-btn:hover svg {
  transform: scale(1.08) rotate(-6deg);
}

/* Subtle Pulse Animation Ring */
.wa-pulse-ring {
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.75;
  animation: waPulseRing 2.4s cubic-bezier(0.25, 0, 0.4, 1) infinite;
  pointer-events: none;
}

@keyframes waPulseRing {
  0% {
    transform: scale(0.96);
    opacity: 0.8;
  }
  60% {
    transform: scale(1.35);
    opacity: 0;
  }
  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

/* Floating Tooltip Pill (Positioned to the left of the button) */
.wa-tooltip {
  position: absolute;
  right: calc(100% + 14px);
  top: 50%;
  transform: translateY(-50%) translateX(8px);
  background: rgba(15, 23, 42, 0.94);
  color: #FFFFFF;
  padding: 0.55rem 1.05rem;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1001;
}

.wa-tooltip::after {
  content: '';
  position: absolute;
  left: 100%;
  top: 50%;
  transform: translateY(-50%);
  border-width: 6px;
  border-style: solid;
  border-color: transparent transparent transparent rgba(15, 23, 42, 0.94);
}

.wa-floating-btn:hover .wa-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

/* Online Status Green Dot inside Tooltip */
.wa-online-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #25D366;
  box-shadow: 0 0 8px #25D366;
  flex-shrink: 0;
}

/* ==========================================================================
   ENHANCED PORTFOLIO COMPONENTS & MICRO-INTERACTIONS
   ========================================================================== */

/* Top Reading Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, var(--teal-primary), #38BDF8, var(--purple-light));
  z-index: 10001;
  box-shadow: 0 0 10px rgba(0, 163, 196, 0.7);
  transition: width 0.08s ease-out;
  pointer-events: none;
}

/* Hero Section Refinements */
.hero-live-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

html[data-theme="dark"] .hero-live-pill {
  background: rgba(34, 197, 94, 0.12);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #4ADE80;
}

html[data-theme="light"] .hero-live-pill {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.35);
  color: #15803D;
}

.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #22C55E;
  box-shadow: 0 0 8px #22C55E;
  animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.25); }
}

/* Floating Glass Stat Badges in Hero */
.hero-float-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
  z-index: 5;
  transition: transform var(--transition-fast);
}

html[data-theme="dark"] .hero-float-badge {
  background: rgba(18, 26, 46, 0.88);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #F8FAFC;
}

html[data-theme="light"] .hero-float-badge {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(0, 163, 196, 0.25);
  color: #0F172A;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.12);
}

.hero-float-badge.float-tr {
  top: 1.5rem;
  right: 1.5rem;
  animation: floatSlow 5.5s ease-in-out infinite;
}

.hero-float-badge.float-bl {
  bottom: 1.5rem;
  left: 1.5rem;
  animation: floatSlow 5.5s ease-in-out infinite 2.75s;
}

@keyframes floatSlow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.float-icon {
  font-size: 1.6rem;
  line-height: 1;
}

.float-text strong {
  display: block;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-primary);
}

.float-text span {
  font-size: 0.74rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Business Units Refinements & KPI Badges */
.unit-card {
  position: relative;
  overflow: hidden;
}

.unit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-brand);
  opacity: 0;
  transition: opacity var(--transition-normal);
}

.unit-card:hover::before {
  opacity: 1;
}

.unit-kpi-badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 0.85rem;
  padding: 0.28rem 0.7rem;
  border-radius: var(--radius-full);
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

html[data-theme="dark"] .unit-kpi-badge {
  background: rgba(0, 163, 196, 0.12);
  color: #38BDF8;
  border: 1px solid rgba(0, 163, 196, 0.25);
}

html[data-theme="light"] .unit-kpi-badge {
  background: rgba(0, 163, 196, 0.08);
  color: #088096;
  border: 1px solid rgba(0, 163, 196, 0.3);
}



/* Equipment Spec Chips */
.equip-spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}

.spec-chip {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 0.22rem 0.55rem;
  border-radius: var(--radius-full);
  letter-spacing: 0.02em;
}

html[data-theme="dark"] .spec-chip {
  background: rgba(255, 255, 255, 0.06);
  color: #94A3B8;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

html[data-theme="light"] .spec-chip {
  background: rgba(15, 23, 42, 0.04);
  color: #475569;
  border: 1px solid rgba(15, 23, 42, 0.1);
}

/* Modular Hospital Comparative Card */
.modular-comparative-card {
  margin-top: 3.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.modular-comparative-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--gradient-brand);
}

.comparative-header {
  text-align: center;
  max-width: 820px;
  margin: 0 auto 2.5rem;
}

.comparative-title {
  font-size: 1.85rem;
  font-family: var(--font-heading);
  color: var(--text-primary);
  margin-top: 0.5rem;
  line-height: 1.25;
}

.comparative-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}

.compare-col {
  border-radius: var(--radius-md);
  padding: 2rem;
  position: relative;
}

.traditional-col {
  background: rgba(239, 68, 68, 0.04);
  border: 1px solid rgba(239, 68, 68, 0.2);
}

.technomedicals-col {
  background: rgba(0, 163, 196, 0.06);
  border: 2px solid var(--teal-primary);
  box-shadow: var(--shadow-teal);
}

.compare-badge-flag {
  position: absolute;
  top: -12px;
  right: 20px;
  background: var(--gradient-brand);
  color: #FFFFFF;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.compare-col-header {
  margin-bottom: 1.35rem;
}

.col-tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  margin-bottom: 0.5rem;
}

.tag-warning {
  background: rgba(239, 68, 68, 0.15);
  color: #EF4444;
}

.tag-success {
  background: rgba(34, 197, 94, 0.15);
  color: #22C55E;
}

.compare-col-header h4 {
  font-size: 1.15rem;
  color: var(--text-primary);
  margin: 0;
}

.compare-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  font-size: 0.92rem;
  color: var(--text-secondary);
}

.compare-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  line-height: 1.45;
}

.compare-list strong {
  color: var(--text-primary);
}

.c-icon {
  font-weight: 800;
  font-size: 1.15rem;
  line-height: 1;
  flex-shrink: 0;
  margin-top: 2px;
}

.c-neg {
  color: #EF4444;
}

.c-pos {
  color: #22C55E;
}



/* Proyectos Animated Progress Bars & Country Filter Tabs */
.pstat-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 0.5rem;
}

.pstat-bar-track {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-full);
  overflow: hidden;
  margin-top: 0.35rem;
}

html[data-theme="light"] .pstat-bar-track {
  background: rgba(15, 23, 42, 0.08);
}

.pstat-bar-fill {
  height: 100%;
  background: var(--gradient-brand);
  border-radius: var(--radius-full);
  transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
}



/* Institutional Security Seal Mockup in Calidad & FDA */
.blindaje-box {
  display: grid;
  grid-template-columns: 1.35fr 0.85fr;
  gap: 2.25rem;
  align-items: center;
}

.blindaje-seal-col {
  display: flex;
  justify-content: center;
  align-items: center;
}

.security-seal-badge {
  position: relative;
  width: 100%;
  max-width: 320px;
  background: linear-gradient(135deg, rgba(0, 163, 196, 0.12) 0%, rgba(101, 39, 113, 0.18) 100%);
  border: 2px dashed var(--teal-primary);
  border-radius: var(--radius-lg);
  padding: 1.85rem 1.5rem;
  text-align: center;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

html[data-theme="light"] .security-seal-badge {
  background: linear-gradient(135deg, rgba(0, 163, 196, 0.08) 0%, rgba(101, 39, 113, 0.08) 100%);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}

.seal-top-icon {
  color: var(--teal-primary);
  margin-bottom: 0.5rem;
}

.seal-headline {
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  color: var(--teal-primary);
  text-transform: uppercase;
  margin-bottom: 0.65rem;
}

.seal-legend {
  font-size: 1.25rem;
  font-weight: 800;
  color: #EF4444;
  border: 2px solid #EF4444;
  display: inline-block;
  padding: 0.3rem 0.85rem;
  border-radius: 4px;
  letter-spacing: 0.06em;
  margin-bottom: 0.45rem;
  transform: rotate(-2.5deg);
  background: rgba(239, 68, 68, 0.08);
}

.seal-sublegend {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.04em;
  margin-bottom: 0.85rem;
}

.seal-code-row {
  font-size: 0.78rem;
  color: var(--text-secondary);
  background: var(--bg-main);
  padding: 0.45rem;
  border-radius: 4px;
  border: 1px solid var(--border-card);
  margin-bottom: 0.65rem;
  display: flex;
  justify-content: space-between;
}

.seal-code-row strong {
  color: var(--teal-primary);
  letter-spacing: 0.06em;
  font-family: monospace;
}

.seal-footer-text {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.06em;
}



.form-trust-badges {
  display: flex;
  justify-content: space-between;
  gap: 0.75rem;
  margin-top: 1.25rem;
  flex-wrap: wrap;
}

.f-trust-badge {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.78rem;
  color: var(--text-secondary);
}

.f-trust-badge svg {
  color: var(--teal-primary);
  flex-shrink: 0;
}

/* Floating Back to Top Button */
.back-to-top-btn {
  position: fixed;
  bottom: 2rem;
  left: 2rem;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--bg-card);
  border: 2px solid var(--teal-primary);
  color: var(--teal-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-md);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: all var(--transition-normal);
  cursor: pointer;
}

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

.back-to-top-btn:hover {
  background: var(--gradient-brand);
  color: #FFFFFF;
  border-color: transparent;
  transform: translateY(-4px);
  box-shadow: var(--shadow-teal);
}

/* ==========================================================================
   RESPONSIVE DESIGN
   ========================================================================== */

@media (max-width: 1024px) {
  .hero-container,
  .corporate-grid,
  .spotlight-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .comparative-grid {
    grid-template-columns: 1fr;
  }

  .blindaje-box {
    grid-template-columns: 1fr;
  }



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

  .projects-stats-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .hero-title {
    font-size: 2.75rem;
  }
}

@media (max-width: 768px) {
  .top-info {
    display: none;
  }

  .nav-menu {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .theme-toggle-btn .theme-label {
    display: none;
  }

  .theme-toggle-btn {
    padding: 0.45rem;
  }

  .mobile-menu-btn {
    display: flex;
  }

  .mobile-drawer {
    top: 75px;
    z-index: 999;
    max-height: calc(100vh - 75px);
    overflow-y: auto;
  }

  .hero-title {
    font-size: 2.2rem;
  }

  .hero-float-badge {
    display: none;
  }

  .hero-metrics {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .metric-divider {
    display: none;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .specs-pill-grid {
    grid-template-columns: 1fr;
  }

  .projects-stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-top {
    grid-template-columns: 1fr;
  }



  .form-trust-badges {
    flex-direction: column;
    gap: 0.5rem;
  }

  .wa-floating-btn {
    bottom: 1.25rem;
    right: 1.25rem;
    width: 52px;
    height: 52px;
  }

  .back-to-top-btn {
    bottom: 1.25rem;
    left: 1.25rem;
    width: 44px;
    height: 44px;
  }
}

/* ==========================================================================
   BILINGUAL LANGUAGE SELECTOR
   ========================================================================== */
.lang-selector-wrap {
  display: flex;
  align-items: center;
}

.lang-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  padding: 0.35rem 0.65rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  transition: all var(--transition-fast);
}

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

.lang-pill {
  padding: 0.15rem 0.4rem;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
}

.lang-pill.active {
  background: var(--gradient-brand);
  color: #FFFFFF;
  border-radius: var(--radius-full);
}

.lang-sep {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.mobile-lang-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid var(--border-card);
  margin-bottom: 0.5rem;
}

.mobile-lang-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
}

.mobile-lang-btns {
  display: flex;
  gap: 0.5rem;
}

.m-lang-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  padding: 0.35rem 0.75rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
}

.m-lang-btn.active {
  background: var(--gradient-brand);
  color: #FFFFFF;
  border-color: transparent;
}

/* ==========================================================================
   HERO SUBTEXT & DOMAIN PILLS
   ========================================================================== */
.hero-subtext {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal-primary);
  margin-top: -0.5rem;
  margin-bottom: 1.75rem;
  letter-spacing: 0.02em;
}

.hero-domain-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1.75rem 0 2rem;
}

.h-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.48rem 1rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-primary);
  text-decoration: none;
  transition: all var(--transition-fast);
}

.h-pill:hover {
  border-color: var(--teal-primary);
  transform: translateY(-2px);
  color: var(--teal-primary);
  box-shadow: var(--shadow-sm);
}

.h-pill-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.dot-teal { background: var(--teal-primary); box-shadow: 0 0 8px rgba(0, 163, 196, 0.6); }
.dot-amber { background: #F59E0B; box-shadow: 0 0 8px rgba(245, 158, 11, 0.6); }
.dot-emerald { background: #10B981; box-shadow: 0 0 8px rgba(16, 185, 129, 0.6); }
.dot-purple { background: #8B5CF6; box-shadow: 0 0 8px rgba(139, 92, 246, 0.6); }

/* ==========================================================================
   ABOUT US: WHY TMG & SPLIT CARDS
   ========================================================================== */
.highlight-card {
  background: linear-gradient(135deg, rgba(0, 163, 196, 0.08) 0%, rgba(101, 39, 113, 0.1) 100%);
  border: 1px solid rgba(0, 163, 196, 0.3);
}

.why-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.25rem;
}

.why-item {
  background: var(--bg-main);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
}

.why-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--teal-primary);
  margin-bottom: 0.25rem;
}

.why-item span {
  font-size: 0.8rem;
  color: var(--text-secondary);
  line-height: 1.45;
  display: block;
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}

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

/* ==========================================================================
   CORE AREAS: 4-COLUMN PILLARS & ACCENT COLORS
   ========================================================================== */
.pillars-grid-4 {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
}

.badge-amber {
  background: rgba(245, 158, 11, 0.15) !important;
  color: #F59E0B !important;
  border-color: rgba(245, 158, 11, 0.3) !important;
}

.badge-emerald {
  background: rgba(16, 185, 129, 0.15) !important;
  color: #10B981 !important;
  border-color: rgba(16, 185, 129, 0.3) !important;
}

.badge-purple {
  background: rgba(139, 92, 246, 0.15) !important;
  color: #C084FC !important;
  border-color: rgba(139, 92, 246, 0.3) !important;
}

.icon-amber {
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
}

.icon-emerald {
  background: rgba(16, 185, 129, 0.15);
  color: #10B981;
}

.pillar-card-health:hover { border-color: var(--teal-primary); }
.pillar-card-energy:hover { border-color: #F59E0B; }
.pillar-card-enviro:hover { border-color: #10B981; }
.pillar-card-sourcing:hover { border-color: #8B5CF6; }

/* ==========================================================================
   TMG ECOSYSTEM ARCHITECTURE
   ========================================================================== */
.ecosystem-section {
  background: var(--bg-section);
}

.ecosystem-flow-card {
  display: grid;
  grid-template-columns: 1fr 1.25fr 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
  margin-bottom: 3.5rem;
  box-shadow: var(--shadow-md);
}

.eco-flow-col {
  background: var(--bg-main);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

.eco-flow-head {
  margin-bottom: 1rem;
  text-align: center;
}

.eco-head-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: rgba(101, 39, 113, 0.15);
  color: #C084FC;
  border: 1px solid rgba(101, 39, 113, 0.3);
}

.eco-head-badge.badge-teal {
  background: rgba(0, 163, 196, 0.15);
  color: var(--teal-primary);
  border-color: rgba(0, 163, 196, 0.3);
}

.eco-flow-items {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
}

.eco-flow-items li {
  font-size: 0.88rem;
  color: var(--text-primary);
  font-weight: 600;
  padding: 0.5rem 0.75rem;
  background: var(--bg-card);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-card);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.eco-flow-items li::before {
  content: '✦';
  color: var(--teal-primary);
  font-size: 0.8rem;
}

.eco-flow-connector {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.75rem;
}

.flow-hub {
  background: linear-gradient(135deg, rgba(0, 163, 196, 0.15) 0%, rgba(101, 39, 113, 0.25) 100%);
  border: 2px solid var(--teal-primary);
  border-radius: var(--radius-xl);
  padding: 1.75rem 1.25rem;
  box-shadow: var(--shadow-teal);
  width: 100%;
}

.hub-logo {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 800;
  background: var(--gradient-brand);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.35rem;
}

.flow-hub h3 {
  font-size: 1.15rem;
  margin-bottom: 0.35rem;
}

.flow-hub span {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.flow-line {
  width: 2px;
  height: 20px;
  background: var(--teal-primary);
}

.ecosystem-categories-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.75rem;
}

.eco-cat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  transition: all var(--transition-normal);
}

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

.eco-cat-icon {
  font-size: 2rem;
  margin-bottom: 0.75rem;
}

.eco-cat-card h4 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.eco-cat-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}

/* ==========================================================================
   ENERGY & ENVIRONMENTAL SOLUTIONS
   ========================================================================== */
.energy-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
}

.energy-feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition: all var(--transition-normal);
  display: flex;
  flex-direction: column;
}

.energy-feature-card:hover {
  transform: translateY(-4px);
  border-color: #F59E0B;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.energy-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.energy-icon-box {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
}

.energy-card-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-full);
  background: rgba(245, 158, 11, 0.15);
  color: #F59E0B;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

.energy-card-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.energy-card-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
  flex-grow: 1;
}

.energy-check-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--border-card);
  padding-top: 1rem;
}

.energy-check-list li {
  font-size: 0.82rem;
  color: var(--text-secondary);
  position: relative;
  padding-left: 1.25rem;
}

.energy-check-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #F59E0B;
  font-weight: 800;
}

/* ==========================================================================
   STRATEGIC SOURCING 6-STAGE PROCESS
   ========================================================================== */
.sourcing-steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.sourcing-step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  transition: all var(--transition-normal);
}

.sourcing-step-card:hover {
  transform: translateY(-4px);
  border-color: #8B5CF6;
}

.sourcing-step-card.highlight {
  border-color: var(--teal-primary);
  background: linear-gradient(135deg, rgba(0, 163, 196, 0.08) 0%, rgba(101, 39, 113, 0.12) 100%);
}

.s-step-num {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: var(--teal-primary);
  display: block;
  margin-bottom: 0.5rem;
  line-height: 1;
}

.s-step-title {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.s-step-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}

/* ==========================================================================
   COMPLIANCE & GOVERNANCE CARDS
   ========================================================================== */
.compliance-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

.comp-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 1.85rem;
  transition: all var(--transition-normal);
}

.comp-item-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal-primary);
  box-shadow: var(--shadow-sm);
}

.comp-icon-badge {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  background: var(--gradient-brand);
  color: #FFFFFF;
  margin-bottom: 1rem;
}

.comp-item-card h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
}

.comp-item-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}

/* ==========================================================================
   PERSONA SELECTOR IN CONTACT FORM
   ========================================================================== */
.persona-selector-wrap {
  margin-bottom: 1.5rem;
}

.persona-selector-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--teal-primary);
  margin-bottom: 0.65rem;
}

.persona-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.persona-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  padding: 0.42rem 0.95rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  font-family: inherit;
}

.persona-btn:hover {
  color: var(--text-primary);
  border-color: var(--teal-primary);
}

.persona-btn.active {
  background: var(--gradient-brand);
  color: #FFFFFF;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(0, 163, 196, 0.35);
}

/* ==========================================================================
   FOOTER DISCLAIMER BOX & MISSION TEXT
   ========================================================================== */
.footer-mission-text {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.5rem;
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}

.footer-disclaimer-box {
  padding: 1.25rem 1.5rem;
  background: var(--bg-main);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  margin-bottom: 2rem;
}

.footer-disclaimer-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
  hyphens: none;
}

/* ==========================================================================
   JUSTIFIED TEXT FOR CARDS, ROWS & PARAGRAPHS (NO HYPHENATION)
   ========================================================================== */
.corp-text,
.mvv-desc,
.unit-desc,
.equip-desc,
.spotlight-desc,
.energy-card-desc,
.s-step-desc,
.cert-card-desc,
.blindaje-desc,
.contact-lead,
.corp-card p,
.mvv-card p,
.unit-card p,
.equip-card p,
.cert-card p,
.modal-body p,
.eco-cat-card p,
.comp-item-card p,
.why-item span,
.footer-mission-text,
.footer-disclaimer-text {
  text-align: justify;
  text-justify: inter-word;
  text-align-last: left;
  hyphens: none;
  -webkit-hyphens: none;
  -ms-hyphens: none;
  word-break: normal;
  overflow-wrap: normal;
}

.compare-list li,
.loc-list li,
.unit-features li,
.energy-check-list li {
  text-align: left;
  text-justify: auto;
  hyphens: none;
  -webkit-hyphens: none;
}

@media (max-width: 992px) {
  .ecosystem-flow-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .flow-line {
    display: none;
  }
  .mv-split-grid,
  .why-grid {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MOBILE COMPACTION & STREAMLINED TOUCH NAVIGATION (MAX-WIDTH: 768px)
   ========================================================================== */

/* 1. Mobile Elements Default State (Hidden on Desktop) */
.mobile-swipe-indicator {
  display: none;
}

.mobile-catalog-expand-wrap {
  display: none;
}

.mobile-compare-toggle-bar {
  display: none;
}

.mobile-quick-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: 74px !important; /* Reserve comfortable space for bottom quick bar */
  }

  /* --- Swipe Indicators for Horizontal Carousels --- */
  .mobile-swipe-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin: -0.25rem auto 1.25rem;
    padding: 0.4rem 1rem;
    background: rgba(0, 163, 196, 0.08);
    border: 1px dashed rgba(0, 163, 196, 0.4);
    border-radius: var(--radius-full);
    font-size: 0.76rem;
    font-weight: 600;
    color: var(--teal-light);
    max-width: 95%;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0, 163, 196, 0.1);
  }

  .swipe-hand {
    font-size: 0.95rem;
  }

  /* --- Horizontal Scroll-Snap for Dense Card Sections --- */
  /* 4 Pillars */
  .pillars-grid-4 {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 0.5rem 0.25rem 1.25rem;
    margin-bottom: 0.5rem;
    scrollbar-width: thin;
  }
  .pillars-grid-4::-webkit-scrollbar {
    height: 4px;
  }
  .pillars-grid-4::-webkit-scrollbar-thumb {
    background: var(--teal-primary);
    border-radius: 4px;
  }
  .pillars-grid-4 .unit-card {
    flex: 0 0 86% !important;
    max-width: 86% !important;
    scroll-snap-align: center;
    padding: 1.5rem 1.25rem;
  }

  /* Ecosystem 6 Categories */
  .ecosystem-categories-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.85rem;
    padding: 0.5rem 0.25rem 1.25rem;
    scrollbar-width: thin;
  }
  .ecosystem-categories-grid::-webkit-scrollbar {
    height: 4px;
  }
  .ecosystem-categories-grid::-webkit-scrollbar-thumb {
    background: var(--teal-primary);
    border-radius: 4px;
  }
  .ecosystem-categories-grid .eco-cat-card {
    flex: 0 0 76% !important;
    max-width: 76% !important;
    scroll-snap-align: center;
    padding: 1.35rem 1.15rem;
  }

  /* Energy 4 Cards */
  .energy-cards-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 1rem;
    padding: 0.5rem 0.25rem 1.25rem;
    scrollbar-width: thin;
  }
  .energy-cards-grid::-webkit-scrollbar {
    height: 4px;
  }
  .energy-cards-grid::-webkit-scrollbar-thumb {
    background: #F59E0B;
    border-radius: 4px;
  }
  .energy-cards-grid .energy-feature-card {
    flex: 0 0 86% !important;
    max-width: 86% !important;
    scroll-snap-align: center;
    padding: 1.5rem 1.25rem;
  }

  /* Sourcing 6 Steps */
  .sourcing-steps-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.85rem;
    padding: 0.5rem 0.25rem 1.25rem;
    scrollbar-width: thin;
  }
  .sourcing-steps-grid::-webkit-scrollbar {
    height: 4px;
  }
  .sourcing-steps-grid::-webkit-scrollbar-thumb {
    background: #8B5CF6;
    border-radius: 4px;
  }
  .sourcing-steps-grid .sourcing-step-card {
    flex: 0 0 78% !important;
    max-width: 78% !important;
    scroll-snap-align: center;
    padding: 1.35rem 1.15rem;
  }

  /* Compliance 6 Cards */
  .compliance-cards-grid {
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.85rem;
    padding: 0.5rem 0.25rem 1.25rem;
    scrollbar-width: thin;
  }
  .compliance-cards-grid::-webkit-scrollbar {
    height: 4px;
  }
  .compliance-cards-grid::-webkit-scrollbar-thumb {
    background: var(--teal-primary);
    border-radius: 4px;
  }
  .compliance-cards-grid .comp-item-card {
    flex: 0 0 82% !important;
    max-width: 82% !important;
    scroll-snap-align: center;
    padding: 1.35rem 1.15rem;
  }

  /* --- Equipment Filter Tabs Touch Scroll --- */
  .filter-tabs-wrapper {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    margin-bottom: 1.25rem;
    scrollbar-width: none;
  }
  .filter-tabs-wrapper::-webkit-scrollbar {
    display: none;
  }
  .filter-tabs {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    gap: 0.5rem;
  }
  .filter-btn {
    white-space: nowrap;
    padding: 0.5rem 0.9rem;
    font-size: 0.82rem;
  }

  /* --- Equipment Catalog Compactor (Collapse Items 4-8 by default on mobile) --- */
  #equipmentGrid:not(.show-all-mobile) .equip-card:nth-child(n+4) {
    display: none !important;
  }

  .mobile-catalog-expand-wrap {
    display: flex;
    justify-content: center;
    margin: 1.5rem auto 0.5rem;
  }

  .mobile-catalog-toggle-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    padding: 0.75rem 1.5rem;
    background: var(--bg-card);
    border: 1.5px solid var(--teal-primary);
    border-radius: var(--radius-full);
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--teal-light);
    cursor: pointer;
    box-shadow: 0 4px 18px var(--teal-glow);
    transition: all var(--transition-normal);
  }

  .mobile-catalog-toggle-btn:hover {
    background: var(--teal-glow);
    transform: translateY(-2px);
  }

  .mobile-catalog-toggle-btn .chevron-icon {
    transition: transform 0.3s ease;
  }

  .equipment-grid.show-all-mobile + .mobile-catalog-expand-wrap .chevron-icon {
    transform: rotate(180deg);
  }

  /* --- Modular Hospital Comparative Segmented Switcher --- */
  .mobile-compare-toggle-bar {
    display: flex;
    gap: 0.4rem;
    margin-bottom: 1.25rem;
    background: var(--bg-card);
    padding: 0.35rem;
    border-radius: var(--radius-full);
    border: 1px solid var(--border-card);
  }

  .m-compare-tab {
    flex: 1;
    padding: 0.55rem 0.5rem;
    border: none;
    background: transparent;
    color: var(--text-secondary);
    border-radius: var(--radius-full);
    font-weight: 700;
    font-size: 0.78rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    text-align: center;
  }

  .m-compare-tab.active {
    background: var(--gradient-brand);
    color: #FFFFFF;
    box-shadow: 0 2px 10px rgba(0, 163, 196, 0.35);
  }

  /* When show-tmg is active, hide traditional column on mobile */
  .comparative-grid.show-tmg .traditional-col {
    display: none !important;
  }
  /* When show-trad is active, hide TMG column on mobile */
  .comparative-grid.show-trad .technomedicals-col {
    display: none !important;
  }

  /* --- Persona Selector Compact on Mobile --- */
  .persona-buttons {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.45rem !important;
  }
  .persona-btn {
    padding: 0.55rem 0.35rem !important;
    font-size: 0.76rem !important;
    text-align: center !important;
    white-space: normal !important;
    line-height: 1.25 !important;
  }

  .form-title {
    font-size: 1.15rem !important;
    line-height: 1.35 !important;
    word-break: break-word !important;
    white-space: normal !important;
  }

  .contact-form-card {
    padding: 1.5rem 1.15rem !important;
  }

  /* --- Sticky Bottom Quick-Nav Bar (Thumb Bar) --- */
  .mobile-quick-bar {
    display: flex !important;
    position: fixed !important;
    bottom: 0 !important;
    left: 0 !important;
    right: 0 !important;
    z-index: 995 !important;
    height: 60px !important;
    background: rgba(8, 12, 21, 0.94) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1) !important;
    justify-content: space-around !important;
    align-items: center !important;
    padding: 0 0.5rem !important;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5) !important;
  }

  html[data-theme="light"] .mobile-quick-bar {
    background: rgba(255, 255, 255, 0.94) !important;
    border-top-color: rgba(15, 23, 42, 0.1) !important;
    box-shadow: 0 -4px 20px rgba(15, 23, 42, 0.08) !important;
  }

  .m-quick-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0.2rem !important;
    text-decoration: none !important;
    color: var(--text-muted) !important;
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    padding: 0.35rem 0.5rem !important;
    border-radius: var(--radius-sm) !important;
    transition: all var(--transition-fast) !important;
  }

  .m-quick-item svg {
    stroke: currentColor !important;
  }

  .m-quick-item:hover,
  .m-quick-item.active {
    color: var(--teal-light) !important;
  }

  .m-quick-item.m-quick-cta {
    color: #FFFFFF !important;
    background: var(--gradient-brand) !important;
    padding: 0.4rem 0.85rem !important;
    border-radius: var(--radius-full) !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 10px var(--teal-glow) !important;
  }

  /* Floating action buttons adjusted above bottom bar */
  .wa-floating-btn {
    bottom: 78px !important;
    right: 1.15rem !important;
    width: 52px !important;
    height: 52px !important;
  }

  .wa-floating-btn svg {
    width: 28px !important;
    height: 28px !important;
  }

  .wa-tooltip {
    display: none !important;
  }

  .back-to-top-btn {
    bottom: 78px !important;
    left: 1.15rem !important;
  }
}

/* ==========================================================================
   MULTI-PAGE SUBPAGE HERO & BREADCRUMBS
   ========================================================================== */
.page-hero {
  position: relative;
  padding: 5rem 0 3.5rem;
  background: radial-gradient(circle at 50% 15%, rgba(0, 163, 196, 0.12) 0%, transparent 65%),
              linear-gradient(180deg, var(--bg-primary) 0%, var(--bg-surface) 100%);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  overflow: hidden;
}

.page-hero-breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  margin-bottom: 1.5rem;
  padding: 0.4rem 1.15rem;
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-full);
  backdrop-filter: blur(8px);
}

.page-hero-breadcrumb a {
  color: var(--teal-primary);
  text-decoration: none;
  transition: color var(--transition-fast);
}

.page-hero-breadcrumb a:hover {
  text-decoration: underline;
  color: var(--teal-light);
}

.page-hero-breadcrumb .breadcrumb-sep {
  color: var(--border-card);
}

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

.page-hero .section-title {
  font-size: clamp(2rem, 3.8vw, 3.2rem);
  margin-bottom: 1.25rem;
}

.page-hero .section-lead {
  max-width: 840px;
  margin: 0 auto 2rem;
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
}

.page-hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.hero-chip-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 500;
  text-decoration: none;
  transition: all var(--transition-normal);
}

.hero-chip-link:hover {
  border-color: var(--teal-primary);
  color: var(--teal-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 163, 196, 0.2);
}

.hero-chip-link .chip-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal-primary);
  box-shadow: 0 0 8px var(--teal-primary);
}

.cross-link-card {
  background: linear-gradient(135deg, rgba(14, 165, 233, 0.08) 0%, rgba(20, 184, 166, 0.08) 100%);
  border: 1px solid rgba(0, 163, 196, 0.25);
  border-radius: var(--radius-xl);
  padding: 3rem 2.5rem;
  text-align: center;
  margin: 4rem 0 2rem;
  position: relative;
  overflow: hidden;
}

.cross-link-card::before {
  content: '';
  position: absolute;
  top: -50%;
  left: 50%;
  transform: translateX(-50%);
  width: 400px;
  height: 200px;
  background: radial-gradient(circle, rgba(0, 163, 196, 0.2) 0%, transparent 70%);
  pointer-events: none;
}

.cross-link-card h3 {
  font-size: 1.85rem;
  margin-bottom: 0.75rem;
  font-family: var(--font-heading);
}

.cross-link-card p {
  color: var(--text-secondary);
  max-width: 650px;
  margin: 0 auto 1.75rem;
  font-size: 1.05rem;
}






