/**
 * Renta Electric - Core Theme Stylesheet (Vanilla CSS)
 * Sistema de diseño de alto rendimiento sin constructores visuales.
 *
 * @version 2.0.0
 */

/* ==========================================================================
   0. Design Tokens & Root Variables
   ========================================================================== */
:root {
  --color-primary: #001e40;
  --color-primary-dark: #001e40;
  --color-primary-navy: #002855;
  --color-primary-blue: #004e8c;
  --color-primary-hover: #001530;
  --color-accent-yellow: #feb700;
  --color-accent-hover: #e5a500;
  --color-accent-text: #111827;
  --color-bg-light: #f8fafc;
  --color-bg-card: #ffffff;
  --color-bg-subtle: #f1f5f9;
  --color-text-main: #1e293b;
  --color-text-muted: #64748b;
  --color-text-light: #94a3b8;
  --color-text-white: #ffffff;
  --color-border: #e2e8f0;
  --color-border-dark: #cbd5e1;
  --color-success: #16a34a;
  --color-danger: #dc2626;
  --font-heading: 'Montserrat', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.08), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.04);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.04);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-full: 9999px;
  --container-max: 1240px;
  --header-height: 80px;
  --topbar-height: 38px;
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body {
  font-family: var(--font-body), 'Inter', sans-serif !important;
  color: var(--color-text-main);
  background-color: var(--color-bg-light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

ul, ol {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
  outline: none;
  border: none;
}

/* Contenedor estándar */
.site-container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 20px;
  padding-right: 20px;
}

/* ==========================================================================
   2. Tipografía & Botones
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-primary-dark);
  line-height: 1.25;
  font-weight: 700;
}

.highlight-yellow {
  color: var(--color-accent-yellow) !important;
}

.sub-heading-yellow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--color-accent-yellow);
  margin-bottom: 8px;
  position: relative;
  padding-left: 18px;
}
.sub-heading-yellow::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 3px;
  background-color: var(--color-accent-yellow);
  border-radius: 2px;
}

/* Botones */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  white-space: nowrap;
}

.btn-accent {
  background-color: var(--color-accent-yellow);
  color: var(--color-accent-text);
  box-shadow: 0 4px 14px rgba(254, 183, 0, 0.3);
}
.btn-accent:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(254, 183, 0, 0.4);
}

.btn-outline-white {
  background-color: rgba(255, 255, 255, 0.08);
  color: var(--color-text-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(4px);
}
.btn-outline-white:hover {
  background-color: rgba(255, 255, 255, 0.2);
  border-color: #fff;
  transform: translateY(-2px);
}

.btn-outline-primary {
  background-color: transparent;
  color: var(--color-primary-blue);
  border: 1.5px solid var(--color-primary-blue);
}
.btn-outline-primary:hover {
  background-color: var(--color-primary-blue);
  color: #fff;
}

.btn-sm {
  padding: 8px 16px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 15px 32px;
  font-size: 1.05rem;
}

.btn-pill {
  border-radius: var(--radius-full);
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   3. Topbar & Header
   ========================================================================== */
.site-topbar {
  background-color: #041021;
  color: #94a3b8;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: var(--topbar-height);
}
.topbar-left, .topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topbar-divider {
  color: rgba(255, 255, 255, 0.2);
}
.topbar-badge {
  background-color: rgba(254, 183, 0, 0.15);
  color: var(--color-accent-yellow);
  padding: 2px 8px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.75rem;
}
.topbar-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #25d366;
  font-weight: 600;
}

/* Header */
.site-header {
  background-color: #001e40 !important;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: var(--transition);
}
.site-header.scrolled {
  background-color: #001530 !important;
  backdrop-filter: blur(10px);
}
.header-inner,
.header-inner-fluid {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 82px;
  gap: 24px;
}
.header-inner-fluid {
  width: 100%;
  max-width: 100%;
  padding: 0 5vw; /* 5vw cada lado = 10% espacio total respecto a bordes */
  position: relative;
}
.site-branding .brand-logo {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
}

/* Buscador Header */
.header-search {
  flex: 1 1 380px;
  max-width: 560px;
  display: none;
  position: relative;
}
@media (min-width: 1100px) {
  .header-search {
    display: block;
  }
}
.search-input-wrapper {
  display: flex;
  align-items: center;
  background-color: #ffffff;
  border-radius: var(--radius-full);
  overflow: hidden;
  padding: 2px 4px 2px 14px;
  box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1);
}
.search-input-wrapper .search-field {
  flex: 1;
  background: transparent;
  color: #1e293b;
  font-size: 0.85rem;
}
.search-input-wrapper .search-submit {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background-color: var(--color-accent-yellow);
  color: #111;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition);
}
.search-input-wrapper .search-submit:hover {
  background-color: var(--color-accent-hover);
}

/* Navegación */
.main-navigation .nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
}
.main-navigation .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 10px 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}
.main-navigation .nav-link:hover,
.main-navigation .current-menu-item > .nav-link {
  color: var(--color-accent-yellow);
}

/* Dropdown & Mega Menú */
.main-navigation li {
  position: relative;
}
.main-navigation .sub-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: var(--color-primary-navy);
  min-width: 260px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
  padding: 12px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.main-navigation li:hover > .sub-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.main-navigation .sub-menu li a {
  display: block;
  padding: 8px 20px;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.85rem;
  font-weight: 500;
}
.main-navigation .sub-menu li a:hover {
  background-color: rgba(254, 183, 0, 0.1);
  color: var(--color-accent-yellow);
  padding-left: 24px;
}

/* Mega Menú Pantalla Completa / Amplio */
.main-navigation li.has-mega-menu {
  position: static !important;
}
.mega-menu-dropdown-wrapper {
  position: absolute;
  top: 100%;
  left: 5vw;
  right: 5vw;
  background-color: #001a38;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 14px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
  padding: 28px 32px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 9999;
}
.main-navigation li.has-mega-menu:hover .mega-menu-dropdown-wrapper {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}
.mega-menu-inner-grid {
  display: grid;
  grid-template-columns: 2.2fr 1.3fr 1.1fr;
  gap: 32px;
  align-items: start;
}
.mega-col-heading {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.6px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.mega-categories-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.mega-cat-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.mega-cat-list li a {
  display: flex;
  align-items: center;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.85rem;
  font-weight: 500;
  padding: 4px 0;
  transition: var(--transition);
}
.mega-cat-list li a:hover {
  color: var(--color-accent-yellow);
  transform: translateX(4px);
}
.mega-link-sale {
  color: var(--color-accent-yellow) !important;
  font-weight: 700 !important;
}

/* Marcas Grid */
.mega-brands-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.mega-brand-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 8px 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.82rem;
  font-weight: 600;
  text-align: center;
  transition: var(--transition);
}
.mega-brand-pill:hover {
  background-color: rgba(254, 183, 0, 0.15);
  border-color: var(--color-accent-yellow);
  color: var(--color-accent-yellow);
  transform: translateY(-2px);
}

/* Bodega San Miguel Pickup Card */
.mega-pickup-card {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.06), rgba(255, 255, 255, 0.02));
  border: 1px solid rgba(254, 183, 0, 0.25);
  border-radius: 10px;
  padding: 20px;
}
.pickup-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(40, 167, 69, 0.2);
  color: #4ade80;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  padding: 3px 8px;
  border-radius: 4px;
  margin-bottom: 10px;
}
.mega-pickup-card h5 {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.mega-pickup-card p {
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.82rem;
  line-height: 1.45;
  margin-bottom: 16px;
}
.pickup-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.pickup-wa-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  color: #25d366;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px;
  transition: var(--transition);
}
.pickup-wa-link:hover {
  color: #4ade80;
  text-decoration: underline;
}

/* Resultados del Buscador AJAX */
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background-color: #ffffff;
  border-radius: 12px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.25);
  border: 1px solid #e2e8f0;
  z-index: 10001;
  overflow: hidden;
  max-height: 480px;
  overflow-y: auto;
}
.search-results-list {
  display: flex;
  flex-direction: column;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  transition: background-color 0.15s ease;
}
.search-result-item:hover {
  background-color: #f8fafc;
}
.search-result-thumb {
  width: 48px;
  height: 48px;
  object-fit: contain;
  background-color: #f8fafc;
  border-radius: 6px;
  padding: 2px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.search-result-info {
  flex: 1;
  min-width: 0;
}
.search-result-title {
  font-size: 0.88rem;
  font-weight: 600;
  color: #0f172a;
  white-space: normal;
  line-height: 1.3;
  margin-bottom: 4px;
}
.search-result-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
}
.search-result-brand {
  font-weight: 700;
  color: #0284c7;
  text-transform: uppercase;
}
.search-result-badge {
  padding: 2px 6px;
  border-radius: 3px;
  font-weight: 600;
  font-size: 0.72rem;
}
.search-result-badge.badge-arriendo {
  background-color: #e0f2fe;
  color: #0369a1;
}
.search-result-badge.badge-venta {
  background-color: #fef3c7;
  color: #b45309;
}
.search-result-price {
  color: #64748b;
}
.search-result-arrow {
  color: #94a3b8;
  flex-shrink: 0;
}
.search-results-footer {
  display: block;
  padding: 10px 16px;
  background-color: #f8fafc;
  color: #001e40;
  font-size: 0.84rem;
  font-weight: 600;
  text-align: center;
  border-top: 1px solid #e2e8f0;
  text-decoration: none;
}
.search-results-footer:hover {
  background-color: #f1f5f9;
  color: var(--color-accent-text);
}
.search-results-empty {
  padding: 24px 16px;
  text-align: center;
}
.search-results-empty p {
  color: #64748b;
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.search-empty-wa-link {
  color: #16a34a;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
}
.search-empty-wa-link:hover {
  text-decoration: underline;
}

/* Acciones Header (Cotizador + CTA) */
.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* Botón de Presupuesto en Header */
.quote-header-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}
.quote-header-btn:hover {
  background-color: rgba(255, 255, 255, 0.15);
  border-color: var(--color-accent-yellow);
  color: var(--color-accent-yellow);
}
.quote-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
}
.quote-counter {
  position: absolute;
  top: -8px;
  right: -10px;
  background-color: var(--color-accent-yellow);
  color: #111;
  font-size: 0.7rem;
  font-weight: 700;
  min-width: 18px;
  height: 18px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
}
.quote-label-text {
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.82rem;
  text-transform: uppercase;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 5px;
}
.mobile-menu-toggle .bar {
  width: 24px;
  height: 2.5px;
  background-color: #fff;
  border-radius: 2px;
  transition: var(--transition);
}

/* ==========================================================================
   4. Hero Section (Subestación Eléctrica)
   ========================================================================== */
.hero-section {
  position: relative;
  min-height: 520px;
  background-image: url('https://hipotvlf.cl/wp-content/uploads/2021/04/home_developer3_slider_slide1_bg-1.jpg');
  background-size: cover;
  background-position: center center;
  display: flex;
  align-items: center;
  padding: 70px 0;
  color: #ffffff;
}
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(7, 25, 47, 0.94) 0%, rgba(7, 25, 47, 0.85) 50%, rgba(7, 25, 47, 0.6) 100%);
}
.hero-container {
  position: relative;
  z-index: 2;
}
.hero-content {
  max-width: 760px;
}
.hero-pill-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background-color: rgba(254, 183, 0, 0.15);
  color: var(--color-accent-yellow);
  border: 1px solid rgba(254, 183, 0, 0.3);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 20px;
}
.hero-title {
  font-size: 2.85rem;
  color: #ffffff;
  margin-bottom: 20px;
  line-height: 1.18;
}
.hero-subtitle {
  font-size: 1.15rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 35px;
  line-height: 1.6;
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   5. Las 3 Tarjetas Pilares (Arriendo, Venta, Servicios)
   ========================================================================== */
.section-featured-cards {
  margin-top: -60px;
  position: relative;
  z-index: 10;
  margin-bottom: 60px;
}
.three-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar-card {
  background-color: var(--color-bg-card);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--color-border);
  transition: var(--transition);
}
.pillar-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: var(--color-border-dark);
}
.pillar-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}
.pillar-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.pillar-icon.icon-blue {
  background-color: #e0f2fe;
  color: #0284c7;
}
.pillar-icon.icon-yellow {
  background-color: #fef3c7;
  color: #d97706;
}
.pillar-title {
  font-size: 1.35rem;
  color: var(--color-primary-dark);
  margin-bottom: 4px;
}
.pillar-desc {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  line-height: 1.45;
}
.pillar-img-wrap {
  width: 100%;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 15px 0 20px;
  background-color: #fafbfc;
  border-radius: var(--radius-md);
  padding: 12px;
}
.pillar-img-wrap img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}
.pillar-card:hover .pillar-img-wrap img {
  transform: scale(1.05);
}
.pillar-action .btn {
  width: 100%;
}

/* ==========================================================================
   6. Sección Categorías Populares (Equipos más buscados)
   ========================================================================== */
.section-categories {
  padding: 50px 0 60px;
}
.section-heading-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 30px;
}
.section-title {
  font-size: 2.1rem;
  color: var(--color-primary-dark);
}
.section-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  margin-top: 5px;
}
.view-all-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--color-primary-blue);
}
.view-all-link:hover {
  color: var(--color-primary-hover);
  transform: translateX(4px);
}

.categories-carousel-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
}
.cat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-accent-yellow);
}
.cat-img-wrap {
  width: 70px;
  height: 70px;
  background-color: #f8fafc;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  padding: 6px;
}
.cat-img-wrap img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}
.cat-info {
  flex: 1;
}
.cat-name {
  font-size: 1.05rem;
  color: var(--color-primary-dark);
  margin-bottom: 2px;
}
.cat-tagline {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  line-height: 1.35;
}
.cat-arrow-btn {
  width: 28px;
  height: 28px;
  border-radius: var(--radius-full);
  background-color: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  flex-shrink: 0;
  transition: var(--transition);
}
.cat-card:hover .cat-arrow-btn {
  background-color: var(--color-accent-yellow);
  color: #111;
  transform: translateX(3px);
}

/* ==========================================================================
   7. Catálogo & Grid de Productos (Cards nativas limpias)
   ========================================================================== */
.section-featured-products {
  padding: 40px 0 70px;
}
.products-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.product-card-renta {
  background-color: var(--color-bg-card);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  position: relative;
}
.product-card-renta:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: #cbd5e1;
}

/* Badges superiores */
.product-card-badges {
  position: absolute;
  top: 12px;
  left: 12px;
  right: 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}
.badge-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.badge-arriendo {
  background-color: var(--color-accent-yellow);
  color: #111;
}
.badge-venta {
  background-color: var(--color-primary-dark);
  color: #fff;
}
.badge-brand {
  font-size: 0.72rem;
  font-weight: 700;
  color: #475569;
  background-color: rgba(255, 255, 255, 0.9);
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

/* Imagen del producto */
.product-card-img-link {
  display: block;
  background-color: #f8fafc;
  padding: 35px 20px 20px;
  border-bottom: 1px solid #f1f5f9;
}
.product-card-img-wrap {
  height: 210px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-card-img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
  transition: var(--transition);
}
.product-card-renta:hover .product-card-img {
  transform: scale(1.06);
}

/* Contenido de la tarjeta */
.product-card-content {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.product-brand-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--color-primary-blue);
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}
.product-card-title {
  font-size: 1.05rem;
  margin-bottom: 10px;
  line-height: 1.35;
}
.product-card-title a {
  color: var(--color-primary-dark);
}
.product-card-title a:hover {
  color: var(--color-primary-blue);
}
.product-card-desc {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  line-height: 1.45;
  margin-bottom: 15px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex: 1;
}

/* Fila de Precios */
.product-card-price-row {
  margin-bottom: 15px;
  padding-top: 10px;
  border-top: 1px dashed var(--color-border);
}
.product-card-price {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 4px;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--color-primary-dark);
}
.price-label-daily {
  font-size: 0.75rem;
  font-weight: 700;
  color: #0284c7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 2px;
}
.price-period-unit {
  font-size: 0.82rem;
  font-weight: 600;
  color: #001e40;
}
.price-tax-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  margin-left: 2px;
}
.product-card-price-call {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-blue);
}

/* Botones de la tarjeta */
.product-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

/* ==========================================================================
   8. Barra de Sellos de Confianza (Trust Bar)
   ========================================================================== */
.section-trust-bar {
  background-color: #ffffff;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  padding: 40px 0;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}
.trust-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-full);
  background-color: #f0fdf4;
  color: var(--color-success);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.trust-text h4 {
  font-size: 0.95rem;
  color: var(--color-primary-dark);
  margin-bottom: 3px;
}
.trust-text p {
  font-size: 0.8rem;
  color: var(--color-text-muted);
  line-height: 1.4;
}

/* ==========================================================================
   9. Archive / Catálogo & Estrategia SEO (Tipo QVM)
   ========================================================================== */
.archive-header-section {
  background-color: var(--color-primary-dark);
  color: #fff;
  padding: 40px 0 50px;
}
.renta-breadcrumbs {
  font-size: 0.82rem;
  color: #94a3b8;
  margin-bottom: 16px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}
.renta-breadcrumbs a:hover {
  color: var(--color-accent-yellow);
}
.renta-breadcrumbs .bc-current {
  color: #fff;
  font-weight: 600;
}
.archive-header-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 40px;
  align-items: center;
}
.archive-tagline {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--color-accent-yellow);
  display: block;
  margin-bottom: 8px;
}
.archive-title {
  color: #fff;
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 14px;
}
.archive-desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
  margin-bottom: 24px;
}
.archive-actions-row {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}
.btn-whatsapp-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: rgba(37, 211, 102, 0.12);
  border: 1px solid #25d366;
  color: #25d366;
  font-family: var(--font-heading);
  font-weight: 600;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
}
.btn-whatsapp-outline:hover {
  background-color: #25d366;
  color: #fff;
}

.archive-benefits-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  backdrop-filter: blur(5px);
}
.benefit-item {
  display: flex;
  align-items: center;
  gap: 12px;
}
.benefit-item .b-icon {
  width: 38px;
  height: 38px;
  background: rgba(254, 183, 0, 0.15);
  color: var(--color-accent-yellow);
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.benefit-item strong {
  display: block;
  font-size: 0.9rem;
  color: #fff;
}
.benefit-item p {
  font-size: 0.78rem;
  color: #94a3b8;
  margin: 0;
}

/* Barra de control catálogo */
.catalog-control-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0 20px;
}
.catalog-count {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  font-weight: 500;
}

/* Sección SEO Profunda al Pie (Estrategia QVM) */
.section-deep-seo {
  padding: 60px 0;
  background-color: #f1f5f9;
  border-top: 1px solid var(--color-border);
}
.deep-seo-card {
  background-color: #fff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
}
.deep-seo-content h2 {
  font-size: 1.6rem;
  margin-bottom: 16px;
  color: var(--color-primary-dark);
}
.deep-seo-content h3 {
  font-size: 1.25rem;
  margin: 24px 0 12px;
  color: var(--color-primary-navy);
}
.deep-seo-content p {
  margin-bottom: 14px;
  color: #334155;
}
.deep-seo-content ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 16px;
}
.deep-seo-content li {
  margin-bottom: 8px;
}

/* ==========================================================================
   10. Ficha Individual de Producto (Single Product)
   ========================================================================== */
.single-product-header {
  background-color: #0b2545;
  color: #fff;
  padding: 30px 0;
  border-bottom: 3px solid var(--color-accent-yellow);
}
.single-product-title {
  color: #fff;
  font-size: 2.1rem;
  margin-top: 10px;
}

.single-product-main-section {
  padding: 40px 0 70px;
}
.single-product-layout {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}

.product-gallery-sticky {
  position: sticky;
  top: 100px;
}
.product-main-image-wrap {
  background-color: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 420px;
  box-shadow: var(--shadow-sm);
}
.product-main-img {
  max-height: 380px;
  width: auto;
  object-fit: contain;
}
.product-thumbnails-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-top: 15px;
}
.gallery-thumb-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  padding: 8px;
  cursor: pointer;
}

.single-product-guarantee-box {
  background-color: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 20px;
  border-left: 4px solid var(--color-accent-yellow);
}
.guarantee-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-primary-dark);
}
.guarantee-normas {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-top: 6px;
}

.single-product-info-card {
  background-color: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 35px;
  box-shadow: var(--shadow-md);
}
.product-brand-tag {
  display: inline-block;
  background-color: #e0f2fe;
  color: #0369a1;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.8px;
  margin-bottom: 12px;
}
.single-product-short-desc {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
  margin-bottom: 25px;
}

/* Descargas de PDF */
.product-downloads-box {
  background-color: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 18px;
  margin-bottom: 25px;
  border: 1px solid #e2e8f0;
}
.downloads-title {
  font-size: 0.88rem;
  margin-bottom: 10px;
  color: var(--color-primary-dark);
}
.downloads-buttons {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.btn-download-pdf {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #ffffff;
  border: 1.5px solid #dc2626;
  color: #dc2626;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 600;
  transition: var(--transition);
}
.btn-download-pdf:hover {
  background-color: #dc2626;
  color: #fff;
}
.btn-download-pdf.secondary {
  border-color: #0284c7;
  color: #0284c7;
}
.btn-download-pdf.secondary:hover {
  background-color: #0284c7;
  color: #fff;
}

/* Formulario de Cotización Individual */
.product-quote-box {
  padding-top: 20px;
  border-top: 1px solid var(--color-border);
}
.periodo-label {
  display: block;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}
.select-periodo {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  background-color: #fff;
  font-weight: 600;
  color: var(--color-primary-dark);
  margin-bottom: 16px;
  cursor: pointer;
}
.form-row-qty-submit {
  display: flex;
  gap: 12px;
}
.qty-selector {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--color-border-dark);
  border-radius: var(--radius-sm);
  overflow: hidden;
  background-color: #fff;
}
.qty-btn {
  background: #f1f5f9;
  width: 36px;
  height: 48px;
  cursor: pointer;
  font-weight: 700;
  color: #334155;
  transition: var(--transition);
}
.qty-btn:hover {
  background-color: #e2e8f0;
}
.qty-input {
  width: 50px;
  text-align: center;
  font-weight: 700;
  border: none;
}
.btn-add-quote {
  flex: 1;
}

.quote-box-secondary-actions {
  margin-top: 15px;
}
.btn-whatsapp-direct {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #25d366;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.85rem;
  padding: 10px;
  border-radius: var(--radius-sm);
}
.btn-whatsapp-direct:hover {
  background-color: #20ba5a;
}
.notice-iva {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 600;
  margin-top: 8px;
  text-align: center;
}

/* Especificaciones Técnicas */
.single-product-full-desc-card {
  background-color: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  padding: 40px;
  box-shadow: var(--shadow-sm);
  margin-bottom: 50px;
}
.desc-card-title {
  font-size: 1.5rem;
  color: var(--color-primary-dark);
  margin-bottom: 24px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 12px;
}
.typography-clean h2, .typography-clean h3 {
  margin-top: 24px;
  margin-bottom: 12px;
}
.typography-clean ul {
  list-style: disc;
  margin-left: 20px;
  margin-bottom: 16px;
}
.typography-clean li {
  margin-bottom: 6px;
}

/* ==========================================================================
   11. Drawer de Cotización Flotante (Slide-out)
   ========================================================================== */
.quote-drawer-overlay {
  position: fixed;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.quote-drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}
.quote-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100vh;
  background-color: #fff;
  z-index: 10001;
  box-shadow: -5px 0 25px rgba(0, 0, 0, 0.2);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}
.quote-drawer.active {
  transform: translateX(0);
}
.quote-drawer-header {
  padding: 20px;
  background-color: var(--color-primary-dark);
  color: #fff;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.drawer-title-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}
.drawer-title-wrap h3 {
  color: #fff;
  font-size: 1.1rem;
}
.quote-drawer-close {
  background: none;
  color: #fff;
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
}
.quote-drawer-body {
  flex: 1;
  overflow-y: auto;
  padding: 20px;
}
.quote-drawer-empty {
  text-align: center;
  padding: 50px 20px;
  color: var(--color-text-muted);
}
.quote-drawer-empty p {
  margin: 15px 0;
}
.drawer-items-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.drawer-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--color-border);
  position: relative;
}
.drawer-item-img {
  width: 55px;
  height: 55px;
  object-fit: contain;
  background-color: #f8fafc;
  border-radius: var(--radius-sm);
  padding: 4px;
}
.drawer-item-info {
  flex: 1;
}
.drawer-item-title {
  font-size: 0.88rem;
  line-height: 1.3;
  margin-bottom: 4px;
}
.drawer-item-title a:hover {
  color: var(--color-primary-blue);
}
.badge-periodo {
  font-size: 0.68rem;
  font-weight: 700;
  padding: 2px 6px;
  background-color: #e0f2fe;
  color: #0369a1;
  border-radius: 4px;
}
.item-qty {
  font-size: 0.78rem;
  color: var(--color-text-muted);
  margin-left: 8px;
}
.btn-remove-quote-item {
  background: none;
  color: #94a3b8;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 4px;
}
.btn-remove-quote-item:hover {
  color: var(--color-danger);
}
.quote-drawer-footer {
  padding: 20px;
  background-color: #f8fafc;
  border-top: 1px solid var(--color-border);
}
.drawer-footer-iva {
  font-size: 0.72rem;
  color: #94a3b8;
  text-align: center;
  margin-bottom: 10px;
  font-weight: 600;
}

/* ==========================================================================
   12. Página de Presupuesto (/presupuesto/)
   ========================================================================== */
.quote-page-section {
  padding: 40px 0 80px;
}
.quote-page-header {
  margin-bottom: 35px;
}
.quote-page-title {
  font-size: 2.3rem;
  color: var(--color-primary-dark);
  margin-bottom: 8px;
}
.quote-page-subtitle {
  font-size: 1rem;
  color: var(--color-text-muted);
  max-width: 720px;
}
.quote-page-layout {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 30px;
  align-items: flex-start;
}
.quote-card {
  background-color: #fff;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.quote-card-header {
  background-color: #0b2545;
  color: #fff;
  padding: 18px 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.card-title-icon {
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-title-icon h2 {
  color: #fff;
  font-size: 1.15rem;
}
.badge-total-items {
  background-color: var(--color-accent-yellow);
  color: #111;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}
.quote-card-body {
  padding: 24px;
}

/* Tabla de equipos */
.quote-table {
  width: 100%;
  border-collapse: collapse;
}
.quote-table th {
  text-align: left;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-transform: uppercase;
  padding-bottom: 12px;
  border-bottom: 1.5px solid var(--color-border);
}
.quote-table td {
  padding: 16px 0;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
}
.product-cell {
  display: flex;
  align-items: center;
  gap: 12px;
}
.cell-thumb {
  width: 50px;
  height: 50px;
  object-fit: contain;
  background: #f8fafc;
  border-radius: 4px;
  padding: 3px;
}
.cell-title {
  font-weight: 600;
  color: var(--color-primary-dark);
  font-size: 0.9rem;
}
.badge-periodo-tag {
  display: inline-block;
  padding: 4px 8px;
  background-color: #f1f5f9;
  color: #0b2545;
  font-weight: 700;
  font-size: 0.72rem;
  border-radius: 4px;
}
.table-periodo-select-box {
  display: inline-block;
}
.select-periodo-table {
  background: #f8fafc;
  color: #001e40;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  outline: none;
}
.select-periodo-table:hover,
.select-periodo-table:focus {
  border-color: #feb700;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(254, 183, 0, 0.2);
}
.select-periodo-drawer {
  background: #feb700;
  color: #001e40;
  border: 1px solid #d99c00;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 0.72rem;
  font-weight: 800;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}
.select-periodo-drawer:hover,
.select-periodo-drawer:focus {
  background: #ffc21a;
  border-color: #001e40;
}

/* Formulario formal */
.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-field {
  margin-bottom: 16px;
}
.field-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  color: #334155;
  margin-bottom: 6px;
}
.field-label.required::after {
  content: ' *';
  color: var(--color-danger);
}
.form-control {
  width: 100%;
  padding: 10px 14px;
  border: 1.5px solid var(--color-border);
  border-radius: var(--radius-sm);
  background-color: #fff;
  font-size: 0.9rem;
  color: #1e293b;
  transition: var(--transition);
}
.form-control:focus {
  border-color: var(--color-primary-blue);
  box-shadow: 0 0 0 3px rgba(0, 78, 140, 0.1);
}

.quote-form-alert {
  margin-top: 18px;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}
.alert-success {
  background-color: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
}
.alert-danger {
  background-color: #fef2f2;
  border: 1px solid #ef4444;
  color: #991b1b;
}

/* ==========================================================================
   13. Footer
   ========================================================================== */
.site-footer {
  background-color: #051325;
  color: #cbd5e1;
  padding-top: 60px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.footer-logo-link img {
  height: 44px;
  width: auto;
  margin-bottom: 16px;
}
.footer-desc {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 20px;
}
.footer-badges {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.f-badge {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--color-accent-yellow);
}

.footer-title {
  color: #ffffff;
  font-size: 1.05rem;
  margin-bottom: 20px;
  position: relative;
  padding-bottom: 8px;
}
.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background-color: var(--color-accent-yellow);
}
.footer-menu li {
  margin-bottom: 10px;
}
.footer-menu a {
  font-size: 0.88rem;
  color: #94a3b8;
}
.footer-menu a:hover {
  color: var(--color-accent-yellow);
  padding-left: 4px;
}

/* Enlace a selk-cl.com en footer (discreto) */
.footer-servicios-link a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #38bdf8 !important;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.88rem;
  color: #94a3b8;
}
.footer-contact-list svg {
  color: var(--color-accent-yellow);
  flex-shrink: 0;
  margin-top: 2px;
}
.footer-cta-box {
  background-color: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 15px;
}
.cta-box-text {
  font-size: 0.82rem;
  margin-bottom: 10px;
}
.btn-whatsapp-footer {
  background-color: #25d366;
  color: #fff;
  font-size: 0.82rem;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  width: 100%;
}
.btn-whatsapp-footer:hover {
  background-color: #20ba5a;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 20px 0;
  font-size: 0.82rem;
  color: #64748b;
}
.footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.footer-bottom-copy {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}
.footer-bottom-copy p { margin: 0; }
.footer-bottom-copy .footer-legal { display: block; }
.footer-credit { display: block; font-size: .82rem; color: #94a3b8; }
.footer-credit a { color: #feb700; font-weight: 700; text-decoration: none; }
.footer-credit a:hover { text-decoration: underline; }
@media (max-width: 767px) {
  .footer-bottom-inner { display: block; }
  .footer-bottom-copy { gap: 8px; }
  .footer-bottom-copy .copyright-text,
  .footer-bottom-copy .footer-legal { overflow-wrap: anywhere; }
}
/* Página de contacto: columna única en móvil y prevención de overflow */

/* JetFormBuilder: conservar el diseño del formulario de contacto */
.contact-page-layout .jet-form-builder { width: 100%; max-width: 100%; }
.contact-page-layout .jet-form-builder__fields-group { display: flex; flex-direction: column; gap: 0; }
.contact-page-layout .jet-form-builder__field-wrap { margin-bottom: 14px; min-width: 0; }
.contact-page-layout .jet-form-builder__label { display: block; margin-bottom: 7px; color: #334155; font-size: .75rem; font-weight: 700; text-transform: uppercase; }
.contact-page-layout .jet-form-builder__field {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid #dbe3ed;
  border-radius: 5px;
  box-sizing: border-box;
  color: #0b2545;
  font: inherit;
  background: #fff;
}
.contact-page-layout textarea.jet-form-builder__field { min-height: 110px; resize: vertical; }
.contact-page-layout .jet-form-builder__submit-wrap { margin-top: 4px; }
.contact-page-layout .jet-form-builder__submit {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 100%;
  min-height: 44px;
  padding: 12px 16px;
  border: 0;
  border-radius: 5px;
  background: #feb700;
  color: #061b33;
  font-weight: 700;
  cursor: pointer;
  box-sizing: border-box;
}
.contact-page-layout .jet-form-builder__submit:hover { filter: brightness(.96); }
.contact-page-layout .jet-form-builder__message { overflow-wrap: anywhere; }
@media (max-width: 767px) {
  .contact-page-container {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    padding: 28px 16px 48px !important;
  }
  .contact-page-layout {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 22px !important;
    width: 100%;
    max-width: 100%;
    min-width: 0;
  }
  .contact-page-layout > div,
  .contact-page-layout > div > div {
    min-width: 0;
    max-width: 100%;
    box-sizing: border-box;
  }
  .contact-page-layout input,
  .contact-page-layout textarea,
  .contact-page-layout select,
  .contact-page-layout button {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
  }
  .contact-page-layout a,
  .contact-page-layout p,
  .contact-page-layout span {
    overflow-wrap: anywhere;
  }
  .contact-page-layout iframe { display: block; width: 100%; max-width: 100%; }
}


/* Botón flotante WhatsApp */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 60px;
  height: 60px;
  background-color: #25d366;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  box-shadow: 0 4px 18px rgba(37, 211, 102, 0.5);
  transition: var(--transition);
}
.whatsapp-float:hover {
  transform: scale(1.1) rotate(6deg);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.7);
}

/* ==========================================================================
   14. Responsive Media Queries
   ========================================================================== */
@media (max-width: 1024px) {
  .three-cards-grid {
    grid-template-columns: 1fr;
  }
  .section-featured-cards {
    margin-top: 20px;
  }
  .categories-carousel-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .single-product-layout {
    grid-template-columns: 1fr;
  }
  .quote-page-layout {
    grid-template-columns: 1fr;
  }

  /* Menú Móvil */
  .mobile-menu-toggle {
    display: flex;
  }
  .main-navigation {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--color-primary-dark);
    padding: 30px 20px;
    overflow-y: auto;
    transform: translateX(-100%);
    transition: transform 0.3s ease;
  }
  .main-navigation.active {
    transform: translateX(0);
  }
  .main-navigation .nav-menu {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    width: 100%;
  }
  .main-navigation .nav-link {
    font-size: 1.1rem;
    width: 100%;
    justify-content: space-between;
  }
  .main-navigation .sub-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    border: none;
    background-color: rgba(255, 255, 255, 0.05);
    width: 100%;
    display: none;
    margin-top: 8px;
  }
  .main-navigation li.open > .sub-menu {
    display: block;
  }
}

@media (max-width: 640px) {
  .hero-title {
    font-size: 2.1rem;
  }
  .categories-carousel-grid {
    grid-template-columns: 1fr;
  }
  .products-grid {
    grid-template-columns: 1fr;
  }
  .trust-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
  .form-grid-2 {
    grid-template-columns: 1fr;
  }
  .header-cta-btn {
    display: none;
  }
}

/* ==========================================================================
   20. Estilos de Alta Fidelidad - Web en Producción (Imágenes 3 y 4)
   ========================================================================== */

/* 20.1 Hero Principal de Subestación (Imagen 3) */
.hero-live-section {
  position: relative;
  background-color: #001e40;
  background-image: url('https://hipotvlf.cl/wp-content/uploads/2024/03/DJI_0442-scaled.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 100px 0 60px;
  color: #ffffff;
  text-align: center;
}
/* 20.1 Hero Section Unificado con 3 Tarjetas (Arriendo, Venta, Servicios SELK) */
.hero-live-section {
  position: relative;
  background-color: #001e40;
  background-image: url('https://hipotvlf.cl/wp-content/uploads/2024/03/IMG_20220623_102830-scaled.jpg');
  background-size: cover;
  background-position: center;
  padding: 85px 0 95px;
  color: #ffffff;
}
.hero-live-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0, 30, 64, 0.95) 0%, rgba(0, 30, 64, 0.88) 50%, rgba(0, 30, 64, 0.92) 100%);
  z-index: 1;
}
.hero-live-container.hero-grid-layout {
  position: relative;
  z-index: 2;
  max-width: var(--container-max);
  display: grid;
  grid-template-columns: 1fr 1.35fr;
  gap: 45px;
  align-items: center;
}
.hero-intro-col {
  text-align: left;
}
.hero-eyebrow-tag {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: #feb700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 16px;
}
.hero-main-title {
  font-family: var(--font-heading);
  font-size: 2.85rem;
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-main-subtitle {
  font-family: var(--font-body);
  font-size: 1.08rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 30px;
  max-width: 520px;
}
.btn-hero-action {
  background-color: #feb700 !important;
  color: #000000 !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 34px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  box-shadow: 0 4px 15px rgba(254, 183, 0, 0.4);
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all 0.25s ease;
}
.btn-hero-action:hover {
  background-color: #e5a500 !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(254, 183, 0, 0.5);
}

/* 3 Tarjetas Destacadas en el Hero */
.hero-cards-col {
  width: 100%;
}
.hero-tri-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hero-feature-card {
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-decoration: none;
  position: relative;
}
.hero-feature-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 38px rgba(0, 0, 0, 0.38);
}
.feature-card-img-wrap {
  height: 180px;
  width: 100%;
  overflow: hidden;
  background: #001e40;
}
.feature-card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.hero-feature-card:hover .feature-card-img-wrap img {
  transform: scale(1.06);
}
.feature-card-body {
  padding: 16px 16px 20px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  position: relative;
}
.feature-card-icon-title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.feature-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.feature-card-icon-title h3 {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: #001e40;
  margin: 0;
}
.feature-card-desc {
  font-size: 0.84rem;
  color: #64748b;
  line-height: 1.45;
  margin: 0 0 10px;
  padding-right: 36px;
}
.feature-card-btn {
  position: absolute;
  right: 14px;
  bottom: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: #feb700;
  color: #000000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.25s ease;
  box-shadow: 0 3px 8px rgba(254, 183, 0, 0.4);
}
.hero-feature-card:hover .feature-card-btn {
  background: #e5a500;
  transform: scale(1.1);
}

@media (max-width: 1024px) {
  .hero-live-container.hero-grid-layout {
    grid-template-columns: 1fr;
    gap: 35px;
    text-align: center;
  }
  .hero-intro-col {
    text-align: center;
  }
  .hero-main-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-tri-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .hero-main-title {
    font-size: 2.1rem;
  }
  .hero-tri-cards-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
    gap: 18px;
  }
  .feature-card-img-wrap {
    height: 190px;
  }
}

/* Buscador AJAX en Vivo en Cabecera */
.header-search {
  position: relative;
}
.search-results-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  box-shadow: 0 16px 36px rgba(0, 30, 64, 0.22);
  z-index: 9999;
  max-height: 420px;
  overflow-y: auto;
}
.search-result-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-bottom: 1px solid #f1f5f9;
  text-decoration: none;
  transition: background 0.15s ease;
}
.search-result-item:hover {
  background: #f8fafc;
}
.search-result-thumb {
  width: 44px;
  height: 44px;
  border-radius: 6px;
  object-fit: contain;
  background: #f8fafc;
  padding: 2px;
  border: 1px solid #e2e8f0;
  flex-shrink: 0;
}
.search-result-info {
  flex-grow: 1;
  min-width: 0;
}
.search-result-title {
  font-family: var(--font-heading);
  font-size: 0.86rem;
  font-weight: 700;
  color: #001e40;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-bottom: 2px;
}
.search-result-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.75rem;
}
.search-result-brand {
  color: #64748b;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 10px;
}
.search-result-badge {
  font-size: 10px;
  font-weight: 800;
  padding: 1px 6px;
  border-radius: 3px;
  text-transform: uppercase;
}
.search-result-price {
  font-weight: 700;
  color: #001e40;
  margin-left: auto;
  font-size: 0.82rem;
  white-space: nowrap;
}
.search-result-arrow {
  color: #cbd5e1;
  margin-left: 6px;
  flex-shrink: 0;
}
.search-result-item:hover .search-result-arrow {
  color: #feb700;
  transform: translateX(2px);
}
.search-results-footer {
  display: block;
  padding: 11px 14px;
  background: #f8fafc;
  text-align: center;
  border-top: 1px solid #e2e8f0;
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: #001e40;
  text-decoration: none;
}
.search-results-footer:hover {
  color: #feb700;
  background: #f1f5f9;
}
.search-results-empty {
  padding: 24px 16px;
  text-align: center;
  font-size: 0.85rem;
  color: #64748b;
}
.search-empty-wa-link {
  display: inline-block;
  margin-top: 10px;
  color: #16a34a;
  font-weight: 700;
  text-decoration: none;
}
.search-empty-wa-link:hover {
  text-decoration: underline;
}

/* 20.2 Sección Showcase: "Con nosotros encuentras todo el equipamiento" (Imagen 3) */
.section-equipment-showcase {
  padding: 85px 0;
  background-color: #ffffff;
}
.showcase-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: center;
}
.section-eyebrow-tag {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #64748b;
  display: block;
  margin-bottom: 12px;
}
.showcase-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: #001e40;
  line-height: 1.25;
  margin-bottom: 20px;
}
.highlight-yellow-mark {
  background-color: #feb700;
  color: #000000;
  padding: 2px 10px;
  border-radius: 4px;
}
.showcase-desc {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 30px;
}
.composition-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  position: relative;
}
.composition-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 10px 25px -5px rgba(0, 30, 64, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.composition-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px -5px rgba(0, 30, 64, 0.15);
}
.composition-card img {
  max-height: 240px;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
}
.card-sf6 {
  z-index: 2;
}
.card-yellow-tester {
  z-index: 3;
  transform: scale(1.05);
}
.card-yellow-tester:hover {
  transform: scale(1.05) translateY(-5px);
}
.card-analyzer {
  z-index: 1;
}

/* 20.3 Categorías Populares (4 Bloques Compactos) */
.section-popular-categories {
  padding: 60px 0;
  background-color: #f8fafc;
  border-top: 1px solid #edf2f7;
  border-bottom: 1px solid #edf2f7;
}
.section-header-compact {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 30px;
}
.section-sub-label {
  font-family: var(--font-heading);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: #94a3b8;
  display: block;
  margin-bottom: 6px;
}
.section-title-compact {
  font-size: 1.75rem;
  font-weight: 800;
  color: #001e40;
  margin: 0;
}
.section-subtitle-compact {
  font-size: 0.95rem;
  color: #64748b;
  margin-top: 6px;
}
.link-arrow-text {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  color: #001e40;
}
.link-arrow-text:hover {
  color: #feb700;
}
.categories-four-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.cat-card-mini {
  display: flex;
  align-items: center;
  gap: 15px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  transition: all 0.25s ease;
}
.cat-card-mini:hover {
  border-color: #feb700;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}
.cat-icon-wrap {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 6px;
  overflow: hidden;
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cat-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cat-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #001e40;
  margin-bottom: 4px;
}
.cat-info p {
  font-size: 0.8rem;
  color: #64748b;
  line-height: 1.35;
  margin: 0;
}
.cat-arrow {
  margin-left: auto;
  color: #cbd5e1;
  transition: transform 0.2s ease, color 0.2s ease;
}
.cat-card-mini:hover .cat-arrow {
  color: #001e40;
  transform: translateX(3px);
}

/* 20.4 Badges de Producto: Arriendo y Venta */
.badge-modalidad-group {
  display: flex;
  gap: 5px;
}
.badge-tag.badge-arriendo {
  background-color: #feb700;
  color: #000000;
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}
.badge-tag.badge-venta {
  background-color: #001e40;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.72rem;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 4px;
}
.product-card-price-sale {
  margin: 8px 0;
}
.price-sale-notice {
  display: inline-block;
  background-color: #f1f5f9;
  color: #001e40;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 5px 10px;
  border-radius: 4px;
  border-left: 3px solid #001e40;
}

/* 20.5 Sección Valores (Misión / Visión) (Imagen 3) */
.section-values {
  padding: 85px 0;
  background-color: #ffffff;
}
.values-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.values-title {
  font-family: var(--font-heading);
  font-size: 2.35rem;
  font-weight: 800;
  color: #001e40;
  line-height: 1.25;
  margin-bottom: 20px;
}
.values-lead {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 35px;
}
.mision-vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 25px;
}
.value-block {
  background: #f8fafc;
  padding: 24px;
  border-radius: 8px;
  border-left: 4px solid #feb700;
}
.value-heading {
  font-size: 1.15rem;
  font-weight: 800;
  color: #001e40;
  margin-bottom: 10px;
}
.value-text {
  font-size: 0.92rem;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}
.values-card-branded {
  position: relative;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}
.values-card-badge {
  position: absolute;
  top: 15px;
  left: 20px;
  background: #001e40;
  padding: 8px 14px;
  border-radius: 6px;
}
.values-brand-logo {
  height: 24px;
  width: auto;
}
.values-main-img {
  max-height: 340px;
  width: auto;
  margin: 20px auto 0;
  object-fit: contain;
}

/* 20.6 Sección: "¿Quieres más asesoría?" y Galería de Terreno (Imagen 3) */
.section-fieldwork-gallery {
  padding: 80px 0;
  background-color: #fafbfc;
}
.asesoria-banner-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 20px;
  margin-bottom: 20px;
}
.asesoria-black-card {
  background-color: #111111;
  color: #ffffff;
  padding: 45px 35px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.asesoria-title {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  margin: 15px 0 25px;
}
.btn-contactar {
  background-color: #feb700 !important;
  color: #000000 !important;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.95rem;
  padding: 12px 32px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  width: fit-content;
}
.btn-contactar:hover {
  background-color: #e5a500 !important;
}
.asesoria-photo-card {
  border-radius: 8px;
  overflow: hidden;
  max-height: 310px;
  background-color: #001e40;
}
.asesoria-photo-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.asesoria-tech-fallback {
  width: 100%;
  height: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #001e40 0%, #002855 100%);
  border: 1px solid rgba(254, 183, 0, 0.25);
  border-radius: 8px;
  padding: 35px 30px;
  box-shadow: inset 0 0 40px rgba(0, 0, 0, 0.3);
}
.tech-badge {
  display: inline-block;
  background: rgba(254, 183, 0, 0.15);
  color: #feb700;
  font-family: var(--font-heading);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  margin-bottom: 14px;
  text-transform: uppercase;
}
.tech-fallback-inner h3 {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 800;
  line-height: 1.3;
  margin-bottom: 12px;
}
.tech-fallback-inner p {
  color: #cbd5e1;
  font-size: 0.92rem;
  line-height: 1.6;
  margin: 0;
}
.fieldwork-four-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.fieldwork-photo-item {
  border-radius: 8px;
  overflow: hidden;
  height: 200px;
  background-color: #001e40;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.fieldwork-photo-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px -4px rgba(0, 30, 64, 0.3);
}
.fieldwork-photo-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.fieldwork-photo-item:hover img {
  transform: scale(1.06);
}
.fieldwork-tech-fallback {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: linear-gradient(135deg, #001e40 0%, #0f2d4e 100%);
  padding: 22px 20px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.fieldwork-tech-fallback::after {
  content: '';
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, rgba(254, 183, 0, 0.15) 0%, transparent 70%);
  pointer-events: none;
}
.fieldwork-tag {
  display: inline-block;
  background: #feb700;
  color: #000000;
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.5px;
  padding: 2px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.fieldwork-fallback-content h4 {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 6px;
}
.fieldwork-fallback-content p {
  color: #94a3b8;
  font-size: 0.8rem;
  line-height: 1.35;
  margin: 0;
}

/* 20.7 Ficha de Producto Fiel a la Web en Producción (Imagen 4) */
.single-product-title-banner {
  background-color: #001e40;
  padding: 35px 20px 45px;
  position: relative;
  text-align: center;
}
.single-product-main-heading {
  font-family: var(--font-heading);
  color: #ffffff;
  font-size: 1.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
}
.title-banner-arrow-down {
  position: absolute;
  bottom: -13px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 16px solid transparent;
  border-right: 16px solid transparent;
  border-top: 14px solid #001e40;
  z-index: 2;
}
.single-product-main-section {
  padding: 50px 0 70px;
  background-color: #ffffff;
}
.product-main-image-wrap {
  position: relative;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-zoom-icon {
  position: absolute;
  top: 15px;
  right: 15px;
  color: #94a3b8;
  cursor: pointer;
}
.product-quote-box-live {
  margin-top: 25px;
  background-color: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 24px;
}
.quote-modality-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 18px;
}
.modality-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  background: #f8fafc;
  transition: all 0.2s ease;
}
.modality-tab.active, .modality-tab:hover {
  border-color: #001e40;
  background: #ffffff;
}
.quote-field-label {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 800;
  color: #001e40;
  display: block;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.select-periodo-live {
  width: 100%;
  height: 46px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 0 14px;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1e293b;
  background: #ffffff;
  cursor: pointer;
}
.select-periodo-live:focus {
  border-color: #001e40;
}
.btn-quote-primary {
  background-color: #5b9bd5 !important;
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 14px 20px;
  border-radius: 4px;
  width: 100%;
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: background 0.2s ease;
}
.btn-quote-primary:hover {
  background-color: #4182bf !important;
}
.notice-iva-red {
  color: #e11d48;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 14px;
  text-align: center;
}
.btn-whatsapp-consult {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  padding: 10px 14px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.85rem;
  margin-top: 15px;
  transition: background 0.2s ease;
}
.btn-whatsapp-consult:hover {
  background-color: #dcfce7;
}

/* 20.8 Contenido SEO Profundo en Ficha de Producto (Imagen 4) */
.single-product-full-seo-content {
  margin: 50px 0;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
}
.typography-seo-clean h2 {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #001e40;
  margin: 35px 0 16px;
  line-height: 1.3;
}
.typography-seo-clean h3 {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 700;
  color: #001e40;
  margin: 28px 0 14px;
  line-height: 1.35;
}
.typography-seo-clean p {
  font-size: 1.02rem;
  line-height: 1.7;
  color: #334155;
  margin-bottom: 18px;
}
.typography-seo-clean ul {
  margin: 15px 0 25px;
  padding-left: 0;
  list-style: none;
}
.typography-seo-clean li {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 12px;
  position: relative;
  padding-left: 26px;
}
.typography-seo-clean li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;
  font-weight: 800;
  font-size: 1.1rem;
}

/* 20.9 Productos Relacionados (Imagen 4) */
.single-product-related-section {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e2e8f0;
}
.related-section-title-live {
  font-family: var(--font-heading);
  font-size: 1.75rem;
  font-weight: 800;
  color: #001e40;
  margin-bottom: 30px;
}
.related-products-grid-live {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.related-product-card-live {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px 20px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.related-product-card-live:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
}
.related-card-img-wrap {
  display: block;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.related-card-img-wrap img {
  max-height: 160px;
  width: auto;
  object-fit: contain;
}
.related-card-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #001e40;
  margin: 15px 0 20px;
  line-height: 1.35;
  min-height: 48px;
}
.related-card-title a:hover {
  color: #feb700;
}

/* 20.10 Responsivo para Secciones en Producción */
@media (max-width: 1024px) {
  .hero-live-title {
    font-size: 2.2rem;
  }
  .showcase-grid, .values-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .categories-four-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .asesoria-banner-grid {
    grid-template-columns: 1fr;
  }
  .fieldwork-four-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .single-product-layout {
    grid-template-columns: 1fr;
  }
  .related-products-grid-live {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .hero-live-title {
    font-size: 1.75rem;
  }
  .hero-live-subtitle {
    font-size: 0.95rem;
  }
  .hero-live-contacts {
    flex-direction: column;
    gap: 8px;
  }
  .hero-contact-sep {
    display: none;
  }
  .composition-wrapper {
    flex-direction: column;
  }
  .categories-four-grid {
    grid-template-columns: 1fr;
  }
  .mision-vision-grid {
    grid-template-columns: 1fr;
  }
  .fieldwork-four-grid {
    grid-template-columns: 1fr;
  }
  .related-products-grid-live {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   21. Google Stitch Design System - Ficha Individual de Producto
   ========================================================================== */
.product-page-wrapper {
  padding: 30px 0 70px;
  background-color: #f8fafc;
}

/* Breadcrumbs */
.stitch-breadcrumbs {
  margin-bottom: 24px;
}
.breadcrumbs-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  font-family: var(--font-body), 'Inter', sans-serif;
  color: #64748b;
  list-style: none;
  padding: 0;
  margin: 0;
}
.breadcrumbs-list a {
  color: #64748b;
  text-decoration: none;
  transition: color 0.2s ease;
}
.breadcrumbs-list a:hover {
  color: #001e40;
}
.breadcrumbs-list .bc-sep {
  color: #94a3b8;
  display: flex;
  align-items: center;
}
.breadcrumbs-list .bc-current {
  color: #001e40;
  font-weight: 700;
}

/* Product Hero 2-Column (Stitch) */
.product-hero-stitch {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 40px;
}
.product-image-card-stitch {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 35px 25px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 440px;
  box-shadow: 0 4px 14px rgba(0, 30, 64, 0.04);
}
.badge-status-safe {
  position: absolute;
  top: 16px;
  left: 16px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(40, 167, 69, 0.1);
  color: #28a745;
  border: 1px solid rgba(40, 167, 69, 0.25);
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
}
.product-main-photo-wrap {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.product-photo-img {
  max-height: 380px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  margin: 0 auto;
  mix-blend-mode: multiply;
}

.product-thumbnails-stitch {
  display: flex;
  gap: 12px;
  margin-top: 15px;
}
.thumb-item-stitch {
  width: 75px;
  height: 75px;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  background: #ffffff;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}
.thumb-item-stitch:hover {
  border-color: #001e40;
}
.thumb-item-stitch img {
  max-height: 100%;
  width: auto;
  object-fit: contain;
}

/* Documentación Oficial */
.product-docs-stitch {
  margin-top: 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 20px;
}
.docs-heading {
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: #001e40;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}
.docs-links-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
.doc-btn-stitch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #f8fafc;
  color: #001e40;
  font-size: 13px;
  font-weight: 700;
  transition: all 0.2s ease;
  text-decoration: none;
}
.doc-btn-stitch:hover {
  background: #001e40;
  color: #ffffff;
  border-color: #001e40;
}

/* Columna Derecha de Información */
.product-header-tags {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
}
.badge-brand-stitch {
  background: #001e40;
  color: #ffffff;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}
.badge-modality-stitch.badge-arriendo {
  background: #feb700;
  color: #000000;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.badge-modality-stitch.badge-venta {
  background: #003366;
  color: #ffffff;
  font-weight: 800;
  font-size: 11px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}
.product-title-stitch {
  font-family: var(--font-heading), 'Montserrat', sans-serif !important;
  font-size: 2.1rem;
  font-weight: 800;
  color: #001e40;
  line-height: 1.25;
  margin-bottom: 16px;
}
.product-short-desc-stitch {
  font-size: 1.05rem;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 24px;
}
.product-features-stitch {
  list-style: none;
  padding: 0;
  margin: 0 0 28px 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.product-features-stitch li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: #334155;
  line-height: 1.5;
}

/* Caja de Cotización Stitch */
.product-quote-card-stitch {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}

/* Tarifario de Arriendo por Período en Ficha de Producto */
.product-tariff-cards-wrap {
  margin-bottom: 22px;
  background: #f8fafc;
  border: 1.5px solid #e2e8f0;
  border-radius: 10px;
  padding: 16px;
}
.tariff-cards-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
}
.tariff-table-title {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.8rem;
  color: #001e40;
  letter-spacing: 0.5px;
}
.tariff-tax-badge {
  background-color: #e2e8f0;
  color: #475569;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
}
.product-tariff-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}
@media (max-width: 600px) {
  .product-tariff-cards-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.tariff-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 12px 6px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  align-items: center;
  text-align: center;
  transition: all 0.2s ease;
}
.tariff-card:hover {
  transform: translateY(-2px);
  border-color: #001e40;
  box-shadow: 0 4px 12px rgba(0, 30, 64, 0.08);
}
.tariff-card.selected {
  border-color: #001e40;
  background-color: #f8fafc;
  box-shadow: 0 0 0 2px #001e40;
}
.tariff-card.featured {
  border-color: #feb700;
  background: #fffdf5;
}
.tariff-card.featured.selected {
  border-color: #feb700;
  background: #fffdf5;
  box-shadow: 0 0 0 2px #feb700;
}
.tariff-badge {
  position: absolute;
  top: -9px;
  background: #feb700;
  color: #001e40;
  font-size: 0.65rem;
  font-weight: 800;
  padding: 2px 7px;
  border-radius: 9999px;
  letter-spacing: 0.3px;
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.tariff-badge.discount-7 {
  background: #feb700;
  color: #001e40;
}
.tariff-badge.discount-15 {
  background: #0284c7;
  color: #ffffff;
}
.tariff-badge.discount-30 {
  background: #16a34a;
  color: #ffffff;
}
.tariff-period {
  font-size: 0.78rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.tariff-card.selected .tariff-period,
.tariff-card.featured .tariff-period {
  color: #001e40;
}
.tariff-price {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  color: #001e40;
  line-height: 1.2;
}
.tariff-unit {
  font-size: 0.72rem;
  color: #94a3b8;
  font-weight: 500;
  margin-top: 3px;
}
.quote-row-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}
.quote-sale-badge {
  background: #f1f5f9;
  color: #001e40;
  font-weight: 800;
  font-size: 11px;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #cbd5e1;
}
.quote-sale-subtext {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
  line-height: 1.5;
}
.modality-segmented-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}
.modality-segmented-tabs .modality-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  border: 1.5px solid #e2e8f0;
  border-radius: 6px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  background: #f8fafc;
  transition: all 0.2s ease;
}
.modality-segmented-tabs .modality-tab.active,
.modality-segmented-tabs .modality-tab:hover {
  border-color: #001e40;
  background: #ffffff;
  color: #001e40;
}
.quote-field-wrap {
  margin-bottom: 16px;
}
.quote-label-title {
  display: block;
  font-family: var(--font-heading), 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #001e40;
  margin-bottom: 8px;
}
.custom-select-wrap {
  position: relative;
  width: 100%;
}
.stitch-select {
  width: 100%;
  height: 48px;
  padding: 0 40px 0 16px;
  border: 1.5px solid #cbd5e1;
  border-radius: 6px;
  background: #ffffff;
  font-size: 15px;
  font-weight: 600;
  color: #1e293b;
  appearance: none;
  cursor: pointer;
  transition: border-color 0.2s;
}
.stitch-select:focus {
  border-color: #001e40;
  outline: none;
}
.select-arrow {
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #64748b;
}
.btn-stitch-yellow {
  background-color: #feb700 !important;
  color: #000000 !important;
  font-family: var(--font-heading), 'Montserrat', sans-serif !important;
  font-weight: 800 !important;
  font-size: 15px !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: 100%;
  padding: 15px 20px;
  border-radius: 6px;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  margin-top: 14px;
  box-shadow: 0 4px 14px rgba(254, 183, 0, 0.35);
  transition: all 0.2s ease;
}
.btn-stitch-yellow:hover {
  background-color: #e5a500 !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(254, 183, 0, 0.45);
}
.notice-iva-red {
  color: #e11d48;
  font-family: var(--font-heading), 'Montserrat', sans-serif;
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 10px;
  text-align: center;
}
.stitch-whatsapp-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #15803d;
  font-size: 13px;
  font-weight: 700;
  padding: 11px 16px;
  border-radius: 6px;
  margin-top: 14px;
  text-decoration: none;
  transition: all 0.2s ease;
}
.stitch-whatsapp-btn:hover {
  background: #dcfce7;
  border-color: #86efac;
}

/* SEO Content Card */
.product-seo-content-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 40px;
  margin-bottom: 40px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.02);
}
.seo-card-header {
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 18px;
  margin-bottom: 28px;
}
.seo-card-heading {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1.5rem;
  font-weight: 800;
  color: #001e40;
  margin: 0;
}
.stitch-typography h2 {
  font-family: var(--font-heading), 'Montserrat', sans-serif !important;
  font-size: 1.65rem;
  font-weight: 800;
  color: #001e40;
  margin: 32px 0 14px;
  line-height: 1.3;
}
.stitch-typography h3 {
  font-family: var(--font-heading), 'Montserrat', sans-serif !important;
  font-size: 1.25rem;
  font-weight: 700;
  color: #001e40;
  margin: 24px 0 12px;
  line-height: 1.35;
}
.stitch-typography p {
  font-size: 1rem;
  line-height: 1.75;
  color: #334155;
  margin-bottom: 16px;
}
.stitch-typography ul {
  list-style: none;
  padding-left: 0;
  margin: 16px 0 24px;
}
.stitch-typography li {
  position: relative;
  padding-left: 28px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: #334155;
  margin-bottom: 10px;
}
.stitch-typography li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: #16a34a;
  font-weight: 800;
  font-size: 1.1rem;
}

/* Related Products Grid */
.product-related-stitch-section {
  margin-top: 50px;
}
.related-header-stitch {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 28px;
}
.related-eyebrow {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: #64748b;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.related-title-stitch {
  font-family: var(--font-heading), 'Montserrat', sans-serif !important;
  font-size: 1.65rem;
  font-weight: 800;
  color: #001e40;
  margin: 0;
}
.related-link-all {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #001e40;
  text-decoration: none;
  transition: color 0.2s;
}
.related-link-all:hover {
  color: #feb700;
}
.related-grid-stitch {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.related-card-stitch {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.25s ease;
}
.related-card-stitch:hover {
  border-color: #feb700;
  transform: translateY(-4px);
  box-shadow: 0 10px 24px -4px rgba(0, 30, 64, 0.1);
}
.rel-thumb-wrap {
  height: 160px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 14px;
  text-decoration: none;
}
.rel-thumb-img {
  max-height: 140px;
  width: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.related-card-stitch:hover .rel-thumb-img {
  transform: scale(1.05);
}
.rel-brand-label {
  font-size: 11px;
  font-weight: 800;
  color: #94a3b8;
  text-transform: uppercase;
  display: block;
  margin-bottom: 4px;
}
.rel-title {
  font-family: var(--font-heading), 'Montserrat', sans-serif !important;
  font-size: 14px;
  font-weight: 700;
  color: #001e40;
  line-height: 1.35;
  margin-bottom: 14px;
  min-height: 38px;
}
.rel-title a {
  color: #001e40;
  text-decoration: none;
}
.rel-title a:hover {
  color: #feb700;
}
.btn-rel-stitch {
  background: #f8fafc;
  border: 1px solid #cbd5e1;
  color: #001e40;
  font-size: 12px;
  font-weight: 700;
  padding: 8px 14px;
  border-radius: 4px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-decoration: none;
  transition: all 0.2s;
}
.related-card-stitch:hover .btn-rel-stitch {
  background: #feb700;
  color: #000000;
  border-color: #feb700;
}

/* Responsivo Stitch */
@media (max-width: 1024px) {
  .product-hero-stitch {
    grid-template-columns: 1fr;
  }
  .related-grid-stitch {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .product-title-stitch {
    font-size: 1.6rem;
  }
  .related-grid-stitch {
    grid-template-columns: 1fr;
  }
  .docs-links-grid {
    grid-template-columns: 1fr;
  }
}

/* Selector de Período en Tarjetas de Catálogo */
.product-card-period-select-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-top: 10px;
  margin-bottom: 12px;
  padding: 5px 10px;
  background: #f8fafc;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
}
.grid-period-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0;
  white-space: nowrap;
}
.grid-card-periodo-select {
  flex: 1;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  padding: 4px 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: #001e40;
  cursor: pointer;
  outline: none;
  transition: all 0.2s ease;
}
.grid-card-periodo-select:hover,
.grid-card-periodo-select:focus {
  border-color: #feb700;
  box-shadow: 0 0 0 2px rgba(254, 183, 0, 0.2);
}

/* Ajustes responsive del header: buscador visible y navegación móvil usable */
@media (max-width: 1099px) {
  .site-header { position: sticky; top: 0; z-index: 10000; }
  .header-inner-fluid {
    min-height: 72px;
    height: auto;
    padding: 12px 18px;
    gap: 12px;
    flex-wrap: wrap;
  }
  .site-branding { flex: 1 1 auto; min-width: 0; }
  .site-branding .brand-logo { width: auto; max-width: min(48vw, 220px); height: auto; max-height: 44px; }
  .header-actions { flex: 0 0 auto; gap: 10px; margin-left: auto; }
  .header-actions .header-cta-btn { display: none !important; }
  .quote-header-btn { padding: 8px 10px; min-height: 42px; }
  .quote-label-text { display: none; }
  .mobile-menu-toggle { display: flex !important; align-items: center; justify-content: center; min-width: 42px; min-height: 42px; }
  .header-search {
    display: block !important;
    order: 5;
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
    margin: 0;
  }
  .header-search .search-input-wrapper { display: flex; width: 100%; }
  .header-search .search-field { min-width: 0; width: 100%; font-size: 16px; }
  .header-search .search-submit { flex: 0 0 auto; }
  .main-navigation {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
    background: #001e40;
    padding: 8px 18px 22px;
    box-sizing: border-box;
    box-shadow: 0 18px 28px rgba(0,0,0,.28);
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .main-navigation.active { display: block !important; }
  .main-navigation .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    width: 100%;
    margin: 0;
    padding: 0;
  }
  .main-navigation .nav-menu > li {
    display: block;
    width: 100%;
    border-bottom: 1px solid rgba(255,255,255,.12);
  }
  .main-navigation .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    box-sizing: border-box;
    padding: 16px 0;
    font-size: 1rem;
    line-height: 1.35;
    white-space: normal;
  }
  .main-navigation .sub-menu,
  .main-navigation li:hover > .sub-menu {
    display: none;
    position: static;
    min-width: 0;
    width: 100%;
    padding: 4px 0 12px 12px;
    margin: 0;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    background: rgba(255,255,255,.045);
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .main-navigation li.open > .sub-menu { display: block !important; }
  .main-navigation .sub-menu li a {
    display: block;
    padding: 11px 12px;
    color: rgba(255,255,255,.9);
    white-space: normal;
  }
  .main-navigation .mega-menu-dropdown-wrapper,
  .main-navigation li:hover .mega-menu-dropdown-wrapper {
    display: none;
    position: static;
    inset: auto;
    width: 100%;
    padding: 12px;
    margin: 0 0 12px;
    box-sizing: border-box;
    border-radius: 10px;
    box-shadow: none;
    background: #002855;
    opacity: 1;
    visibility: visible;
    transform: none;
  }
  .main-navigation li.open > .mega-menu-dropdown-wrapper { display: block !important; }
  .mega-menu-inner-grid { display: flex; flex-direction: column; gap: 18px; }
  .mega-categories-columns { display: grid; grid-template-columns: 1fr; gap: 0; }
  .mega-cat-list { margin: 0; padding: 0; }
  .mega-cat-list a { display: block; padding: 9px 4px; }
  .mega-col-pickup { display: none; }
  .search-results-dropdown { left: 0; right: 0; max-width: 100%; }
}
@media (max-width: 480px) {
  .header-inner-fluid { padding: 10px 14px; gap: 10px; }
  .site-branding .brand-logo { max-width: 43vw; max-height: 38px; }
  .header-actions { gap: 7px; }
  .quote-header-btn { padding: 7px 8px; }
  .quote-icon-wrap svg { width: 18px; height: 18px; }
  .mobile-menu-toggle { padding: 4px; min-width: 38px; min-height: 38px; }
  .header-search .search-submit span { display: none; }
  .header-search .search-submit { padding: 10px 13px; }
}

/* Pulido móvil: ocultar barra informativa y compactar grilla de marcas */
@media (max-width: 1099px) {
  .site-topbar { display: none !important; }
}
@media (max-width: 1099px) {
  .mega-brands-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }
  .mega-brands-grid .mega-brand-pill {
    min-width: 0;
    padding: 10px 5px;
    text-align: center;
    font-size: .82rem;
    line-height: 1.2;
    overflow-wrap: anywhere;
  }
}
@media (max-width: 380px) {
  .mega-brands-grid .mega-brand-pill { font-size: .75rem; padding: 9px 3px; }
}

/* Ajustes solicitados en ficha de producto */
.tariff-tax-badge { display: none !important; }
.related-period-price { display:flex; align-items:baseline; gap:6px; flex-wrap:wrap; margin:14px 0 8px; color:#001e40; }
.related-period-price .price-label-daily { color:#2786ae; font-size:.8rem; font-weight:800; }
.related-period-price strong { font-size:1.35rem; font-weight:800; }
.related-period-select { margin:10px 0 14px; }
.related-actions { display:flex; flex-direction:column; gap:10px; }
.related-actions .add-to-quote-btn,
.related-actions .btn-rel-stitch { width:100%; min-height:44px; display:flex; justify-content:center; align-items:center; box-sizing:border-box; }
.related-actions .add-to-quote-btn { border:0; cursor:pointer; }
.related-actions .btn-rel-stitch { order:2; }
/* CTA WhatsApp dentro de la ficha, no el botón flotante */
.stitch-whatsapp-btn svg { width: 26px !important; height: 26px !important; flex: 0 0 26px; }
.stitch-whatsapp-btn { gap: 12px; }
@media (max-width: 767px) {
  .stitch-whatsapp-btn svg { width: 30px !important; height: 30px !important; flex-basis: 30px; }
}
@media (max-width: 767px) {
  .stitch-whatsapp-btn svg { width: 34px !important; height: 34px !important; flex-basis: 34px; }
  .whatsapp-float {
    width: 54px;
    height: 54px;
    right: 16px;
    bottom: 22px;
  }
  .whatsapp-float svg { width: 28px; height: 28px; }
}

/* Evitar desbordamiento horizontal en portadas de categorías en móvil */
@media (max-width: 767px) {
  html, body { max-width: 100%; overflow-x: clip; }
  .archive-header-section,
  .archive-header-section > .site-container,
  .archive-header-grid,
  .archive-header-info,
  .archive-benefits-card {
    box-sizing: border-box;
    min-width: 0;
    max-width: 100%;
  }
  .archive-header-section { overflow: hidden; }
  .archive-header-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 24px;
    width: 100%;
  }
  .archive-header-info { width: 100%; }
  .archive-title,
  .archive-desc { overflow-wrap: anywhere; word-break: normal; }
  .archive-benefits-card {
    width: 100%;
    margin: 0;
    padding: 18px;
  }
  .archive-benefits-card .benefit-item,
  .archive-benefits-card .benefit-item > div:last-child {
    min-width: 0;
    max-width: 100%;
  }
  .archive-actions-row { flex-wrap: wrap; }
  .archive-actions-row .btn { max-width: 100%; box-sizing: border-box; white-space: normal; }
}

/* ==========================================================================
   Sección Partner Estratégico Oficial: Top Cable (Limpia y Sobria)
   ========================================================================== */
.section-partner-topcable {
  padding: 50px 0;
  background: #f8fafc;
}
.partner-topcable-card {
  position: relative;
  background: linear-gradient(135deg, #001e40 0%, #002c5e 100%);
  border-radius: 16px;
  padding: 36px 44px;
  color: #fff;
  box-shadow: 0 16px 36px -12px rgba(0, 30, 64, 0.3);
  border: 1px solid rgba(254, 183, 0, 0.25);
  overflow: hidden;
}
.partner-card-glow {
  position: absolute;
  top: -80px;
  right: -80px;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, rgba(254, 183, 0, 0.12) 0%, rgba(254, 183, 0, 0) 70%);
  pointer-events: none;
}
.partner-card-grid-clean {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.partner-brand-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.partner-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(254, 183, 0, 0.15);
  color: #feb700;
  border: 1px solid rgba(254, 183, 0, 0.4);
  padding: 4px 12px;
  border-radius: 30px;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.partner-logo-box {
  background: #ffffff;
  border-radius: 10px;
  padding: 18px 20px;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  min-height: 95px;
}
.partner-logo-img {
  max-width: 100%;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
}
.partner-info-col-clean {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.partner-headline {
  font-size: 1.65rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
  margin: 0;
}
.partner-subline {
  font-size: 0.98rem;
  color: #cbd5e1;
  line-height: 1.55;
  margin: 0;
}
.partner-pills-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 6px;
}
.partner-tag-pill {
  font-size: 0.85rem;
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.08);
  padding: 7px 14px;
  border-radius: 20px;
  border: 1px solid rgba(254, 183, 0, 0.3);
  font-weight: 500;
}
.mega-brand-pill.mega-brand-partner {
  border-color: #feb700;
  color: #feb700;
  font-weight: 700;
  background: rgba(254, 183, 0, 0.08);
  cursor: default;
}
@media (max-width: 991px) {
  .partner-card-grid-clean {
    grid-template-columns: 1fr;
    gap: 24px;
    text-align: center;
  }
  .partner-brand-col {
    max-width: 280px;
    margin: 0 auto;
  }
  .partner-topcable-card {
    padding: 28px 20px;
  }
  .partner-headline {
    font-size: 1.35rem;
  }
  .partner-pills-row {
    justify-content: center;
  }
}
@media (max-width: 580px) {
  .section-partner-topcable {
    padding: 32px 0;
  }
  .partner-topcable-card {
    padding: 20px 16px;
    border-radius: 12px;
  }
  .partner-headline {
    font-size: 1.2rem;
  }
  .partner-subline {
    font-size: 0.9rem;
  }
  .partner-tag-pill {
    font-size: 0.78rem;
    padding: 6px 10px;
  }
}
