/* ==========================================================================
   GM REFRIGERACIONES - HOJA DE ESTILOS PRINCIPAL
   Identidad visual: GM Refrigeraciones (Giovanni Miño)
   Colores oficiales: Azul oscuro (#093853) & Cian (#00ADD3)
   Tipografía base: Manrope (Google Fonts)
   Estética: Técnica, moderna, industrial, comercial, sólida y confiable.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. VARIABLES DE DISEÑO & CONFIGURACIÓN
   -------------------------------------------------------------------------- */
:root {
  /* Colores de Identidad GM */
  --gm-blue-dark: #093853;       /* Azul primario oficial */
  --gm-blue-deep: #052233;       /* Azul petróleo profundo para contrastes y headers */
  --gm-cyan: #00ADD3;            /* Cian oficial de GM */
  --gm-cyan-hover: #0091b2;      /* Cian para estados activos */
  --gm-cyan-light: #e6f7fa;      /* Tint suave para fondos de badges */
  --gm-dark: #0b1520;            /* Fondo oscuro para topbar y footer */
  
  /* Textos y neutros */
  --gm-text-main: #0f172a;       /* Color de texto principal de alta legibilidad */
  --gm-text-muted: #556980;      /* Color secundario para párrafos y descripciones */
  --gm-text-light: #f8fafc;      /* Texto claro para fondos oscuros */
  
  /* Fondos y bordes */
  --gm-bg-white: #ffffff;
  --gm-bg-light: #f8fafc;        /* Gris técnico claro */
  --gm-bg-subtle: #f1f5f9;       /* Gris técnico neutro */
  --gm-border: #e2e8f0;          /* Línea divisoria sutil */
  --gm-border-strong: #cbd5e1;   /* Borde técnico acentuado */
  
  /* Sombras técnicas sutiles (sin excesos difusos) */
  --gm-shadow-sm: 0 1px 3px rgba(9, 56, 83, 0.08);
  --gm-shadow-md: 0 4px 12px rgba(9, 56, 83, 0.07);
  --gm-shadow-lg: 0 10px 25px rgba(9, 56, 83, 0.10);
  
  /* Tipografía */
  --gm-font: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  
  /* Geometría técnica sobria */
  --gm-radius-sm: 4px;
  --gm-radius-md: 6px;
  --gm-radius-lg: 8px;
  --gm-transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. REINICIO & TIPOGRAFÍA GLOBAL
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--gm-font);
  color: var(--gm-text-main);
  background-color: var(--gm-bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--gm-font);
  color: var(--gm-blue-dark);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p {
  color: var(--gm-text-muted);
  font-size: 0.975rem;
  margin-bottom: 1rem;
}

a {
  color: var(--gm-blue-dark);
  text-decoration: none;
  transition: var(--gm-transition);
}

a:hover {
  color: var(--gm-cyan);
}

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

/* Clases utilitarias clave de identidad y compatibilidad Bootstrap 5 */
.text-cyan {
  color: var(--gm-cyan) !important;
}

.bg-cyan {
  background-color: var(--gm-cyan) !important;
}

.bg-cyan-light {
  background-color: var(--gm-cyan-light) !important;
}

.object-fit-cover {
  object-fit: cover !important;
}

.object-fit-contain {
  object-fit: contain !important;
}

.gm-section-padding {
  padding: 4.5rem 0;
}

.gm-card {
  background: #ffffff;
  border: 1px solid var(--gm-border);
  border-radius: var(--gm-radius-md);
  box-shadow: var(--gm-shadow-sm);
  transition: var(--gm-transition);
}

.gm-card:hover {
  border-color: var(--gm-cyan);
  box-shadow: var(--gm-shadow-md);
}

.gm-feature-icon {
  width: 48px;
  height: 48px;
  background-color: var(--gm-cyan-light);
  color: var(--gm-blue-dark);
  border-radius: var(--gm-radius-sm);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: var(--gm-transition);
}

.gm-card:hover .gm-feature-icon {
  background-color: var(--gm-blue-dark);
  color: var(--gm-cyan);
}

/* --------------------------------------------------------------------------
   3. ELEMENTOS DE IDENTIDAD TÉCNICA GM (Inspirados en su Instagram)
   -------------------------------------------------------------------------- */
/* Trama de líneas diagonales técnicas ////// */
.gm-tech-lines {
  display: inline-block;
  font-weight: 800;
  letter-spacing: 2px;
  color: var(--gm-cyan);
  user-select: none;
  font-size: 0.85rem;
}

/* Badge técnico de sección */
.gm-section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--gm-blue-dark);
  background-color: var(--gm-cyan-light);
  padding: 0.35rem 0.85rem;
  border-radius: var(--gm-radius-sm);
  border-left: 3px solid var(--gm-cyan);
  margin-bottom: 0.75rem;
}

.gm-section-tag.dark {
  background-color: rgba(0, 173, 211, 0.15);
  color: var(--gm-cyan);
  border-left-color: var(--gm-cyan);
}

/* Cabecera estándar de secciones */
.gm-section-header {
  margin-bottom: 2.75rem;
}

.gm-section-header h2,
.gm-section-title {
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  margin-bottom: 0.75rem;
  color: var(--gm-blue-dark);
  font-weight: 700;
}

.gm-section-header p {
  font-size: 1.05rem;
  max-width: 680px;
  margin-bottom: 0;
}

.gm-section-header.text-center p {
  margin-left: auto;
  margin-right: auto;
}

/* Cabecera para páginas interiores (/servicios/, /productos/, etc.) */
.gm-page-header {
  background: linear-gradient(135deg, #093853 0%, #052233 100%);
  color: #ffffff;
  padding: 3.25rem 0 3.5rem 0;
  position: relative;
  overflow: hidden;
}

.gm-page-header::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 45%;
  background: radial-gradient(circle at 80% 20%, rgba(0, 173, 211, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.gm-page-header h1,
.gm-page-title {
  color: #ffffff;
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  margin-bottom: 0.75rem;
  font-weight: 700;
}

.gm-page-header p,
.gm-page-lead {
  color: #cbd5e1;
  font-size: 1.1rem;
  max-width: 700px;
  margin-bottom: 0;
}

.gm-breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  margin-bottom: 1rem;
  color: #94a3b8;
}

.gm-breadcrumb a {
  color: #cbd5e1;
}

.gm-breadcrumb a:hover {
  color: var(--gm-cyan);
}

.gm-breadcrumb span.current {
  color: var(--gm-cyan);
  font-weight: 600;
}

/* Divisor sutil */
.gm-divider {
  width: 50px;
  height: 3px;
  background-color: var(--gm-cyan);
  margin: 1rem 0 1.5rem 0;
  border-radius: 2px;
}

.gm-divider.center {
  margin-left: auto;
  margin-right: auto;
}

/* --------------------------------------------------------------------------
   4. BOTONES & LLAMADAS A LA ACCIÓN (CTAs)
   -------------------------------------------------------------------------- */
.gm-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-family: var(--gm-font);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.75rem 1.4rem;
  border-radius: var(--gm-radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--gm-transition);
  text-decoration: none;
  white-space: nowrap;
}

.gm-btn-primary {
  background-color: var(--gm-blue-dark);
  color: #ffffff !important;
  border-color: var(--gm-blue-dark);
}

.gm-btn-primary:hover {
  background-color: var(--gm-blue-deep);
  border-color: var(--gm-blue-deep);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: var(--gm-shadow-md);
}

.gm-btn-cyan {
  background-color: var(--gm-cyan);
  color: #ffffff !important;
  border-color: var(--gm-cyan);
}

.gm-btn-cyan:hover {
  background-color: var(--gm-cyan-hover);
  border-color: var(--gm-cyan-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: var(--gm-shadow-md);
}

.gm-btn-outline,
.gm-btn-outline-primary {
  background-color: transparent;
  color: var(--gm-blue-dark);
  border-color: var(--gm-blue-dark);
}

.gm-btn-outline:hover,
.gm-btn-outline-primary:hover {
  background-color: var(--gm-blue-dark);
  color: #ffffff !important;
}

.gm-btn-outline-light,
.gm-btn-outline-white {
  background-color: transparent;
  color: #ffffff !important;
  border-color: rgba(255, 255, 255, 0.4);
}

.gm-btn-outline-light:hover,
.gm-btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--gm-blue-dark) !important;
  border-color: #ffffff;
}

.gm-btn-wsp {
  background-color: #25D366;
  color: #ffffff !important;
  border-color: #25D366;
}

.gm-btn-wsp:hover {
  background-color: #1eb855;
  border-color: #1eb855;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: var(--gm-shadow-md);
}

.gm-btn-sm {
  padding: 0.45rem 0.9rem;
  font-size: 0.85rem;
}

/* --------------------------------------------------------------------------
   5. SPINNER DE CARGA
   -------------------------------------------------------------------------- */
#spinner {
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease-out, visibility 0s linear 0.4s;
  z-index: 99999;
}

#spinner.show {
  transition: opacity 0.4s ease-out, visibility 0s linear 0s;
  visibility: visible;
  opacity: 1;
}

/* --------------------------------------------------------------------------
   6. TOPBAR SUPERIOR TÉCNICA
   -------------------------------------------------------------------------- */
.gm-topbar {
  background-color: var(--gm-dark);
  color: #94a3b8;
  font-size: 0.825rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.gm-topbar a {
  color: #cbd5e1;
}

.gm-topbar a:hover {
  color: var(--gm-cyan);
}

.gm-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-right: 1.5rem;
}

.gm-topbar-item i {
  color: var(--gm-cyan);
}

.gm-topbar-badge {
  font-size: 0.7rem;
  font-weight: 700;
  background-color: rgba(0, 173, 211, 0.2);
  color: var(--gm-cyan);
  padding: 0.15rem 0.45rem;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

/* --------------------------------------------------------------------------
   7. NAVBAR & NAVEGACIÓN (Desktop & Mobile Corregidos)
   -------------------------------------------------------------------------- */
.gm-navbar {
  background-color: #ffffff;
  border-bottom: 1px solid var(--gm-border);
  padding: 0.65rem 0;
  transition: var(--gm-transition);
}

.gm-navbar.sticky-top {
  position: sticky;
  top: 0;
  z-index: 1020;
}

.gm-navbar.is-scrolled {
  box-shadow: 0 4px 20px rgba(9, 56, 83, 0.09);
  padding: 0.45rem 0;
}

.gm-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.gm-brand-logo {
  height: 76px;
  width: auto;
  object-fit: contain;
  transition: var(--gm-transition);
}

.gm-navbar.is-scrolled .gm-brand-logo {
  height: 48px;
}

.gm-brand-info {
  display: flex;
  flex-direction: column;
}

.gm-brand-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--gm-blue-dark);
  line-height: 1.1;
  letter-spacing: -0.01em;
}

.gm-brand-subtitle {
  font-size: 0.725rem;
  font-weight: 600;
  color: var(--gm-cyan);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.gm-nav .nav-link {
  font-family: var(--gm-font);
  font-size: 0.925rem;
  font-weight: 600;
  color: var(--gm-text-main);
  padding: 0.5rem 0.85rem !important;
  position: relative;
  transition: var(--gm-transition);
}

.gm-nav .nav-link:hover,
.gm-nav .nav-link.active {
  color: var(--gm-blue-dark);
}

.gm-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0.85rem;
  right: 0.85rem;
  height: 2px;
  background-color: var(--gm-cyan);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.gm-nav .nav-link:hover::after,
.gm-nav .nav-link.active::after {
  transform: scaleX(1);
}

/* BOTÓN HAMBURGUESA PERSONALIZADO Y 100% VISIBLE EN MOBILE */
.gm-navbar-toggler {
  border: 1px solid var(--gm-border-strong);
  padding: 0.45rem 0.65rem;
  border-radius: var(--gm-radius-sm);
  background-color: #ffffff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 40px;
  cursor: pointer;
  transition: var(--gm-transition);
}

.gm-navbar-toggler:hover,
.gm-navbar-toggler:focus {
  background-color: var(--gm-bg-subtle);
  border-color: var(--gm-cyan);
  outline: none;
}

.gm-navbar-toggler .gm-toggler-line {
  display: block;
  width: 22px;
  height: 2.5px;
  background-color: var(--gm-blue-dark);
  border-radius: 2px;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.gm-navbar-toggler.is-active .gm-toggler-line:nth-child(1) {
  transform: translateY(7.5px) rotate(45deg);
}

.gm-navbar-toggler.is-active .gm-toggler-line:nth-child(2) {
  opacity: 0;
}

.gm-navbar-toggler.is-active .gm-toggler-line:nth-child(3) {
  transform: translateY(-7.5px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   8. HERO SECTION: CONVERTIDO EN SLIDER INTERACTIVO
   -------------------------------------------------------------------------- */
.gm-hero-slider-wrap {
  position: relative;
  background: linear-gradient(135deg, #093853 0%, #052233 100%);
  color: #ffffff;
  overflow: hidden;
}

.gm-hero-slider {
  width: 100%;
  height: 100%;
}

.gm-hero-slide {
  padding: 3.5rem 0 4rem 0;
  position: relative;
}

.gm-hero-slide::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 50%;
  background-image: 
    radial-gradient(circle at 80% 20%, rgba(0, 173, 211, 0.12) 0%, transparent 60%),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.015) 0, rgba(255, 255, 255, 0.015) 2px, transparent 2px, transparent 16px);
  pointer-events: none;
}

.gm-hero-content {
  position: relative;
  z-index: 2;
}

.gm-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(0, 173, 211, 0.18);
  border: 1px solid rgba(0, 173, 211, 0.4);
  color: #e6f7fa;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  padding: 0.35rem 0.85rem;
  border-radius: var(--gm-radius-sm);
  margin-bottom: 1.25rem;
}

.gm-hero-slide h1,
.gm-hero-slide h2.gm-hero-title {
  color: #ffffff;
  font-size: clamp(2rem, 3.8vw, 2.95rem);
  font-weight: 800;
  line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 1.25rem;
}

.gm-hero-slide h1 span,
.gm-hero-slide h2.gm-hero-title span {
  color: var(--gm-cyan);
}

.gm-hero-slide p.lead {
  color: #cbd5e1;
  font-size: clamp(1rem, 1.3vw, 1.125rem);
  line-height: 1.6;
  margin-bottom: 1.75rem;
  max-width: 600px;
}

.gm-hero-highlights {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.gm-hero-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
}

.gm-hero-highlight-item i {
  color: var(--gm-cyan);
  font-size: 1.15rem;
  margin-top: 0.15rem;
}

.gm-hero-highlight-item div h6 {
  color: #ffffff;
  font-size: 0.875rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.gm-hero-highlight-item div span {
  color: #94a3b8;
  font-size: 0.775rem;
  display: block;
}

/* Media Card en el Hero */
.gm-hero-media-wrapper {
  position: relative;
  border-radius: var(--gm-radius-md);
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: #000;
}

.gm-hero-media-wrapper video,
.gm-hero-media-wrapper img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
}

.gm-hero-badge-overlay {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
  background: rgba(9, 56, 83, 0.90);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  padding: 0.75rem 1rem;
  border-radius: var(--gm-radius-sm);
  border-left: 4px solid var(--gm-cyan);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 15;
}

.gm-hero-badge-overlay .title {
  font-weight: 700;
  font-size: 0.875rem;
  color: #ffffff;
}

.gm-hero-badge-overlay .desc {
  font-size: 0.75rem;
  color: #94a3b8;
}

/* Controles del Slider Hero */
.gm-hero-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 46px;
  height: 46px;
  background: rgba(9, 56, 83, 0.85);
  border: 1px solid rgba(0, 173, 211, 0.4);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  cursor: pointer;
  transition: var(--gm-transition);
}

.gm-hero-nav-btn:hover {
  background: var(--gm-cyan);
  color: #ffffff;
  border-color: var(--gm-cyan);
  transform: translateY(-50%) scale(1.08);
}

.gm-hero-prev {
  left: 20px;
}

.gm-hero-next {
  right: 20px;
}

.gm-hero-pagination {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.gm-hero-pagination .swiper-pagination-bullet {
  width: 28px;
  height: 4px;
  background: rgba(255, 255, 255, 0.35);
  border-radius: 2px;
  opacity: 1;
  transition: var(--gm-transition);
}

.gm-hero-pagination .swiper-pagination-bullet-active {
  background: var(--gm-cyan);
  width: 44px;
}

/* --------------------------------------------------------------------------
   9. SISTEMA DE VIDEOS CON SONIDO (LM Style con Identidad GM)
   -------------------------------------------------------------------------- */
.gm-video-box {
  position: relative;
  background: #000;
  border-radius: var(--gm-radius-md);
  overflow: hidden;
  box-shadow: var(--gm-shadow-md);
  border: 1px solid var(--gm-border);
}

.gm-video-box video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Botón superior derecho de activación de sonido en 1 clic */
.gm-video-audio-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 25;
  background: rgba(9, 56, 83, 0.9);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  color: #ffffff;
  border: 1px solid rgba(0, 173, 211, 0.5);
  border-radius: var(--gm-radius-sm);
  padding: 4px 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  transition: var(--gm-transition);
}

.gm-video-audio-badge:hover {
  background: var(--gm-blue-dark);
  border-color: var(--gm-cyan);
  color: var(--gm-cyan);
}

.gm-video-audio-badge.unmuted {
  background: var(--gm-cyan);
  color: #ffffff;
  border-color: var(--gm-cyan);
}

/* Barra de controles inferior overlay */
.gm-video-controls-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: linear-gradient(0deg, rgba(9, 56, 83, 0.95) 0%, rgba(9, 56, 83, 0.7) 60%, transparent 100%);
  padding: 20px 14px 10px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gm-video-box:hover .gm-video-controls-overlay,
.gm-video-box.is-playing .gm-video-controls-overlay {
  opacity: 1;
}

.gm-video-progress-wrap {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.25);
  border-radius: 3px;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}

.gm-video-progress-bar {
  height: 100%;
  width: 0%;
  background: var(--gm-cyan);
  border-radius: 3px;
  transition: width 0.1s linear;
}

.gm-video-controls-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.gm-video-controls-left {
  display: flex;
  align-items: center;
  gap: 8px;
}

.gm-video-ctrl-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.1rem;
  width: 32px;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  cursor: pointer;
  transition: var(--gm-transition);
}

.gm-video-ctrl-btn:hover {
  color: var(--gm-cyan);
  background: rgba(255, 255, 255, 0.1);
}

.gm-video-time {
  font-size: 0.75rem;
  color: #cbd5e1;
  font-family: monospace;
  margin-left: 4px;
}

/* --------------------------------------------------------------------------
   10. SECCIÓN: "¿QUÉ NECESITÁS RESOLVER?"
   -------------------------------------------------------------------------- */
.gm-resolve-section {
  padding: 3.5rem 0;
  background-color: var(--gm-bg-light);
  border-bottom: 1px solid var(--gm-border);
}

.gm-resolve-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--gm-border);
  border-radius: var(--gm-radius-md);
  padding: 1.5rem;
  transition: var(--gm-transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}

.gm-resolve-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background-color: transparent;
  transition: var(--gm-transition);
}

.gm-resolve-card:hover {
  transform: translateY(-4px);
  border-color: var(--gm-cyan);
  box-shadow: var(--gm-shadow-md);
}

.gm-resolve-card:hover::before {
  background-color: var(--gm-cyan);
}

.gm-resolve-icon-wrap {
  width: 52px;
  height: 52px;
  background-color: var(--gm-cyan-light);
  color: var(--gm-blue-dark);
  border-radius: var(--gm-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
  transition: var(--gm-transition);
}

.gm-resolve-card:hover .gm-resolve-icon-wrap {
  background-color: var(--gm-blue-dark);
  color: var(--gm-cyan);
}

.gm-resolve-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--gm-blue-dark);
}

.gm-resolve-card p {
  font-size: 0.875rem;
  color: var(--gm-text-muted);
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

/* --------------------------------------------------------------------------
   11. SECCIÓN: SERVICIOS TÉCNICOS
   -------------------------------------------------------------------------- */
.gm-services-section {
  padding: 4.5rem 0;
  background-color: #ffffff;
}

.gm-service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--gm-border);
  border-radius: var(--gm-radius-md);
  overflow: hidden;
  transition: var(--gm-transition);
}

.gm-service-card:hover {
  transform: translateY(-3px);
  border-color: var(--gm-border-strong);
  box-shadow: var(--gm-shadow-md);
}

.gm-service-card-media {
  position: relative;
  height: 220px;
  overflow: hidden;
  background-color: var(--gm-bg-subtle);
}

.gm-service-card-media img,
.gm-service-card-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.gm-service-card:hover .gm-service-card-media img {
  transform: scale(1.03);
}

.gm-service-card-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  background: var(--gm-blue-dark);
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.25rem 0.65rem;
  border-radius: var(--gm-radius-sm);
  border-left: 2px solid var(--gm-cyan);
  z-index: 10;
}

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

.gm-service-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.gm-service-card-body p {
  font-size: 0.885rem;
  flex-grow: 1;
  margin-bottom: 1.25rem;
}

.gm-service-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
  border-top: 1px dashed var(--gm-border);
  padding-top: 0.85rem;
}

.gm-service-bullets li {
  font-size: 0.825rem;
  color: var(--gm-text-muted);
  margin-bottom: 0.4rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.gm-service-bullets li i {
  color: var(--gm-cyan);
  font-size: 0.8rem;
}

/* Banner de Mantenimiento Preventivo */
.gm-maintenance-banner {
  background: linear-gradient(135deg, #093853 0%, #052233 100%);
  color: #ffffff;
  border-radius: var(--gm-radius-md);
  padding: 2.25rem;
  margin-top: 3rem;
  position: relative;
  overflow: hidden;
}

.gm-maintenance-banner h4 {
  color: #ffffff;
  font-size: 1.4rem;
  margin-bottom: 0.5rem;
}

.gm-maintenance-banner p {
  color: #cbd5e1;
  font-size: 0.925rem;
  margin-bottom: 1.5rem;
}

.gm-maintenance-features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}

.gm-maintenance-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1rem;
  border-radius: var(--gm-radius-sm);
}

.gm-maintenance-item i {
  color: var(--gm-cyan);
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  display: block;
}

.gm-maintenance-item h5 {
  color: #ffffff;
  font-size: 0.925rem;
  margin-bottom: 0.25rem;
}

.gm-maintenance-item span {
  font-size: 0.775rem;
  color: #94a3b8;
  display: block;
}

/* --------------------------------------------------------------------------
   12. SECCIÓN: CÁMARAS DE FRÍO & CERRAMIENTOS TÉRMICOS
   -------------------------------------------------------------------------- */
.gm-camaras-section {
  padding: 4.5rem 0;
  background-color: var(--gm-bg-subtle);
  border-top: 1px solid var(--gm-border);
  border-bottom: 1px solid var(--gm-border);
}

.gm-camara-spec-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
}

.gm-camara-spec-item {
  background: #ffffff;
  border: 1px solid var(--gm-border);
  padding: 1rem;
  border-radius: var(--gm-radius-sm);
  border-left: 3px solid var(--gm-cyan);
}

.gm-camara-spec-item h6 {
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: var(--gm-blue-dark);
}

.gm-camara-spec-item p {
  font-size: 0.8rem;
  color: var(--gm-text-muted);
  margin-bottom: 0;
}

.gm-camaras-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.75rem;
  margin-top: 2rem;
}

.gm-camaras-thumb {
  height: 120px;
  border-radius: var(--gm-radius-sm);
  overflow: hidden;
  border: 1px solid var(--gm-border);
}

.gm-camaras-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gm-camaras-thumb:hover img {
  transform: scale(1.05);
}

/* --------------------------------------------------------------------------
   13. CATÁLOGO / EQUIPAMIENTOS / PRODUCTOS
   -------------------------------------------------------------------------- */
.gm-catalog-section {
  padding: 4.5rem 0;
  background-color: #ffffff;
}

.gm-filter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.gm-filter-btn {
  background: #ffffff;
  color: var(--gm-text-main);
  border: 1px solid var(--gm-border);
  font-family: var(--gm-font);
  font-weight: 600;
  font-size: 0.875rem;
  padding: 0.55rem 1.15rem;
  border-radius: var(--gm-radius-sm);
  cursor: pointer;
  transition: var(--gm-transition);
}

.gm-filter-btn:hover {
  background-color: var(--gm-bg-light);
  border-color: var(--gm-cyan);
  color: var(--gm-blue-dark);
}

.gm-filter-btn.active {
  background-color: var(--gm-blue-dark);
  border-color: var(--gm-blue-dark);
  color: #ffffff;
}

.gm-product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border: 1px solid var(--gm-border);
  border-radius: var(--gm-radius-md);
  overflow: hidden;
  transition: var(--gm-transition);
}

.gm-product-card:hover {
  border-color: var(--gm-cyan);
  transform: translateY(-3px);
  box-shadow: var(--gm-shadow-md);
}

.gm-product-card-media {
  position: relative;
  height: 220px;
  background-color: var(--gm-bg-light);
  overflow: hidden;
}

.gm-product-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.gm-product-card:hover .gm-product-card-media img {
  transform: scale(1.03);
}

.gm-product-badges {
  position: absolute;
  top: 0.65rem;
  left: 0.65rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  z-index: 5;
}

.gm-product-badge {
  font-size: 0.685rem;
  font-weight: 700;
  background: rgba(9, 56, 83, 0.92);
  color: #ffffff;
  padding: 0.2rem 0.55rem;
  border-radius: var(--gm-radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.gm-product-badge.cyan {
  background: var(--gm-cyan);
  color: #ffffff;
}

.gm-product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.gm-product-category-label {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gm-cyan);
  margin-bottom: 0.35rem;
}

.gm-product-card-body h4 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.gm-product-card-body p {
  font-size: 0.85rem;
  color: var(--gm-text-muted);
  flex-grow: 1;
  margin-bottom: 1rem;
}

.gm-product-quick-specs {
  font-size: 0.775rem;
  background-color: var(--gm-bg-light);
  padding: 0.65rem;
  border-radius: var(--gm-radius-sm);
  border: 1px solid var(--gm-border);
  margin-bottom: 1.15rem;
}

.gm-product-quick-specs div {
  margin-bottom: 0.25rem;
}

.gm-product-quick-specs div:last-child {
  margin-bottom: 0;
}

.gm-product-quick-specs strong {
  color: var(--gm-blue-dark);
}

.gm-product-card-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: auto;
}

.gm-product-card-actions .gm-btn {
  flex: 1;
}

/* --------------------------------------------------------------------------
   14. SECCIÓN: FINANCIACIÓN CONFIRMADA (24 Cuotas Semanales)
   -------------------------------------------------------------------------- */
.gm-finance-section {
  padding: 4rem 0;
  background: linear-gradient(135deg, #093853 0%, #052233 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.gm-finance-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at 10% 50%, rgba(0, 173, 211, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.gm-finance-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--gm-radius-md);
  padding: 2.25rem;
  position: relative;
}

.gm-finance-card h2 {
  color: #ffffff;
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 0.75rem;
}

.gm-finance-card p.lead {
  color: #cbd5e1;
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

.gm-finance-badge {
  display: inline-block;
  background-color: var(--gm-cyan);
  color: #ffffff;
  font-weight: 800;
  font-size: 1.15rem;
  padding: 0.45rem 1.25rem;
  border-radius: var(--gm-radius-sm);
  margin-bottom: 1.5rem;
  letter-spacing: -0.01em;
}

.gm-finance-points {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem 0;
}

.gm-finance-points li {
  color: #e2e8f0;
  font-size: 0.95rem;
  margin-bottom: 0.65rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.gm-finance-points li i {
  color: var(--gm-cyan);
  font-size: 1rem;
}

.gm-finance-image-wrap {
  border-radius: var(--gm-radius-md);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.35);
}

.gm-finance-image-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

/* --------------------------------------------------------------------------
   15. SECCIÓN: SOLUCIONES PARA DISTINTOS CLIENTES
   -------------------------------------------------------------------------- */
.gm-clients-section {
  padding: 4.5rem 0;
  background-color: var(--gm-bg-light);
  border-bottom: 1px solid var(--gm-border);
}

.gm-client-box {
  background: #ffffff;
  border: 1px solid var(--gm-border);
  border-radius: var(--gm-radius-md);
  padding: 1.75rem;
  height: 100%;
  transition: var(--gm-transition);
  display: flex;
  flex-direction: column;
}

.gm-client-box:hover {
  border-color: var(--gm-cyan);
  transform: translateY(-3px);
  box-shadow: var(--gm-shadow-md);
}

.gm-client-icon {
  width: 48px;
  height: 48px;
  background-color: var(--gm-cyan-light);
  color: var(--gm-blue-dark);
  border-radius: var(--gm-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 1rem;
}

.gm-client-box h4 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.gm-client-box p {
  font-size: 0.875rem;
  color: var(--gm-text-muted);
  margin-bottom: 1rem;
  flex-grow: 1;
}

.gm-client-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

.gm-client-tags span {
  font-size: 0.725rem;
  font-weight: 600;
  background-color: var(--gm-bg-subtle);
  color: var(--gm-blue-dark);
  padding: 0.2rem 0.5rem;
  border-radius: var(--gm-radius-sm);
  border: 1px solid var(--gm-border);
}

/* --------------------------------------------------------------------------
   16. PÁGINA TRABAJOS REALIZADOS (SLIDERS INDEPENDIENTES POR PROYECTO)
   -------------------------------------------------------------------------- */
.gm-jobs-page-section {
  padding: 4.5rem 0;
  background-color: var(--gm-bg-light);
}

.gm-job-card {
  background: #ffffff;
  border: 1px solid var(--gm-border);
  border-radius: var(--gm-radius-md);
  overflow: hidden;
  box-shadow: var(--gm-shadow-sm);
  margin-bottom: 3rem;
  transition: var(--gm-transition);
}

.gm-job-card:hover {
  box-shadow: var(--gm-shadow-md);
  border-color: var(--gm-border-strong);
}

/* Swiper específico para cada trabajo */
.gm-job-swiper {
  width: 100%;
  height: 360px;
  position: relative;
  background-color: #000;
}

.gm-job-slide {
  position: relative;
  width: 100%;
  height: 100%;
}

.gm-job-slide img,
.gm-job-slide video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Flechas de navegación para sliders de trabajos */
.gm-job-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 15;
  width: 38px;
  height: 38px;
  background: rgba(9, 56, 83, 0.85);
  border: 1px solid rgba(0, 173, 211, 0.4);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--gm-transition);
}

.gm-job-nav-btn:hover {
  background: var(--gm-cyan);
  color: #ffffff;
}

.gm-job-prev {
  left: 14px;
}

.gm-job-next {
  right: 14px;
}

.gm-job-pagination {
  position: absolute;
  bottom: 12px;
  left: 0;
  right: 0;
  z-index: 15;
  display: flex;
  justify-content: center;
  gap: 6px;
}

.gm-job-pagination .swiper-pagination-bullet {
  width: 8px;
  height: 8px;
  background: rgba(255, 255, 255, 0.6);
  opacity: 1;
  border-radius: 50%;
  transition: var(--gm-transition);
}

.gm-job-pagination .swiper-pagination-bullet-active {
  background: var(--gm-cyan);
  transform: scale(1.25);
}

.gm-job-card-body {
  padding: 2rem;
  display: flex;
  flex-direction: column;
  height: 100%;
  justify-content: center;
}

.gm-job-meta {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.gm-job-badge {
  font-size: 0.725rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  background: var(--gm-cyan-light);
  color: var(--gm-blue-dark);
  padding: 0.25rem 0.65rem;
  border-radius: var(--gm-radius-sm);
  border-left: 3px solid var(--gm-cyan);
}

.gm-job-card-body h3 {
  font-size: 1.45rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.gm-job-card-body p {
  font-size: 0.925rem;
  margin-bottom: 1.25rem;
}

.gm-job-tasks {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem 0;
}

.gm-job-tasks li {
  font-size: 0.85rem;
  color: var(--gm-text-muted);
  margin-bottom: 0.45rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.gm-job-tasks li i {
  color: var(--gm-cyan);
  font-size: 0.9rem;
  margin-top: 0.15rem;
}

/* --------------------------------------------------------------------------
   17. SECCIÓN: VIDEOS DE TRABAJOS REALES (Audiovisual)
   -------------------------------------------------------------------------- */
.gm-videos-section {
  padding: 4.5rem 0;
  background-color: #ffffff;
}

.gm-video-card {
  background: #ffffff;
  border: 1px solid var(--gm-border);
  border-radius: var(--gm-radius-md);
  overflow: hidden;
  box-shadow: var(--gm-shadow-sm);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.gm-video-card .gm-video-box,
.gm-video-card .gm-video-wrapper {
  position: relative;
  height: 280px;
  background-color: #000;
  border-radius: 0;
  border: none;
  box-shadow: none;
  overflow: hidden;
}

.gm-video-card .gm-video-box video,
.gm-video-card .gm-video-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Variante para showroom o video destacado */
.gm-video-card.gm-video-card-lg .gm-video-box,
.gm-video-card.gm-video-card-lg .gm-video-wrapper,
.gm-video-showroom .gm-video-box,
.gm-video-showroom .gm-video-wrapper {
  height: 380px;
}

@media (max-width: 768px) {
  .gm-video-card .gm-video-box,
  .gm-video-card .gm-video-wrapper {
    height: 220px;
  }
  .gm-video-card.gm-video-card-lg .gm-video-box,
  .gm-video-card.gm-video-card-lg .gm-video-wrapper,
  .gm-video-showroom .gm-video-box,
  .gm-video-showroom .gm-video-wrapper {
    height: 260px;
  }
}

.gm-video-card-body {
  padding: 1.25rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.gm-video-card-body h4 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--gm-blue-dark);
  margin-bottom: 0.35rem;
}

.gm-video-card-body p {
  font-size: 0.875rem;
  color: var(--gm-text-muted);
  margin-bottom: 0;
  line-height: 1.5;
}

/* --------------------------------------------------------------------------
   18. CTA FINAL ANTES DEL FOOTER
   -------------------------------------------------------------------------- */
.gm-final-cta {
  background: linear-gradient(135deg, #093853 0%, #052233 100%);
  color: #ffffff;
  padding: 4.5rem 0;
  position: relative;
  text-align: center;
}

.gm-final-cta h2 {
  color: #ffffff;
  font-size: clamp(1.85rem, 3.2vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 1rem;
}

.gm-final-cta p {
  color: #cbd5e1;
  font-size: 1.1rem;
  max-width: 650px;
  margin: 0 auto 2rem auto;
}

.gm-final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

/* --------------------------------------------------------------------------
   19. SECCIÓN: CONTACTO & UBICACIÓN EN MAPA
   -------------------------------------------------------------------------- */
.gm-contact-section {
  padding: 4.5rem 0;
  background-color: var(--gm-bg-light);
}

.gm-contact-card {
  background: #ffffff;
  border: 1px solid var(--gm-border);
  border-radius: var(--gm-radius-md);
  overflow: hidden;
  box-shadow: var(--gm-shadow-sm);
}

.gm-contact-info-panel {
  background-color: var(--gm-blue-dark);
  color: #ffffff;
  padding: 2.5rem;
  height: 100%;
}

.gm-contact-info-panel h3 {
  color: #ffffff;
  font-size: 1.5rem;
  margin-bottom: 1.25rem;
}

.gm-contact-info-panel p {
  color: #cbd5e1;
  font-size: 0.9rem;
}

.gm-contact-info-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.gm-contact-info-item i {
  color: var(--gm-cyan);
  font-size: 1.25rem;
  margin-top: 0.15rem;
}

.gm-contact-info-item h6 {
  color: #ffffff;
  font-size: 0.9rem;
  margin-bottom: 0.2rem;
}

.gm-contact-info-item span,
.gm-contact-info-item a {
  color: #cbd5e1;
  font-size: 0.85rem;
  display: block;
}

.gm-contact-form-panel {
  padding: 2.5rem;
}

.gm-contact-form-panel h3 {
  font-size: 1.35rem;
  margin-bottom: 1.5rem;
}

.gm-form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gm-blue-dark);
  margin-bottom: 0.35rem;
}

.gm-form-control {
  width: 100%;
  font-family: var(--gm-font);
  font-size: 0.9rem;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--gm-border-strong);
  border-radius: var(--gm-radius-sm);
  background-color: #ffffff;
  color: var(--gm-text-main);
  transition: var(--gm-transition);
}

.gm-form-control:focus {
  outline: none;
  border-color: var(--gm-cyan);
  box-shadow: 0 0 0 3px rgba(0, 173, 211, 0.15);
}

/* Mapa */
.gm-map-container {
  height: 380px;
  width: 100%;
  border-top: 1px solid var(--gm-border);
  overflow: hidden;
}

.gm-map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* --------------------------------------------------------------------------
   20. FOOTER INSTITUCIONAL COMPLETO
   -------------------------------------------------------------------------- */
.gm-footer {
  background-color: var(--gm-dark);
  color: #94a3b8;
  padding: 4.5rem 0 2rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

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

.gm-footer-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 1.25rem;
}

.gm-footer-brand img {
  height: 55px;
  width: auto;
  object-fit: contain;
}

.gm-footer-brand-name {
  color: #ffffff;
  font-weight: 800;
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.gm-footer p,
.gm-footer-text {
  color: #94a3b8;
  font-size: 0.875rem;
  line-height: 1.6;
}

.gm-footer h5,
.gm-footer h4,
.gm-footer-title {
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.gm-footer h5::after,
.gm-footer h4::after,
.gm-footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 25px;
  height: 2px;
  background-color: var(--gm-cyan);
}

.gm-footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.gm-footer-links li {
  margin-bottom: 0.6rem;
}

.gm-footer-links a {
  color: #94a3b8;
  font-size: 0.85rem;
  transition: var(--gm-transition);
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.gm-footer-links a:hover {
  color: var(--gm-cyan);
  transform: translateX(3px);
}

.gm-footer-social {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.gm-footer-social-btn {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff;
  border-radius: var(--gm-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--gm-transition);
  text-decoration: none;
}

.gm-footer-social-btn:hover {
  background: var(--gm-cyan);
  color: #ffffff;
  transform: translateY(-2px);
}

.gm-copyright {
  margin-top: 3.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8rem;
  color: #64748b;
}

.gm-copyright a {
  color: #94a3b8;
}

.gm-copyright a:hover {
  color: var(--gm-cyan);
}

/* --------------------------------------------------------------------------
   21. WHATSAPP CON SELECTOR DE NECESIDAD (LM Style con Identidad GM)
   -------------------------------------------------------------------------- */
.gm-wa-widget {
  position: fixed;
  bottom: 25px;
  right: 25px;
  z-index: 1060;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* Menú Selector Emergente */
.gm-wa-dropdown {
  position: absolute;
  bottom: 72px;
  right: 0;
  width: 320px;
  max-width: calc(100vw - 36px);
  background: #ffffff;
  border: 1px solid var(--gm-border-strong);
  border-radius: var(--gm-radius-md);
  box-shadow: 0 15px 35px rgba(9, 56, 83, 0.25);
  overflow: hidden;
  display: none;
  animation: gmFadeInUp 0.25s ease;
  z-index: 1070;
}

.gm-wa-dropdown.show {
  display: block;
}

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

.gm-wa-header {
  background: var(--gm-blue-dark);
  color: #ffffff;
  padding: 1rem 1.15rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--gm-cyan);
}

.gm-wa-header-title {
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1.2;
}

.gm-wa-header-sub {
  font-size: 0.725rem;
  color: #cbd5e1;
  display: block;
  margin-top: 2px;
}

.gm-wa-close-btn {
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

.gm-wa-close-btn:hover {
  opacity: 1;
  color: var(--gm-cyan);
}

.gm-wa-options-list {
  padding: 0.5rem 0;
  max-height: 380px;
  overflow-y: auto;
}

.gm-wa-option-btn {
  width: 100%;
  text-align: left;
  background: transparent;
  border: none;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--gm-font);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--gm-text-main);
  cursor: pointer;
  transition: var(--gm-transition);
}

.gm-wa-option-btn i {
  color: var(--gm-cyan);
  font-size: 1.05rem;
  width: 20px;
  text-align: center;
}

.gm-wa-option-btn:hover {
  background-color: var(--gm-cyan-light);
  color: var(--gm-blue-dark);
  padding-left: 1.25rem;
}

.gm-wa-footer {
  background-color: var(--gm-bg-subtle);
  padding: 0.6rem 1rem;
  font-size: 0.75rem;
  color: var(--gm-text-muted);
  border-top: 1px solid var(--gm-border);
  display: flex;
  align-items: center;
  gap: 6px;
}

.gm-wa-footer i {
  color: #25D366;
}

/* Botón Circular Flotante */
.gm-wa-trigger-btn {
  width: 58px;
  height: 58px;
  background-color: #25D366;
  color: #ffffff;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.85rem;
  box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
  cursor: pointer;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
}

.gm-wa-trigger-btn:hover {
  background-color: #1eb855;
  transform: scale(1.06);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.55);
}

/* Botón Volver arriba */
.gm-back-to-top {
  position: fixed;
  bottom: 25px;
  left: 25px;
  z-index: 1040;
  width: 44px;
  height: 44px;
  background: var(--gm-blue-dark);
  color: #ffffff;
  border-radius: var(--gm-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  opacity: 0;
  visibility: hidden;
  border: none;
  transition: var(--gm-transition);
  box-shadow: var(--gm-shadow-md);
  cursor: pointer;
}

.gm-back-to-top.show {
  opacity: 1;
  visibility: visible;
}

.gm-back-to-top:hover {
  background-color: var(--gm-cyan);
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   22. MODAL DE PRODUCTO / FICHA TÉCNICA
   -------------------------------------------------------------------------- */
.modal-content {
  border-radius: var(--gm-radius-md);
  border: 1px solid var(--gm-border);
  box-shadow: 0 20px 40px rgba(9, 56, 83, 0.25);
  font-family: var(--gm-font);
}

.modal-header {
  border-bottom: 1px solid var(--gm-border);
  padding: 1.25rem 1.5rem;
  background-color: var(--gm-bg-light);
}

.modal-title {
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--gm-blue-dark);
}

.modal-body {
  padding: 1.5rem;
}

.gm-modal-img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  border-radius: var(--gm-radius-sm);
  border: 1px solid var(--gm-border);
  margin-bottom: 1.25rem;
}

.gm-modal-spec-table {
  width: 100%;
  font-size: 0.85rem;
  margin-bottom: 1.25rem;
  border-collapse: collapse;
}

.gm-modal-spec-table th,
.gm-modal-spec-table td {
  padding: 0.5rem 0.75rem;
  border-bottom: 1px solid var(--gm-border);
}

.gm-modal-spec-table th {
  color: var(--gm-blue-dark);
  font-weight: 700;
  width: 35%;
  background-color: var(--gm-bg-subtle);
}

.modal-footer {
  border-top: 1px solid var(--gm-border);
  padding: 1rem 1.5rem;
}

/* --------------------------------------------------------------------------
   23. MEDIA QUERIES RESPONSIVE (320px, 375px, 390px, 414px, 768px, 1024px, 1280px)
   -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
  .gm-topbar {
    display: none;
  }
  
  .gm-brand-logo {
    height: 78px;
  }
  
  .gm-navbar .navbar-collapse {
    background-color: #ffffff;
    padding: 1rem;
    border-radius: var(--gm-radius-sm);
    box-shadow: var(--gm-shadow-md);
    margin-top: 0.75rem;
    border: 1px solid var(--gm-border);
  }
  
  .gm-nav .nav-link {
    padding: 0.65rem 0 !important;
    border-bottom: 1px solid var(--gm-border);
  }
  
  .gm-nav .nav-link::after {
    display: none;
  }
  
  .gm-hero-slide {
    padding: 2.5rem 0;
  }
  
  .gm-hero-media-wrapper {
    margin-top: 2rem;
  }
  
  .gm-hero-media-wrapper video,
  .gm-hero-media-wrapper img {
    height: 280px;
  }
  
  .gm-hero-nav-btn {
    display: none; /* En mobile se navega por swipe táctil */
  }

  .gm-job-swiper {
    height: 280px;
  }
  
  .gm-camaras-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .gm-contact-info-panel,
  .gm-contact-form-panel {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .gm-brand-title {
    font-size: 1rem;
  }
  
  .gm-brand-subtitle {
    font-size: 0.65rem;
  }
  
  .gm-hero-slide h1,
  .gm-hero-slide h2.gm-hero-title {
    font-size: 1.75rem;
  }
  
  .gm-btn {
    width: 100%;
  }
  
  .gm-hero-highlights {
    grid-template-columns: 1fr;
  }
  
  .gm-wa-widget {
    bottom: 20px;
    right: 20px;
  }
  
  .gm-wa-trigger-btn {
    width: 52px;
    height: 52px;
    font-size: 1.6rem;
  }
  
  .gm-wa-dropdown {
    bottom: 64px;
    width: 290px;
  }
  
  .gm-back-to-top {
    bottom: 20px;
    left: 20px;
    width: 40px;
    height: 40px;
  }
  
  .gm-job-swiper {
    height: 220px;
  }
  
  .gm-job-card-body {
    padding: 1.25rem;
  }
  
  .gm-camaras-grid {
    grid-template-columns: 1fr 1fr;
  }
}


.subtitulo{
  font-family: var(--gm-font);
}

/* =========================================
   ACTECMAX - PRODUCTOS
========================================= */
.gm-actecmax-filter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2.5rem;
}

.gm-actecmax-filter-btn {
  background-color: #ffffff;
  color: var(--gm-blue-dark);
  border: 1px solid var(--gm-border);
  padding: 0.5rem 1.15rem;
  border-radius: var(--gm-radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--gm-transition);
}

.gm-actecmax-filter-btn:hover {
  border-color: var(--gm-cyan);
  color: var(--gm-cyan);
  background-color: var(--gm-cyan-light);
}

.gm-actecmax-filter-btn.active {
  background-color: var(--gm-blue-dark);
  color: #ffffff;
  border-color: var(--gm-blue-dark);
}

.gm-actecmax-card-media {
  height: 230px;
  background-color: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--gm-border);
}

.gm-actecmax-card-media img {
  max-height: 100%;
  max-width: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.gm-product-card:hover .gm-actecmax-card-media img {
  transform: scale(1.04);
}

.gm-actecmax-cat-header {
  border-bottom: 2px solid var(--gm-cyan-light);
  padding-bottom: 0.65rem;
  margin-bottom: 1.5rem;
  margin-top: 2.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.gm-actecmax-cat-header:first-of-type {
  margin-top: 0;
}

.gm-actecmax-cat-header h3 {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--gm-blue-dark);
  margin-bottom: 0;
}