/* ==========================================================================
   TALLER MÓVIL PRO // COMPREHENSIVE DESIGN SYSTEM & STYLESHEET
   DARK INDUSTRIAL THEME:
   - Base background: #0D0D0D
   - Surfaces & Cards: #171717
   - Borders: #282828 / #242424
   - Amber Brand Accents: #FF9900 / #FFA726
   - Responsive Architecture: Mobile-First to Ultra-Wide (4K)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. DESIGN TOKENS & CSS CUSTOM PROPERTIES
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-primary: #0D0D0D;
  --bg-secondary: #121212;
  --bg-card: #171717;
  --bg-card-hover: #1E1E1E;
  --bg-elevated: #222222;
  --bg-input: #141414;
  --bg-panel: rgba(23, 23, 23, 0.94);

  /* Border Tokens */
  --border-subtle: #242424;
  --border-default: #282828;
  --border-focus: #444444;
  --border-amber: rgba(255, 153, 0, 0.4);
  --border-amber-solid: #FF9900;

  /* Amber Accent Tokens */
  --accent-amber: #FF9900;
  --accent-amber-hover: #FFA726;
  --accent-amber-dark: #E67E00;
  --accent-amber-glow: rgba(255, 153, 0, 0.25);
  --accent-amber-subtle: rgba(255, 153, 0, 0.08);

  /* Typography Colors */
  --text-primary: #FFFFFF;
  --text-secondary: #A0A0A0;
  --text-muted: #737373;
  --text-dark: #0D0D0D;

  /* Status Colors */
  --status-green: #10B981;
  --status-green-glow: rgba(16, 185, 129, 0.4);

  /* Fonts */
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', 'Roboto Mono', SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Dimensions & Spacing */
  --header-height: 64px;
  --max-width: 1280px;
  --card-padding: clamp(16px, 3vw, 28px);

  /* Radii */
  --radius-sm: 2px;
  --radius-md: 4px;
  --radius-lg: 6px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.15s ease;
  --transition-normal: 0.25s ease;
  --transition-slow: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. GLOBAL RESETS & BASE ARCHITECTURE
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--font-sans);
  background-color: var(--bg-primary);
  color: var(--text-primary);
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

body {
  background-color: var(--bg-primary);
  color: var(--text-secondary);
  line-height: 1.6;
  font-size: clamp(0.9rem, 1vw + 0.5rem, 1.05rem);
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
  position: relative;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Fallback for browsers lacking overflow-x: clip */
@supports not (overflow-x: clip) {
  html, body {
    overflow-x: hidden;
  }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: var(--bg-primary);
}
::-webkit-scrollbar-thumb {
  background: #282828;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent-amber-dark);
}

/* Links & Media */
a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

ul {
  list-style: none;
}

/* Fluid Typography Base */
h1, h2, h3, h4, h5, h6 {
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  line-height: 1.15;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

h1 {
  font-size: clamp(1.8rem, 4vw + 1rem, 3.2rem);
}

h2, .section-title, .banner-title {
  font-size: clamp(1.4rem, 2.5vw + 0.5rem, 2.2rem);
}

p {
  color: var(--text-secondary);
  word-wrap: break-word;
  overflow-wrap: break-word;
}

/* Utility Classes */
.highlight-amber { color: var(--accent-amber) !important; }
.highlight-white { color: var(--text-primary) !important; }
.text-amber { color: var(--accent-amber) !important; }
.w-100 { width: 100% !important; }
.mt-2 { margin-top: 0.5rem !important; }
.mt-3 { margin-top: 1rem !important; }

/* Global Centered Container (Fluid Scaling) */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  padding-left: clamp(16px, 4vw, 32px);
  padding-right: clamp(16px, 4vw, 32px);
  box-sizing: border-box;
  position: relative;
}

/* Section Container & Section Heading Rhythm */
.section {
  padding-top: clamp(60px, 8vw, 96px);
  padding-bottom: clamp(60px, 8vw, 96px);
  position: relative;
  border-top: none !important;
  border-bottom: none !important;
}

.section-heading {
  margin-bottom: clamp(32px, 5vw, 48px);
}

.section-title {
  font-weight: 900;
  color: var(--text-primary);
  margin-bottom: 12px;
  line-height: 1.18;
}

.section-subtitle {
  font-size: clamp(0.92rem, 0.8vw + 0.5rem, 1.05rem);
  color: #D4D4D8;
  max-width: 720px;
  line-height: 1.65;
}

/* --------------------------------------------------------------------------
   3. BUTTONS & INTERACTIVE ELEMENTS (UNIFIED SCALE)
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 22px;
  min-height: 48px;
  border-radius: var(--radius-md);
  cursor: pointer;
  text-decoration: none;
  transition: all var(--transition-fast);
  white-space: nowrap;
  border: 1px solid transparent;
  box-sizing: border-box;
}

.btn-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}

.btn-amber {
  background-color: var(--accent-amber);
  color: #0D0D0D;
  border-color: var(--accent-amber);
  box-shadow: 0 4px 16px rgba(255, 153, 0, 0.28);
}

.btn-amber:hover {
  background-color: var(--accent-amber-hover);
  border-color: var(--accent-amber-hover);
  color: #0D0D0D;
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.42);
}

.btn-amber:active {
  transform: translateY(0);
}

.btn-outline {
  background-color: transparent;
  color: var(--text-primary);
  border: 1px solid var(--border-default);
}

.btn-outline:hover {
  background-color: var(--bg-card);
  border-color: #4a4a4a;
  color: #FFFFFF;
}

.btn-lg {
  padding: 16px 28px;
  font-size: 14px;
  min-height: 52px;
}

/* --------------------------------------------------------------------------
   4. HEADER / NAVBAR (EXTREME RESPONSIVENESS REFACTOR)
   -------------------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  background-color: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(40, 40, 40, 0.6);
  z-index: 1000;
  transition: all var(--transition-normal);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 12px clamp(14px, 3vw, 24px);
  min-height: 60px;
  box-sizing: border-box;
}

/* Logo & Brand (Left) */
.brand-logo {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.5vw, 12px);
  text-decoration: none;
  flex-shrink: 0;
}

.brand-icon-wrap {
  width: 38px;
  height: 38px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-amber);
  flex-shrink: 0;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.brand-logo:hover .brand-icon-wrap {
  border-color: var(--accent-amber);
  background-color: var(--accent-amber-subtle);
}

.wrench-icon {
  width: 20px;
  height: 20px;
}

.brand-text {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.brand-name {
  font-family: var(--font-sans);
  font-size: clamp(15px, 2vw, 18px);
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--text-primary);
  line-height: 1.1;
  white-space: nowrap;
}

.brand-name .accent-text {
  color: var(--accent-amber);
}

.brand-sub {
  font-family: var(--font-mono);
  font-size: clamp(9px, 1.1vw, 10px);
  letter-spacing: 0.1em;
  color: var(--text-muted);
  line-height: 1.2;
  white-space: nowrap;
}

/* Desktop Navigation (Center) */
.main-nav {
  display: flex;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(16px, 2.2vw, 28px);
}

.nav-link {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--text-secondary);
  position: relative;
  padding: 6px 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0%;
  height: 2px;
  background-color: var(--accent-amber);
  transition: width var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-primary);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

/* Header Actions Area (Right) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

/* Secondary phone CTA on desktop */
.btn-phone-header {
  padding: 9px 15px;
  font-size: 12px;
  min-height: 40px;
  border-radius: var(--radius-md);
  border-color: var(--border-default);
  color: #E4E4E7;
  display: inline-flex;
}

.btn-phone-header:hover {
  border-color: var(--accent-amber);
  color: var(--accent-amber);
}

/* Primary Amber WhatsApp CTA */
.btn-whatsapp-header {
  padding: 9px 16px;
  font-size: 12.5px;
  min-height: 40px;
  border-radius: var(--radius-md);
}

.btn-text-desktop {
  display: inline;
}

.btn-text-mobile {
  display: none;
}

/* Mobile Hamburger Toggle */
.mobile-toggle {
  display: none;
  background: transparent;
  border: 1px solid var(--border-default);
  width: 40px;
  height: 40px;
  border-radius: var(--radius-md);
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 0;
  flex-shrink: 0;
  transition: border-color var(--transition-fast);
}

.mobile-toggle:hover,
.mobile-toggle.is-active {
  border-color: var(--accent-amber);
}

.hamburger-bar {
  width: 20px;
  height: 2px;
  background-color: var(--text-primary);
  transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.mobile-toggle.is-active .hamburger-bar:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.mobile-toggle.is-active .hamburger-bar:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.is-active .hamburger-bar:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile Drawer (Clean Dropdown) */
.mobile-drawer {
  display: none;
  background-color: rgba(13, 13, 13, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-default);
  padding: 20px clamp(16px, 4vw, 24px) 24px;
}

.mobile-drawer.is-open {
  display: block;
}

.mobile-meta-tag {
  font-family: var(--font-mono);
  font-size: 11px;
  color: var(--accent-amber);
  margin-bottom: 14px;
  letter-spacing: 0.1em;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.mobile-nav-link {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  padding: 10px 0;
  display: block;
  border-bottom: 1px solid var(--border-subtle);
  transition: color var(--transition-fast), padding-left var(--transition-fast);
}

.mobile-nav-link:hover {
  color: var(--accent-amber);
  padding-left: 6px;
}

.mobile-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Header Responsive Breakpoint (<768px) */
@media (max-width: 768px) {
  .header-container {
    padding: 8px clamp(12px, 3vw, 18px);
    min-height: 58px;
    height: 58px;
  }

  .main-nav {
    display: none !important;
  }

  .mobile-toggle {
    display: flex !important;
  }

  .btn-phone-header {
    display: none !important;
  }

  .btn-whatsapp-header {
    padding: 8px 12px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
    border-radius: var(--radius-md) !important;
    min-height: 38px !important;
    gap: 6px !important;
  }

  .btn-text-desktop {
    display: none !important;
  }

  .btn-text-mobile {
    display: inline !important;
  }
}

/* Extra-Small Mobile Header (<400px) */
@media (max-width: 400px) {
  .header-container {
    padding: 6px 12px;
  }

  .brand-icon-wrap {
    width: 34px;
    height: 34px;
  }

  .wrench-icon {
    width: 18px;
    height: 18px;
  }

  .brand-name {
    font-size: 14.5px;
  }

  .brand-sub {
    font-size: 8.5px;
  }

  .header-actions {
    gap: 8px;
  }

  .btn-whatsapp-header {
    padding: 7px 10px !important;
    font-size: 12px !important;
  }

  .mobile-toggle {
    width: 36px;
    height: 36px;
  }
}

/* --------------------------------------------------------------------------
   5. HERO SECTION (ATMOSPHERIC BLEND & UNIFIED PROPOSITION)
   -------------------------------------------------------------------------- */
.hero-section {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-primary);
  padding-top: clamp(64px, 7vw, 92px);
  padding-bottom: clamp(68px, 8vw, 100px);
  min-height: 580px;
  display: flex;
  align-items: center;
}

.hero-bg-wrapper {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.hero-bg-img {
  position: absolute;
  top: 0;
  right: 0;
  width: 65%;
  min-width: 580px;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  filter: contrast(1.12) brightness(0.86);
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, transparent 65%, rgba(13, 13, 13, 0.8) 88%, #0D0D0D 100%),
    linear-gradient(to top, transparent 88%, rgba(13, 13, 13, 0.5) 100%),
    linear-gradient(to right, #0D0D0D 0%, #0D0D0D 45%, rgba(13, 13, 13, 0.72) 65%, transparent 100%);
  pointer-events: none;
}

.hero-layout {
  display: flex;
  align-items: center;
  position: relative;
  z-index: 1;
  width: 100%;
}

.hero-content {
  width: 100%;
  max-width: 820px;
  min-width: 0;
  position: relative;
  z-index: 2;
}

.hero-title {
  margin-bottom: 20px;
  color: var(--text-primary);
  line-height: 1.15;
}

.hero-description {
  font-size: clamp(0.95rem, 1.1vw + 0.5rem, 1.12rem);
  line-height: 1.68;
  color: #D4D4D8;
  margin-bottom: 28px;
  max-width: 680px;
}

.hero-actions {
  margin-bottom: 24px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* Unified Value Proposition Rectangle */
.hero-unified-status-box {
  background-color: var(--bg-card);
  border: 1px solid var(--border-default);
  border-left: 3px solid var(--accent-amber);
  border-radius: var(--radius-md);
  padding: 14px 20px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px 18px;
  margin-top: 24px;
  margin-bottom: 0;
  width: fit-content;
  max-width: 100%;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  box-sizing: border-box;
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.hero-unified-status-box:hover {
  border-color: #383838;
  border-left-color: var(--accent-amber);
  background-color: #1a1a1a;
}

.value-prop-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 13px;
  line-height: 1.4;
}

.value-prop-check {
  color: var(--accent-amber);
  font-weight: 900;
  font-size: 14px;
  flex-shrink: 0;
  user-select: none;
}

.value-prop-title {
  color: var(--text-primary);
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.value-prop-dash {
  color: var(--text-muted);
  user-select: none;
}

.value-prop-desc {
  color: #D4D4D8;
}

.value-prop-sep {
  color: #333333;
  font-weight: 700;
  font-size: 14px;
  user-select: none;
}

/* Consultation Banner (Shared Class for Hero & FAQ) */
.consultation-card,
.faq-cta-banner {
  background-color: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--card-padding);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
  text-decoration: none;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.consultation-card:hover,
.faq-cta-banner:hover {
  border-color: #383838;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

.hero-consultation-banner {
  margin-top: 16px;
  margin-bottom: 24px;
  max-width: 820px;
}

.faq-consultation-banner {
  max-width: 900px;
  margin: 32px auto 0;
}

.faq-cta-text {
  flex: 1 1 auto;
  min-width: 0;
}

.faq-cta-text h4 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.faq-cta-text p {
  font-size: 13.5px;
  color: var(--text-secondary);
}

.faq-cta-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.cta-arrow-svg {
  width: clamp(34px, 4vw, 44px);
  height: clamp(34px, 4vw, 44px);
  stroke: var(--accent-amber);
  display: block;
  animation: dynamic-arrow-pulse 1.8s ease-in-out infinite;
}

@keyframes dynamic-arrow-pulse {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(6px); }
}

/* Hero Responsive Breakpoints */
@media (max-width: 768px) {
  .hero-section {
    padding-top: 48px;
    padding-bottom: 56px;
    min-height: auto;
  }

  .hero-bg-img {
    width: 100%;
    min-width: 0;
    left: 0;
    right: 0;
    opacity: 0.16;
    object-position: center bottom;
  }

  .hero-bg-overlay {
    background: linear-gradient(to bottom, rgba(13, 13, 13, 0.72) 0%, rgba(13, 13, 13, 0.94) 55%, #0D0D0D 100%);
  }

  .hero-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 12px;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-unified-status-box {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
    padding: 14px 16px;
    margin-top: 18px;
  }

  .hero-unified-status-box .value-prop-sep {
    display: none;
  }

  .value-prop-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 4px 6px;
    font-size: 12.5px;
  }

  .value-prop-title {
    white-space: normal;
  }
}

@media (max-width: 400px) {
  .hero-unified-status-box {
    gap: 8px;
    padding: 12px 14px;
  }

  .value-prop-item {
    font-size: 12px;
  }

  .consultation-card,
  .faq-cta-banner {
    padding: 16px 14px;
    gap: 12px;
  }

  .faq-cta-text h4 {
    font-size: 13.5px;
    line-height: 1.3;
  }

  .faq-cta-text p {
    font-size: 12px;
    line-height: 1.4;
  }

  .cta-arrow-svg {
    width: 30px;
    height: 30px;
  }
}

/* --------------------------------------------------------------------------
   6. SERVICES SECTION & ACCORDION (EQUALIZED ROWS & RHYTHM)
   -------------------------------------------------------------------------- */
.services-section {
  position: relative;
  background-color: var(--bg-primary);
}

.services-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
}

.service-acc-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: border-color var(--transition-normal), background-color var(--transition-normal), box-shadow var(--transition-normal);
}

.service-acc-item:hover {
  border-color: #383838;
  background-color: #1a1a1a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55);
}

.service-acc-item.is-open {
  border-color: var(--accent-amber);
  border-left: 3px solid var(--accent-amber);
  background-color: var(--bg-card);
}

/* Standardized Header Padding & Height (14px 18px) */
.service-acc-trigger {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  min-height: 52px;
  background: transparent;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
  transition: background-color var(--transition-fast);
}

.service-acc-trigger:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.acc-title {
  font-weight: 800;
  font-size: clamp(14px, 1.2vw + 10px, 16px);
  text-transform: uppercase;
  color: var(--text-primary);
  letter-spacing: 0.01em;
}

.acc-icon-group {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--accent-amber);
  flex-shrink: 0;
}

.service-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--accent-amber);
}

.chevron-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  transition: transform var(--transition-normal);
  color: #A0A0A0;
}

.service-acc-item.is-open .chevron-icon {
  transform: rotate(180deg);
  color: var(--accent-amber);
}

.service-acc-panel {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows var(--transition-normal), opacity var(--transition-normal);
  opacity: 0;
}

.service-acc-item.is-open .service-acc-panel {
  grid-template-rows: 1fr;
  opacity: 1;
}

.service-acc-panel .panel-inner {
  overflow: hidden;
  padding: 0 clamp(16px, 3vw, 24px) clamp(16px, 3vw, 24px);
  background-color: rgba(18, 18, 18, 0.95);
  border-top: 1px solid var(--border-subtle);
}

.service-acc-panel .card-desc {
  padding-top: 14px;
  margin-bottom: 14px;
  color: #D4D4D8;
  font-size: 14.5px;
  line-height: 1.6;
}

.service-acc-panel .card-list {
  display: flex;
  flex-direction: column;
  gap: 9px;
  margin-bottom: 18px;
}

.service-acc-panel .card-list li {
  font-size: 14px;
  color: #E4E4E7;
  display: flex;
  gap: 10px;
  line-height: 1.45;
}

.service-acc-panel .bullet-arrow {
  color: var(--accent-amber);
  font-weight: 700;
  flex-shrink: 0;
}

/* --------------------------------------------------------------------------
   6.1 CATEGORY ACCORDIONS & MINI BRAND CAROUSELS (CAMIONES & MAQUINARIA)
   -------------------------------------------------------------------------- */
.category-accordion-item {
  transition: border-color var(--transition-normal), box-shadow var(--transition-normal), background-color var(--transition-normal);
}

.category-accordion-item:hover {
  border-color: #383838 !important;
  background-color: #161616 !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.45);
}

.category-accordion-item.is-open {
  border-color: rgba(255, 153, 0, 0.6) !important;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
}

.category-trigger {
  user-select: none;
  transition: background-color var(--transition-fast);
}

.category-trigger:hover {
  background-color: rgba(255, 255, 255, 0.02) !important;
}

.category-trigger:hover .chevron-icon {
  stroke: var(--accent-amber) !important;
}

.category-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), border-top-color 0.3s ease;
  will-change: max-height;
  border-top: 1px solid transparent;
}

.mini-carousel-wrapper {
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  cursor: grab;
  user-select: none;
  padding: 4px 0;
}

.mini-carousel-wrapper::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.mini-carousel-wrapper.is-dragging {
  cursor: grabbing !important;
  scroll-behavior: auto !important;
}

.brand-pill {
  background-color: #181818;
  border: 1px solid rgba(255, 153, 0, 0.35);
  color: #ECECEC;
  font-family: var(--font-mono, monospace);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
  padding: 6px 14px;
  border-radius: 4px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.brand-pill:hover {
  background-color: #242424;
  border-color: #FF9900;
  color: #FF9900;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(255, 153, 0, 0.25);
}

/* --------------------------------------------------------------------------
   7. PROMO BANNER (ATENDEMOS EN OBRA, PATIO O GARAJE)
   -------------------------------------------------------------------------- */
.banner-section {
  position: relative;
  min-height: 460px;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: clamp(60px, 8vw, 96px);
  padding-bottom: clamp(60px, 8vw, 96px);
  background-color: #0D0D0D;
}

.banner-bg-wrapper {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.banner-bg-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: brightness(0.25) contrast(1.15) grayscale(20%);
}

.banner-overlay {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(to bottom, #0D0D0D 0%, transparent 20%, transparent 80%, #0D0D0D 100%),
    linear-gradient(90deg, rgba(13, 13, 13, 0.96) 0%, rgba(13, 13, 13, 0.85) 50%, rgba(13, 13, 13, 0.72) 100%),
    radial-gradient(ellipse at 80% 50%, rgba(255, 153, 0, 0.08) 0%, transparent 60%);
}

.banner-inner {
  position: relative;
  z-index: 1;
}

.banner-content-box {
  max-width: 760px;
}

.banner-title {
  margin-bottom: 18px;
  color: var(--text-primary);
  line-height: 1.15;
}

.banner-description {
  font-size: clamp(0.95rem, 1vw + 0.5rem, 1.12rem);
  line-height: 1.65;
  color: #C4C4C4;
  margin-bottom: 30px;
}

.banner-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.banner-spec-badge {
  display: flex;
  flex-direction: column;
  padding: 10px 16px;
  background-color: rgba(23, 23, 23, 0.85);
  border: 1px solid var(--border-default);
  border-left: 3px solid var(--accent-amber);
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
}

.spec-code {
  font-size: 11px;
  font-weight: 700;
  color: var(--accent-amber);
  letter-spacing: 0.05em;
}

.spec-text {
  font-size: 11px;
  color: var(--text-muted);
}

@media (max-width: 768px) {
  .banner-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 14px;
  }

  .banner-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .banner-spec-badge {
    width: 100%;
    box-sizing: border-box;
  }
}

/* --------------------------------------------------------------------------
   8. PROCESS SECTION ("CÓMO FUNCIONA" - EQUALIZED HEIGHT ARCHITECTURE)
   -------------------------------------------------------------------------- */
.workflow-section {
  background-color: var(--bg-primary);
}

.workflow-layout {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: clamp(28px, 4vw, 56px);
  align-items: stretch; /* Parallel cards match heights automatically */
}

/* Left Visual: Industrial Frame stretching to 100% height */
.workflow-visual {
  height: 100%;
  display: flex;
  flex-direction: column;
  min-height: 0;
}

.industrial-frame {
  position: relative;
  background-color: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.45);
  height: 100%;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

/* Corner Industrial Accents */
.frame-corner,
.card-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  z-index: 10;
  pointer-events: none;
}

.corner-tl { top: -1px; left: -1px; border-top: 2px solid var(--accent-amber); border-left: 2px solid var(--accent-amber); }
.corner-tr { top: -1px; right: -1px; border-top: 2px solid var(--accent-amber); border-right: 2px solid var(--accent-amber); }
.corner-bl { bottom: -1px; left: -1px; border-bottom: 2px solid var(--accent-amber); border-left: 2px solid var(--accent-amber); }
.corner-br { bottom: -1px; right: -1px; border-bottom: 2px solid var(--accent-amber); border-right: 2px solid var(--accent-amber); }

.frame-badge-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  background-color: #121212;
  border-bottom: 1px solid var(--border-default);
  font-family: var(--font-mono);
  font-size: 11px;
  flex-shrink: 0;
}

.tech-tag { color: var(--accent-amber); font-weight: 700; }
.tech-coords { color: var(--text-muted); }

.image-wrapper {
  position: relative;
  overflow: hidden;
  background-color: #0B0B0B;
}

.image-wrapper.vertical-wrapper,
.protocol-image-container {
  flex: 1 1 auto;
  height: 100%;
  min-height: 480px;
}

.protocol-bg-image {
  width: 100% !important;
  height: 100% !important;
  max-height: 520px !important;
  object-fit: cover !important;
  object-position: center !important;
}

.workflow-img.process-image-fleet,
.protocol-bg-image {
  filter: grayscale(0.2) brightness(0.75);
  transition: transform var(--transition-slow);
}

.industrial-frame:hover .workflow-img.process-image-fleet,
.industrial-frame:hover .protocol-bg-image {
  transform: scale(1.02);
}

.img-overlay-industrial {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(13, 13, 13, 0.45) 0%,
    rgba(13, 13, 13, 0.15) 40%,
    rgba(13, 13, 13, 0.75) 85%,
    rgba(13, 13, 13, 0.95) 100%
  );
  pointer-events: none;
  z-index: 1;
}

.step-progress-badge {
  position: absolute;
  bottom: 18px;
  left: 18px;
  right: 18px;
  background-color: rgba(18, 18, 18, 0.92);
  backdrop-filter: blur(6px);
  border: 1px solid var(--border-default);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  border-radius: var(--radius-md);
  z-index: 2;
}

.step-badge-num {
  font-family: var(--font-mono);
  font-size: 26px;
  font-weight: 900;
  color: var(--accent-amber);
  line-height: 1;
}

.step-badge-text {
  font-family: var(--font-mono);
  font-size: 11px;
  font-weight: 700;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.frame-meta-bottom {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  background-color: #121212;
  border-top: 1px solid var(--border-default);
  font-family: var(--font-mono);
  font-size: 10.5px;
  flex-shrink: 0;
}

.unit-title { display: block; color: var(--text-muted); margin-bottom: 2px; }
.unit-data { display: block; color: var(--text-primary); font-weight: 600; }

/* Right Content: 4 Steps */
.workflow-content {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.steps-timeline {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-grow: 1;
  margin-top: 24px;
  margin-bottom: 0;
}

.step-item {
  display: flex;
  gap: 20px;
  position: relative;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-number {
  width: 44px;
  height: 44px;
  background-color: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-mono);
  font-size: 15px;
  font-weight: 800;
  color: var(--accent-amber);
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.step-line {
  width: 1px;
  background-color: var(--border-default);
  flex-grow: 1;
  min-height: 36px;
  margin: 6px 0;
}

.step-info {
  padding-bottom: 24px;
  padding-top: 4px;
  min-width: 0;
}

.step-item:last-child .step-info {
  padding-bottom: 0 !important;
}

.step-title {
  font-size: 16.5px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 6px;
  letter-spacing: 0.02em;
}

.step-desc {
  font-size: 14.5px;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* Process Section Responsive Breakpoint */
@media (max-width: 900px) {
  .workflow-layout {
    display: flex;
    flex-direction: column;
    gap: 36px;
  }

  .workflow-visual .image-wrapper.vertical-wrapper {
    aspect-ratio: 16/10;
    max-height: 360px;
    min-height: 220px;
  }

  .workflow-content {
    justify-content: flex-start;
  }

  .steps-timeline {
    flex-grow: 0;
    gap: 16px;
  }
}

/* Grilla 2x2 para el protocolo */
.steps-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 24px !important;
  max-width: 960px !important;
  margin: 0 auto !important;
}

/* Tarjeta individual */
.step-card {
  background-color: #121212 !important;
  border: 1px solid #242424 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.25s ease, border-color 0.25s ease !important;
}

.step-card:hover {
  transform: translateY(-4px) !important;
  border-color: #FF9900 !important;
}

/* Contenedor de imagen uniforme en 2x2 */
.step-card > div:first-child {
  width: 100% !important;
  height: 220px !important; /* Altura óptima para balancear en 2x2 */
  overflow: hidden !important;
  background-color: #0d0d0d !important;
}

.step-card img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
  display: block !important;
  transition: transform 0.35s ease !important;
}

.step-card:hover img {
  transform: scale(1.04) !important;
}

/* Contenedor de textos */
.step-card > div:last-child {
  padding: 22px !important;
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
}

/* Adaptabilidad para teléfonos pequeños */
@media (max-width: 640px) {
  .steps-grid {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }
  .step-card > div:first-child {
    height: 190px !important;
  }
}


/* --------------------------------------------------------------------------
   9. COVERAGE SECTION ("COBERTURA" // REESTRUCTURACIÓN 52 COMUNAS)
/* Explicitly strip top and bottom divider lines from this section */
#cobertura,
.coverage-section,
section[data-section="coverage"] {
  position: relative !important;
  background-color: #0D0D0D !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  padding-top: clamp(60px, 8vw, 90px) !important;
  padding-bottom: clamp(60px, 8vw, 90px) !important;
}

#cobertura::before,
#cobertura::after,
.coverage-section::before,
.coverage-section::after {
  display: none !important;
  content: none !important;
  height: 0 !important;
  border: none !important;
}

/* Remove any sibling divider tags surrounding this section */
#cobertura + hr,
hr + #cobertura,
.coverage-section + hr,
hr + .coverage-section,
.coverage-divider {
  display: none !important;
  height: 0 !important;
  border: none !important;
}

/* Soft top atmospheric gradient fade */
#cobertura .fade-top,
.coverage-section .fade-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, #0D0D0D 0%, rgba(13, 13, 13, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

/* Soft bottom atmospheric gradient fade */
#cobertura .fade-bottom,
.coverage-section .fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(0deg, #0D0D0D 0%, rgba(13, 13, 13, 0) 100%);
  pointer-events: none;
  z-index: 1;
}

.coverage-heading {
  text-align: center;
  margin-bottom: 36px;
}

.coverage-heading .section-title {
  color: #FFFFFF;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.coverage-heading .section-subtitle {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
  color: #A3A3A3;
}

/* Balanced 2-Column Grid Architecture (Desktop/Tablet: 1fr 2fr) */
.coverage-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 28px;
  align-items: stretch;
}

/* Left Column: Technical Vehicle Card (100% height matching communes) */
.coverage-visual {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.coverage-tech-card {
  height: 100%;
  display: flex;
  flex-direction: column;
  background-color: #171717;
  border: 1px solid #282828;
  border-radius: 6px;
  overflow: hidden;
  position: relative;
  box-sizing: border-box;
}

.coverage-tech-card .frame-badge-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  background-color: #121212;
  border-bottom: 1px solid #282828;
  font-family: var(--font-mono);
  font-size: 11px;
}

.coverage-tech-card .tech-tag {
  color: #FF9900;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.coverage-tech-card .tech-coords {
  color: #737373;
}

.coverage-image-wrapper {
  position: relative;
  height: 260px;
  min-height: 260px;
  max-height: 260px;
  overflow: hidden;
  background-color: #0D0D0D;
}

.coverage-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
  filter: contrast(1.08) brightness(0.88);
}

.coverage-image-wrapper .img-overlay-industrial {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(13, 13, 13, 0.1) 0%, rgba(13, 13, 13, 0.75) 100%);
  pointer-events: none;
}

.coverage-badge-hero {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(13, 13, 13, 0.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 153, 0, 0.4);
  border-radius: 4px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  z-index: 2;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.badge-hero-amber {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 800;
  color: #FF9900;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.badge-hero-sub {
  font-family: var(--font-mono);
  font-size: 10px;
  font-weight: 600;
  color: #D4D4D4;
  letter-spacing: 0.03em;
  line-height: 1.25;
}

.coverage-specs-body {
  padding: 18px 20px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1 1 auto;
  background: #141414;
  border-top: 1px solid #282828;
}

.coverage-specs-body .spec-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.coverage-specs-body .spec-bullet {
  color: #FF9900;
  font-size: 10px;
  margin-top: 3px;
  flex-shrink: 0;
}

.coverage-specs-body .spec-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.coverage-specs-body .spec-label {
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #FFFFFF;
  letter-spacing: 0.03em;
}

.coverage-specs-body .spec-sub {
  font-size: 12px;
  color: #A3A3A3;
  line-height: 1.35;
}

.coverage-tech-card .frame-meta-bottom {
  padding: 14px 20px;
  background: #0F0F0F;
  border-top: 1px solid #282828;
}

.coverage-tech-card .meta-unit {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-mono);
  font-size: 11px;
}

.coverage-tech-card .unit-title {
  color: #737373;
  letter-spacing: 0.05em;
}

.coverage-tech-card .unit-data {
  font-weight: 700;
}

/* Right Column: Communes Container */
.communes-card {
  background-color: #171717;
  border: 1px solid #282828;
  border-radius: 6px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}

.communes-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  border-bottom: 1px solid #282828;
  padding-bottom: 14px;
}

.communes-header-title {
  display: flex;
  align-items: center;
  gap: 10px;
}

.communes-heading {
  font-size: 15px;
  font-weight: 800;
  color: #FFFFFF;
  letter-spacing: 0.04em;
  margin: 0;
}

.communes-filter-wrap input {
  background-color: #121212;
  border: 1px solid #282828;
  color: #FFFFFF;
  font-family: var(--font-mono);
  font-size: 12.5px;
  padding: 8px 14px;
  border-radius: 4px;
  outline: none;
  width: 220px;
  transition: border-color var(--transition-fast);
}

.communes-filter-wrap input:focus {
  border-color: #FF9900;
}

/* Exhaustive 52 Communes Grid */
.communes-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 8px;
  flex: 1 1 auto;
  align-content: start;
}

.commune-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-mono);
  font-size: 12px;
  text-transform: uppercase;
  color: #D4D4D4;
  background-color: #1C1C1C;
  border: 1px solid #2A2A2A;
  padding: 7px 10px;
  border-radius: 4px;
  transition: all var(--transition-fast);
  word-break: break-word;
  user-select: none;
}

.commune-pill:hover {
  background-color: rgba(255, 153, 0, 0.15);
  border-color: #FF9900;
  color: #FFFFFF;
}

.commune-dot {
  color: #FF9900;
  font-size: 13px;
  line-height: 1;
  flex-shrink: 0;
}

/* Bottom CTA Banner */
.communes-footer-note {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #282828;
  font-family: var(--font-mono);
  font-size: 12px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.communes-footer-note .note-amber {
  color: #FF9900;
  font-weight: 700;
  font-size: 11.5px;
  letter-spacing: 0.04em;
}

.communes-footer-note .link-amber-underline {
  color: #E5E5E5;
  text-decoration: underline;
  text-decoration-color: #FF9900;
  text-underline-offset: 3px;
  transition: color var(--transition-fast);
}

.communes-footer-note .link-amber-underline:hover {
  color: #FF9900;
}

/* Coverage Responsive Breakpoints */
@media (max-width: 900px) {
  .coverage-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .coverage-image-wrapper {
    height: 220px;
    min-height: 220px;
    max-height: 220px;
  }
  .coverage-img {
    height: 220px;
  }
  .communes-list {
    grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
  }
}

@media (max-width: 600px) {
  .communes-list {
    grid-template-columns: repeat(2, 1fr);
  }
  .communes-card {
    padding: 16px;
  }
  .communes-card-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .communes-filter-wrap input {
    width: 100%;
  }
}

/* --------------------------------------------------------------------------
   10. FAQ SECTION (STANDARDIZED ACCORDION RHYTHM)
   -------------------------------------------------------------------------- */
.faq-section {
  background-color: var(--bg-primary);
}

.accordion-container {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.accordion-item {
  background-color: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.4);
  transition: border-color var(--transition-fast), background-color var(--transition-fast);
}

.accordion-item:hover {
  border-color: #383838;
}

.accordion-item.is-open {
  border-color: var(--accent-amber);
  border-left: 3px solid var(--accent-amber);
}

/* Standardized Header Padding & Height (14px 18px) */
.accordion-trigger {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  min-height: 52px;
  background: transparent;
  border: none;
  cursor: pointer;
  color: var(--text-primary);
  font-family: var(--font-sans);
  gap: 14px;
  text-align: left;
  box-sizing: border-box;
  transition: background-color var(--transition-fast);
}

.accordion-trigger:hover {
  background-color: rgba(255, 255, 255, 0.02);
}

.faq-number {
  font-family: var(--font-mono);
  font-size: 13.5px;
  font-weight: 700;
  color: var(--accent-amber);
  flex-shrink: 0;
}

.faq-question {
  font-size: clamp(14px, 1.2vw + 10px, 16px);
  font-weight: 700;
  flex-grow: 1;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  line-height: 1.35;
}

.faq-icon {
  font-family: var(--font-mono);
  font-size: 18px;
  font-weight: 700;
  color: var(--accent-amber);
  flex-shrink: 0;
  width: 22px;
  height: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.accordion-panel {
  padding: 0 clamp(16px, 3vw, 24px) clamp(16px, 3vw, 22px);
  color: var(--text-secondary);
  font-size: 14.5px;
  line-height: 1.65;
  border-top: 1px solid var(--border-subtle);
  background-color: rgba(18, 18, 18, 0.95);
}

.accordion-panel p {
  padding-top: 14px;
  margin-bottom: 8px;
}

.accordion-panel strong {
  color: var(--text-primary);
}

.faq-details-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 10px;
}

.faq-details-list li {
  font-size: 13.5px;
  position: relative;
  padding-left: 16px;
  color: #D4D4D8;
}

.faq-details-list li::before {
  content: '■';
  position: absolute;
  left: 0;
  color: var(--accent-amber);
  font-size: 8px;
  top: 4px;
}

/* --------------------------------------------------------------------------
   11. CONTACT & QUOTATION SECTION ("CUÉNTANOS QUÉ HAY QUE REVISAR")
   - HARMONIZED EQUALIZED HEIGHT ARCHITECTURE (TOP & BOTTOM BASELINES ALIGNED)
   -------------------------------------------------------------------------- */
/* ==========================================================================
   HIGH-VISIBILITY WORKSHOP BACKGROUND: LEAD FORM SECTION
   "CUÉNTANOS QUÉ HAY QUE REVISAR" / "COTIZA O AGENDA TU ASISTENCIA EN TERRENO"
   ========================================================================== */
.lead-form-section,
.contact-section,
#contacto {
  position: relative;
  background-image: 
    radial-gradient(
      circle, 
      rgba(13, 13, 13, 0.72) 20%, 
      rgba(13, 13, 13, 0.90) 80%, 
      #0D0D0D 100%
    ),
    url('imagen mecanica.jpg') !important;
  background-size: cover !important;
  background-position: center 30% !important; /* Slightly raise image to focus tools */
  background-repeat: no-repeat !important;
  background-color: #0A0A0A !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  z-index: 1;
  overflow: hidden;
}

/* Capa de degradado superior que disuelve el corte rígido */
.lead-form-section::before,
.contact-section::before,
#contacto::before {
  content: '' !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  height: 90px !important;
  background: linear-gradient(180deg, #0D0D0D 0%, rgba(13, 13, 13, 0) 100%) !important;
  z-index: 4 !important;
  pointer-events: none !important;
}

.lead-form-section::after,
.contact-section::after,
#contacto::after {
  display: none !important;
  content: none !important;
}

.lead-form-section .container,
.lead-form-section > *,
.contact-section .container,
.contact-section > *,
#contacto .container,
#contacto > * {
  position: relative;
  z-index: 3 !important; /* Forces inputs, labels, and CTAs to overlay on top */
}

/* Elevate the background of the cards slightly so the text is effortless to read */
.lead-form-section .cotizador,
.lead-form-section .card,
.lead-form-section [class*="card"],
.lead-form-section .lead-capture-funnel,
.lead-form-section .info-card,
.lead-form-section .industrial-card,
.contact-section .lead-capture-funnel,
.contact-section .info-card,
.contact-section .industrial-card,
#contacto .lead-capture-funnel,
#contacto .info-card,
#contacto .industrial-card {
  background-color: rgba(23, 23, 23, 0.95) !important; /* Higher opacity to prevent the visual busy background from interfering with fields */
  backdrop-filter: blur(12px) !important; /* Elegant blur behind form panels */
  -webkit-backdrop-filter: blur(12px) !important;
  border: 1px solid #282828 !important;
}

.contact-heading {
  margin-bottom: clamp(24px, 4vw, 40px);
}

/* 2-Column Equalized Stretch Grid */
.contact-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: clamp(24px, 3.5vw, 44px);
  align-items: stretch; /* Top and bottom baselines match identically */
}

.contact-content,
.contact-info-panel {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
}

/* Form Container Card */
.lead-capture-funnel {
  background-color: rgba(23, 23, 23, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--card-padding);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.55);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-top: 0 !important;
  box-sizing: border-box;
}

.funnel-header {
  margin-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-default);
  padding-bottom: 0.85rem;
}

.funnel-header h3 {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--accent-amber);
  letter-spacing: 0.04em;
  margin-bottom: 0.35rem;
}

.funnel-header p {
  color: #A0A0A0;
  font-size: 0.9rem;
}

.funnel-step {
  margin-bottom: 1.25rem;
}

.step-label {
  display: block;
  font-family: var(--font-mono);
  font-weight: 700;
  margin-bottom: 0.65rem;
  color: var(--text-primary);
  font-size: 0.92rem;
  letter-spacing: 0.02em;
}

/* Step 1 Vehicle Selector Chips */
.pill-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-btn {
  background-color: #171717;
  border: 1px solid #333333;
  color: #CCCCCC;
  padding: 10px 16px;
  border-radius: var(--radius-pill);
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  min-height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  outline: none;
}

.pill-btn:hover {
  border-color: var(--accent-amber);
  color: #FFFFFF;
  background-color: #1E1E1E;
  transform: translateY(-1px);
}

/* Step 1: Vehicle Selection Buttons / Chips Active State */
button.chip-btn.active,
button.chip-btn[aria-pressed="true"],
.vehicle-type-btn.active,
.vehicle-type-btn.selected,
[data-selected="true"],
button.pill-btn.active,
button.pill-btn[aria-pressed="true"],
button.pill-btn.selected,
.pill-btn.active,
.pill-btn.selected,
.pill-group button.active,
.pill-group button[aria-pressed="true"],
.pill-group button[data-selected="true"] {
  background-color: #FF9900 !important;
  color: #0D0D0D !important;
  border-color: #FF9900 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 14px rgba(255, 153, 0, 0.45) !important;
  transform: translateY(-1px) !important;
}

/* Steps 2 & 3 Form Controls */
.funnel-body .form-row {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 0.75rem;
}

.lead-capture-funnel .form-control {
  width: 100%;
  min-height: 48px;
  background-color: var(--bg-input);
  border: 1px solid var(--border-default);
  color: var(--text-primary);
  padding: 0.65rem 0.95rem;
  border-radius: var(--radius-md);
  font-size: 14px;
  font-family: var(--font-sans);
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.lead-capture-funnel .form-control::placeholder {
  color: #737373;
}

select:focus,
.form-control:focus,
.custom-select-trigger:focus,
.custom-select-container.open .custom-select-trigger {
  border-color: #FF9900 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.3) !important;
}

.lead-capture-funnel .form-control.error,
.custom-select-trigger.error {
  border-color: #FF9900 !important;
  box-shadow: 0 0 6px rgba(255, 153, 0, 0.45) !important;
}

/* Custom Select Container & Dropdown Styling */
.custom-select-container {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  min-height: 48px;
  background-color: var(--bg-input, #141414);
  border: 1px solid var(--border-default, #282828);
  color: var(--text-primary, #FFFFFF);
  padding: 0.65rem 0.95rem;
  padding-right: 44px;
  border-radius: var(--radius-md, 4px);
  font-size: 14px;
  font-family: var(--font-sans);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-align: left;
  cursor: pointer;
  user-select: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FF9900' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  transition: all var(--transition-fast);
  box-sizing: border-box;
}

.custom-select-container.open .custom-select-trigger {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FF9900' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='18 15 12 9 6 15'%3E%3C/polyline%3E%3C/svg%3E");
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  background-color: #171717 !important;
  border: 1px solid #FF9900 !important;
  border-radius: var(--radius-md, 4px);
  max-height: 240px;
  overflow-y: auto;
  z-index: 1050;
  display: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 14px rgba(255, 153, 0, 0.25);
  list-style: none;
  padding: 4px 0;
  margin: 0;
}

.custom-select-container.open .custom-select-options {
  display: block;
}

.custom-option,
.select-option {
  padding: 10px 14px;
  font-size: 13.5px;
  color: #CCCCCC;
  cursor: pointer;
  display: flex;
  align-items: center;
  user-select: none;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.select-option:hover,
.select-option.is-focused,
.select-option.is-selected,
.custom-option:hover,
.custom-option.is-focused,
.custom-option.is-selected,
select option:hover,
select option:checked {
  background-color: #FF9900 !important;
  color: #0D0D0D !important;
  font-weight: 600 !important;
}

/* Fallback native select styling */
.lead-capture-funnel select.form-control {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23FF9900' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 44px;
  cursor: pointer;
}

.lead-capture-funnel select.form-control option,
select option {
  background-color: #171717 !important;
  color: #FFFFFF !important;
  padding: 10px 14px;
}

.native-hidden-select {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  height: 0 !important;
  width: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  border: none !important;
}

.btn-funnel-submit {
  background-color: var(--accent-amber);
  color: #0D0D0D;
  font-weight: 800;
  letter-spacing: 0.04em;
  border: 1px solid var(--accent-amber);
  box-shadow: 0 4px 18px rgba(255, 153, 0, 0.3);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  min-height: 48px;
  cursor: pointer;
  width: 100%;
}

.btn-funnel-submit:hover {
  background-color: var(--accent-amber-hover);
  transform: translateY(-1px);
  box-shadow: 0 6px 22px rgba(255, 153, 0, 0.45);
}

/* ==========================================================================
   PANEL LATERAL DE CERTEZAS TÉCNICAS (DISPATCH TRUST CARD)
   ========================================================================== */
.dispatch-trust-card {
  background-color: #121212 !important;
  border: 1px solid #262626 !important;
  border-radius: 8px !important;
  padding: 26px 24px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 20px !important;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5) !important;
  height: 100%;
  box-sizing: border-box;
}

@media (max-width: 900px) {
  .dispatch-trust-card {
    height: auto !important;
  }
}

/* Contact Responsive Breakpoints */
@media (max-width: 900px) {
  .contact-layout {
    display: flex;
    flex-direction: column;
    gap: 32px;
  }
}

@media (max-width: 767px) {
  .funnel-body .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 400px) {
  .pill-group {
    gap: 6px;
  }
  .pill-btn {
    padding: 8px 12px;
    font-size: 12.5px;
    min-height: 42px;
  }
}

/* --------------------------------------------------------------------------
   12. FOOTER LAYOUT & TYPOGRAPHY RESTRUCTURING
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: #0B0B0B;
  border-top: 1px solid rgba(40, 40, 40, 0.7) !important;
  padding: 40px clamp(16px, 4vw, 32px) clamp(80px, 10vh, 100px) clamp(16px, 4vw, 32px);
  position: relative;
  box-sizing: border-box;
}

.footer-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  box-sizing: border-box;
}

/* Row 1: Brand & Operational Entity (Aligned Top) */
.footer-row-upper,
.footer-upper-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-brand-area {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 12px;
}

.footer-logo {
  text-decoration: none;
}

.footer-operator-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  background-color: #171717;
  border: 1px solid #282828;
  border-radius: 9999px;
  font-family: var(--font-mono);
  font-size: 11.5px;
  box-sizing: border-box;
}

.footer-operator-badge .operator-tag {
  color: #888888;
}

.footer-operator-badge .operator-name {
  color: #FF9900;
  font-weight: 700;
}

.footer-hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background-color: #171717;
  border: 1px solid #282828;
  border-radius: 4px;
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  color: #D4D4D4;
  letter-spacing: 0.04em;
}

.footer-hours-badge .hours-dot {
  color: #FF9900;
  font-size: 14px;
  line-height: 1;
}

/* Row 2: Legal & Geographic Scope (Aligned Bottom with Subtle Divider) */
.footer-row-lower,
.footer-bottom-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid rgba(40, 40, 40, 0.4);
  margin-top: 24px;
  padding-top: 16px;
  font-family: var(--font-mono);
  font-size: 12px;
  flex-wrap: wrap;
  gap: 12px;
}

.footer-copyright {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #888888;
  letter-spacing: 0.02em;
}

.footer-region-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  color: #FF9900;
  letter-spacing: 0.06em;
  font-weight: 700;
}

@media (max-width: 768px) {
  .site-footer {
    padding-bottom: 90px;
  }
  .footer-row-upper,
  .footer-upper-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  .footer-row-lower,
  .footer-bottom-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
}

/* --------------------------------------------------------------------------
   13. FLOATING ACTION BUTTONS ELEVATION ADJUSTMENT
   -------------------------------------------------------------------------- */
.floating-contact-container,
.floating-actions,
.floating-actions-wrapper,
div[class*="floating-buttons"],
div[class*="whatsapp-float"],
div[class*="legacy-dock-floating"],
.floating-dock {
  position: fixed !important;
  right: 24px !important;
  bottom: 95px !important; /* Raised cleanly above the single-line footer */
  z-index: 9999 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-end !important;
  gap: 8px !important;
  pointer-events: none;
}

.floating-dock > * {
  pointer-events: auto;
}

/* Call Trigger Badge */
.floating-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: rgba(20, 20, 20, 0.94);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.22);
  padding: 9px 15px;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
  transition: all var(--transition-fast);
  white-space: nowrap;
  min-width: 175px;
}

.floating-call-btn:hover {
  background-color: #262626;
  border-color: var(--accent-amber);
  color: var(--accent-amber);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
}

.floating-call-icon {
  width: 14px;
  height: 14px;
  color: currentColor;
  flex-shrink: 0;
}

/* Floating WhatsApp Button */
.floating-whatsapp {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: var(--accent-amber);
  color: #0D0D0D;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.6);
  border: 1px solid #FFB84D;
  transition: all var(--transition-fast);
  white-space: nowrap;
  min-width: 175px;
}

.floating-whatsapp:hover {
  background-color: var(--accent-amber-hover);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(255, 153, 0, 0.45);
}

.floating-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.floating-pulse {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 12px;
  height: 12px;
  background-color: var(--status-green);
  border-radius: 50%;
  border: 2px solid #0D0D0D;
  animation: 1.5s infinite pulse-dot;
}

/* Floating Dock Mobile Scaling (<480px & <400px) */
@media (max-width: 480px) {
  .floating-contact-container,
  .floating-actions,
  div[class*="floating-buttons"],
  div[class*="whatsapp-float"],
  div[class*="legacy-dock-floating"],
  .floating-dock {
    bottom: 85px !important;
    right: 14px !important;
    gap: 8px !important;
  }
  .floating-call-btn {
    min-width: auto;
    padding: 7px 11px;
    font-size: 11px;
  }
  .floating-whatsapp {
    min-width: auto;
    padding: 10px 14px;
    font-size: 11px;
  }
}

@media (max-width: 360px) {
  .floating-call-btn {
    padding: 6px 9px;
    font-size: 10.5px;
  }
  .floating-whatsapp {
    padding: 8px 12px;
    font-size: 10.5px;
  }
}

/* --------------------------------------------------------------------------
   14. SYSTEM-WIDE DIVIDER PURGE & BOUNDARY ENFORCEMENT
   - Strictly preserve ONLY header bottom and footer top boundaries.
   - Purge all other interior lines, hr, dividers, and separator borders.
   -------------------------------------------------------------------------- */
/* Obliterate all interior horizontal dividing lines */
main hr,
main .divider,
main .separator,
main .section-divider,
main .section-divider-amber,
main .border-t,
main .border-b,
main section,
main > section,
.hero-section,
.services-section,
.banner-section,
.workflow-section,
.process-section,
.coverage-section,
.faq-section,
.contact-section {
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

main section:not(.contact-section):not(.lead-form-section):not(#contacto)::before,
main section:not(.contact-section):not(.lead-form-section):not(#contacto)::after,
main > section:not(.contact-section):not(.lead-form-section):not(#contacto)::before,
main > section:not(.contact-section):not(.lead-form-section):not(#contacto)::after,
.section:not(.contact-section):not(.lead-form-section):not(#contacto)::before,
.section:not(.contact-section):not(.lead-form-section):not(#contacto)::after,
.section-container::before,
.section-container::after {
  display: none !important;
  content: none !important;
  border: none !important;
}

hr,
.divider,
.separator,
.section-divider,
.section-divider-amber,
.border-b,
.border-t {
  display: none !important;
  height: 0 !important;
  border: none !important;
  background: transparent !important;
}

/* PRESERVE ONLY HEADER & FOOTER */
header,
nav,
.site-header {
  border-bottom: 1px solid rgba(40, 40, 40, 0.7) !important;
}

footer,
.site-footer {
  border-top: 1px solid rgba(40, 40, 40, 0.7) !important;
}

/* --------------------------------------------------------------------------
   15. TOAST NOTIFICATION
   -------------------------------------------------------------------------- */
.toast-notification {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background-color: #1A1A1A;
  border: 1px solid var(--accent-amber);
  color: #FFFFFF;
  padding: 12px 22px;
  border-radius: var(--radius-md);
  font-family: var(--font-mono);
  font-size: 12.5px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 2000;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s;
}

.toast-notification.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

.toast-icon {
  color: var(--accent-amber);
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   16. ULTRA-WIDE & 4K OPTIMIZATION (>1440px and >1920px)
   -------------------------------------------------------------------------- */
@media (min-width: 1440px) {
  .container {
    max-width: 1280px;
  }
}

@media (min-width: 1920px) {
  .hero-content {
    max-width: 860px;
  }
}

/* ==========================================================================
   17. CRITICAL SYSTEM-WIDE SPECIFICATION OVERRIDES (HIGH-SPECIFICITY)
   ========================================================================== */

/* --- REQUIREMENT 1: SELECTION CHIPS & DROPDOWN HIGHLIGHTS IN BRAND AMBER (#FF9900) --- */
button.chip-btn.active,
button.chip-btn[aria-pressed="true"],
.vehicle-type-btn.active,
.vehicle-type-btn.selected,
[data-selected="true"] {
  background-color: #FF9900 !important;
  color: #0D0D0D !important;
  border-color: #FF9900 !important;
  font-weight: 700 !important;
  box-shadow: 0 0 14px rgba(255, 153, 0, 0.45) !important;
}

select:focus,
.custom-select-trigger:focus,
.custom-select-container.open .custom-select-trigger {
  border-color: #FF9900 !important;
  outline: none !important;
  box-shadow: 0 0 0 2px rgba(255, 153, 0, 0.3) !important;
}

.select-option:hover,
.select-option.is-focused,
.select-option.is-selected,
.custom-option:hover,
select option:hover,
select option:checked {
  background-color: #FF9900 !important;
  color: #0D0D0D !important;
}

/* --- OBLITERATE ALL INTERIOR HORIZONTAL DIVIDING LINES --- */
main hr,
main .divider,
main .separator,
main .section-divider,
main .section-divider-amber,
main .border-t,
main .border-b,
main section,
main > section,
.hero-section,
.services-section,
.banner-section,
.workflow-section,
.process-section,
.coverage-section,
.faq-section,
.contact-section {
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

main section:not(.contact-section):not(.lead-form-section):not(#contacto)::before,
main section:not(.contact-section):not(.lead-form-section):not(#contacto)::after,
main > section:not(.contact-section):not(.lead-form-section):not(#contacto)::before,
main > section:not(.contact-section):not(.lead-form-section):not(#contacto)::after,
.section:not(.contact-section):not(.lead-form-section):not(#contacto)::before,
.section:not(.contact-section):not(.lead-form-section):not(#contacto)::after,
.section-container::before,
.section-container::after {
  display: none !important;
  content: none !important;
  border: none !important;
}

hr,
.divider,
.separator,
.section-divider,
.section-divider-amber,
.border-b,
.border-t {
  display: none !important;
  height: 0 !important;
  border: none !important;
  background: transparent !important;
}

/* PRESERVE ONLY HEADER & FOOTER */
header,
nav,
.site-header {
  border-bottom: 1px solid rgba(40, 40, 40, 0.7) !important;
}

footer,
.site-footer {
  border-top: 1px solid rgba(40, 40, 40, 0.7) !important;
}

/* --- REQUIREMENT 3: FAQ ACCORDION FIRST & CONSULTATION BANNER AT BOTTOM --- */
.faq-accordion-container {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.consultation-banner-card {
  margin-top: 32px !important;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  background-color: var(--bg-card);
  border: 1px solid var(--border-default);
  border-radius: var(--radius-md);
  padding: var(--card-padding, 18px 24px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
}

.consultation-banner-card .banner-content {
  flex: 1 1 auto;
}

.consultation-banner-card .banner-content h3 {
  font-size: 15px;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}

.consultation-banner-card .banner-content p {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
}

.consultation-banner-card .banner-arrow-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  background-color: rgba(255, 153, 0, 0.1);
  color: #FF9900;
  border: 1px solid rgba(255, 153, 0, 0.35);
  border-radius: var(--radius-sm, 4px);
  text-decoration: none;
  font-size: 22px;
  font-weight: 700;
  transition: all var(--transition-fast);
  flex-shrink: 0;
}

.consultation-banner-card .banner-arrow-action:hover {
  background-color: #FF9900;
  color: #0D0D0D;
  border-color: #FF9900;
  transform: translateX(4px);
}

/* --- REQUIREMENT 5: FIRST FAQ ACCORDION AFFORDANCE ANIMATION --- */
@keyframes affordancePulse {
  0%, 100% {
    border-color: #282828;
    box-shadow: 0 0 0 rgba(255, 153, 0, 0);
  }
  50% {
    border-color: #FF9900;
    box-shadow: 0 0 16px rgba(255, 153, 0, 0.45);
  }
}

@keyframes chevronBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(4px); color: #FF9900; }
}

.accordion-item:first-child .accordion-header,
.accordion-item:first-child .accordion-trigger,
.faq-item:first-child .accordion-header,
.faq-item:first-child .accordion-trigger {
  animation: affordancePulse 2.4s ease-in-out 3;
}

.accordion-item:first-child .accordion-header .chevron-icon,
.accordion-item:first-child .accordion-header svg,
.accordion-item:first-child .accordion-trigger .chevron-icon,
.accordion-item:first-child .accordion-trigger .faq-icon,
.faq-item:first-child .accordion-header .chevron-icon,
.faq-item:first-child .accordion-header svg,
.faq-item:first-child .accordion-trigger .faq-icon {
  animation: chevronBounce 1.2s ease-in-out 6;
}

/* --- METROPOLITAN REGION / COVERAGE SECTION DIVIDER PURGE & ATMOSPHERIC BLEND --- */
#cobertura,
.coverage-section,
section[data-section="coverage"] {
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  position: relative !important;
  background-color: #0D0D0D !important;
  padding-top: clamp(60px, 8vw, 90px) !important;
  padding-bottom: clamp(60px, 8vw, 90px) !important;
}

#cobertura::before,
#cobertura::after,
.coverage-section::before,
.coverage-section::after {
  display: none !important;
  content: none !important;
  height: 0 !important;
  border: none !important;
}

#cobertura + hr,
hr + #cobertura,
.coverage-section + hr,
hr + .coverage-section,
.coverage-divider {
  display: none !important;
  height: 0 !important;
  border: none !important;
}

#cobertura .fade-top,
.coverage-section .fade-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, #0D0D0D 0%, rgba(13, 13, 13, 0) 100%) !important;
  pointer-events: none;
  z-index: 1;
}

#cobertura .fade-bottom,
.coverage-section .fade-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(0deg, #0D0D0D 0%, rgba(13, 13, 13, 0) 100%) !important;
  pointer-events: none;
  z-index: 1;
}

/* Legacy floating dock styles superseded by FLOATING ACTION BUTTONS: HIGH CONVERSION section below */

/* ==========================================================================
   SINGLE-LINE FOOTER STYLING
   ========================================================================== */
footer.site-footer,
footer {
  display: flex !important;
  flex-direction: row !important;
  justify-content: space-between !important;
  align-items: center !important;
  height: 70px !important;
  padding: 0 clamp(20px, 4vw, 40px) !important;
  background-color: #0A0A0A !important;
  border-top: 1px solid rgba(40, 40, 40, 0.7) !important;
  margin: 0 !important;
  box-sizing: border-box !important;
  position: relative !important;
  z-index: 10 !important;
}

/* Single-row content wrappers */
footer .footer-left,
footer .footer-right {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  white-space: nowrap !important;
}

@media (max-width: 768px) {
  footer.site-footer,
  footer {
    flex-direction: column !important;
    height: auto !important;
    padding: 20px 16px 110px 16px !important;
    gap: 10px !important;
    align-items: flex-start !important;
  }
}

/* ==========================================================================
   MULTI-BRAND INTERACTIVE CAROUSEL: REAL LOGOS, BRAND NAMES & ARROW CONTROLS
   ========================================================================== */
/* Contenedor principal de la franja del carrusel */
.brands-marquee-section,
#marcas,
section[data-section="brands"],
.brands-carousel-container {
  background-color: #0D0D0D !important;
  background: #0D0D0D !important;
  border-top: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

.brands-marquee-section,
#marcas,
section[data-section="brands"] {
  padding: 40px 0 !important;
  position: relative !important;
  z-index: 10 !important;
  mask-image: none !important;
  -webkit-mask-image: none !important;
}

.brands-marquee-section::before,
.brands-marquee-section::after {
  display: none !important;
  content: none !important;
}

/* Contenedor del carrusel */
.brands-carousel-container {
  padding: 16px 0 !important;
  position: relative !important;
  overflow: hidden !important;
}

/* Difuminado suave en los laterales izquierdo y derecho hacia el fondo oscuro */
.brands-carousel-container::before,
.brands-carousel-container::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 90px !important;
  z-index: 15 !important;
  pointer-events: none !important;
}

.brands-carousel-container::before {
  left: 0 !important;
  background: linear-gradient(90deg, #0D0D0D 0%, rgba(13, 13, 13, 0.7) 40%, transparent 100%) !important;
}

.brands-carousel-container::after {
  right: 0 !important;
  background: linear-gradient(-90deg, #0D0D0D 0%, rgba(13, 13, 13, 0.7) 40%, transparent 100%) !important;
}

/* Pista limpia con auto-scroll y desplazamiento manual por arrastre o swipe */
.brands-scroll-track {
  display: flex !important;
  gap: 48px !important;
  align-items: center !important;
  overflow-x: auto !important;
  overflow-y: visible !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
  scroll-behavior: smooth !important;
  padding: 18px 20px !important;
  width: 100% !important;
  cursor: grab;
  user-select: none;
  -webkit-overflow-scrolling: touch;
}

.brands-scroll-track:active {
  cursor: grabbing;
}

.brands-scroll-track::-webkit-scrollbar {
  display: none !important;
}

/* Ambient backlight capsule for items so dark logos pop naturally without any white bar */
.brand-item {
  flex: 0 0 auto !important;
  background: transparent !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  padding: 8px 12px !important;
  overflow: visible !important;
  cursor: pointer !important;
  transition: transform 0.25s ease !important;
}

/* Regular colored logos stay completely natural */
.brand-item img {
  height: 48px !important;
  max-height: 48px !important;
  width: auto !important;
  max-width: 100px !important;
  object-fit: contain !important;
  opacity: 0.85 !important;
  transition: transform 0.25s ease, filter 0.25s ease, opacity 0.25s ease !important;
}

/* Invert strictly black/dark logos to crisp white/silver */
.brand-item img[alt="Nissan"],
.brand-item img[src*="nissan"],
.brand-item img[alt="Toyota"],
.brand-item img[src*="toyota"] {
  filter: brightness(0) invert(0.9) !important;
  opacity: 0.85 !important;
}

/* Texto del nombre de la marca debajo de cada logo */
.brand-name {
  color: #8C8C8C !important;
  font-size: 11px !important;
  font-family: monospace, sans-serif !important;
  font-weight: 700 !important;
  letter-spacing: 1px !important;
  text-transform: uppercase !important;
  transition: color 0.25s ease, transform 0.25s ease !important;
  pointer-events: none !important;
}

/* Hover effect */
.brand-item:hover img {
  transform: scale(1.18) !important;
  opacity: 1 !important;
  filter: drop-shadow(0 0 10px rgba(255, 153, 0, 0.75)) !important;
}

.brand-item:hover img[alt="Nissan"],
.brand-item:hover img[src*="nissan"],
.brand-item:hover img[alt="Toyota"],
.brand-item:hover img[src*="toyota"] {
  filter: brightness(0) invert(0.9) drop-shadow(0 0 10px rgba(255, 153, 0, 0.8)) !important;
}

.brand-item:hover .brand-name {
  color: #FF9900 !important;
  transform: translateY(2px) !important;
}

/* Ocultar botones de flecha del carrusel */
.carousel-arrow,
#carousel-prev,
#carousel-next {
  display: none !important;
}

@media (max-width: 768px) {
  .brands-scroll-track {
    gap: 32px !important;
    padding: 12px 46px !important;
  }
  .brand-item img {
    height: 42px !important;
    max-height: 42px !important;
  }
  .carousel-arrow {
    width: 36px !important;
    height: 36px !important;
    font-size: 16px !important;
  }
  .left-arrow { left: 8px !important; }
  .right-arrow { right: 8px !important; }
}

/* Step-by-Step Protocol Trucks Image */
.protocol-bg-image {
  width: 100% !important;
  height: 100% !important;
  max-height: 520px !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* ==========================================================================
   HEADER CLEANUP & AMBIENT DIRECTIONAL HINTS
   ========================================================================== */
/* Force hide any residual header contact actions */
header .header-actions,
header .header-contact-btn,
header a[href*="56953797437"],
header a[href*="56989334099"],
nav .header-btn-group {
  display: none !important;
}

/* Directional ambient contact hint text */
.contact-hint-text {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  cursor: default !important;
  pointer-events: auto;
}

.contact-hint-text p {
  cursor: default !important;
}

/* ==========================================================================
   RADIANT FLOATING CONTACT ACTIONS (SOLO ICONOS GRANDES CON LUZ RADIANTE)
   ========================================================================== */
.radiant-floating-actions {
  position: fixed !important;
  right: 24px !important;
  bottom: 28px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 16px !important;
  z-index: 999999 !important;
  pointer-events: auto !important;
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
  margin: 0 !important;
  box-shadow: none !important;
}

/* Base de los botones de icono circular libre */
.radiant-icon-btn {
  position: relative !important;
  width: 58px !important;
  height: 58px !important;
  min-width: 58px !important;
  min-height: 58px !important;
  border-radius: 50% !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
  outline: none !important;
  cursor: pointer !important;
  border: none !important;
  box-sizing: border-box !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.3s ease, filter 0.3s ease !important;
  -webkit-tap-highlight-color: transparent !important;
  user-select: none !important;
}

.radiant-icon-btn svg {
  display: block !important;
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1) !important;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6));
  flex-shrink: 0 !important;
}

.radiant-icon-btn:hover {
  transform: translateY(-3px) scale(1.1) !important;
}

.radiant-icon-btn:hover svg {
  transform: scale(1.1);
}

.radiant-icon-btn:active {
  transform: translateY(0) scale(0.96) !important;
}

/* ==========================================================================
   1. BOTÓN LLAMADA DIRECTA (#FF9900 ÁMBAR INDUSTRIAL CON IRRADIACIÓN DE LUZ)
   ========================================================================== */
.call-glow {
  background: radial-gradient(circle at 35% 35%, #252525 0%, #101010 100%) !important;
  border: 2px solid #FF9900 !important;
  color: #FF9900 !important;
  animation: radiant-amber-pulse 2.2s infinite ease-in-out !important;
}

/* Corona de luz continua expandiéndose hacia afuera (Ondas radar/luz) */
.call-glow::before {
  content: "" !important;
  position: absolute !important;
  inset: -4px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(255, 153, 0, 0.85) !important;
  animation: radiant-amber-wave 2.2s infinite cubic-bezier(0.15, 0.85, 0.35, 1) !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* Segunda onda de luz para irradiación continua armónica */
.call-glow::after {
  content: "" !important;
  position: absolute !important;
  inset: -4px !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(255, 153, 0, 0.5) !important;
  animation: radiant-amber-wave 2.2s infinite cubic-bezier(0.15, 0.85, 0.35, 1) !important;
  animation-delay: 1.1s !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

.call-glow:hover {
  background: radial-gradient(circle at 35% 35%, #2f2f2f 0%, #151515 100%) !important;
  border-color: #FFB84D !important;
  box-shadow: 0 0 26px rgba(255, 153, 0, 0.95), 0 0 52px rgba(255, 153, 0, 0.55), inset 0 0 10px rgba(255, 153, 0, 0.5) !important;
}

@keyframes radiant-amber-pulse {
  0% {
    box-shadow: 0 0 12px rgba(255, 153, 0, 0.55), 0 0 24px rgba(255, 153, 0, 0.3), inset 0 0 8px rgba(255, 153, 0, 0.3), 0 4px 15px rgba(0, 0, 0, 0.85);
  }
  50% {
    box-shadow: 0 0 26px rgba(255, 153, 0, 0.95), 0 0 48px rgba(255, 153, 0, 0.6), 0 0 70px rgba(255, 153, 0, 0.3), inset 0 0 12px rgba(255, 153, 0, 0.55), 0 6px 22px rgba(0, 0, 0, 0.95);
  }
  100% {
    box-shadow: 0 0 12px rgba(255, 153, 0, 0.55), 0 0 24px rgba(255, 153, 0, 0.3), inset 0 0 8px rgba(255, 153, 0, 0.3), 0 4px 15px rgba(0, 0, 0, 0.85);
  }
}

@keyframes radiant-amber-wave {
  0% {
    transform: scale(0.95);
    opacity: 0.95;
    box-shadow: 0 0 10px rgba(255, 153, 0, 0.85);
  }
  60% {
    opacity: 0.35;
    box-shadow: 0 0 25px rgba(255, 153, 0, 0.5);
  }
  100% {
    transform: scale(1.68);
    opacity: 0;
    box-shadow: 0 0 35px rgba(255, 153, 0, 0);
  }
}

/* ==========================================================================
   2. BOTÓN WHATSAPP OFICIAL (VERDE #25D366 PREMIUM CON IRRADIACIÓN DE LUZ)
   ========================================================================== */
.wa-glow {
  background: linear-gradient(135deg, #2ae771 0%, #25D366 50%, #1ea953 100%) !important;
  color: #FFFFFF !important;
  border: 2px solid #3bf084 !important;
  animation: radiant-wa-pulse 2.2s infinite ease-in-out !important;
}

/* Corona de luz verde WhatsApp expandiéndose hacia afuera */
.wa-glow::before {
  content: "" !important;
  position: absolute !important;
  inset: -4px !important;
  border-radius: 50% !important;
  border: 2px solid rgba(37, 211, 102, 0.85) !important;
  animation: radiant-wa-wave 2.2s infinite cubic-bezier(0.15, 0.85, 0.35, 1) !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

/* Segunda onda de luz para irradiación continua armónica */
.wa-glow::after {
  content: "" !important;
  position: absolute !important;
  inset: -4px !important;
  border-radius: 50% !important;
  border: 1.5px solid rgba(37, 211, 102, 0.5) !important;
  animation: radiant-wa-wave 2.2s infinite cubic-bezier(0.15, 0.85, 0.35, 1) !important;
  animation-delay: 1.1s !important;
  pointer-events: none !important;
  z-index: -1 !important;
}

.wa-glow:hover {
  background: linear-gradient(135deg, #37f17e 0%, #2be472 50%, #20b85a 100%) !important;
  border-color: #72f7a6 !important;
  box-shadow: 0 0 30px rgba(37, 211, 102, 0.95), 0 0 58px rgba(37, 211, 102, 0.6), inset 0 0 10px rgba(255, 255, 255, 0.4) !important;
}

@keyframes radiant-wa-pulse {
  0% {
    box-shadow: 0 0 14px rgba(37, 211, 102, 0.55), 0 0 28px rgba(37, 211, 102, 0.35), inset 0 0 8px rgba(255, 255, 255, 0.25), 0 4px 15px rgba(0, 0, 0, 0.85);
  }
  50% {
    box-shadow: 0 0 28px rgba(37, 211, 102, 0.95), 0 0 52px rgba(37, 211, 102, 0.65), 0 0 75px rgba(37, 211, 102, 0.35), inset 0 0 12px rgba(255, 255, 255, 0.45), 0 6px 22px rgba(0, 0, 0, 0.95);
  }
  100% {
    box-shadow: 0 0 14px rgba(37, 211, 102, 0.55), 0 0 28px rgba(37, 211, 102, 0.35), inset 0 0 8px rgba(255, 255, 255, 0.25), 0 4px 15px rgba(0, 0, 0, 0.85);
  }
}

@keyframes radiant-wa-wave {
  0% {
    transform: scale(0.95);
    opacity: 0.95;
    box-shadow: 0 0 10px rgba(37, 211, 102, 0.85);
  }
  60% {
    opacity: 0.35;
    box-shadow: 0 0 25px rgba(37, 211, 102, 0.5);
  }
  100% {
    transform: scale(1.68);
    opacity: 0;
    box-shadow: 0 0 35px rgba(37, 211, 102, 0);
  }
}

/* ==========================================================================
   RESPONSIVIDAD Y AJUSTE MÓVIL (< 600px)
   ========================================================================== */
@media (max-width: 600px) {
  .radiant-floating-actions {
    right: 16px !important;
    bottom: 20px !important;
    gap: 12px !important;
  }
  .radiant-icon-btn {
    width: 54px !important;
    height: 54px !important;
    min-width: 54px !important;
    min-height: 54px !important;
  }
  .radiant-icon-btn svg {
    width: 27px !important;
    height: 27px !important;
  }
}

/* ==========================================================================
   FAQ AMBIENT DIRECTIONAL HINT
   ========================================================================== */
.faq-ambient-hint {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

.faq-ambient-hint p {
  cursor: default !important;
}

@media (max-width: 600px) {
  .hero-guarantees-box {
    padding: 14px 16px !important;
  }
  .hero-guarantees-box > div {
    flex-wrap: wrap !important;
    gap: 4px 8px !important;
  }
}

/* ==========================================================================
   COBERTURA: NOTA INTERURBANO TEXTO PLANO
   ========================================================================== */
.interurbano-note,
.interurbano-note * {
  text-decoration: none !important;
  border-bottom: none !important;
  cursor: default !important;
}

/* Hero Primary CTA Hover */
.btn-primary-hero:hover {
  background-color: #FFA726 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(255, 153, 0, 0.4) !important;
}

/* ==========================================================================
   CARRUSELES VISUALES CON LOGO + NOMBRE (ACORDEONES CAMIONES Y MAQUINARIA)
   ========================================================================== */
.category-accordion-item.active,
.category-accordion-item.is-open {
  border-color: rgba(255, 153, 0, 0.5) !important;
}

.category-accordion-item.active .chevron-icon,
.category-accordion-item.is-open .chevron-icon {
  transform: rotate(180deg) !important;
  stroke: #FF9900 !important;
}

.brand-showcase-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: 90px;
  flex-shrink: 0;
  user-select: none;
  cursor: pointer;
  transition: transform 0.25s ease;
}

.brand-showcase-item:hover {
  transform: translateY(-2px);
}

.brand-logo-box {
  width: 52px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo-box img,
.brand-logo-box svg,
.brand-logo-box span {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.brand-logo-box img {
  filter: grayscale(10%) contrast(110%) brightness(0.95);
}

/* Invertir logos oscuros (como Mercedes) para que destaquen sobre fondo negro */
.brand-logo-box img[src*="mercedes"] {
  filter: brightness(0) invert(0.95) !important;
}

.brand-showcase-item:hover .brand-logo-box img,
.brand-showcase-item:hover .brand-logo-box svg,
.brand-showcase-item:hover .brand-logo-box span {
  transform: scale(1.12);
}

.brand-showcase-item:hover .brand-logo-box img {
  filter: grayscale(0%) brightness(1.2);
}

.brand-showcase-item:hover .brand-logo-box img[src*="mercedes"] {
  filter: brightness(0) invert(1) drop-shadow(0 0 6px rgba(255, 255, 255, 0.6)) !important;
}

.brand-label {
  color: #A3A3A3;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  text-align: center;
  transition: color 0.25s ease;
}

.brand-showcase-item:hover .brand-label {
  color: #FF9900;
}

/* Efecto Marquee Continuo */
.logo-marquee-track {
  display: flex !important;
  gap: 36px !important;
  width: max-content !important;
  align-items: center !important;
  animation: marquee-scroll 26s linear infinite;
  will-change: transform;
}

.machinery-track {
  animation-duration: 24s;
}

.logo-marquee-container:hover .logo-marquee-track {
  animation-play-state: paused;
}

@keyframes marquee-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Gradientes laterales para difuminar bordes como en la referencia */
.logo-marquee-container::before,
.logo-marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 40px;
  z-index: 2;
  pointer-events: none;
}
.logo-marquee-container::before {
  left: 0;
  background: linear-gradient(to right, #0A0A0A, transparent);
}
.logo-marquee-container::after {
  right: 0;
  background: linear-gradient(to left, #0A0A0A, transparent);
}

/* ==========================================================================
   CORRECCIÓN FINAL Y DEFINITIVA DE LOS 3 CARRUSELES: EMBLEMAS OFICIALES REALES
   ========================================================================== */
/* Contenedor sin barras de desplazamiento visibles */
.brand-carousel-viewport {
  width: 100% !important;
  max-width: 100% !important;
  overflow: hidden !important;
  padding: 24px 0 !important;
  position: relative !important;
  user-select: none !important;
  cursor: grab !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.brand-carousel-viewport:active {
  cursor: grabbing !important;
}
.brand-carousel-viewport::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}

/* Fila horizontal continua */
.brand-marquee-inner {
  display: flex !important;
  flex-direction: row !important;
  flex-wrap: nowrap !important;
  align-items: center !important;
  gap: 54px !important;
  width: max-content !important;
  will-change: transform !important;
  white-space: nowrap !important;
}

/* Velocidad calibrada: 110s para movimiento pausado y elegante */
#track-livianos.brand-marquee-inner {
  animation: marquee-scroll-smooth 110s linear infinite !important;
}
#track-camiones.brand-marquee-inner {
  animation: marquee-scroll-smooth 85s linear infinite !important;
}
#track-maquinaria.brand-marquee-inner {
  animation: marquee-scroll-smooth 95s linear infinite !important;
}

.brand-carousel-viewport:hover .brand-marquee-inner,
.brand-carousel-viewport.is-dragging .brand-marquee-inner {
  animation-play-state: paused !important;
}

@keyframes marquee-scroll-smooth {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Ficha de cada marca */
.brand-item-clean {
  display: inline-flex !important;
  flex-direction: column !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 10px !important;
  min-width: 110px !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  transition: transform 0.25s ease !important;
}

/* Marco para los emblemas oficiales */
.brand-logo-frame-clean {
  width: 80px !important;
  height: 52px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  background: transparent !important;
}

.brand-logo-frame-clean img,
.brand-logo-frame-clean svg {
  max-width: 100% !important;
  max-height: 100% !important;
  width: auto !important;
  height: auto !important;
  object-fit: contain !important;
  display: block !important;
  transition: transform 0.25s ease, filter 0.25s ease !important;
}

/* Resplandor ámbar en Hover */
.brand-item-clean:hover {
  transform: translateY(-3px) !important;
}

.brand-item-clean:hover .brand-logo-frame-clean img,
.brand-item-clean:hover .brand-logo-frame-clean svg {
  transform: scale(1.15) !important;
  filter: drop-shadow(0 0 10px #FF9900) drop-shadow(0 0 20px rgba(255, 153, 0, 0.7)) !important;
}

/* Nombre de la marca debajo */
.brand-label-clean {
  color: #9CA3AF !important;
  font-family: monospace, -apple-system, sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.8px !important;
  text-transform: uppercase !important;
  text-align: center !important;
  white-space: nowrap !important;
  transition: color 0.25s ease, text-shadow 0.25s ease !important;
}

.brand-item-clean:hover .brand-label-clean {
  color: #FF9900 !important;
  text-shadow: 0 0 8px rgba(255, 153, 0, 0.5) !important;
}

/* Difuminado suave en los bordes laterales */
.brand-carousel-viewport::before,
.brand-carousel-viewport::after {
  content: "" !important;
  position: absolute !important;
  top: 0 !important;
  bottom: 0 !important;
  width: 50px !important;
  z-index: 2 !important;
  pointer-events: none !important;
}
.brand-carousel-viewport::before {
  left: 0 !important;
  background: linear-gradient(to right, #0A0A0A, transparent) !important;
}
.brand-carousel-viewport::after {
  right: 0 !important;
  background: linear-gradient(to left, #0A0A0A, transparent) !important;
}






