/* ==============================================================================
   C&F SERVICIOS - EQUIPOS DE CONSTRUCCIÓN Y FORESTAL
   Hoja de Estilos Principal (Vanilla CSS Industrial Moderno)
   Optimizado para Core Web Vitals: Fuentes cargadas vía <link> en HTML para evitar bloqueo por @import
   ============================================================================== */

/* ==============================================================================
   Tipografía Corporativa Oficial - Manual de Marca C&F Servicios
   ============================================================================== */
@font-face {
  font-family: 'FRAHVIT';
  src: url('../fonts/FRAHVIT.TTF') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'FRAHVIT';
  src: url('../fonts/FRAHVIT.TTF') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Franklin Gothic Heavy Italic';
  src: url('../fonts/FRAHVIT.TTF') format('truetype');
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}

@font-face {
  font-family: 'Franklin Gothic Medium Italic';
  src: url('../fonts/framdit.ttf') format('truetype');
  font-weight: 400 700;
  font-style: italic;
  font-display: swap;
}

:root {
  /* Paleta de Colores de Marca */
  --color-primary: #2D2D2D;
  /* Gris Industrial Oscuro Principal */
  --color-primary-dark: #1E1E1E;
  /* Negro Fondo Profundo */
  --color-secondary: #F9B000;
  /* Amarillo / Ambar Construcción Accent */
  --color-secondary-hover: #E09E00;
  /* Amarillo Hover */
  --color-accent-light: #FFF8E6;
  /* Fondo tenue de contraste */
  --color-bg-light: #F4F5F7;
  /* Fondo claro industrial */
  --color-surface: #FFFFFF;
  /* Blanco para tarjetas */
  --color-border: #E2E8F0;
  /* Bordes de tarjetas */

  /* Tipografías Oficiales */
  --font-title: 'FRAHVIT', 'Franklin Gothic Heavy Italic', 'Barlow Semi Condensed', 'Franklin Gothic Medium', 'Arial Black', sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, blinkmacsystemfont, 'Segoe UI', roboto, sans-serif;

  /* Sombras y Efectos Visuales */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.12);
  --shadow-lg: 0 16px 32px rgba(0, 0, 0, 0.22);
  --shadow-glow: 0 0 20px rgba(249, 176, 0, 0.35);

  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Reset Global & Base Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  color: var(--color-primary);
  background-color: var(--color-bg-light);
  background-image: linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    url('../images/bg_pattern_machinery.jpg');
  background-image: linear-gradient(rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.72)),
    url('../images/bg_pattern_machinery.webp');
  background-repeat: repeat;
  background-size: 460px auto;
  background-position: top center;
  line-height: 1.6;
  overflow-x: hidden;
}

/* Tipografía de Encabezados (Estilo Franklin Gothic Heavy Italic) */
h1,
h2,
h3,
h4,
.font-heading {
  font-family: var(--font-title);
  font-style: italic;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

h1 {
  font-size: clamp(2.2rem, 5vw, 3.8rem);
  font-weight: 900;
}

h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.8rem);
  font-weight: 800;
  color: var(--color-primary);
  position: relative;
  display: inline-block;
  margin-bottom: 1.5rem;
}

h2::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background-color: var(--color-secondary);
  border-radius: 2px;
}

h3 {
  font-size: 1.4rem;
  font-weight: 700;
}

p {
  margin-bottom: 1rem;
  color: #4A4A4A;
}

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

/* Componentes de Botones CTA */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 800;
  font-size: 1.15rem;
  text-transform: uppercase;
  padding: 0.95rem 2.2rem;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  text-align: center;
}

.btn-primary {
  background-color: var(--color-secondary);
  color: var(--color-primary-dark);
  box-shadow: 0 4px 15px rgba(249, 176, 0, 0.4);
}

.btn-primary:hover {
  background-color: var(--color-secondary-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 176, 0, 0.6);
}

.btn-outline {
  background: transparent;
  color: #FFFFFF;
  border-color: var(--color-secondary);
}

.btn-outline:hover {
  background: var(--color-secondary);
  color: var(--color-primary-dark);
  transform: translateY(-2px);
}

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

/* NAVEGACIÓN Y HEADER */
/* NAVEGACIÓN Y HEADER CON ALTO CONTRASTE */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(10px);
  border-bottom: 4px solid var(--color-secondary);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  transition: all var(--transition-smooth);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 84px;
}

.brand-logo-container {
  display: inline-flex;
  align-items: center;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  transition: transform var(--transition-fast);
}

.brand-logo-container:hover {
  transform: translateY(-1px);
}

.site-logo-img {
  height: 52px;
  width: auto;
  aspect-ratio: 805 / 149;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.15));
}

.footer-logo-img,
.rental-footer-logo {
  max-height: 48px;
  width: auto;
  aspect-ratio: 805 / 149;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 2.2rem;
  list-style: none;
}

.nav-links a {
  color: var(--color-primary);
  font-family: var(--font-title);
  font-style: italic;
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  position: relative;
  padding: 0.5rem 0;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 3px;
  background-color: var(--color-secondary);
  transition: width var(--transition-fast);
}

.nav-links a:hover {
  color: var(--color-secondary-hover);
}

.nav-links a:hover::after {
  width: 100%;
}

/* SUBMENÚ DESPLEGABLE DE SERVICIOS */
.nav-item-dropdown {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.nav-link-dropdown {
  display: inline-flex !important;
  align-items: center;
  gap: 0.45rem;
  cursor: pointer;
}

.nav-dropdown-arrow {
  font-size: 0.75rem;
  transition: transform var(--transition-fast);
}

.nav-item-dropdown:hover .nav-dropdown-arrow,
.nav-item-dropdown:focus-within .nav-dropdown-arrow,
.nav-item-dropdown.open .nav-dropdown-arrow {
  transform: rotate(180deg);
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(10px);
  min-width: 220px;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-top: 3px solid var(--color-secondary);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  box-shadow: 0 12px 30px -4px rgba(0, 0, 0, 0.15), 0 6px 12px -2px rgba(0, 0, 0, 0.08);
  padding: 0.5rem 0;
  list-style: none;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.22s cubic-bezier(0.16, 1, 0.3, 1), transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.22s;
  z-index: 1050;
}

.nav-item-dropdown:hover .dropdown-menu,
.nav-item-dropdown:focus-within .dropdown-menu,
.nav-item-dropdown.open .dropdown-menu {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(2px);
}

.dropdown-menu li {
  width: 100%;
  padding: 0.15rem 0.5rem;
}

.dropdown-menu a {
  display: flex !important;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 1rem !important;
  font-size: 0.95rem !important;
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-primary) !important;
  border-radius: var(--radius-sm);
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.dropdown-menu a::after {
  display: none !important;
}

.dropdown-menu a i {
  color: var(--color-secondary);
  font-size: 0.95rem;
  width: 18px;
  text-align: center;
  transition: transform var(--transition-fast), color var(--transition-fast);
}

.dropdown-menu a:hover,
.dropdown-menu a:focus,
.dropdown-menu a.active {
  background: #F8FAFC !important;
  color: var(--color-secondary) !important;
  padding-left: 1.25rem !important;
}

.dropdown-menu a:hover i,
.dropdown-menu a:focus i,
.dropdown-menu a.active i {
  transform: scale(1.15);
  color: var(--color-secondary-hover);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-primary);
  font-size: 1.8rem;
  cursor: pointer;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  min-height: 100vh;
  padding-top: 130px;
  padding-bottom: 80px;
  display: flex;
  align-items: center;
  /* Fallback para navegadores antiguos */
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.92) 0%, rgba(45, 45, 45, 0.85) 100%),
    url('../images/hero_machinery_bg.jpg') center/cover no-repeat;
  /* Formato WebP optimizado para máxima velocidad LCP */
  background: linear-gradient(135deg, rgba(30, 30, 30, 0.92) 0%, rgba(45, 45, 45, 0.85) 100%),
    url('../images/hero_machinery_bg.webp') center/cover no-repeat;
  color: #FFFFFF;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 20%, rgba(249, 176, 0, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249, 176, 0, 0.15);
  border: 1px solid var(--color-secondary);
  color: var(--color-secondary);
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 700;
  padding: 0.4rem 1rem;
  border-radius: 50px;
  font-size: 0.95rem;
  text-transform: uppercase;
  margin-bottom: 1.2rem;
}

/* Accesibilidad SEO para lectores de pantalla */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hero-title-logo {
  margin-bottom: 1.8rem;
  line-height: 1;
}

.hero-logo-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.98);
  padding: 1.2rem 2.2rem;
  border-radius: var(--radius-md);
  border-top: 5px solid var(--color-secondary);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(5px);
  transition: transform var(--transition-smooth);
}

.hero-logo-badge:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 40px rgba(249, 176, 0, 0.25);
}

.hero-logo-img {
  max-width: 580px;
  width: 100%;
  height: auto;
  display: block;
}

.hero-main-title {
  display: block;
  font-family: var(--font-title);
  font-size: clamp(1.6rem, 3.2vw, 2.4rem);
  font-weight: 900;
  font-style: italic;
  color: #FFFFFF;
  text-transform: uppercase;
  margin-top: 1.25rem;
  line-height: 1.2;
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.7);
  letter-spacing: 0.5px;
}

.hero-title {
  color: #FFFFFF;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
}

.hero-title span.highlight {
  color: var(--color-secondary);
}

.hero-description {
  font-size: 1.25rem;
  color: #E2E8F0;
  margin-bottom: 2.5rem;
  max-width: 720px;
  line-height: 1.7;
}

.hero-actions {
  display: flex;
  gap: 1.2rem;
  flex-wrap: wrap;
}

/* SECCIÓN SLIDER DE PROMOCIONES (ENTRE HERO Y SOBRE NOSOTROS) */
.promos-section {
  padding: 60px 0 20px 0;
  background: transparent;
  position: relative;
}

.promos-slider-wrap {
  position: relative;
  max-width: 1120px;
  margin: 0 auto;
}

.promos-slides-track {
  position: relative;
  display: grid;
  grid-template-areas: "promo-stack";
}

.promo-slide {
  grid-area: promo-stack;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateX(16px) scale(0.985);
  transition: opacity 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              transform 0.85s cubic-bezier(0.22, 1, 0.36, 1),
              visibility 0.85s;
  will-change: opacity, transform;
  z-index: 1;
}

.promo-slide.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(0) scale(1);
  z-index: 2;
}

.promo-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  height: 340px;
  max-height: 340px;
  background: #0F172A;
  color: #FFFFFF;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(249, 176, 0, 0.35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

.promo-card-media {
  position: relative;
  width: 340px;
  height: 340px;
  max-height: 340px;
  aspect-ratio: 1 / 1;
  background: #1E293B;
  overflow: hidden;
}

.promo-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.05);
  transition: transform 1.1s cubic-bezier(0.22, 1, 0.36, 1);
}

.promo-slide.active .promo-card-media img {
  transform: scale(1);
}

.promo-card:hover .promo-card-media img {
  transform: scale(1.04);
}

.promo-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  background: var(--color-secondary, #F9B000);
  color: #0F172A;
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 800;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}

.promo-card-body {
  padding: 2.25rem 2.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.promo-expiry-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  align-self: flex-start;
  background: rgba(249, 176, 0, 0.14);
  color: #FCD34D;
  border: 1px solid rgba(249, 176, 0, 0.35);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  margin-bottom: 0.85rem;
}

.promo-card-title {
  color: #FFFFFF;
  font-size: 1.85rem;
  margin: 0 0 0.75rem 0;
}

.promo-card-title::after {
  display: none;
}

.promo-card-desc {
  color: #CBD5E1;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0 0 1.5rem 0;
}

.promo-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  align-items: center;
}

.promo-btn-contact {
  border-color: rgba(255, 255, 255, 0.35);
  color: #FFFFFF;
}

.promo-btn-contact:hover {
  background: #FFFFFF;
  color: #0F172A;
}

.promo-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 4;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(15, 23, 42, 0.82);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.promo-nav-btn:hover {
  background: var(--color-secondary, #F9B000);
  border-color: var(--color-secondary, #F9B000);
  color: #0F172A;
}

.promo-nav-btn--prev {
  left: -18px;
}

.promo-nav-btn--next {
  right: -18px;
}

.promo-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 1rem;
}

.promo-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: #CBD5E1;
  cursor: pointer;
  transition: all 0.25s ease;
}

.promo-dot.active {
  width: 26px;
  border-radius: 999px;
  background: var(--color-secondary, #F9B000);
}

@media (max-width: 900px) {
  .promos-section {
    padding: 36px 0 12px 0;
  }

  .promo-card {
    grid-template-columns: 1fr;
    height: auto;
    max-height: none;
  }

  .promo-card-media {
    width: 100%;
    height: 260px;
    max-height: 260px;
    aspect-ratio: 1 / 1;
  }

  .promo-card-body {
    padding: 1.35rem 1.25rem 1.5rem;
  }

  .promo-card-title {
    font-size: 1.45rem;
  }

  .promo-card-desc {
    font-size: 0.94rem;
    margin-bottom: 1.15rem;
  }

  .promo-card-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .promo-nav-btn {
    top: 130px;
    width: 38px;
    height: 38px;
  }

  .promo-nav-btn--prev {
    left: 10px;
  }

  .promo-nav-btn--next {
    right: 10px;
  }
}

/* SECCIÓN SOBRE NOSOTROS */
.about-section {
  padding: 100px 0;
  background-color: transparent;
  position: relative;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

.about-text p {
  font-size: 1.1rem;
  color: #4A4A4A;
  margin-bottom: 1.2rem;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 160px), 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.stat-card {
  background: var(--color-bg-light);
  border-left: 4px solid var(--color-secondary);
  padding: 1.2rem;
  border-radius: var(--radius-sm);
  text-align: center;
}

.stat-number {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 2.5rem;
  font-weight: 900;
  color: var(--color-primary);
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  text-transform: uppercase;
  font-weight: 700;
  color: #666666;
  margin-top: 0.4rem;
}

.about-card-badge {
  background: var(--color-primary);
  color: #FFFFFF;
  padding: 3rem 2.5rem;
  border-radius: var(--radius-md);
  position: relative;
  box-shadow: var(--shadow-lg);
  border-top: 6px solid var(--color-secondary);
}

.about-card-badge h3 {
  color: var(--color-secondary);
  margin-bottom: 1rem;
  font-size: 1.8rem;
}

/* SECCIÓN SERVICIOS */
.services-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background-color: #0F172A;
}

.services-bg-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.services-bg-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transform: scale(1.04);
  transition: opacity 1.4s ease-in-out, transform 6s ease-out;
  will-change: opacity, transform;
}

.services-bg-slide.active {
  opacity: 1;
  transform: scale(1);
}

.services-bg-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.56) 0%, rgba(15, 23, 42, 0.34) 50%, rgba(15, 23, 42, 0.64) 100%);
}

.services-section > .container {
  position: relative;
  z-index: 2;
}

.services-bg-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.28);
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.25s ease;
}

.services-bg-arrow:hover {
  background: var(--color-secondary, #F9B000);
  border-color: var(--color-secondary, #F9B000);
  color: #0F172A;
  transform: translateY(-50%) scale(1.08);
}

.services-bg-arrow--prev {
  left: 18px;
}

.services-bg-arrow--next {
  right: 18px;
}

.services-bg-dots {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 50px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(6px);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.services-bg-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.45);
  cursor: pointer;
  transition: all 0.25s ease;
}

.services-bg-dot:hover {
  background: rgba(255, 255, 255, 0.85);
}

.services-bg-dot.active {
  width: 26px;
  border-radius: 999px;
  background: var(--color-secondary, #F9B000);
}

@media (max-width: 768px) {
  .services-section {
    padding: 70px 0 90px 0;
  }

  .services-bg-arrow {
    top: auto;
    bottom: 18px;
    transform: none;
    width: 38px;
    height: 38px;
    font-size: 0.88rem;
  }

  .services-bg-arrow:hover {
    transform: scale(1.05);
  }

  .services-bg-arrow--prev {
    left: 16px;
  }

  .services-bg-arrow--next {
    right: 16px;
  }

  .services-bg-dots {
    bottom: 22px;
  }
}

.services-section .section-header h2 {
  color: #FFFFFF;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.6);
}

.services-section .section-header p,
.services-section .rental-items-lead p {
  color: #F1F5F9;
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.65);
}

.services-section .rental-step-badge {
  background: rgba(249, 176, 0, 0.18);
  color: #FCD34D;
  border-color: rgba(249, 176, 0, 0.45);
}

.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem auto;
}

.section-header h2::after {
  left: 50%;
  transform: translateX(-50%);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
  gap: 2rem;
}

/* Grilla de Grupos de Servicios (Análogo a Rental) */
.services-groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.service-group-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.service-group-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: background 0.3s ease;
}

.service-group-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-secondary, #F9B000);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(249, 176, 0, 0.15);
}

.service-group-card:hover::before {
  background: var(--color-secondary, #F9B000);
}

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

.service-group-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #0F172A;
  color: var(--color-secondary, #F9B000);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.service-group-card:hover .service-group-icon-circle {
  transform: scale(1.08) rotate(3deg);
  background: var(--color-secondary, #F9B000);
  color: #0F172A;
}

.service-group-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748B;
  background: #F1F5F9;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.service-group-badge--page {
  background: #EFF6FF;
  color: #1D4ED8;
  border-color: #BFDBFE;
}

.service-group-card-body {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.service-group-card-title {
  font-size: 1.2rem;
  font-family: var(--font-title);
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 0.6rem 0;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.service-group-card:hover .service-group-card-title {
  color: #B45309;
}

.service-group-card-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #64748B;
  margin: 0;
}

.service-group-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.15rem;
  border-top: 1px solid #F1F5F9;
}

.service-group-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.service-group-count i {
  color: var(--color-secondary, #F9B000);
}

.service-group-btn-explore {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #0F172A;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.service-group-card:hover .service-group-btn-explore {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

.service-group-btn-explore i {
  transition: transform 0.2s ease;
}

.service-group-card:hover .service-group-btn-explore i {
  transform: translateX(3px);
  color: var(--color-secondary, #F9B000);
}

/* Grilla de Ítems / Prestaciones de Servicios (Paso 2) */
.services-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.service-item-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.service-item-card:hover {
  transform: translateY(-4px);
  border-color: #CBD5E1;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.03);
}

.service-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.service-item-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(249, 176, 0, 0.15);
  color: #B45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.service-item-card:hover .service-item-icon-box {
  background: var(--color-secondary, #F9B000);
  color: #0F172A;
}

.service-item-tag {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  color: #64748B;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
  text-transform: uppercase;
}

.service-item-body {
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.service-item-title {
  font-size: 1.15rem;
  font-family: var(--font-title);
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.service-item-lead {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.service-item-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.service-item-specs li {
  font-size: 0.82rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
}

.service-item-specs li i {
  color: #16A34A;
  font-size: 0.72rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.service-item-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  align-items: stretch;
}

.service-item-btn-quote {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  padding: 0.65rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 6px;
  text-decoration: none;
}

.service-item-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 0.85rem;
  background: #F1F5F9;
  color: #16A34A;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  font-size: 1.1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.service-item-btn-wa:hover {
  background: #16A34A;
  color: #FFFFFF;
  border-color: #16A34A;
}

.service-card {
  background: var(--color-surface);
  border-radius: var(--radius-md);
  padding: 2.5rem 2rem;
  box-shadow: var(--shadow-md);
  transition: all var(--transition-smooth);
  border-top: 4px solid transparent;
  display: flex;
  flex-direction: column;
  height: 100%;
  text-decoration: none;
  color: inherit;
  position: relative;
}

.service-card--link {
  cursor: pointer;
}

.service-card--link:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-top-color: var(--color-secondary);
}

.service-card--static {
  cursor: default;
}

.service-card--static:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-top-color: rgba(249, 176, 0, 0.4);
}

.service-card-footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #E2E8F0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.service-link-action {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--color-secondary);
  font-weight: 700;
  font-size: 0.95rem;
  transition: all var(--transition-fast);
}

.service-card:hover .service-link-action {
  color: var(--color-primary);
  transform: translateX(5px);
}

.service-icon {
  width: 70px;
  height: 70px;
  background: var(--color-accent-light);
  color: var(--color-primary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  margin-bottom: 1.5rem;
  border: 1px solid var(--color-secondary);
  transition: background var(--transition-fast);
}

.service-card:hover .service-icon {
  background: var(--color-secondary);
  color: var(--color-primary-dark);
}

.service-title {
  margin-bottom: 1rem;
  color: var(--color-primary);
}

.service-description {
  font-size: 1rem;
  color: #555555;
  flex-grow: 1;
}

/* SECCIÓN CONTACTO HIGH-CONTRAST & ULTRA-RESPONSIVO */
.contact-section {
  padding: 100px 0;
  background: #1E1E1E !important;
  color: #FFFFFF !important;
  position: relative;
}

.contact-section h2 {
  color: #FFFFFF !important;
}

.contact-subtitle {
  color: #E2E8F0;
  font-size: 1.15rem;
  margin-top: 0.5rem;
  max-width: 500px;
}

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

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
  margin-top: 2.5rem;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  background: #2D2D2D;
  border: 1px solid #3D3D3D;
  padding: 1.3rem 1.6rem;
  border-radius: var(--radius-md);
  transition: all var(--transition-fast);
}

.contact-item:hover {
  transform: translateX(5px);
  border-color: var(--color-secondary);
  background: #363636;
}

.contact-item-icon {
  width: 54px;
  height: 54px;
  background: var(--color-secondary);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-primary-dark);
  font-size: 1.4rem;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(249, 176, 0, 0.35);
}

.contact-item-text h4 {
  font-family: var(--font-title);
  font-style: italic;
  color: var(--color-secondary);
  font-size: 1.15rem;
  margin-bottom: 0.3rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-item-text p {
  margin: 0;
  color: #FFFFFF !important;
  font-weight: 600;
  font-size: 1.1rem;
}

/* Tarjeta de Formulario en Blanco Puro de Alta Definición */
.contact-form-wrapper {
  background: #FFFFFF !important;
  color: var(--color-primary) !important;
  border-radius: var(--radius-md);
  padding: 2.8rem 2.5rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
  border-top: 6px solid var(--color-secondary);
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  width: 100%;
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: var(--color-primary) !important;
}

.form-control {
  display: block;
  width: 100% !important;
  box-sizing: border-box !important;
  padding: 0.95rem 1.2rem;
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: var(--radius-sm);
  color: #0F172A;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.5;
  transition: all var(--transition-fast);
}

.form-control::placeholder {
  color: #94A3B8;
}

.form-control:focus {
  outline: none;
  border-color: var(--color-secondary);
  background: #FFFFFF;
  box-shadow: 0 0 0 4px rgba(249, 176, 0, 0.25);
}

textarea.form-control {
  resize: vertical;
  min-height: 120px;
}

/* Checkbox de Enviar Copia Cliente en Formulario de Contacto Principal */
.form-check-group {
  margin-top: 0.5rem;
  margin-bottom: 1.25rem;
  width: 100%;
}

.form-check-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  user-select: none;
  font-family: var(--font-body);
  font-size: 0.92rem;
  font-weight: 500;
  color: #334155;
  transition: color var(--transition-fast);
}

.form-check-label:hover {
  color: #0F172A;
}

.form-check-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--color-secondary, #F9B000);
  border-radius: 4px;
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.form-check-input:hover {
  transform: scale(1.08);
}

.form-check-input:focus-visible {
  outline: 2px solid var(--color-secondary, #F9B000);
  outline-offset: 2px;
}

#form-response {
  margin-top: 1.5rem;
  padding: 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  display: none;
}

#form-response.success {
  display: block;
  background: rgba(46, 204, 113, 0.2);
  border: 1px solid #2ECC71;
  color: #2ECC71;
}

#form-response.error {
  display: block;
  background: rgba(231, 76, 60, 0.2);
  border: 1px solid #E74C3C;
  color: #E74C3C;
}

/* FOOTER SEMÁNTICO */
.site-footer {
  background: var(--color-primary-dark);
  color: #A0AEC0;
  padding: 3rem 0 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.95rem;
}

/* REDES SOCIALES EN FOOTER */
.footer-social-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-social-title {
  color: #E2E8F0;
  font-family: var(--font-title);
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: 0.5px;
}

.footer-social-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.social-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.07);
  color: #E2E8F0;
  font-size: 1.25rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
  transition: all var(--transition-fast);
  text-decoration: none;
}

.social-icon-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.social-icon-btn.social-facebook:hover {
  background: #1877F2;
  color: #FFFFFF;
  border-color: #1877F2;
}

.social-icon-btn.social-instagram:hover {
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
  color: #FFFFFF;
  border-color: transparent;
}

.social-icon-btn.social-linkedin:hover {
  background: #0A66C2;
  color: #FFFFFF;
  border-color: #0A66C2;
}

.social-icon-btn.social-twitter:hover {
  background: #000000;
  color: #FFFFFF;
  border-color: #333333;
}

.social-icon-btn.social-youtube:hover {
  background: #FF0000;
  color: #FFFFFF;
  border-color: #FF0000;
}

.social-icon-btn.social-tiktok:hover {
  background: #000000;
  color: #00F2FE;
  border-color: #FE2C55;
  box-shadow: -2px 0 8px #FE2C55, 2px 0 8px #00F2FE;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-links {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  flex-wrap: wrap;
}

.footer-divider {
  color: rgba(255, 255, 255, 0.2);
}

.footer-dev-credit {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-top: 0.45rem;
  font-size: 0.85rem;
  color: #94A3B8;
}

.footer-dev-credit strong {
  color: #E2E8F0;
}

.footer-dev-logo {
  width: 20px;
  height: 20px;
  object-fit: contain;
  display: inline-block;
  vertical-align: middle;
}

.footer-dev-wa {
  color: #E2E8F0;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-weight: 600;
  transition: color 0.2s ease;
}

.footer-dev-wa:hover,
.footer-dev-wa:hover strong {
  color: #38BDF8;
}

.admin-login-link {
  color: #CBD5E1;
  font-size: 0.85rem;
  font-family: var(--font-title);
  font-style: italic;
  font-weight: 700;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.3rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  transition: all var(--transition-fast);
}

.admin-login-link:hover {
  color: #1E1E1E;
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  box-shadow: 0 2px 8px rgba(249, 176, 0, 0.4);
}

/* MEDIA QUERIES RESPONSIVAS */
/* MEDIA QUERIES RESPONSIVAS */
@media (max-width: 992px) {

  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .nav-links {
    position: fixed;
    top: 84px;
    left: -100%;
    width: 100%;
    height: calc(100vh - 84px);
    background: var(--color-primary-dark);
    flex-direction: column;
    justify-content: flex-start;
    padding: 2.5rem 1.5rem;
    overflow-y: auto;
    z-index: 1000;
    transition: left var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  }

  .nav-links a {
    color: #FFFFFF;
    font-size: 1.25rem;
    padding: 0.85rem 1rem;
    width: 100%;
    text-align: center;
    border-radius: var(--radius-sm);
  }

  .nav-links a:hover,
  .nav-links a:focus {
    background: rgba(249, 176, 0, 0.15);
    color: var(--color-secondary);
  }

  .nav-links.active {
    left: 0;
  }

  .nav-item-dropdown {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-link-dropdown {
    width: 100%;
    justify-content: center;
  }

  .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-top: 2px solid var(--color-secondary);
    border-radius: var(--radius-sm);
    box-shadow: none;
    margin: 0.35rem 0.5rem 0.75rem 0.5rem;
    padding: 0.4rem 0.25rem;
    min-width: calc(100% - 1rem);
    display: none;
  }

  .nav-item-dropdown.open .dropdown-menu {
    display: block;
  }

  .dropdown-menu a {
    color: #FFFFFF !important;
    font-size: 1.05rem !important;
    justify-content: center;
    padding: 0.65rem 1rem !important;
  }

  .dropdown-menu a:hover,
  .dropdown-menu a:focus,
  .dropdown-menu a.active {
    background: rgba(249, 176, 0, 0.18) !important;
    color: var(--color-secondary) !important;
    padding-left: 1rem !important;
  }

  .mobile-toggle {
    display: block;
  }
}

@media (max-width: 600px) {
  body {
    background-size: 300px auto;
  }

  input.form-control,
  select.form-control,
  textarea.form-control {
    font-size: 16px;
  }

  .navbar {
    height: 70px;
  }

  .site-logo-img {
    height: 42px;
  }

  .nav-links {
    top: 70px;
    height: calc(100vh - 70px);
  }

  .hero-section {
    padding-top: 100px;
    padding-bottom: 50px;
    min-height: auto;
  }

  .hero-logo-badge {
    padding: 0.75rem 1rem;
    max-width: 100%;
  }

  .hero-description {
    font-size: 1.05rem;
    margin-bottom: 1.8rem;
  }

  .about-card-badge {
    padding: 2rem 1.25rem;
  }

  .contact-form-wrapper {
    padding: 1.6rem 1.1rem;
  }

  .contact-item {
    padding: 1rem 1.2rem;
    gap: 1rem;
  }

  .contact-item-icon {
    width: 46px;
    height: 46px;
    font-size: 1.2rem;
  }

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

  .hero-actions {
    flex-direction: column;
    width: 100%;
  }

  .hero-actions .btn {
    width: 100%;
  }

  .clients-slider-container::before,
  .clients-slider-container::after {
    width: 40px;
  }

  .footer-social-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 1rem;
  }

  .footer-social-links {
    justify-content: center;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
    gap: 0.8rem;
  }

  .footer-links {
    justify-content: center;
  }
}

/* ==============================================================================
   BOTÓN FLOTANTE DE WHATSAPP (CONFIGURABLE)
   ============================================================================== */
.whatsapp-float-wrapper {
  position: fixed;
  bottom: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.whatsapp-float-wrapper.pos-right {
  right: 28px;
  left: auto;
  flex-direction: row-reverse;
}

.whatsapp-float-wrapper.pos-left {
  left: 28px;
  right: auto;
  flex-direction: row;
}

.whatsapp-float {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  transition: all var(--transition-fast);
  cursor: pointer;
  text-decoration: none;
}

/* Estado Online */
.whatsapp-float.online {
  background-color: #25D366;
  color: #FFFFFF;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.45);
  animation: whatsapp-pulse 2.5s infinite;
}

.whatsapp-float.online:hover {
  background-color: #128C7E;
  color: #FFFFFF;
  transform: scale(1.1);
  box-shadow: 0 6px 24px rgba(18, 140, 126, 0.6);
}

/* Estado Offline */
.whatsapp-float.offline {
  background-color: #475569;
  color: #E2E8F0;
  box-shadow: 0 4px 14px rgba(71, 85, 105, 0.4);
}

.whatsapp-float.offline:hover {
  background-color: #334155;
  color: #FFFFFF;
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(51, 65, 85, 0.6);
}

.whatsapp-badge {
  background-color: var(--color-primary-dark);
  color: #FFFFFF;
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 0.5rem 0.9rem;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(249, 176, 0, 0.3);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.95;
  transition: opacity var(--transition-fast);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.whatsapp-badge.online::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #25D366;
  border-radius: 50%;
  box-shadow: 0 0 6px #25D366;
}

.whatsapp-badge.offline::after {
  content: '';
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #F59E0B;
  border-radius: 50%;
  box-shadow: 0 0 6px #F59E0B;
}

@keyframes whatsapp-pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
  }

  70% {
    box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
  }

  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
  }
}

@media (max-width: 600px) {
  .whatsapp-float-wrapper.pos-right {
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-float-wrapper.pos-left {
    bottom: 20px;
    left: 20px;
  }

  .whatsapp-float {
    width: 52px;
    height: 52px;
    font-size: 1.8rem;
  }

  .whatsapp-badge {
    display: none;
  }
}

/* ==============================================================================
   SECCIÓN SLIDESHOW DINÁMICO DE CLIENTES Y MARCAS
   ============================================================================== */
.clients-section {
  padding: 4.5rem 0 5rem 0;
  background-color: transparent;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  overflow: hidden;
}

.clients-slider-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  margin-top: 2rem;
  padding: 1.5rem 0;
}

.clients-slider-container::before,
.clients-slider-container::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.clients-slider-container::before {
  left: 0;
  background: linear-gradient(to right, var(--color-surface) 0%, rgba(255, 255, 255, 0) 100%);
}

.clients-slider-container::after {
  right: 0;
  background: linear-gradient(to left, var(--color-surface) 0%, rgba(255, 255, 255, 0) 100%);
}

.clients-ticker-track {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: clients-ticker 25s linear infinite;
  align-items: center;
}

.clients-slider-container:hover .clients-ticker-track {
  animation-play-state: paused;
}

.client-logo-card {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1.25rem 1.5rem;
  background: #F8FAFC;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition-fast);
  width: 230px;
  height: 148px;
}

.client-logo-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-secondary);
  box-shadow: 0 10px 24px rgba(249, 176, 0, 0.25);
  background: #FFFFFF;
}

.client-logo-wrapper {
  height: 70px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-logo-img {
  max-height: 66px;
  max-width: 175px;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.85);
  transition: all var(--transition-fast);
}

.client-logo-card:hover .client-logo-img {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.06);
}

.client-name-label {
  font-family: var(--font-title);
  font-style: italic;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 195px;
  line-height: 1.25;
}

@keyframes clients-ticker {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-33.333%);
  }
}

/* ==========================================================================
   PÁGINA DE DETALLE DE SERVICIO (servicio.php)
   ========================================================================== */
.breadcrumbs-bar {
  background: #F1F5F9;
  padding: 0.85rem 0;
  border-bottom: 1px solid #E2E8F0;
  font-size: 0.88rem;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.breadcrumbs-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #64748B;
}

.breadcrumbs-list a {
  color: var(--color-primary);
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast);
}

.breadcrumbs-list a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

.breadcrumbs-separator {
  color: #94A3B8;
  font-size: 0.75rem;
}

.breadcrumbs-current {
  color: #0F172A;
  font-weight: 600;
}

/* HERO DETALLE DE SERVICIO */
.service-detail-hero {
  background: linear-gradient(135deg, #1E1E1E 0%, #0F172A 100%);
  color: #FFFFFF;
  padding: 3.5rem 0;
  position: relative;
  overflow: hidden;
  border-bottom: 4px solid var(--color-secondary);
}

.service-detail-hero::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(249, 176, 0, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.service-hero-inner {
  display: flex;
  align-items: center;
  gap: 2.5rem;
  position: relative;
  z-index: 2;
}

.service-hero-icon-box {
  width: 90px;
  height: 90px;
  background: rgba(249, 176, 0, 0.15);
  border: 2px solid var(--color-secondary);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.75rem;
  color: var(--color-secondary);
  flex-shrink: 0;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.service-hero-content {
  flex-grow: 1;
}

.service-hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(249, 176, 0, 0.2);
  color: var(--color-secondary);
  padding: 0.3rem 0.85rem;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.service-hero-title {
  font-size: 2.5rem;
  color: #FFFFFF;
  margin-bottom: 0.75rem;
  line-height: 1.2;
}

.service-hero-subtitle {
  font-size: 1.15rem;
  color: #CBD5E1;
  max-width: 800px;
  line-height: 1.6;
}

/* CUERPO DEL DETALLE (LAYOUT DE 2 COLUMNAS) */
.service-detail-section {
  padding: 4rem 0;
  background: #F8FAFC;
}

.service-detail-grid {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 3rem;
  align-items: start;
}

.service-detail-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid #E2E8F0;
  margin-bottom: 2rem;
}

.service-detail-card h2 {
  font-size: 1.75rem;
  color: var(--color-primary);
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.service-detail-card h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 50px;
  height: 3px;
  background: var(--color-secondary);
  border-radius: 2px;
}

.service-detail-card p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: #475569;
  margin-bottom: 1.5rem;
}

/* CARDS DE VENTAJAS TÉCNICAS */
.service-benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 220px), 1fr));
  gap: 1.25rem;
  margin-top: 2rem;
}

.benefit-card {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--radius-sm);
  padding: 1.5rem;
  transition: all var(--transition-fast);
}

.benefit-card:hover {
  background: #FFFFFF;
  border-color: var(--color-secondary);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.benefit-icon {
  font-size: 1.5rem;
  color: var(--color-secondary);
  margin-bottom: 0.75rem;
}

.benefit-card h4 {
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 0.4rem;
}

.benefit-card p {
  font-size: 0.9rem;
  color: #64748B;
  margin: 0;
  line-height: 1.5;
}

/* SIDEBAR STICKY */
.service-detail-sidebar {
  position: sticky;
  top: 90px;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.sidebar-quote-box {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--color-secondary);
  border: 1px solid #E2E8F0;
  border-top-color: var(--color-secondary);
}

.sidebar-quote-box h3 {
  font-size: 1.3rem;
  color: var(--color-primary);
  margin-bottom: 0.75rem;
}

.sidebar-quote-box p {
  font-size: 0.92rem;
  color: #64748B;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}

.sidebar-btn-wa {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: #25D366;
  color: #FFFFFF;
  font-weight: 700;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
  margin-bottom: 0.75rem;
  width: 100%;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.25);
}

.sidebar-btn-wa:hover {
  background: #1EBE5D;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(37, 211, 102, 0.35);
}

.sidebar-btn-quote {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  background: var(--color-primary);
  color: #FFFFFF;
  font-weight: 700;
  padding: 0.85rem 1.25rem;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: all var(--transition-fast);
  width: 100%;
}

.sidebar-btn-quote:hover {
  background: var(--color-primary-dark);
  color: var(--color-secondary);
  transform: translateY(-2px);
}

.sidebar-specs-card {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 1.75rem;
  border: 1px solid #E2E8F0;
  box-shadow: var(--shadow-sm);
}

.sidebar-specs-card h4 {
  font-size: 1.05rem;
  color: var(--color-primary);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sidebar-specs-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.sidebar-specs-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: #475569;
  padding: 0.55rem 0;
  border-bottom: 1px dashed #E2E8F0;
}

.sidebar-specs-list li:last-child {
  border-bottom: none;
}

.sidebar-specs-list li i {
  color: var(--color-secondary);
  margin-top: 3px;
}

/* SECCIÓN OTROS SERVICIOS */
.other-services-section {
  padding: 4rem 0;
  background: transparent;
  border-top: 1px solid #E2E8F0;
}

.other-services-title {
  text-align: center;
  margin-bottom: 2.5rem;
}

.other-services-title h3 {
  font-size: 1.85rem;
  color: var(--color-primary);
  margin-bottom: 0.5rem;
}

.other-services-title p {
  color: #64748B;
}

@media (max-width: 991px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail-sidebar {
    position: static;
  }

  .service-hero-inner {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .service-hero-title {
    font-size: 2rem;
  }

  .service-hero-subtitle {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .service-detail-card {
    padding: 1.5rem 1.1rem;
  }

  .service-hero-icon-box {
    width: 64px;
    height: 64px;
    font-size: 1.8rem;
  }

  .service-hero-title {
    font-size: 1.6rem;
  }

  .rental-fleet-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .rental-fleet-img-wrap {
    height: 190px;
  }

  .rental-fleet-body {
    padding: 1.25rem 1rem;
  }

  .sidebar-card {
    padding: 1.5rem 1.1rem;
  }
}

/* ==========================================================================
   COMPONENTES ESPECÍFICOS: PÁGINA INDIVIDUAL RENTAL (rental.php) - ESTILO OHIO CAT
   ========================================================================== */

/* Hero Minimalista */
.rental-hero-minimal {
  background: #FFFFFF;
  border-bottom: 1px solid #E2E8F0;
  padding: 3.5rem 0 2.5rem 0;
}

.rental-hero-content-minimal {
  max-width: 900px;
}

.rental-hero-eyebrow {
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #64748B;
  margin-bottom: 0.75rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.rental-eyebrow-accent {
  color: var(--color-primary-dark, #0F172A);
  background: var(--color-secondary, #F9B000);
  padding: 0.2rem 0.55rem;
  border-radius: 3px;
  font-weight: 900;
  letter-spacing: 1px;
}

.rental-eyebrow-sep {
  color: #CBD5E1;
}

.rental-hero-title-minimal {
  font-size: clamp(2.1rem, 4.5vw, 2.85rem);
  font-family: var(--font-title);
  font-weight: 900;
  color: #0F172A;
  margin-bottom: 0.75rem;
  line-height: 1.15;
  letter-spacing: -0.5px;
}

.rental-hero-lead {
  font-size: 1.08rem;
  color: #475569;
  line-height: 1.6;
  margin-bottom: 0;
}

/* Franja de Confianza / Trust Bar */
.rental-trust-bar {
  background: #F8FAFC;
  border-bottom: 1px solid #E2E8F0;
  padding: 1.25rem 0;
}

.rental-trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: center;
}

.rental-trust-item {
  display: flex;
  flex-direction: column;
  text-align: center;
  padding: 0.25rem 0.75rem;
}

.rental-trust-val {
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 1.25rem;
  color: #0F172A;
  letter-spacing: 0.2px;
}

.rental-trust-lbl {
  font-size: 0.82rem;
  color: #64748B;
  font-weight: 500;
  margin-top: 0.2rem;
  line-height: 1.35;
}

.rental-trust-divider {
  display: none;
}

/* Sección Catálogo de Flota */
.rental-catalog-section {
  padding: 3rem 0 4rem 0;
  background: transparent;
}

.rental-catalog-header {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1.25rem;
  margin-bottom: 1.75rem;
}

.rental-catalog-header-text h2 {
  font-size: 1.6rem;
  font-family: var(--font-title);
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.25rem;
}

.rental-catalog-header-text p {
  color: #64748B;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.rental-catalog-header .btn-outline {
  color: #0F172A;
  border-color: #CBD5E1;
  background: #FFFFFF;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.rental-catalog-header .btn-outline:hover {
  background: var(--color-secondary);
  border-color: var(--color-secondary);
  color: var(--color-primary-dark);
}

/* Barra de Filtros Minimalista (Estilo Ohio CAT) */
.rental-filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  align-items: center;
  margin-bottom: 2rem;
}

.rental-filter-label {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #64748B;
  margin-right: 0.5rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.rental-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.rental-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(249, 176, 0, 0.15);
  color: #B45309;
  border: 1px solid rgba(249, 176, 0, 0.35);
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.75rem;
  margin-bottom: 0.6rem;
}

/* Grilla de Grupos de Rental (Estilo Industrial Premium) */
.rental-groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

/* Tarjeta de Grupo de Equipos */
.rental-group-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.rental-group-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: background 0.3s ease;
}

.rental-group-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-secondary, #F9B000);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(249, 176, 0, 0.15);
}

.rental-group-card:hover::before {
  background: var(--color-secondary, #F9B000);
}

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

.rental-group-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #0F172A;
  color: var(--color-secondary, #F9B000);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.rental-group-card:hover .rental-group-icon-circle {
  transform: scale(1.08) rotate(3deg);
  background: var(--color-secondary, #F9B000);
  color: #0F172A;
}

.rental-group-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748B;
  background: #F1F5F9;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
}

.rental-group-card-body {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.rental-group-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 0.6rem 0;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.rental-group-card:hover .rental-group-card-title {
  color: #B45309;
}

.rental-group-card-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #64748B;
  margin: 0;
}

.rental-group-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.15rem;
  border-top: 1px solid #F1F5F9;
}

.rental-group-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rental-group-count i {
  color: var(--color-secondary, #F9B000);
}

.rental-group-btn-explore {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #0F172A;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.rental-group-card:hover .rental-group-btn-explore {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

.rental-group-btn-explore i {
  transition: transform 0.2s ease;
}

.rental-group-card:hover .rental-group-btn-explore i {
  transform: translateX(3px);
  color: var(--color-secondary, #F9B000);
}

/* Barra superior en vista de equipos (Paso 2) */
.rental-items-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.1rem 1.5rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.03);
}

.rental-back-btn {
  background: #0F172A;
  color: #FFFFFF;
  border: none;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.6rem 1.15rem;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rental-back-btn:hover {
  background: var(--color-secondary, #F9B000);
  color: #0F172A;
  transform: translateX(-3px);
}

.rental-active-group-indicator {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.rental-active-group-indicator .indicator-icon {
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: rgba(249, 176, 0, 0.15);
  color: #B45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
}

.rental-active-group-indicator .indicator-text {
  display: flex;
  flex-direction: column;
}

.rental-active-group-indicator .indicator-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748B;
  letter-spacing: 0.06em;
}

.rental-active-group-indicator strong {
  font-size: 1.05rem;
  color: #0F172A;
}

.rental-items-lead {
  margin-bottom: 2rem;
}

.rental-items-lead p {
  color: #64748B;
  font-size: 0.95rem;
  margin: 0;
}

/* Grilla de Flota Amplia (3 Columnas Desktop) */
.rental-fleet-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.75rem;
  margin-bottom: 3.5rem;
}

/* Tarjeta de Producto Minimalista (Product Preview Card) */
.rental-fleet-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  cursor: pointer;
  position: relative;
}

.rental-fleet-card:hover {
  border-color: #CBD5E1;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.03);
  transform: translateY(-4px);
}

.rental-fleet-img-wrap {
  width: 100%;
  height: 220px;
  position: relative;
  background: #F8FAFC;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 1px solid #F1F5F9;
}

.rental-fleet-img-wrap img {
  width: 100%;
  height: 100%;
  aspect-ratio: 400 / 220;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.rental-fleet-card:hover .rental-fleet-img-wrap img {
  transform: scale(1.04);
}

/* Indicador flotante en Hover de la Imagen */
.rental-fleet-quickview-hint {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: rgba(15, 23, 42, 0.88);
  color: #FFFFFF;
  padding: 0.35rem 0.85rem;
  border-radius: 50px;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.4px;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 3;
}

.rental-fleet-quickview-hint i {
  color: var(--color-secondary, #F9B000);
}

.rental-fleet-card:hover .rental-fleet-quickview-hint {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Badges de Disponibilidad Sobrios (Puntos de Estado) */
.rental-fleet-badge-disp {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: 1px solid #E2E8F0;
  padding: 0.25rem 0.65rem;
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #1E293B;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.rental-badge-disponible i {
  color: #16A34A;
  font-size: 0.65rem;
}

.rental-badge-alquilado i {
  color: #D97706;
  font-size: 0.65rem;
}

.rental-badge-en_mantenimiento i {
  color: #0284C7;
  font-size: 0.65rem;
}

/* Cuerpo de Tarjeta */
.rental-fleet-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.rental-fleet-category-tag {
  display: block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #64748B;
  margin-bottom: 0.35rem;
}

.rental-fleet-title {
  font-size: 1.25rem;
  font-family: var(--font-title);
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.4rem;
  line-height: 1.3;
}

.rental-fleet-detail {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.rental-fleet-detail--summary {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 2.6rem;
}

/* Especificaciones Resumidas en Tarjeta */
.rental-fleet-quick-specs {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-bottom: 0.75rem;
}

.rental-quick-spec-pill {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 0.35rem 0.65rem;
  font-size: 0.82rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.35;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: background 0.2s ease, border-color 0.2s ease;
}

.rental-quick-spec-pill i {
  color: #16A34A;
  font-size: 0.68rem;
  flex-shrink: 0;
}

.rental-fleet-card:hover .rental-quick-spec-pill {
  background: #F1F5F9;
  border-color: #CBD5E1;
}

/* Botón Ver Ficha Completa en Tarjeta */
.rental-fleet-view-more {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--color-primary, #0F172A);
  background: #F1F5F9;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  margin-bottom: 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1px solid transparent;
}

.rental-fleet-view-more:hover {
  background: var(--color-secondary, #F9B000);
  color: #0F172A;
  border-color: #D97706;
  transform: translateX(2px);
}

.rental-fleet-view-more span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}

.rental-fleet-view-more span i {
  color: var(--color-secondary, #F9B000);
  transition: color 0.2s ease;
}

.rental-fleet-view-more:hover span i {
  color: #0F172A;
}

/* Título de Ficha Técnica Minimalista */
.rental-specs-section-title {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #94A3B8;
  letter-spacing: 0.6px;
  margin-top: 0.25rem;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Lista de Especificaciones Limpia */
.rental-fleet-specs {
  list-style: none;
  padding: 0;
  margin: 0 0 1rem 0;
  border-top: 1px solid #F1F5F9;
  border-bottom: 1px solid #F1F5F9;
  padding: 0.6rem 0;
}

.rental-fleet-specs li {
  font-size: 0.85rem;
  color: #334155;
  padding: 0.25rem 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.4;
}

.rental-fleet-specs li i {
  color: var(--color-secondary, #F9B000);
  font-size: 0.68rem;
  flex-shrink: 0;
}

/* Nota de Condiciones Sutil */
.rental-conditions-box {
  background: #F8FAFC;
  border-left: 3px solid #CBD5E1;
  border-radius: 4px;
  padding: 0.5rem 0.75rem;
  margin-bottom: 1.25rem;
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  font-size: 0.82rem;
  color: #475569;
  line-height: 1.4;
}

.rental-conditions-box i {
  color: #64748B;
  font-size: 0.9rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.rental-conditions-content strong {
  display: inline;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  color: #334155;
  margin-right: 0.25rem;
}

.rental-conditions-content p {
  display: inline;
  font-size: 0.82rem;
  color: #64748B;
  margin: 0;
}

/* Botones de Acción Estilo Ohio CAT */
.rental-fleet-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  align-items: stretch;
}

.rental-fleet-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid #0F172A;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.88rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s ease;
}

.rental-fleet-btn:hover {
  background: var(--color-secondary, #F9B000);
  color: #0F172A;
  border-color: var(--color-secondary, #F9B000);
  box-shadow: 0 4px 12px rgba(249, 176, 0, 0.3);
}

.rental-fleet-btn--detail {
  background: #F8FAFC;
  color: #334155;
  border: 1px solid #CBD5E1;
  font-size: 0.82rem;
  padding: 0.75rem 0.85rem;
  flex: 0 0 auto;
}

.rental-fleet-btn--detail:hover {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.2);
}

.rental-fleet-btn--quote {
  flex: 1;
}

.rental-specs-more-hint {
  color: #64748B !important;
  font-size: 0.8rem !important;
  font-weight: 600;
  cursor: pointer;
  transition: color 0.2s ease;
}

.rental-specs-more-hint:hover {
  color: #0F172A !important;
}

.rental-specs-more-hint i {
  color: var(--color-secondary, #F9B000) !important;
}

.rental-fleet-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 0.9rem;
  background: #F1F5F9;
  color: #16A34A;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  font-size: 1.15rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.rental-fleet-btn-wa:hover {
  background: #16A34A;
  color: #FFFFFF;
  border-color: #16A34A;
  box-shadow: 0 4px 12px rgba(22, 163, 74, 0.25);
}

/* Banner de Cotización Rápida / Obra Específica */
.rental-cta-banner {
  background: #0F172A;
  border-radius: 8px;
  padding: 2.75rem 3rem;
  color: #FFFFFF;
  margin: 3.5rem 0 2rem 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.rental-cta-banner-text h3 {
  font-size: 1.75rem;
  font-family: var(--font-title);
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 0.5rem;
}

.rental-cta-banner-text p {
  color: #94A3B8;
  font-size: 1rem;
  max-width: 650px;
  margin-bottom: 0;
  line-height: 1.5;
}

.rental-cta-banner-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.rental-cta-banner .btn-primary {
  background: var(--color-secondary, #F9B000);
  color: #0F172A;
  font-weight: 800;
  border: none;
  padding: 0.85rem 1.4rem;
  border-radius: 6px;
}

.rental-cta-banner .btn-primary:hover {
  background: #E09E00;
}

.rental-cta-banner .btn-outline {
  border: 1px solid #475569;
  color: #FFFFFF;
  background: transparent;
  padding: 0.85rem 1.4rem;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.rental-cta-banner .btn-outline:hover {
  border-color: #FFFFFF;
  background: rgba(255, 255, 255, 0.08);
}

/* Modalidades de Contratación Minimalistas */
.rental-modalities-section {
  padding: 4rem 0;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
}

.rental-modalities-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 2.5rem auto;
}

.rental-modalities-header h3 {
  font-size: 1.85rem;
  font-family: var(--font-title);
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.5rem;
}

.rental-modalities-header p {
  color: #64748B;
  font-size: 0.95rem;
  margin-bottom: 0;
}

.rental-modalities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 1.5rem;
}

.rental-modality-card {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 1.75rem;
  position: relative;
  transition: all 0.2s ease;
  display: flex;
  flex-direction: column;
}

.rental-modality-card:hover {
  border-color: #CBD5E1;
  transform: translateY(-3px);
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.06);
}

.rental-modality-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #F1F5F9;
  color: #475569;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  margin-bottom: 0.85rem;
}

.rental-modality-card h4 {
  font-size: 1.15rem;
  font-family: var(--font-title);
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.65rem;
  line-height: 1.3;
}

.rental-modality-card p {
  font-size: 0.88rem;
  color: #64748B;
  line-height: 1.55;
  margin-bottom: 0;
}

/* Franja de Información Operativa Minimalista */
.rental-ops-section {
  padding: 2.5rem 0 3.5rem 0;
  background: #F8FAFC;
  border-top: 1px solid #E2E8F0;
}

.rental-ops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.rental-ops-item {
  background: #FFFFFF;
  border: 1px solid #E5E7EB;
  border-radius: 8px;
  padding: 1.25rem 1.5rem;
  display: flex;
  gap: 1rem;
  align-items: flex-start;
}

.rental-ops-icon {
  width: 40px;
  height: 40px;
  background: #F1F5F9;
  color: var(--color-primary, #0F172A);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.rental-ops-text strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.4px;
  color: #94A3B8;
  margin-bottom: 0.2rem;
}

.rental-ops-text div {
  font-size: 0.92rem;
  font-weight: 600;
  color: #1E293B;
  line-height: 1.4;
}

/* Responsividad Estilo Ohio CAT */
@media (max-width: 991px) {
  .rental-trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .rental-cta-banner {
    padding: 2rem;
    flex-direction: column;
    text-align: center;
    align-items: center;
  }

  .rental-cta-banner-actions {
    justify-content: center;
  }
}

@media (max-width: 640px) {
  .rental-trust-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .rental-fleet-grid {
    grid-template-columns: 1fr;
  }

  .rental-hero-minimal {
    padding: 2.5rem 0 2rem 0;
  }
}

/* ==============================================================================
   MODAL DE DETALLE Y FICHA TÉCNICA DE EQUIPO RENTAL (ESTILO OHIO CAT)
   ============================================================================== */
.rental-detail-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.82);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99998;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.rental-detail-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.rental-detail-dialog {
  background: #FFFFFF;
  border-radius: 14px;
  width: 100%;
  max-width: 980px;
  max-height: 90vh;
  position: relative;
  box-shadow: 0 25px 60px -15px rgba(15, 23, 42, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transform: translateY(24px) scale(0.96);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rental-detail-backdrop.is-active .rental-detail-dialog {
  transform: translateY(0) scale(1);
}

.rental-detail-close {
  position: absolute;
  top: 1rem;
  right: 1.25rem;
  background: #F1F5F9;
  border: 1px solid #E2E8F0;
  color: #475569;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.35rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  z-index: 10;
}

.rental-detail-close:hover {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
  transform: rotate(90deg);
}

.rental-detail-grid-layout {
  display: grid;
  grid-template-columns: 400px 1fr;
  max-height: 90vh;
  overflow-y: auto;
}

/* Columna Izquierda: Media & Contact */
.rental-detail-col-media {
  background: #F8FAFC;
  border-right: 1px solid #E2E8F0;
  padding: 2.25rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.rental-detail-img-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  background: #0F172A;
  border: 1px solid #E2E8F0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.rental-detail-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Strip de Garantías en Modal */
.rental-detail-guarantees {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #FFFFFF;
  padding: 1rem 1.15rem;
  border-radius: 8px;
  border: 1px solid #E2E8F0;
}

.rental-detail-guarantee-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
}

.rental-detail-guarantee-item i {
  color: var(--color-secondary, #F9B000);
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.rental-detail-guarantee-item strong {
  display: block;
  font-size: 0.85rem;
  color: #0F172A;
  line-height: 1.25;
}

.rental-detail-guarantee-item span {
  display: block;
  font-size: 0.78rem;
  color: #64748B;
  line-height: 1.35;
}

/* Acciones en Columna Media */
.rental-detail-media-actions {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: auto;
}

.rental-detail-btn-quote {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.4px;
  text-transform: uppercase;
  background: var(--color-secondary, #F9B000);
  color: #0F172A;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 12px rgba(249, 176, 0, 0.25);
}

.rental-detail-btn-quote:hover {
  background: #E09E00;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(249, 176, 0, 0.35);
}

.rental-detail-btn-wa {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.25rem;
  font-size: 0.92rem;
  font-weight: 700;
  border-radius: 6px;
  background: #22C55E;
  color: #FFFFFF;
  border: 1px solid #16A34A;
  text-decoration: none;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.rental-detail-btn-wa:hover {
  background: #16A34A;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.3);
  transform: translateY(-1px);
}

/* Columna Derecha: Specs & Info */
.rental-detail-col-info {
  padding: 2.25rem 2.25rem 2.25rem 2rem;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.rental-detail-eyebrow {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  color: #64748B;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-bottom: 0.35rem;
}

.rental-detail-title {
  font-size: 1.75rem;
  font-family: var(--font-title);
  font-weight: 900;
  color: #0F172A;
  line-height: 1.2;
  margin: 0;
  padding-right: 2rem;
}

.rental-detail-lead-text {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.6;
  margin: 0;
}

.rental-detail-section {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.rental-detail-section-heading {
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: #0F172A;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  padding-bottom: 0.4rem;
  border-bottom: 1.5px solid #F1F5F9;
}

.rental-detail-section-heading i {
  color: var(--color-secondary, #F9B000);
}

/* Grilla de Ficha Técnica */
.rental-detail-specs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 0.5rem;
}

.rental-detail-spec-pill {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 0.5rem 0.75rem;
  font-size: 0.85rem;
  color: #1E293B;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  line-height: 1.35;
}

.rental-detail-spec-pill i {
  color: #16A34A;
  font-size: 0.72rem;
  flex-shrink: 0;
}

/* Caja de Condiciones en Modal */
.rental-detail-conditions-box {
  background: #FFFBEB;
  border: 1px solid #FEF3C7;
  border-left: 3px solid var(--color-secondary, #F9B000);
  border-radius: 6px;
  padding: 0.85rem 1rem;
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.rental-detail-conditions-box i {
  color: #D97706;
  font-size: 1rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.rental-detail-conditions-box p {
  font-size: 0.86rem;
  color: #92400E;
  margin: 0;
  line-height: 1.5;
}

/* Modalidades en Modal */
.rental-detail-modalities-box {
  background: #F1F5F9;
  border-radius: 8px;
  padding: 0.85rem 1.15rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.rental-detail-modalities-box strong {
  font-size: 0.82rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.rental-detail-modalities-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.rental-detail-tag {
  background: #FFFFFF;
  border: 1px solid #CBD5E1;
  border-radius: 50px;
  padding: 0.25rem 0.65rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: #475569;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.rental-detail-tag i {
  color: #16A34A;
  font-size: 0.65rem;
}

/* Responsividad para el Modal de Detalle */
@media (max-width: 860px) {
  .rental-detail-grid-layout {
    grid-template-columns: 1fr;
  }

  .rental-detail-col-media {
    border-right: none;
    border-bottom: 1px solid #E2E8F0;
    padding: 1.75rem 1.5rem;
  }

  .rental-detail-col-info {
    padding: 1.75rem 1.5rem;
  }

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

/* Animación de Entrada */
@keyframes fadeInCard {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ==============================================================================
   ESTILOS: FORMULARIO MODAL DE COTIZACIÓN DE RENTAL (CYF SERVICIOS)
   ============================================================================== */
.rental-modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.rental-modal-backdrop.is-active {
  opacity: 1;
  visibility: visible;
}

.rental-modal-dialog {
  background: #FFFFFF;
  border-radius: 12px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.35), 0 0 0 1px rgba(255, 255, 255, 0.1);
  overflow: hidden;
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.rental-modal-backdrop.is-active .rental-modal-dialog {
  transform: translateY(0) scale(1);
}

/* Header del Modal */
.rental-modal-header {
  background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
  color: #FFFFFF;
  padding: 1.5rem 1.75rem;
  position: relative;
  border-bottom: 3px solid var(--color-secondary, #F9B000);
}

.rental-modal-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: rgba(249, 176, 0, 0.2);
  color: var(--color-secondary, #F9B000);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.rental-modal-title {
  margin: 0;
  font-size: 1.45rem;
  color: #FFFFFF;
  font-family: var(--font-title, sans-serif);
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.rental-modal-desc {
  color: #CBD5E1;
  font-size: 0.88rem;
  margin: 0.35rem 0 0 0;
  line-height: 1.45;
}

.rental-modal-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.1);
  border: none;
  color: #FFFFFF;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.35rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.rental-modal-close:hover {
  background: var(--color-secondary, #F9B000);
  color: #0F172A;
  transform: rotate(90deg);
}

/* Cuerpo con Scroll */
.rental-modal-body {
  padding: 1.75rem;
  overflow-y: auto;
  background: #FFFFFF;
}

/* Grilla del Formulario Modal */
.rental-modal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

@media (max-width: 640px) {
  .rental-modal-grid {
    grid-template-columns: 1fr;
  }
}

.rental-modal-form-group {
  display: flex;
  flex-direction: column;
}

.rental-modal-form-group.full-width {
  grid-column: 1 / -1;
}

.rental-modal-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 4px;
}

.rental-modal-label span.req {
  color: #DC2626;
}

.rental-modal-input,
.rental-modal-select,
.rental-modal-textarea {
  width: 100%;
  padding: 0.65rem 0.85rem;
  font-size: 0.92rem;
  font-family: inherit;
  color: #1E293B;
  background: #F8FAFC;
  border: 1.5px solid #CBD5E1;
  border-radius: 6px;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.rental-modal-input:focus,
.rental-modal-select:focus,
.rental-modal-textarea:focus {
  outline: none;
  background: #FFFFFF;
  border-color: var(--color-secondary, #F9B000);
  box-shadow: 0 0 0 3px rgba(249, 176, 0, 0.2);
}

.rental-modal-textarea {
  resize: vertical;
  min-height: 85px;
}

/* Checkbox de Enviar Copia en Modales (Rental y Repuestos) */
.rental-check-group {
  margin-top: 0.4rem;
  margin-bottom: 0.25rem;
}

.rental-check-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  cursor: pointer;
  user-select: none;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  color: #334155;
  transition: color 0.15s ease;
}

.rental-check-label:hover {
  color: #0F172A;
}

.rental-check-input {
  width: 18px;
  height: 18px;
  cursor: pointer;
  accent-color: var(--color-secondary, #F9B000);
  border-radius: 4px;
  transition: transform 0.15s ease;
  flex-shrink: 0;
}

.rental-check-input:hover {
  transform: scale(1.08);
}

.rental-check-input:focus-visible {
  outline: 2px solid var(--color-secondary, #F9B000);
  outline-offset: 2px;
}

/* Alertas de respuesta */
.rental-modal-alert {
  padding: 0.85rem 1rem;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  line-height: 1.4;
}

.rental-modal-alert.success {
  background: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.rental-modal-alert.error {
  background: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

/* Botones de acción en tarjetas de flota */
.rental-fleet-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  flex-wrap: wrap;
}

.rental-fleet-actions .rental-fleet-btn {
  flex: 1;
  min-width: 150px;
}

.rental-fleet-btn-wa {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 1rem;
  background: #22C55E;
  color: #FFFFFF;
  border: 1px solid #16A34A;
  border-radius: var(--radius-sm, 4px);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all var(--transition-fast, 0.2s);
}

.rental-fleet-btn-wa:hover {
  background: #16A34A;
  color: #FFFFFF;
  box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4);
  transform: translateY(-1px);
}

/* ==============================================================================
   FOOTER COMPACTO REORGANIZADO
   ============================================================================== */
.site-footer {
  background: #0B1120;
  color: #94A3B8;
  padding: 1.75rem 0 1.25rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.9rem;
}

.rental-footer-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1.25rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.rental-footer-brand {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.rental-footer-logo {
  height: 34px;
  width: auto;
  object-fit: contain;
  display: block;
  background: rgba(255, 255, 255, 0.92);
  padding: 3px 8px;
  border-radius: 4px;
}

.rental-footer-tagline {
  font-size: 0.82rem;
  color: #64748B;
  font-weight: 600;
  letter-spacing: 0.3px;
  border-left: 1px solid rgba(255, 255, 255, 0.15);
  padding-left: 0.85rem;
}

.rental-footer-nav {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.rental-footer-nav a {
  color: #CBD5E1;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 600;
  transition: color var(--transition-fast, 0.2s);
}

.rental-footer-nav a:hover {
  color: var(--color-secondary, #F9B000);
}

.rental-footer-contact-bar {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 1.75rem;
  padding: 0.85rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rental-footer-contact-item {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  color: #94A3B8;
  font-size: 0.84rem;
}

.rental-footer-contact-item i {
  color: var(--color-secondary, #F9B000);
  font-size: 0.85rem;
}

.rental-footer-contact-item a {
  color: #E2E8F0;
  text-decoration: none;
  font-weight: 500;
  transition: color var(--transition-fast, 0.2s);
}

.rental-footer-contact-item a:hover {
  color: var(--color-secondary, #F9B000);
}

@media (max-width: 768px) {
  .rental-footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .rental-footer-contact-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
}

/* ==========================================================================
   ESTILOS DEDICADOS: PÁGINA DE REPUESTOS & COMPONENTES (C&F SERVICIOS)
   ========================================================================== */

.repuestos-hero {
  background: linear-gradient(135deg, #0A0F1D 0%, #0F172A 50%, #1E293B 100%);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
}

.repuestos-hero .rental-hero-title-minimal {
  color: #FFFFFF;
}

.repuestos-hero .rental-hero-lead {
  color: #E2E8F0;
}

.repuestos-hero .rental-hero-eyebrow {
  color: #94A3B8;
}

.repuestos-hero .rental-eyebrow-sep {
  color: #64748B;
}

.repuestos-section {
  padding: 3.5rem 0 4.5rem 0;
  background: transparent;
}

/* Grilla de Categorías: 4 elementos por fila en Desktop */
.repuestos-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

/* Tarjeta de Categoría */
.repuestos-card {
  position: relative;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  min-height: 300px;
  padding: 1.35rem;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    box-shadow 0.35s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.25s ease;
  cursor: pointer;
  outline: none;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

.repuestos-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  border-color: #CBD5E1;
}

.repuestos-card:hover .repuestos-card-header,
.repuestos-card:hover .repuestos-card-body,
.repuestos-card.is-active .repuestos-card-header,
.repuestos-card.is-active .repuestos-card-body {
  opacity: 0;
  pointer-events: none;
}

.repuestos-card:focus,
.repuestos-card:active,
.repuestos-card:focus-within {
  outline: none !important;
}

/* Cabecera de la Tarjeta */
.repuestos-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
  transition: opacity 0.2s ease;
}

.repuestos-icon-circle {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: #0F172A;
  color: var(--color-secondary, #F9B000);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.18);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    background-color 0.3s ease,
    color 0.3s ease;
}

.repuestos-card:hover .repuestos-icon-circle {
  background: var(--color-secondary, #F9B000);
  color: #0F172A;
  transform: scale(1.08) rotate(3deg);
}

.repuestos-card-badge {
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  color: #475569;
  background: #F1F5F9;
  padding: 0.25rem 0.55rem;
  border-radius: 4px;
  border: 1px solid #E2E8F0;
}

/* Cuerpo de la Tarjeta */
.repuestos-card-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  transition: opacity 0.2s ease;
}

.repuestos-card-title {
  font-family: var(--font-title);
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 0.5rem 0;
  line-height: 1.25;
  transition: color 0.2s ease;
}

.repuestos-card:hover .repuestos-card-title {
  color: #0284C7;
}

.repuestos-card-hint {
  font-size: 0.8rem;
  color: #94A3B8;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.75rem;
}

/* Capa Descriptiva en Hover (Efecto Glassmorphism / Revelación Fluida) */
.repuestos-hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0F172A;
  background: linear-gradient(145deg, #090E1A 0%, #0F172A 55%, #162032 100%);
  border-radius: 12px;
  color: #FFFFFF;
  padding: 1.35rem 1.35rem 4.8rem 1.35rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    visibility 0.25s;
  z-index: 10;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.08);
  pointer-events: none;
}

.repuestos-card:hover .repuestos-hover-overlay,
.repuestos-card.is-active .repuestos-hover-overlay {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.repuestos-hover-header {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-size: 1.1rem;
  font-weight: 700;
  color: #FFFFFF;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 0.65rem;
  line-height: 1.25;
}

.repuestos-hover-desc {
  font-size: 0.88rem;
  line-height: 1.5;
  color: #E2E8F0;
  margin: 0.85rem 0;
  flex: 1;
  overflow: visible;
}

.repuestos-hover-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.65rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  margin-top: auto;
}

.repuestos-hover-tag {
  font-size: 0.8rem;
  color: var(--color-secondary, #F9B000);
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Acciones de la Tarjeta */
.repuestos-card-actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  margin-top: auto;
  padding-top: 0.85rem;
  position: relative;
  z-index: 15;
}

.btn-repuestos-quote {
  flex: 1;
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid #0F172A;
  border-radius: 6px;
  padding: 0.6rem 0.9rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: all 0.2s ease;
}

.btn-repuestos-quote:hover {
  background: var(--color-secondary, #F9B000);
  border-color: var(--color-secondary, #F9B000);
  color: #0F172A;
}

.btn-repuestos-wa {
  width: 40px;
  height: 40px;
  background: #25D366;
  color: #FFFFFF;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  text-decoration: none;
  transition: transform 0.2s ease, background-color 0.2s ease;
  flex-shrink: 0;
}

.btn-repuestos-wa:hover {
  background: #1EBE5B;
  transform: scale(1.06);
  color: #FFFFFF;
}

/* Banner de Solicitud Genérica */
.repuestos-cta-banner {
  margin-top: 1.5rem;
  border-left: 4px solid var(--color-secondary, #F9B000);
}

.repuestos-banner-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  color: var(--color-secondary, #F9B000);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
}

/* Slider de Marcas de Repuestos */
.repuestos-brands-section {
  padding: 4.25rem 0 4.75rem 0;
  background: #FFFFFF;
  border-top: 1px solid #E2E8F0;
  border-bottom: 1px solid #E2E8F0;
}

/* ==============================================================================
   ESTRUCTURA JERÁRQUICA EN 2 PASOS PARA REPUESTOS (GRUPOS E ÍTEMS)
   ============================================================================== */
.repuestos-view-block {
  animation: fadeInRepuestos 0.35s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInRepuestos {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Grilla de Grupos de Repuestos (Paso 1) */
.repuestos-groups-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1.5rem;
  margin-bottom: 3.5rem;
}

/* Tarjeta de Grupo / Categoría de Repuestos */
.repuestos-group-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.75rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.04);
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.repuestos-group-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: transparent;
  transition: background 0.3s ease;
}

.repuestos-group-card:hover {
  transform: translateY(-5px);
  border-color: var(--color-secondary, #F9B000);
  box-shadow: 0 16px 32px -8px rgba(15, 23, 42, 0.12), 0 4px 12px -2px rgba(249, 176, 0, 0.15);
}

.repuestos-group-card:hover::before {
  background: var(--color-secondary, #F9B000);
}

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

.repuestos-group-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 12px;
  background: #0F172A;
  color: var(--color-secondary, #F9B000);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  transition: transform 0.3s ease, background 0.3s ease;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.15);
}

.repuestos-group-card:hover .repuestos-group-icon-circle {
  transform: scale(1.08) rotate(3deg);
  background: var(--color-secondary, #F9B000);
  color: #0F172A;
}

.repuestos-group-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #64748B;
  background: #F1F5F9;
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
}

.repuestos-group-card-body {
  flex-grow: 1;
  margin-bottom: 1.5rem;
}

.repuestos-group-card-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #0F172A;
  margin: 0 0 0.6rem 0;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.repuestos-group-card:hover .repuestos-group-card-title {
  color: #B45309;
}

.repuestos-group-card-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #64748B;
  margin: 0;
}

.repuestos-group-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1.15rem;
  border-top: 1px solid #F1F5F9;
}

.repuestos-group-count {
  font-size: 0.82rem;
  font-weight: 600;
  color: #64748B;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.repuestos-group-count i {
  color: var(--color-secondary, #F9B000);
}

.repuestos-group-btn-explore {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #0F172A;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 0.45rem 0.85rem;
  border-radius: 6px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.repuestos-group-card:hover .repuestos-group-btn-explore {
  background: #0F172A;
  color: #FFFFFF;
  border-color: #0F172A;
}

.repuestos-group-btn-explore i {
  transition: transform 0.2s ease;
}

.repuestos-group-card:hover .repuestos-group-btn-explore i {
  transform: translateX(3px);
  color: var(--color-secondary, #F9B000);
}

/* Grilla de Ítems / Componentes de Repuestos (Paso 2) */
.repuestos-items-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}

.repuestos-item-card {
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.repuestos-item-card:hover {
  transform: translateY(-4px);
  border-color: #CBD5E1;
  box-shadow: 0 12px 28px -6px rgba(0, 0, 0, 0.08), 0 4px 8px -2px rgba(0, 0, 0, 0.03);
}

.repuestos-item-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.repuestos-item-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: rgba(249, 176, 0, 0.15);
  color: #B45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  transition: background 0.25s ease, color 0.25s ease;
}

.repuestos-item-card:hover .repuestos-item-icon-box {
  background: var(--color-secondary, #F9B000);
  color: #0F172A;
}

.repuestos-item-oem-tag {
  font-size: 0.75rem;
  font-weight: 700;
  font-family: monospace;
  color: #0284C7;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  padding: 0.2rem 0.55rem;
  border-radius: 4px;
}

.repuestos-item-body {
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.repuestos-item-title {
  font-size: 1.15rem;
  font-family: var(--font-title);
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 0.5rem;
  line-height: 1.35;
}

.repuestos-item-lead {
  font-size: 0.88rem;
  color: #475569;
  line-height: 1.5;
  margin-bottom: 0.85rem;
}

.repuestos-item-specs {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.repuestos-item-specs li {
  font-size: 0.82rem;
  color: #334155;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  line-height: 1.4;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 6px;
  padding: 0.35rem 0.6rem;
}

.repuestos-item-specs li i {
  color: #16A34A;
  font-size: 0.72rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.repuestos-item-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
  align-items: stretch;
}

.repuestos-item-btn-quote {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid #0F172A;
  border-radius: 6px;
  padding: 0.55rem 0.85rem;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.repuestos-item-btn-quote:hover {
  background: var(--color-secondary, #F9B000);
  border-color: var(--color-secondary, #F9B000);
  color: #0F172A;
}

.repuestos-item-btn-wa {
  width: 40px;
  height: 40px;
  border-radius: 6px;
  background: #25D366;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.repuestos-item-btn-wa:hover {
  transform: scale(1.08);
  background: #128C7E;
  color: #FFFFFF;
}

/* ==============================================================================
   BARRA DE CONTROL Y HERRAMIENTAS DE LA GRILLA DE REPUESTOS
   ============================================================================== */
.repuestos-grid-control-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  padding: 0.85rem 1.15rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
  flex-wrap: wrap;
}

.repuestos-search-wrapper {
  position: relative;
  flex: 1 1 320px;
  max-width: 460px;
}

.repuestos-search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94A3B8;
  font-size: 0.95rem;
  pointer-events: none;
}

.repuestos-search-input {
  width: 100%;
  padding: 0.55rem 2.2rem 0.55rem 2.35rem;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  font-size: 0.88rem;
  font-family: inherit;
  color: #0F172A;
  background: #F8FAFC;
  transition: all 0.2s ease;
  outline: none;
}

.repuestos-search-input:focus {
  background: #FFFFFF;
  border-color: var(--color-secondary, #F9B000);
  box-shadow: 0 0 0 3px rgba(249, 176, 0, 0.15);
}

.repuestos-search-clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  color: #94A3B8;
  cursor: pointer;
  padding: 4px;
  font-size: 0.82rem;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background 0.15s ease;
}

.repuestos-search-clear-btn:hover {
  color: #0F172A;
  background: #E2E8F0;
}

.repuestos-control-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-wrap: wrap;
}

.repuestos-stats-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #475569;
  background: #F1F5F9;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  border: 1px solid #E2E8F0;
}

.repuestos-stats-badge i {
  color: var(--color-secondary, #F9B000);
}

.repuestos-page-size-wrap {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.82rem;
  font-weight: 600;
  color: #475569;
}

.repuestos-page-size-wrap i {
  color: #64748B;
}

.repuestos-page-size-select {
  padding: 0.42rem 0.65rem;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: #0F172A;
  background: #FFFFFF;
  cursor: pointer;
  outline: none;
  transition: border-color 0.2s ease;
}

.repuestos-page-size-select:focus {
  border-color: var(--color-secondary, #F9B000);
}

.repuestos-view-toggle {
  display: inline-flex;
  border: 1px solid #CBD5E1;
  border-radius: 6px;
  overflow: hidden;
  background: #F8FAFC;
}

.repuestos-view-toggle-btn {
  background: transparent;
  border: none;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  color: #64748B;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
}

.repuestos-view-toggle-btn.active {
  background: #0F172A;
  color: var(--color-secondary, #F9B000);
}

.repuestos-view-toggle-btn:not(.active):hover {
  background: #E2E8F0;
  color: #0F172A;
}

/* ==============================================================================
   GRILLA / TABLA ESTRUCTURADA DE COMPONENTES DE REPUESTOS
   ============================================================================== */
.repuestos-table-responsive {
  width: 100%;
  overflow-x: auto;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.05);
  margin-bottom: 2rem;
  -webkit-overflow-scrolling: touch;
}

.repuestos-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.repuestos-table thead tr {
  background: #0F172A;
  color: #FFFFFF;
}

.repuestos-table th {
  padding: 0.95rem 1.15rem;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #F8FAFC;
  border-bottom: 2px solid var(--color-secondary, #F9B000);
  white-space: nowrap;
}

.repuestos-table th i {
  color: var(--color-secondary, #F9B000);
  margin-right: 0.35rem;
}

.repuestos-table tbody tr {
  border-bottom: 1px solid #F1F5F9;
  transition: background-color 0.18s ease;
}

.repuestos-table tbody tr:last-child {
  border-bottom: none;
}

.repuestos-table tbody tr:hover {
  background-color: #F8FAFC;
}

.repuestos-table td {
  padding: 1rem 1.15rem;
  vertical-align: middle;
  font-size: 0.88rem;
  color: #334155;
}

/* Columna OEM */
.repuestos-oem-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #F0F9FF;
  border: 1px solid #BAE6FD;
  padding: 0.28rem 0.6rem;
  border-radius: 6px;
}

.repuestos-oem-pill .oem-code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0284C7;
  letter-spacing: 0.02em;
}

.btn-copy-code {
  background: transparent;
  border: none;
  color: #64748B;
  cursor: pointer;
  padding: 2px 4px;
  font-size: 0.85rem;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.15s ease, background 0.15s ease;
}

.btn-copy-code:hover {
  color: #0284C7;
  background: #E0F2FE;
}

.repuestos-oem-placeholder {
  font-family: monospace;
  font-size: 0.78rem;
  color: #94A3B8;
  background: #F1F5F9;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
}

/* Columna Componente */
.repuestos-row-item-info {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.repuestos-row-icon-box {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  background: rgba(249, 176, 0, 0.12);
  color: #B45309;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
  transition: transform 0.2s ease, background 0.2s ease;
}

.repuestos-table tbody tr:hover .repuestos-row-icon-box {
  background: var(--color-secondary, #F9B000);
  color: #0F172A;
  transform: scale(1.08);
}

.repuestos-row-title {
  margin: 0 0 0.25rem 0;
  font-size: 0.95rem;
  font-weight: 800;
  color: #0F172A;
  line-height: 1.3;
}

.repuestos-row-detail {
  margin: 0;
  font-size: 0.82rem;
  color: #64748B;
  line-height: 1.4;
}

/* Columna Especificaciones Técnicas (Chips) */
.repuestos-row-specs-chips {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.spec-chip {
  display: inline-flex;
  align-items: flex-start;
  gap: 0.4rem;
  font-size: 0.8rem;
  line-height: 1.35;
  color: #334155;
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 5px;
  padding: 0.25rem 0.55rem;
}

.spec-chip i {
  color: #16A34A;
  font-size: 0.72rem;
  margin-top: 2px;
  flex-shrink: 0;
}

/* Columna Estado */
.repuestos-row-badge-oem {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #15803D;
  background: #DCFCE7;
  border: 1px solid #BBF7D0;
  padding: 0.25rem 0.6rem;
  border-radius: 50px;
  white-space: nowrap;
}

/* Columna Acciones */
.repuestos-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  white-space: nowrap;
}

.btn-row-quote {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: #0F172A;
  color: #FFFFFF;
  border: 1px solid #0F172A;
  border-radius: 6px;
  padding: 0.45rem 0.85rem;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-row-quote:hover {
  background: var(--color-secondary, #F9B000);
  border-color: var(--color-secondary, #F9B000);
  color: #0F172A;
  transform: translateY(-1px);
}

.btn-row-wa {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  background: #25D366;
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
  flex-shrink: 0;
}

.btn-row-wa:hover {
  transform: scale(1.1);
  background: #128C7E;
  color: #FFFFFF;
}

/* ==============================================================================
   BARRA DE PAGINACIÓN ACCESIBLE
   ============================================================================== */
.repuestos-pagination-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.5rem;
  margin-bottom: 2.5rem;
  padding: 1rem 1.25rem;
  background: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 10px;
  flex-wrap: wrap;
}

.pagination-info {
  font-size: 0.85rem;
  color: #64748B;
}

.pagination-info strong {
  color: #0F172A;
}

.pagination-buttons {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.repuestos-page-btn {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  color: #0F172A;
  min-width: 36px;
  height: 36px;
  padding: 0 0.65rem;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  transition: all 0.2s ease;
}

.repuestos-page-btn:hover:not(.disabled):not(.active) {
  background: #E2E8F0;
  border-color: #CBD5E1;
}

.repuestos-page-btn.active {
  background: #0F172A;
  border-color: #0F172A;
  color: var(--color-secondary, #F9B000);
}

.repuestos-page-btn.disabled {
  opacity: 0.45;
  cursor: not-allowed;
  pointer-events: none;
}

.repuestos-page-ellipsis {
  padding: 0 0.3rem;
  color: #94A3B8;
  font-weight: 700;
}

/* Feedback de Sin Resultados */
.repuestos-empty-feedback {
  padding: 3.5rem 2rem;
  text-align: center;
  background: #FFFFFF;
  border: 1px dashed #CBD5E1;
  border-radius: 10px;
  margin-bottom: 2rem;
}

@media (max-width: 1100px) {
  .repuestos-groups-grid,
  .repuestos-items-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}

@media (max-width: 768px) {
  .repuestos-grid-control-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .repuestos-search-wrapper {
    max-width: 100%;
  }

  .repuestos-control-actions {
    justify-content: space-between;
  }

  .repuestos-pagination-nav {
    flex-direction: column;
    align-items: center;
    gap: 0.75rem;
  }
}

@media (max-width: 600px) {
  .repuestos-groups-grid,
  .repuestos-items-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}

/* ==============================================================================
   Botón Flotante Volver Arriba (Scroll to Top)
   ============================================================================== */
.scroll-to-top-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #0F172A;
  color: #F9B000;
  border: 2px solid #F9B000;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transform: translateY(15px);
  transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease, background 0.2s ease, color 0.2s ease;
}

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

.scroll-to-top-btn:hover {
  background: #F9B000;
  color: #0F172A;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(249, 176, 0, 0.4);
}

@media (max-width: 768px) {
  .scroll-to-top-btn {
    bottom: 80px; /* Evitar solapamiento con floating WhatsApp */
    right: 18px;
    width: 40px;
    height: 40px;
  }
}