/* ==========================================================================
   AUFIT CLIMAS MÉXICO - PREMIUM AGENCY DESIGN SYSTEM
   Modern, Ultra-Clean, High-Performance, Accessible, Dark/Light Mode
   ========================================================================== */

:root {
  /* Brand Core Palette */
  --brand-blue: #0050A0;
  --brand-blue-hover: #003F80;
  --brand-cyan: #00C0F3;
  --brand-cyan-dark: #009FE3;
  --brand-accent-orange: #FF5722;
  --brand-green: #10B981;

  /* Light Theme (Default) - WCAG AA High Contrast Compliant */
  --bg-body: #F8FAFC;
  --bg-surface: #FFFFFF;
  --bg-surface-elevated: #FFFFFF;
  --bg-surface-subtle: #F1F5F9;
  --bg-glass: rgba(255, 255, 255, 0.85);
  --bg-glass-card: rgba(255, 255, 255, 0.75);

  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-tertiary: #475569;
  --text-muted: #64748B;
  --text-inverse: #FFFFFF;

  --border-light: rgba(226, 232, 240, 0.8);
  --border-strong: #CBD5E1;
  --border-focus: #00C0F3;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 12px -2px rgba(15, 23, 42, 0.08), 0 2px 6px -2px rgba(15, 23, 42, 0.04);
  --shadow-lg: 0 16px 32px -6px rgba(15, 23, 42, 0.1), 0 8px 16px -4px rgba(15, 23, 42, 0.06);
  --shadow-glow-cyan: 0 0 35px -5px rgba(0, 192, 243, 0.35);
  --shadow-glow-blue: 0 0 35px -5px rgba(0, 80, 160, 0.25);

  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 22px;
  --radius-full: 9999px;

  --transition-fast: 0.18s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-base: 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-slow: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-theme="dark"] {
  /* Dark Theme Overrides */
  --bg-body: #080D1A;
  --bg-surface: #0E1626;
  --bg-surface-elevated: #141F36;
  --bg-surface-subtle: #18243E;
  --bg-glass: rgba(14, 22, 38, 0.85);
  --bg-glass-card: rgba(20, 31, 54, 0.65);

  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-tertiary: #94A3B8;
  --text-muted: #64748B;
  --text-inverse: #0F172A;

  --border-light: rgba(255, 255, 255, 0.08);
  --border-strong: rgba(255, 255, 255, 0.15);
  --border-focus: #00C0F3;

  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 14px -2px rgba(0, 0, 0, 0.45);
  --shadow-lg: 0 20px 40px -10px rgba(0, 0, 0, 0.6);
  --shadow-glow-cyan: 0 0 40px -5px rgba(0, 192, 243, 0.45);
  --shadow-glow-blue: 0 0 40px -5px rgba(0, 120, 240, 0.35);
}

/* ==========================================================================
   Base & Reset
   ========================================================================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 100px;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
}

body {
  font-family: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  background-color: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: clip;
  max-width: 100vw;
  width: 100%;
  position: relative;
  transition: background-color var(--transition-base), color var(--transition-base);
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  color: var(--text-primary);
  font-weight: 700;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* ==========================================================================
   Layout Containers
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-wide {
  width: 100%;
  max-width: 1440px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.section {
  padding-top: 6rem;
  padding-bottom: 6rem;
  position: relative;
}

.section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 3.5rem auto;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(0, 192, 243, 0.12);
  color: var(--brand-cyan-dark);
  border: 1px solid rgba(0, 192, 243, 0.3);
  margin-bottom: 1rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.section-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-light);
  padding: 0;
  margin: 0;
  transition: all var(--transition-base);
}

.site-header.scrolled {
  background: var(--bg-glass);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-md);
  padding-top: 0;
  padding-bottom: 0;
}

.site-header.scrolled .top-contact-bar {
  max-height: 0;
  opacity: 0;
  padding: 0;
  overflow: hidden;
  border-bottom: none;
}

.nav-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 80px;
  transition: height var(--transition-base);
}

.site-header.scrolled .nav-wrapper {
  height: 68px;
}

.brand-logo {
  display: flex;
  align-items: center;
  width: 175px;
  height: auto;
}

.brand-logo svg {
  width: 100%;
  height: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.8rem;
  list-style: none;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-secondary);
  position: relative;
  padding: 0.4rem 0;
}

.nav-link:hover, .nav-link.active {
  color: var(--brand-blue);
}

[data-theme="dark"] .nav-link:hover, [data-theme="dark"] .nav-link.active {
  color: var(--brand-cyan);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  transition: width var(--transition-fast);
  border-radius: 2px;
}

.nav-link:hover::after, .nav-link.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

/* Theme Toggle Button */
.theme-toggle-btn {
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-primary);
  width: 42px;
  height: 42px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all var(--transition-fast);
}

.theme-toggle-btn:hover {
  background: var(--bg-surface-elevated);
  transform: translateY(-2px);
  border-color: var(--brand-cyan);
  box-shadow: var(--shadow-sm);
}

.theme-icon-sun, .theme-icon-moon {
  width: 20px;
  height: 20px;
  stroke-width: 2;
}

[data-theme="dark"] .theme-icon-sun {
  display: block;
}

[data-theme="dark"] .theme-icon-moon {
  display: none;
}

:root:not([data-theme="dark"]) .theme-icon-sun {
  display: none;
}

:root:not([data-theme="dark"]) .theme-icon-moon {
  display: block;
}

/* Header Buttons */
.btn-primary-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.88rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-hover) 100%);
  color: #FFFFFF !important;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 4px 12px rgba(0, 80, 160, 0.25);
  transition: all var(--transition-fast);
}

.btn-primary-sm:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 80, 160, 0.4);
}

/* Mobile Hamburger */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  padding: 0.5rem;
}

/* ==========================================================================
   Hero Video Section (Base / Desktop)
   ========================================================================== */
.hero-video-section {
  position: relative;
  min-height: calc(100vh - 118px);
  min-height: calc(100svh - 118px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #080D1A;
}

.hero-video-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-video-bg {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0.55;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(0, 14, 40, 0.85) 0%,
    rgba(0, 40, 100, 0.55) 50%,
    rgba(0, 80, 160, 0.4) 100%
  );
}

.hero-video-content {
  position: relative;
  z-index: 1;
  padding-top: 4.5rem;
  padding-bottom: 4.5rem;
  max-width: 800px;
}

.hero-video-title {
  font-family: 'Outfit', system-ui, -apple-system, 'Segoe UI', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 900;
  color: #FFFFFF;
  line-height: 1.1;
  letter-spacing: -0.03em;
  margin-bottom: 1.4rem;
}

.hero-video-desc {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.65;
  margin-bottom: 2.2rem;
  max-width: 620px;
}

/* Hero Quick Stats Bar */
.hero-quick-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 2.5rem;
  padding: 1.2rem 1.6rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  width: fit-content;
}

.hqs-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.hqs-num {
  font-family: 'Outfit', sans-serif;
  font-size: 1.4rem;
  font-weight: 900;
  color: #00C0F3;
  line-height: 1;
}

.hqs-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.7);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 0.2rem;
}

.hqs-divider {
  width: 1px;
  height: 36px;
  background: rgba(255, 255, 255, 0.25);
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  z-index: 1;
}

.scroll-arrow {
  animation: bounce-down 2s ease-in-out infinite;
}

@keyframes bounce-down {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(8px); }
}

.hero-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  padding: 0.4rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-primary);
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

.badge-pulse-dot {
  width: 8px;
  height: 8px;
  background: var(--brand-green);
  border-radius: 50%;
  box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  animation: pulse-ring 2s infinite;
}

@keyframes pulse-ring {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.hero-title {
  font-size: clamp(2.5rem, 4.5vw, 3.8rem);
  font-weight: 900;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 1.5rem;
}

.text-gradient {
  background: linear-gradient(135deg, var(--brand-blue) 20%, var(--brand-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

[data-theme="dark"] .text-gradient {
  background: linear-gradient(135deg, #38BDF8 10%, #60A5FA 90%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-size: 1.2rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 2.2rem;
  max-width: 580px;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2.5rem;
}

.btn-primary {
  padding: 0.95rem 2rem;
  font-size: 1rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-hover) 100%);
  color: #FFFFFF !important;
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 8px 24px rgba(0, 80, 160, 0.3);
  transition: all var(--transition-base);
  border: none;
  cursor: pointer;
}

.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(0, 80, 160, 0.45);
}

.btn-outline {
  padding: 0.95rem 1.8rem;
  font-size: 1rem;
  font-weight: 700;
  background: var(--bg-surface-elevated);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-full);
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  cursor: pointer;
}

.btn-outline:hover {
  background: var(--bg-surface-subtle);
  border-color: var(--brand-cyan);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.hero-feature-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.feature-tag-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.feature-tag-icon {
  width: 18px;
  height: 18px;
  color: var(--brand-cyan-dark);
}

/* Hero Showcase Card Visual */
.hero-visual-container {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-card-glow {
  position: absolute;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle, rgba(0, 192, 243, 0.25) 0%, transparent 65%);
  filter: blur(40px);
  z-index: 0;
  pointer-events: none;
}

.hero-main-card {
  position: relative;
  z-index: 1;
  width: 100%;
  background: var(--bg-glass-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  box-shadow: var(--shadow-lg);
  transition: transform var(--transition-slow);
}

.hero-main-card:hover {
  transform: translateY(-6px);
}

.hero-unit-image {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 15px 25px rgba(0, 0, 0, 0.15));
  margin-bottom: 1.5rem;
}

/* Floating Badges */
.floating-spec-badge {
  position: absolute;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  padding: 0.6rem 1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.85rem;
  font-weight: 700;
  z-index: 2;
  animation: float-gentle 4s ease-in-out infinite alternate;
}

.floating-spec-badge.badge-top-left {
  top: -10px;
  left: -20px;
}

.floating-spec-badge.badge-bottom-right {
  bottom: -15px;
  right: -10px;
  animation-delay: 2s;
}

@keyframes float-gentle {
  0% { transform: translateY(0); }
  100% { transform: translateY(-10px); }
}

/* ==========================================================================
   Metrics & Counters Strip
   ========================================================================== */
.metrics-strip {
  padding: 3rem 0;
  background: var(--bg-surface);
  border-top: 1px solid var(--border-light);
  border-bottom: 1px solid var(--border-light);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  text-align: center;
}

.metric-item {
  padding: 1rem;
}

.metric-number-wrapper {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(2.2rem, 3.5vw, 3rem);
  font-weight: 900;
  color: var(--brand-blue);
  line-height: 1;
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
}

[data-theme="dark"] .metric-number-wrapper {
  color: var(--brand-cyan);
}

.metric-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 0.25rem;
}

.metric-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Product Catalog (Minisplits)
   ========================================================================== */
.catalog-faceted-panel {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  margin-bottom: 2.5rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.faceted-filter-groups {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.filter-facet-group {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  padding-bottom: 0.85rem;
  border-bottom: 1px dashed var(--border-light);
}

.filter-facet-group:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.facet-label {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--text-primary);
  min-width: 135px;
}

.facet-chips-list {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  flex-wrap: wrap;
}

.facet-chip {
  padding: 0.55rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  user-select: none;
}

.facet-chip:hover:not(:disabled) {
  background: var(--bg-surface-elevated);
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  transform: translateY(-1px);
}

.facet-chip.active {
  background: var(--brand-blue);
  color: #FFFFFF;
  border-color: var(--brand-blue);
  box-shadow: 0 4px 10px rgba(0, 80, 160, 0.25);
}

[data-theme="dark"] .facet-chip.active {
  background: var(--brand-cyan);
  color: #080D1A;
  border-color: var(--brand-cyan);
  box-shadow: 0 4px 12px rgba(0, 192, 243, 0.35);
}

/* Disabled state when option has no matches */
.facet-chip:disabled,
.facet-chip.disabled {
  opacity: 0.35;
  cursor: not-allowed !important;
  pointer-events: none !important;
  text-decoration: line-through;
  background: var(--bg-surface-subtle) !important;
  border: 1px dashed var(--border-strong) !important;
  color: var(--text-muted) !important;
  box-shadow: none !important;
  transform: none !important;
}

/* Filter Status Bar */
.filter-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border-light);
  gap: 1rem;
  flex-wrap: wrap;
}

.filter-status-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.results-badge {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--brand-blue);
  background: rgba(0, 80, 160, 0.08);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
}

[data-theme="dark"] .results-badge {
  color: var(--brand-cyan);
  background: rgba(0, 192, 243, 0.12);
}

.filter-hint-text {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.btn-clear-filters {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: none;
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #EF4444;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: all var(--transition-fast);
}

.btn-clear-filters:hover {
  background: #EF4444;
  color: #FFFFFF;
  border-color: #EF4444;
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2rem;
}

.product-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.product-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-cyan);
  box-shadow: var(--shadow-lg), var(--shadow-glow-cyan);
}

.product-card-badge {
  position: absolute;
  top: 1.2rem;
  left: 1.2rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: rgba(0, 192, 243, 0.12);
  color: var(--brand-cyan-dark);
  border: 1px solid rgba(0, 192, 243, 0.3);
}

.product-seer-pill {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  padding: 0.35rem 0.85rem;
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 800;
  background: var(--brand-green);
  color: #FFFFFF;
  box-shadow: 0 2px 6px rgba(16, 185, 129, 0.3);
}

.product-thumb-container {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 1.5rem 0 1rem 0;
  padding: 0.5rem;
}

.product-thumb-container img, .product-thumb-container svg {
  max-height: 100%;
  width: auto;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.1));
}

.product-card-header {
  margin-bottom: 1rem;
}

.product-model-code {
  font-family: monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--brand-cyan-dark);
  letter-spacing: 0.05em;
}

.product-title {
  font-size: 1.25rem;
  font-weight: 800;
  margin: 0.25rem 0 0.5rem 0;
}

.product-specs-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.6rem;
  margin-bottom: 1.5rem;
  padding: 0.9rem;
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-md);
  font-size: 0.82rem;
}

.spec-line {
  display: flex;
  flex-direction: column;
}

.spec-line-label {
  color: var(--text-muted);
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
}

.spec-line-val {
  font-weight: 700;
  color: var(--text-primary);
}

.product-card-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-light);
}

.btn-card-action {
  flex: 1;
  padding: 0.65rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-card-details {
  background: var(--bg-surface-subtle);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
}

.btn-card-details:hover {
  background: var(--bg-surface-elevated);
  border-color: var(--brand-cyan);
}

.btn-card-syscom {
  background: var(--brand-blue);
  color: #FFFFFF !important;
  border: 1px solid var(--brand-blue);
}

.btn-card-syscom:hover {
  background: var(--brand-blue-hover);
}

/* ==========================================================================
   Refacciones y Tarjetas Originales AUFIT (NEW SECTION)
   ========================================================================== */
.refacciones-showcase {
  background: linear-gradient(180deg, var(--bg-body) 0%, var(--bg-surface) 100%);
}

.refacciones-tabs {
  display: flex;
  justify-content: center;
  gap: 0.8rem;
  margin-bottom: 2.5rem;
}

.refaccion-tab-btn {
  padding: 0.7rem 1.5rem;
  border-radius: var(--radius-full);
  font-size: 0.92rem;
  font-weight: 700;
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.refaccion-tab-btn.active {
  background: linear-gradient(135deg, #0F5132 0%, #198754 100%);
  color: #FFFFFF;
  border-color: #198754;
  box-shadow: 0 4px 14px rgba(25, 135, 84, 0.35);
}

.refacciones-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.8rem;
}

.refaccion-card {
  background: var(--bg-surface-elevated);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  transition: all var(--transition-base);
}

.refaccion-card:hover {
  transform: translateY(-4px);
  border-color: #10B981;
  box-shadow: var(--shadow-lg);
}

.refaccion-part-badge {
  display: inline-flex;
  padding: 0.2rem 0.6rem;
  background: rgba(16, 185, 129, 0.12);
  color: #10B981;
  font-family: monospace;
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: var(--radius-sm);
  margin-bottom: 0.75rem;
}

.refaccion-thumb {
  height: 150px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.2rem;
}

.refaccion-thumb svg {
  max-height: 100%;
}

.refaccion-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.refaccion-compat {
  font-size: 0.85rem;
  color: var(--text-secondary);
  background: var(--bg-surface-subtle);
  padding: 0.6rem 0.8rem;
  border-radius: var(--radius-md);
  margin-bottom: 1.2rem;
}

/* ==========================================================================
   Technology & Innovation Features
   ========================================================================== */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.tech-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.2rem;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.tech-card:hover {
  transform: translateY(-6px);
  border-color: var(--brand-cyan);
  box-shadow: var(--shadow-lg);
}

.tech-icon-wrapper {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-md);
  background: rgba(0, 192, 243, 0.12);
  color: var(--brand-cyan-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.4rem;
}

.tech-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.tech-card-desc {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* ==========================================================================
   Interactive Tonnage Calculator
   ========================================================================== */
.calculator-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 3rem;
  align-items: center;
}

.calc-form-group {
  margin-bottom: 1.5rem;
}

.calc-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.calc-slider {
  width: 100%;
  height: 8px;
  border-radius: 4px;
  background: var(--bg-surface-subtle);
  outline: none;
  -webkit-appearance: none;
}

.calc-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--brand-cyan);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 192, 243, 0.5);
  transition: transform var(--transition-fast);
}

.calc-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
}

.calc-select {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-weight: 600;
  outline: none;
  cursor: pointer;
}

.calc-result-box {
  background: linear-gradient(135deg, var(--brand-blue) 0%, #002D62 100%);
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.calc-result-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--brand-cyan);
  margin-bottom: 0.5rem;
}

.calc-result-tons {
  font-family: 'Outfit', sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  margin-bottom: 0.5rem;
}

.calc-result-btu {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
}

.calc-recommended-model {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(8px);
  padding: 1rem;
  border-radius: var(--radius-md);
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 0.9rem;
}

/* ==========================================================================
   Centro de Descargas Técnicas
   ========================================================================== */
.downloads-search-bar {
  max-width: 600px;
  margin: 0 auto 2.5rem auto;
  position: relative;
}

.downloads-search-input {
  width: 100%;
  padding: 1rem 1.5rem 1rem 3.2rem;
  border-radius: var(--radius-full);
  background: var(--bg-surface);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  font-size: 1rem;
  outline: none;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
}

.downloads-search-input:focus {
  border-color: var(--brand-cyan);
  box-shadow: var(--shadow-glow-cyan);
}

.downloads-search-icon {
  position: absolute;
  left: 1.2rem;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  color: var(--text-muted);
}

.downloads-table-container {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.downloads-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.downloads-table th {
  background: var(--bg-surface-subtle);
  padding: 1.1rem 1.5rem;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-secondary);
  border-bottom: 1px solid var(--border-light);
}

.downloads-table td {
  padding: 1.1rem 1.5rem;
  font-size: 0.92rem;
  border-bottom: 1px solid var(--border-light);
}

.downloads-table tr:hover {
  background: var(--bg-surface-subtle);
}


.download-link-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 1rem;
  border-radius: var(--radius-full);
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(0, 192, 243, 0.12);
  color: var(--brand-cyan-dark);
  border: 1px solid rgba(0, 192, 243, 0.3);
  transition: all var(--transition-fast);
}

.download-link-btn:hover {
  background: var(--brand-cyan);
  color: #080D1A;
  border-color: var(--brand-cyan);
}

/* ==========================================================================
   Distribuidores & Syscom
   ========================================================================== */
.distributors-card {
  background: linear-gradient(135deg, rgba(0, 80, 160, 0.08) 0%, rgba(0, 192, 243, 0.05) 100%);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 3.5rem 2rem;
  text-align: center;
}

.syscom-badge-partner {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFFFFF;
  color: #0F172A;
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 800;
  font-size: 0.95rem;
  box-shadow: var(--shadow-sm);
  margin-bottom: 1.5rem;
}

/* ==========================================================================
   FAQ Section Accordion
   ========================================================================== */
.faq-accordion {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  margin-bottom: 1rem;
  overflow: hidden;
  transition: border-color var(--transition-fast);
}

.faq-question-btn {
  width: 100%;
  padding: 1.4rem 1.6rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: none;
  border: none;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-primary);
  text-align: left;
  cursor: pointer;
}

.faq-icon-chevron {
  width: 20px;
  height: 20px;
  transition: transform var(--transition-base);
  color: var(--brand-cyan-dark);
}

.faq-item.active .faq-icon-chevron {
  transform: rotate(180deg);
}

.faq-answer {
  padding: 0 1.6rem 1.4rem 1.6rem;
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.65;
  display: none;
}

.faq-item.active .faq-answer {
  display: block;
}

/* ==========================================================================
   Contact Section
   ========================================================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
}

.contact-info-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.contact-form {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
}

.form-group {
  margin-bottom: 1.25rem;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
}

.form-control {
  width: 100%;
  padding: 0.8rem 1rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-strong);
  color: var(--text-primary);
  outline: none;
  transition: border-color var(--transition-fast);
}

.form-control:focus {
  border-color: var(--brand-cyan);
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #060A14;
  color: #94A3B8;
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 3rem;
  margin-bottom: 3.5rem;
}

.footer-title {
  color: #F8FAFC;
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 1.2rem;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--brand-cyan);
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  flex-wrap: wrap;
  gap: 1rem;
}

/* ==========================================================================
   Modal for Product Details
   ========================================================================== */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(8px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition-base);
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-content {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  max-width: 680px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.2rem;
  position: relative;
  box-shadow: var(--shadow-lg);
  transform: translateY(20px);
  transition: transform var(--transition-base);
}

.modal-overlay.active .modal-content {
  transform: translateY(0);
}

.modal-close-btn {
  position: absolute;
  top: 1.2rem;
  right: 1.2rem;
  background: var(--bg-surface-subtle);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--text-primary);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .hero-description {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta-group {
    justify-content: center;
  }
  .hero-feature-tags {
    justify-content: center;
  }
  .tech-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .calculator-card {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  html, body {
    overflow-x: clip !important;
    max-width: 100vw !important;
    width: 100% !important;
  }
  .nav-menu {
    display: none;
  }
  /* Crucial: hide Comprar Ahora in top header on mobile to prevent navbar overflow */
  .nav-actions .btn-primary-sm {
    display: none !important;
  }
  .nav-wrapper {
    height: 60px;
    padding: 0 0.85rem;
  }
  .brand-logo {
    width: 120px;
  }
  .brand-logo img {
    max-height: 32px;
    width: auto;
  }
  .nav-actions {
    gap: 0.35rem;
  }
  .theme-toggle-btn {
    width: 36px;
    height: 36px;
    padding: 0;
  }
  .mobile-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    padding: 0;
    margin: 0;
    background: transparent;
    border: none;
    color: var(--text-primary);
  }
  /* Faceted filters on mobile */
  .catalog-faceted-panel {
    padding: 1rem;
    gap: 0.85rem;
  }
  .filter-facet-group {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .facet-label {
    min-width: unset;
    font-size: 0.95rem;
    font-weight: 700;
  }
  .facet-chips-list {
    gap: 0.5rem;
  }
  .facet-chip {
    padding: 0.5rem 1.1rem;
    font-size: 0.9rem;
    font-weight: 700;
  }
  .filter-status-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  .refacciones-tabs {
    overflow-x: auto;
    flex-wrap: nowrap;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
  }
  .refaccion-tab-btn {
    flex-shrink: 0;
  }
  /* Mobile: Hide background video completely */
  .hero-video-section {
    min-height: auto;
    display: flex;
    flex-direction: column;
    padding-bottom: 3.5rem;
    padding-top: 2rem;
    position: relative;
    background: #080D1A;
  }
  .hero-video-wrapper {
    display: none !important;
  }
  .hero-video-content {
    padding-top: 1.5rem;
    padding-bottom: 1.5rem;
  }
  .hero-video-title {
    font-size: 1.95rem;
    line-height: 1.15;
    margin-bottom: 1rem;
  }
  .hero-video-desc {
    font-size: 0.98rem;
    line-height: 1.55;
    margin-bottom: 1.5rem;
  }
  .hero-quick-stats {
    width: 100%;
    justify-content: space-around;
    padding: 0.85rem 0.6rem;
    gap: 0.5rem;
    margin-top: 1.8rem;
  }
  .hqs-num {
    font-size: 1.15rem;
  }
  .hqs-label {
    font-size: 0.65rem;
  }
  .hero-scroll-indicator {
    display: none;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .tech-grid {
    grid-template-columns: 1fr;
  }
  .contact-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}



/* ==========================================================================
   Trust Badges Row
   ========================================================================== */
.trust-badges-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem;
  margin-top: 3rem;
  padding: 1.8rem;
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
}

.trust-badge {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-secondary);
}

.trust-badge svg {
  color: var(--brand-blue);
  flex-shrink: 0;
}

[data-theme="dark"] .trust-badge svg {
  color: var(--brand-cyan);
}

/* ==========================================================================
   Technology Feature Rows (alternating image + text)
   ========================================================================== */
.tech-feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  margin-bottom: 5rem;
}

.tech-feature-row.reverse {
  direction: rtl;
}

.tech-feature-row.reverse > * {
  direction: ltr;
}

.tech-feature-img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-surface-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--border-light);
  min-height: 280px;
}

.tech-feature-img img {
  max-height: 260px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.1));
}

.tech-h3 {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
  margin-top: 0.5rem;
}

.tech-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-top: 1rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
}

.tech-list li {
  font-weight: 600;
  color: var(--text-primary);
}

/* Fade-in animations */
.fade-in-left, .fade-in-right, .fade-in-up {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.fade-in-right {
  transform: translateX(30px);
}

.fade-in-up {
  transform: translateY(30px);
}

.fade-in-left.visible,
.fade-in-right.visible,
.fade-in-up.visible {
  opacity: 1;
  transform: translate(0);
}

/* ==========================================================================
   Ecommerce – Product Price & Add to Cart
   ========================================================================== */
.product-price {
  font-family: 'Outfit', sans-serif;
  font-size: 1.6rem;
  font-weight: 900;
  color: var(--brand-blue);
  letter-spacing: -0.02em;
  margin-bottom: 0.25rem;
}

[data-theme="dark"] .product-price {
  color: var(--brand-cyan);
}

.product-price-sub {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.btn-add-to-cart {
  flex: 1;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 800;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-fast);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-blue-hover) 100%);
  color: #FFFFFF;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 80, 160, 0.25);
}

.btn-add-to-cart:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 80, 160, 0.4);
}

.btn-add-to-cart:active {
  transform: scale(0.97);
}

/* Cart notification pulse */
@keyframes cart-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.3); }
  100% { transform: scale(1); }
}

.cart-pulse {
  animation: cart-pulse 0.4s ease;
}

/* Cart Item Row */
.cart-item-row {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem;
  border-bottom: 1px solid var(--border-light);
}

.cart-item-img {
  width: 56px;
  height: 56px;
  object-fit: contain;
  border-radius: var(--radius-sm);
  background: var(--bg-surface-subtle);
  padding: 6px;
  flex-shrink: 0;
}

.cart-item-info {
  flex: 1;
}

.cart-item-title {
  font-size: 0.85rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 0.35rem;
}

.cart-item-price {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--brand-blue);
}

[data-theme="dark"] .cart-item-price {
  color: var(--brand-cyan);
}

.cart-item-qty {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.4rem;
}

.qty-btn {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid var(--border-strong);
  background: var(--bg-surface-subtle);
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-primary);
  transition: all var(--transition-fast);
}

.qty-btn:hover {
  background: var(--brand-cyan);
  color: #080D1A;
  border-color: var(--brand-cyan);
}

.cart-empty-msg {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
  font-size: 0.95rem;
}

@media (max-width: 768px) {
  .tech-feature-row {
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
  }
  .tech-feature-row.reverse {
    direction: ltr;
  }

  .hqs-divider {
    display: none;
  }
  .hero-quick-stats {
    gap: 1rem;
  }
}

/* ==========================================================================
   Pre-Checkout Modal - Envio + Facturacion CFDI 4.0
   ========================================================================== */
#checkoutModal { z-index: 3999; }
#checkoutModal .modal-content { border-radius: var(--radius-lg); max-height: 92vh; }

.checkout-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1rem;
  cursor: pointer;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  border-bottom: 3px solid transparent;
  transition: all var(--transition-fast);
  user-select: none;
}
.checkout-tab:hover { color: var(--text-primary); background: var(--bg-surface); }
.checkout-tab.active { color: var(--brand-blue); border-bottom-color: var(--brand-blue); background: var(--bg-surface); }
[data-theme="dark"] .checkout-tab.active { color: var(--brand-cyan); border-bottom-color: var(--brand-cyan); }

.checkout-tab-num {
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--border-strong);
  color: var(--text-muted);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.78rem; font-weight: 900; flex-shrink: 0;
  transition: all var(--transition-fast);
}
.checkout-tab.active .checkout-tab-num { background: var(--brand-blue); color: #fff; }
[data-theme="dark"] .checkout-tab.active .checkout-tab-num { background: var(--brand-cyan); color: #080D1A; }

.checkout-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.checkout-form-grid .co-full { grid-column: 1 / -1; }

.req { color: #EF4444; margin-left: 0.1rem; }

.invoice-toggle-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 1rem 1.2rem;
  background: var(--bg-surface-subtle);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-fast);
}
.invoice-toggle-row:hover { border-color: var(--brand-cyan); background: var(--bg-surface); }
.invoice-toggle-info { display: flex; align-items: center; gap: 0.85rem; color: var(--text-primary); }
.invoice-toggle-info svg { color: var(--brand-blue); flex-shrink: 0; }

.custom-toggle { position: relative; width: 50px; height: 28px; flex-shrink: 0; }
.custom-toggle input { opacity: 0; width: 0; height: 0; position: absolute; }
.toggle-slider {
  position: absolute; inset: 0;
  background: var(--border-strong);
  border-radius: 9999px; cursor: pointer;
  transition: background 0.3s;
}
.toggle-slider::before {
  content: "";
  position: absolute;
  height: 20px; width: 20px;
  left: 4px; top: 4px;
  background: #fff;
  border-radius: 50%;
  transition: transform 0.3s;
  box-shadow: 0 1px 4px rgba(0,0,0,.2);
}
.custom-toggle input:checked + .toggle-slider { background: var(--brand-blue); }
[data-theme="dark"] .custom-toggle input:checked + .toggle-slider { background: var(--brand-cyan); }
.custom-toggle input:checked + .toggle-slider::before { transform: translateX(22px); }

.invoice-form-banner {
  display: flex; align-items: flex-start; gap: 0.6rem;
  padding: 0.9rem 1.1rem;
  background: rgba(0, 80, 160, 0.08);
  border: 1px solid rgba(0, 80, 160, 0.2);
  border-radius: var(--radius-md);
  font-size: 0.84rem; color: var(--text-secondary); line-height: 1.5;
}
.invoice-form-banner svg { color: var(--brand-blue); flex-shrink: 0; margin-top: 0.1rem; }
[data-theme="dark"] .invoice-form-banner { background: rgba(0,192,243,.08); border-color: rgba(0,192,243,.2); }

#rfcValidBadge.valid  { color: #10B981; }
#rfcValidBadge.invalid { color: #EF4444; }
.form-control.has-error { border-color: #EF4444 !important; box-shadow: 0 0 0 3px rgba(239,68,68,.12); }

.checkout-pane { animation: pane-fade-in 0.25s ease; }
@keyframes pane-fade-in { from { opacity:0; transform:translateY(8px); } to { opacity:1; transform:translateY(0); } }

@media (max-width: 560px) {
  .checkout-form-grid { grid-template-columns: 1fr; }
  .checkout-form-grid .co-full { grid-column: 1; }
  #checkoutModal .modal-content { max-height:100vh; border-radius:0; height:100vh; }
  #checkoutModal { padding: 0; }
}

/* ==========================================================================
   Top Contact Bar & Info Strip
   ========================================================================== */
.top-contact-bar {
  background: var(--bg-surface-subtle);
  border-bottom: 1px solid var(--border-light);
  font-size: 0.82rem;
  color: var(--text-secondary);
  position: relative;
  z-index: 1001;
  max-height: 50px;
  transition: max-height 0.3s ease, opacity 0.25s ease, padding 0.3s ease;
  overflow: hidden;
}
.top-contact-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.45rem 1.5rem;
  gap: 1rem;
}
.top-contact-items {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.top-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}
.top-contact-link:hover {
  color: var(--brand-blue);
}
[data-theme="dark"] .top-contact-link:hover {
  color: var(--brand-cyan);
}
.top-whatsapp-link {
  color: #10B981;
  font-weight: 600;
}
.top-whatsapp-link:hover {
  color: #059669;
}
.top-gmaps-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-decoration: none;
  color: var(--text-primary);
  font-weight: 700;
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
  background: rgba(251, 188, 5, 0.12);
  border: 1px solid rgba(251, 188, 5, 0.3);
  transition: all var(--transition-fast);
}
.top-gmaps-link:hover {
  background: rgba(251, 188, 5, 0.22);
  transform: translateY(-1px);
}

@media (max-width: 992px) {
  .top-address-text {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .top-contact-inner {
    padding: 0.35rem 1rem;
  }
  .top-contact-items {
    gap: 0.85rem;
    font-size: 0.78rem;
  }
}

/* ==========================================================================
   Google Maps Reviews & Rating Widget
   ========================================================================== */
.google-reviews-section {
  background: var(--bg-surface-subtle);
  position: relative;
  overflow: hidden;
}
.g-widget-header-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  margin-bottom: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}
.g-widget-main-info {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.g-badge-logo {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #FFFFFF;
  box-shadow: 0 4px 14px rgba(0,0,0,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.g-widget-rating-num {
  font-family: 'Outfit', sans-serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
  color: var(--text-primary);
}
.g-stars-row {
  display: flex;
  align-items: center;
  gap: 3px;
  color: #FBBC05;
  font-size: 1.3rem;
}
.g-badge-verified {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.78rem;
  font-weight: 700;
  color: #10B981;
  background: rgba(16, 185, 129, 0.1);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-full);
}
.g-widget-actions {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}
.btn-gmaps {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  background: #1A73E8;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(26, 115, 232, 0.28);
  transition: all var(--transition-fast);
}
.btn-gmaps:hover {
  background: #1557B0;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(26, 115, 232, 0.38);
}
.btn-gmaps-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-strong);
  transition: all var(--transition-fast);
}
.btn-gmaps-outline:hover {
  border-color: #1A73E8;
  color: #1A73E8;
  transform: translateY(-2px);
}

.g-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.g-review-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 1.8rem;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: relative;
  transition: all var(--transition-normal);
}
.g-review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--brand-cyan);
}
.g-author-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}
.g-author-profile {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.g-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  color: #FFFFFF;
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  flex-shrink: 0;
}
.g-avatar-1 { background: linear-gradient(135deg, #FF6B6B, #EE5253); }
.g-avatar-2 { background: linear-gradient(135deg, #4834D4, #686DE0); }
.g-avatar-3 { background: linear-gradient(135deg, #00C0F3, #0050A0); }

.g-author-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--text-primary);
  line-height: 1.2;
}
.g-author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
}
.g-review-stars {
  color: #FBBC05;
  font-size: 1.1rem;
  margin-bottom: 0.6rem;
  display: flex;
  align-items: center;
  gap: 2px;
}
.g-review-text {
  font-size: 0.94rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 1.2rem;
  font-style: italic;
}
.g-owner-reply {
  background: var(--bg-surface-subtle);
  border-left: 3px solid var(--brand-blue);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  padding: 0.8rem 1rem;
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.45;
}
[data-theme="dark"] .g-owner-reply {
  border-left-color: var(--brand-cyan);
}
.g-owner-title {
  font-weight: 800;
  color: var(--text-primary);
  font-size: 0.78rem;
  margin-bottom: 0.2rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Store Location Panel */
.g-store-location-grid {
  display: block;
  background: var(--bg-surface);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.g-store-details {
  padding: 2.2rem 2.5rem;
}
.g-store-items-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 0.5rem;
}
.g-store-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 0;
  padding: 1.2rem;
  background: var(--bg-surface-subtle);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
}
.g-store-item-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: rgba(0, 80, 160, 0.08);
  color: var(--brand-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
[data-theme="dark"] .g-store-item-icon {
  background: rgba(0, 192, 243, 0.1);
  color: var(--brand-cyan);
}
@media (max-width: 900px) {
  .g-store-items-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .g-store-details {
    padding: 1.5rem;
  }
}

/* ==========================================================================
   Floating WhatsApp Button & Interactive Tooltip
   ========================================================================== */
.whatsapp-float-container {
  position: fixed;
  bottom: 26px;
  right: 26px;
  z-index: 2500;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  pointer-events: auto;
}
.whatsapp-float-btn {
  width: 62px;
  height: 62px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.42), 0 3px 8px rgba(0, 0, 0, 0.18);
  position: relative;
  transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  cursor: pointer;
  border: 2px solid rgba(255, 255, 255, 0.3);
}
.whatsapp-float-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.58), 0 4px 12px rgba(0, 0, 0, 0.22);
}
.whatsapp-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25D366;
  opacity: 0.8;
  animation: wa-pulse 2s cubic-bezier(0.24, 0, 0.38, 1) infinite;
  pointer-events: none;
}
@keyframes wa-pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 0; }
  100% { transform: scale(1.35); opacity: 0; }
}
.whatsapp-online-dot {
  position: absolute;
  top: 2px;
  right: 2px;
  width: 14px;
  height: 14px;
  background: #10B981;
  border: 2px solid #FFFFFF;
  border-radius: 50%;
}
.whatsapp-tooltip {
  position: absolute;
  right: 76px;
  bottom: 8px;
  background: var(--bg-surface);
  color: var(--text-primary);
  border: 1px solid var(--border-light);
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  font-size: 0.84rem;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transform: translateX(10px);
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 0.6rem;
}
.whatsapp-tooltip::after {
  content: '';
  position: absolute;
  right: -6px;
  top: 50%;
  transform: translateY(-50%) rotate(45deg);
  width: 10px;
  height: 10px;
  background: var(--bg-surface);
  border-right: 1px solid var(--border-light);
  border-top: 1px solid var(--border-light);
}
.whatsapp-float-container:hover .whatsapp-tooltip,
.whatsapp-tooltip.is-active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
}

@media (max-width: 960px) {
  .g-reviews-grid {
    grid-template-columns: 1fr;
  }
  .g-store-location-grid {
    grid-template-columns: 1fr;
  }
  .g-widget-header-card {
    flex-direction: column;
    align-items: flex-start;
  }
}
@media (max-width: 640px) {
  .top-address-text {
    display: none !important;
  }
  .whatsapp-float-container {
    bottom: 20px;
    right: 20px;
  }
  .whatsapp-float-btn {
    width: 54px;
    height: 54px;
  }
}

/* Visually hidden for screen readers and AI agents (WCAG compliant) */
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

