/* ==========================================================================
   ESTILOS GENERALES: GEOEVALUACIONES.MX
   Paleta: 
     - Azul Marino Perforación: #031933
     - Ámbar / Terracota Industrial: #d97736 (hover: #b85f24)
     - Gris Pizarra Oscuro: #1E293B
     - Blanco y Gris Técnico: #FFFFFF / #F8FAFC
   ========================================================================== */

:root {
  --primary-color: #031933;
  --primary-dark: #020f20;
  --primary-light: #0d2e59;
  --amber-color: #d97736;
  --amber-hover: #b85f24;
  --slate-dark: #1E293B;
  --slate-medium: #475569;
  --slate-light: #94A3B8;
  --bg-light: #F8FAFC;
  --bg-white: #FFFFFF;
  --border-color: #E2E8F0;
  --font-main: 'Inter', -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.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 86px;
  font-size: 16px;
}

body {
  font-family: var(--font-main);
  color: var(--slate-dark);
  background-color: var(--bg-white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* ==========================================================================
   1. CABECERA Y NAVEGACIÓN
   ========================================================================== */

.top-bar {
  background-color: var(--primary-color);
  color: #FFFFFF;
  font-size: 0.85rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.location-tag, .phone-link, .wa-top-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.top-bar-right a:hover {
  color: #FBBF24;
}

.wa-top-link {
  color: #4ADE80;
  font-weight: 600;
}

.wa-top-link:hover {
  color: #86EFAC !important;
}

.sep {
  opacity: 0.4;
}

/* Navbar */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s ease;
}

.nav-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  height: auto;
  gap: 16px;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}

.logo-badge {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  overflow: hidden;
  box-shadow: none;
  background-color: transparent;
  flex-shrink: 0;
}

.logo-badge-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-title {
  font-size: 1.38rem;
  font-weight: 800;
  color: var(--primary-color);
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.brand-sub {
  font-size: 0.78rem;
  color: var(--slate-medium);
  font-weight: 600;
  letter-spacing: 0.8px;
}

.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  gap: 16px;
}

.nav-item {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--slate-dark);
  padding: 6px 0;
  position: relative;
  text-align: center;
  white-space: nowrap;
}

.nav-item:hover,
.nav-item.active {
  color: var(--primary-color);
}

.nav-item::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background-color: var(--amber-color);
  transition: width 0.2s ease;
}

.nav-item:hover::after,
.nav-item.active::after {
  width: 100%;
}

.btn-cta-nav {
  background-color: var(--amber-color);
  color: #FFFFFF;
  padding: 9px 18px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 2px 4px rgba(217, 119, 54, 0.3);
}

.btn-cta-nav:hover {
  background-color: var(--amber-hover);
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 3px;
  background-color: var(--primary-color);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* ==========================================================================
   2. HERO SECTION
   ========================================================================== */

.hero-section {
  position: relative;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-color) 60%, var(--primary-light) 100%);
  color: #FFFFFF;
  padding: 90px 0 100px;
  overflow: hidden;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: 
    radial-gradient(circle at 85% 20%, rgba(217, 119, 54, 0.15) 0%, transparent 40%),
    linear-gradient(rgba(3, 25, 51, 0.88), rgba(2, 15, 32, 0.96));
  pointer-events: none;
}

.hero-container {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  align-items: center;
  gap: 40px;
}

.hero-content {
  max-width: 720px;
}

.hero-media {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0;
  background: transparent;
  border-radius: 0;
  border: none;
  box-shadow: none;
  transition: transform 0.4s ease;
}

.hero-logo-card:hover {
  transform: translateY(-6px) scale(1.02);
}

.hero-logo-glow {
  display: none;
}

.hero-logo-3d {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 50%;
  display: block;
  position: relative;
  z-index: 1;
  box-shadow: none;
  border: none;
}

.hero-logo-badge-overlay {
  position: absolute;
  bottom: 0px;
  background: rgba(3, 25, 51, 0.9);
  border: 1px solid var(--amber-color);
  color: #FFFFFF;
  font-size: 0.78rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  z-index: 2;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.kicker-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #F8FAFC;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 24px;
  letter-spacing: 0.3px;
}

.kicker-badge .dot {
  width: 8px;
  height: 8px;
  background-color: var(--amber-color);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 8px var(--amber-color);
}

.hero-title {
  font-size: 2.6rem;
  font-weight: 800;
  line-height: 1.18;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}

.hero-title span {
  color: #FBBF24;
  display: block;
  font-size: 2.2rem;
  margin-top: 6px;
}

.hero-subtitle {
  font-size: 1.12rem;
  line-height: 1.65;
  color: #E2E8F0;
  margin-bottom: 34px;
  max-width: 840px;
}

.hero-subtitle strong {
  color: #FFFFFF;
  text-decoration: underline;
  text-decoration-color: var(--amber-color);
}

.hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.25s ease;
  border: 2px solid transparent;
}

.btn-primary {
  background-color: var(--amber-color);
  color: #FFFFFF;
  box-shadow: 0 4px 14px rgba(217, 119, 54, 0.4);
}

.btn-primary:hover {
  background-color: var(--amber-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 54, 0.5);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
  color: #FFFFFF;
  backdrop-filter: blur(4px);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #FFFFFF;
}

/* ==========================================================================
   3. CINTILLO DE MÉTRICAS (PROOF COUNTERS)
   ========================================================================== */

.metrics-bar {
  background-color: var(--bg-white);
  margin-top: -36px;
  position: relative;
  z-index: 10;
  padding-bottom: 40px;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: var(--shadow-lg);
}

.metric-card {
  text-align: center;
  border-right: 1px solid var(--border-color);
  padding: 0 15px;
}

.metric-card:last-child {
  border-right: none;
}

.metric-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 8px;
}

.metric-number .unit {
  font-size: 1.5rem;
  color: var(--amber-color);
}

.metric-label {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--slate-dark);
  margin-bottom: 6px;
}

.metric-desc {
  font-size: 0.8rem;
  color: var(--slate-medium);
  line-height: 1.4;
}

/* ==========================================================================
   4. RESPALDO COMERCIAL (CLIENTES)
   ========================================================================== */

.clients-section {
  padding: 60px 0;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

.section-header {
  margin-bottom: 45px;
}

.section-header.text-center {
  text-align: center;
}

.sub-heading {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--amber-color);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-title {
  font-size: 1.95rem;
  font-weight: 800;
  color: var(--primary-color);
  line-height: 1.25;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--slate-medium);
  max-width: 780px;
  line-height: 1.55;
}

.section-header.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

/* Marquee / Carrusel Continuo de Clientes en Fila Única */
.clients-section {
  padding: 60px 0 75px 0;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
  overflow: hidden;
}

.clients-marquee-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  padding: 12px 0;
  mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 6%, black 94%, transparent 100%);
}

.clients-marquee-track {
  display: flex;
  width: max-content;
  animation: marqueeLeftToRight 45s linear infinite;
  will-change: transform;
}

.clients-marquee-wrapper:hover .clients-marquee-track {
  animation-play-state: paused;
}

.clients-marquee-group {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-right: 20px;
  flex-shrink: 0;
}

.client-badge {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 12px 22px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 190px;
  height: 76px;
  flex-shrink: 0;
  color: var(--slate-medium);
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  user-select: none;
}

.client-badge:hover {
  border-color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.client-logo-img {
  max-width: 100%;
  max-height: 48px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.72);
  transition: all 0.25s ease;
}

.client-logo-img.logo-wide {
  max-height: 50px;
  width: 95%;
  max-width: 165px;
}

.client-badge:hover .client-logo-img {
  filter: grayscale(0%) opacity(1);
}

.client-badge.highlight {
  background: #FFFFFF;
  border-left: 3px solid var(--primary-color);
}

/* Animación en Bucle Infinito de Izquierda a Derecha */
@keyframes marqueeLeftToRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

@media (max-width: 768px) {
  .clients-marquee-track {
    animation-duration: 32s;
  }
  .client-badge {
    width: 160px;
    height: 68px;
    padding: 10px 16px;
  }
  .client-logo-img {
    max-height: 40px;
  }
}

/* ==========================================================================
   5. SECCIÓN DE MAQUINARIA Y FLOTILLA PROPIA
   ========================================================================== */

.fleet-section {
  padding: 90px 0;
  background-color: var(--bg-white);
}

.fleet-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.fleet-card {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
}

.fleet-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.fleet-card.featured {
  border: 2px solid var(--amber-color);
  background: linear-gradient(180deg, #FFFDF8 0%, #FFFFFF 100%);
}

.fleet-badge {
  position: absolute;
  top: -12px;
  right: 20px;
  background-color: var(--amber-color);
  color: #FFFFFF;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.fleet-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 18px;
  margin-bottom: 20px;
}

.fleet-id {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--amber-color);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.fleet-model {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 6px;
}

.fleet-tagline {
  font-size: 0.88rem;
  color: var(--slate-medium);
}

.fleet-specs {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
  flex-grow: 1;
}

.spec-row {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.spec-label {
  font-size: 0.8rem;
  color: var(--slate-medium);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.spec-val {
  font-size: 1.05rem;
  color: var(--slate-dark);
}

.spec-val-list {
  display: flex;
  flex-direction: column;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--slate-dark);
}

.text-amber {
  color: var(--amber-color);
}

.fleet-footer {
  border-top: 1px dashed var(--border-color);
  padding-top: 16px;
  font-size: 0.85rem;
  color: var(--slate-medium);
}

.focus-label {
  display: block;
  font-weight: 700;
  color: var(--slate-dark);
  margin-bottom: 4px;
}

.fleet-cta-banner {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #FFFFFF;
  border-radius: var(--radius-md);
  padding: 30px 40px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.fleet-cta-banner h4 {
  font-size: 1.25rem;
  font-weight: 800;
  margin-bottom: 4px;
}

.fleet-cta-banner p {
  color: #E2E8F0;
  font-size: 0.95rem;
}

.btn-wa-action {
  background-color: #22C55E;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  font-size: 0.95rem;
  box-shadow: 0 4px 10px rgba(34, 197, 94, 0.35);
}

.btn-wa-action:hover {
  background-color: #16A34A;
  transform: translateY(-2px);
}

/* ==========================================================================
   6. SERVICIOS DE INGENIERÍA Y GEOCIENCIAS
   ========================================================================== */

.services-section {
  padding: 90px 0;
  background-color: var(--bg-light);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.service-box {
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px 24px;
  transition: all 0.3s ease;
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.service-box:hover {
  transform: translateY(-4px);
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: 10px;
  background-color: rgba(3, 25, 51, 0.08);
  color: var(--primary-color);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.service-box:hover .service-icon-wrap {
  background-color: var(--primary-color);
  color: #FFFFFF;
}

.service-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.service-content {
  flex: 1;
}

.service-box h3 {
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 8px;
  line-height: 1.3;
}

.service-box p {
  font-size: 0.9rem;
  color: var(--slate-medium);
  line-height: 1.55;
  margin: 0;
}

/* ==========================================================================
   7. FICHAS TÉCNICAS DE CASOS DE ÉXITO
   ========================================================================== */

.cases-section {
  padding: 90px 0;
  background-color: var(--bg-white);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 24px;
}

.case-card {
  background-color: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 26px;
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
}

.case-card:hover {
  border-color: var(--primary-color);
  box-shadow: var(--shadow-md);
}

.case-header {
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.case-client {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--amber-color);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.case-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 4px;
}

.case-loc {
  font-size: 0.85rem;
  color: var(--slate-medium);
  font-weight: 600;
}

.case-body {
  font-size: 0.88rem;
  color: var(--slate-dark);
  flex-grow: 1;
  margin-bottom: 20px;
}

.case-body p {
  margin-bottom: 8px;
}

.case-body ul {
  padding-left: 20px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.case-badge-status {
  font-size: 0.75rem;
  font-weight: 700;
  background-color: #E2E8F0;
  color: var(--slate-dark);
  padding: 6px 12px;
  border-radius: 4px;
  text-align: center;
}

/* ==========================================================================
   SECCIÓN QUIÉNES SOMOS
   ========================================================================== */

.about-section {
  padding: 90px 0;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

.about-container {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.about-text .lead-text {
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--slate-dark);
  margin-bottom: 16px;
  line-height: 1.6;
}

.about-text p {
  font-size: 0.98rem;
  color: var(--slate-medium);
  margin-bottom: 20px;
}

.about-intro-points {
  color: var(--primary-color) !important;
  font-size: 1rem !important;
  margin-top: 10px;
  margin-bottom: 18px !important;
}

.advantages-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 10px;
}

.advantage-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background-color: var(--bg-white);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--amber-color);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  box-shadow: var(--shadow-sm);
  transition: all 0.25s ease;
}

.advantage-card:hover {
  transform: translateX(4px);
  box-shadow: var(--shadow-md);
  border-left-color: var(--primary-color);
}

.advantage-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: #FFFFFF;
  font-weight: 800;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.advantage-content h4 {
  font-size: 0.98rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 4px;
  line-height: 1.35;
}

.advantage-content p {
  font-size: 0.88rem !important;
  color: var(--slate-medium) !important;
  margin-bottom: 0 !important;
  line-height: 1.5;
}

.about-highlight-card {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: #FFFFFF;
  border-radius: var(--radius-lg);
  padding: 40px 32px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.about-highlight-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 14px;
  color: #FBBF24;
}

.highlight-quote {
  font-style: italic;
  font-size: 1.05rem;
  line-height: 1.6;
  color: #F1F5F9;
  margin-bottom: 30px;
}

.badge-exp {
  display: flex;
  align-items: center;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding-top: 20px;
}

.badge-exp .num {
  font-size: 3rem;
  font-weight: 900;
  color: var(--amber-color);
  line-height: 1;
}

.badge-exp .txt {
  font-size: 0.9rem;
  font-weight: 600;
  color: #FFFFFF;
  line-height: 1.3;
}

/* ==========================================================================
   8. FORMULARIO DE COTIZACIÓN INTELIGENTE (LEAD CAPTURE)
   ========================================================================== */

.quote-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--bg-white) 0%, #EEF2F6 100%);
}

.quote-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.quote-header {
  text-align: center;
  margin-bottom: 36px;
}

.sub-heading-light {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--amber-color);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.quote-title {
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 12px;
}

.quote-desc {
  font-size: 0.98rem;
  color: var(--slate-medium);
  max-width: 700px;
  margin: 0 auto;
}

.quote-form {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--slate-dark);
}

.quote-form input[type="text"],
.quote-form input[type="email"],
.quote-form input[type="tel"],
.quote-form select {
  width: 100%;
  padding: 12px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  background-color: #FFFFFF;
  color: var(--slate-dark);
  transition: all 0.2s ease;
}

.quote-form input:focus,
.quote-form select:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px rgba(3, 25, 51, 0.15);
}

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  background-color: var(--bg-light);
  padding: 16px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
}

.check-container {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--slate-dark);
  cursor: pointer;
  user-select: none;
}

.check-container input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-color);
  cursor: pointer;
}

.btn-submit {
  background-color: var(--amber-color);
  color: #FFFFFF;
  font-size: 1.1rem;
  font-weight: 800;
  padding: 16px 36px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  width: 100%;
  max-width: 450px;
  margin: 10px auto 0;
  box-shadow: 0 4px 14px rgba(217, 119, 54, 0.4);
}

.btn-submit:hover {
  background-color: var(--amber-hover);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(217, 119, 54, 0.5);
}

.trust-notice {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--slate-medium);
  margin-top: 14px;
}

.trust-notice svg {
  color: #22C55E;
  flex-shrink: 0;
}

.trust-notice a {
  color: var(--primary-color);
  text-decoration: underline;
  font-weight: 600;
}

.form-feedback {
  margin-top: 20px;
  padding: 16px;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  text-align: center;
}

.form-feedback.success {
  background-color: #ECFDF5;
  color: #065F46;
  border: 1px solid #A7F3D0;
}

.form-feedback.error {
  background-color: #FEF2F2;
  color: #991B1B;
  border: 1px solid #FECACA;
}

.hidden {
  display: none !important;
}

/* ==========================================================================
   9. PIE DE PÁGINA (FOOTER)
   ========================================================================== */

.footer {
  background-color: var(--primary-dark);
  color: #FFFFFF;
  padding: 70px 0 0;
}

.footer-content {
  display: grid;
  grid-template-columns: 1.3fr 1fr 0.9fr 1fr;
  gap: 36px;
  padding-bottom: 50px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.footer-logo .logo-badge {
  width: 94px;
  height: 94px;
  border-radius: 50%;
  border: none;
  box-shadow: none;
  overflow: hidden;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: transparent;
}

.footer-logo-img {
  width: 100%;
  height: 100%;
  max-width: 94px;
  max-height: 94px;
  object-fit: cover;
  display: block;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
}

.footer-logo .brand-title,
.footer-logo-text strong {
  color: #FFFFFF;
  font-size: 1.38rem;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.1;
}

.footer-logo .brand-sub,
.footer-logo-text span {
  color: #94A3B8;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.8px;
}

.company-legal, .company-addr {
  font-size: 0.84rem;
  color: #CBD5E1;
  line-height: 1.5;
  margin-bottom: 12px;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 18px;
  letter-spacing: 0.3px;
  position: relative;
  padding-bottom: 8px;
}

.footer-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 28px;
  height: 2px;
  background-color: var(--amber-color);
}

.footer-contact-list, .footer-links-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.88rem;
  color: #CBD5E1;
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.footer-contact-list svg {
  color: var(--amber-color);
  flex-shrink: 0;
  margin-top: 3px;
}

.footer-contact-list a:hover,
.footer-links-list a:hover {
  color: #FBBF24;
}

.norm-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #93C5FD;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 6px 10px;
  border-radius: 4px;
  margin-top: 8px;
}

.footer-bottom {
  background-color: #051622;
  padding: 22px 0;
  font-size: 0.82rem;
  color: #94A3B8;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.web-meta {
  color: #64748B;
}

/* ==========================================================================
   BOTÓN FLOTANTE DE WHATSAPP
   ========================================================================== */

.whatsapp-floating {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 62px;
  height: 62px;
  background: transparent;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), filter 0.3s ease;
  filter: drop-shadow(0 6px 14px rgba(0, 0, 0, 0.35));
}

.whatsapp-floating-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.whatsapp-floating svg {
  width: 34px;
  height: 34px;
}

.whatsapp-floating:hover {
  transform: scale(1.1) translateY(-2px);
  filter: drop-shadow(0 10px 22px rgba(37, 211, 102, 0.55));
}

.float-tooltip {
  position: absolute;
  right: 70px;
  background-color: var(--slate-dark);
  color: #FFFFFF;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 8px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  box-shadow: var(--shadow-md);
}

.whatsapp-floating:hover .float-tooltip {
  opacity: 1;
}

/* ==========================================================================
   MODALES (VIDEO Y AVISO DE PRIVACIDAD)
   ========================================================================== */

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.75);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-container {
  background-color: #FFFFFF;
  border-radius: var(--radius-lg);
  max-width: 700px;
  width: 100%;
  position: relative;
  padding: 30px;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 15px;
  right: 20px;
  background: none;
  border: none;
  font-size: 2rem;
  color: var(--slate-medium);
  cursor: pointer;
  line-height: 1;
}

.video-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background-color: #000000;
}

.video-responsive-wrap {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 */
  height: 0;
  background-color: #0F172A;
  border-radius: var(--radius-md);
  overflow: hidden;
}

.video-placeholder {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  text-align: center;
  padding: 20px;
}

.video-play-icon {
  width: 60px;
  height: 60px;
  background-color: var(--amber-color);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 14px;
}

.video-placeholder h3 {
  font-size: 1.2rem;
  margin-bottom: 6px;
}

.video-placeholder p {
  font-size: 0.9rem;
  color: #CBD5E1;
}

.video-note {
  font-size: 0.75rem;
  color: #94A3B8;
  margin-top: 10px;
}

.legal-modal {
  max-height: 85vh;
  overflow-y: auto;
}

.legal-modal h2 {
  color: var(--primary-color);
  margin-bottom: 6px;
}

.legal-date {
  font-size: 0.85rem;
  color: var(--slate-medium);
  margin-bottom: 20px;
}

.legal-body {
  font-size: 0.92rem;
  color: var(--slate-dark);
  line-height: 1.65;
}

.legal-body h4 {
  color: var(--primary-color);
  margin: 16px 0 8px;
}

.legal-body ul {
  padding-left: 20px;
  margin-bottom: 14px;
}

/* ==========================================================================
   8. GALERÍA DE MAQUINARIA Y PROYECTOS EN CAMPO
   ========================================================================== */

.gallery-section {
  padding: 90px 0;
  background-color: var(--bg-light);
  border-top: 1px solid var(--border-color);
}

.gallery-filters {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 40px;
}

.gallery-filter-btn {
  background: #FFFFFF;
  border: 1px solid var(--border-color);
  color: var(--slate-dark);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: var(--shadow-sm);
  outline: none;
}

.gallery-filter-btn:hover {
  border-color: var(--amber-color);
  color: var(--amber-color);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.gallery-filter-btn.active {
  background-color: var(--primary-color);
  color: #FFFFFF;
  border-color: var(--primary-color);
  box-shadow: 0 4px 14px rgba(3, 25, 51, 0.25);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 26px;
  margin-bottom: 40px;
}

.gallery-card {
  background-color: #FFFFFF;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.gallery-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--primary-color);
}

.gallery-card.hidden {
  display: none !important;
}

.gallery-media {
  position: relative;
  width: 100%;
  height: 220px;
  background-color: #0c1c2e;
  overflow: hidden;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
  display: block;
}

.gallery-card:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 2;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 4px;
  letter-spacing: 0.5px;
}

.badge-primary {
  background-color: var(--amber-color);
  color: #FFFFFF;
}

.badge-info {
  background-color: #0284c7;
  color: #FFFFFF;
}

.badge-success {
  background-color: #059669;
  color: #FFFFFF;
}

.badge-warning {
  background-color: #d97706;
  color: #FFFFFF;
}

.gallery-media-overlay {
  position: absolute;
  inset: 0;
  background: rgba(3, 25, 51, 0.78);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 3;
  color: #FFFFFF;
}

.gallery-card:hover .gallery-media-overlay {
  opacity: 1;
}

.zoom-icon {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--amber-color);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(217, 119, 54, 0.5);
  transform: translateY(10px);
  transition: transform 0.3s ease;
}

.zoom-icon svg {
  width: 22px;
  height: 22px;
  stroke: #FFFFFF;
}

.gallery-card:hover .zoom-icon {
  transform: translateY(0);
}

.zoom-text {
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: #F8FAFC;
}

.gallery-info {
  padding: 20px 22px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  background-color: #FFFFFF;
}

.gallery-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
  font-size: 0.76rem;
  font-weight: 700;
}

.gallery-tag {
  color: var(--amber-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.gallery-location {
  color: var(--slate-medium);
  font-weight: 600;
}

.gallery-card-title {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 8px;
  line-height: 1.35;
}

.gallery-desc {
  font-size: 0.88rem;
  color: var(--slate-medium);
  line-height: 1.5;
  margin: 0;
}

.gallery-cta-banner {
  background: linear-gradient(135deg, var(--primary-color) 0%, #0a274c 100%);
  border-radius: var(--radius-md);
  padding: 30px 34px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  color: #FFFFFF;
  border-left: 6px solid var(--amber-color);
  box-shadow: var(--shadow-md);
  margin-top: 15px;
}

.gallery-cta-text h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.gallery-cta-text p {
  font-size: 0.92rem;
  color: #CBD5E1;
  margin: 0;
}

/* ==========================================================================
   MODAL LIGHTBOX PARA LA GALERÍA
   ========================================================================== */

.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(3, 25, 51, 0.93);
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 24px;
  backdrop-filter: blur(8px);
}

.lightbox-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.lightbox-dialog {
  background: #FFFFFF;
  border-radius: var(--radius-md);
  max-width: 960px;
  width: 100%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  position: relative;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.55);
  transform: scale(0.94);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active .lightbox-dialog {
  transform: scale(1);
}

.lightbox-close {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(3, 25, 51, 0.75);
  border: none;
  color: #FFFFFF;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
}

.lightbox-close:hover {
  background: var(--amber-color);
  transform: rotate(90deg);
}

.lightbox-nav-btn {
  position: absolute;
  top: 40%;
  transform: translateY(-50%);
  background: rgba(3, 25, 51, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #FFFFFF;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
}

.lightbox-nav-btn svg {
  width: 24px;
  height: 24px;
}

.lightbox-nav-btn.prev {
  left: 14px;
}

.lightbox-nav-btn.next {
  right: 14px;
}

.lightbox-nav-btn:hover {
  background: var(--amber-color);
  border-color: var(--amber-color);
  transform: translateY(-50%) scale(1.1);
}

.lightbox-body {
  display: flex;
  flex-direction: column;
  overflow-y: auto;
  max-height: 88vh;
}

.lightbox-media-wrap {
  background: #091524;
  width: 100%;
  height: 480px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.lightbox-img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.lightbox-caption {
  padding: 24px 30px;
  background: #FFFFFF;
  border-top: 1px solid var(--border-color);
}

.lightbox-meta-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.lightbox-badge {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--amber-color);
  letter-spacing: 0.5px;
}

.lightbox-location {
  font-size: 0.85rem;
  color: var(--slate-medium);
  font-weight: 600;
}

.lightbox-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-color);
  margin-bottom: 8px;
}

.lightbox-desc {
  font-size: 0.95rem;
  color: var(--slate-dark);
  line-height: 1.6;
  margin: 0;
}

/* ==========================================================================
   RESPONSIVIDAD (MOBILE FIRST FOCUS)
   ========================================================================== */

@media (max-width: 992px) {
  .hero-container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .hero-media {
    order: -1;
  }
  .hero-logo-3d {
    max-width: 220px;
  }
  .hero-title {
    font-size: 2.1rem;
  }
  .hero-title span {
    font-size: 1.7rem;
  }
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .metric-card:nth-child(2) {
    border-right: none;
  }
  .metric-card:nth-child(3) {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
  }
  .metric-card:nth-child(4) {
    border-top: 1px solid var(--border-color);
    padding-top: 15px;
  }
  .fleet-grid, .services-grid {
    grid-template-columns: 1fr;
  }
  .about-container {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 1180px) {
  .menu-toggle {
    display: flex;
  }
  .nav-links {
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    background-color: #FFFFFF;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 28px 24px;
    gap: 16px;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: var(--shadow-lg);
    display: none;
    z-index: 999;
  }
  .nav-links.active {
    display: flex;
  }
  .nav-links .nav-item {
    font-size: 1.05rem;
    padding: 8px 0;
    text-align: center;
    width: 100%;
  }
  .nav-links .btn-cta-nav {
    width: 100%;
    max-width: 300px;
    text-align: center;
    margin-top: 6px;
  }
}

@media (max-width: 768px) {
  .top-bar-content {
    flex-direction: column;
    text-align: center;
  }
  .hero-section {
    padding: 60px 0 80px;
  }
  .hero-title {
    font-size: 1.8rem;
  }
  .hero-title span {
    font-size: 1.45rem;
  }
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
  .metrics-grid {
    grid-template-columns: 1fr;
  }
  .metric-card {
    border-right: none !important;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 15px;
  }
  .metric-card:last-child {
    border-bottom: none;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .footer-content {
    grid-template-columns: 1fr;
  }
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
  .quote-card {
    padding: 30px 20px;
  }
  .fleet-cta-banner {
    padding: 24px 20px;
  }
  .gallery-grid {
    grid-template-columns: 1fr;
  }
  .gallery-cta-banner {
    flex-direction: column;
    text-align: center;
    padding: 24px 20px;
  }
  .lightbox-media-wrap {
    height: 300px;
  }
  .lightbox-nav-btn {
    width: 38px;
    height: 38px;
  }
  .lightbox-caption {
    padding: 18px 20px;
  }
  .lightbox-title {
    font-size: 1.15rem;
  }
  .whatsapp-floating {
    bottom: 18px;
    right: 18px;
    width: 54px;
    height: 54px;
  }
  .float-tooltip {
    display: none;
  }
}


.wa-top-icon, .wa-footer-icon {
  width: 16px;
  height: 16px;
  object-fit: contain;
  vertical-align: middle;
  display: inline-block;
}

.wa-footer-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
/* Estilos de Carrusel / MÃºltiples Fotos en Lightbox */
.lightbox-gallery-counter {
  position: absolute;
  top: 16px;
  left: 16px;
  background: rgba(3, 25, 51, 0.85);
  color: #FFFFFF;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 10;
  backdrop-filter: blur(4px);
}

.lightbox-thumbnails-wrap {
  background: #060e18;
  padding: 12px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  overflow-x: auto;
  scrollbar-width: thin;
}

.lightbox-thumbnails {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
}

.lightbox-thumb-item {
  width: 68px;
  height: 50px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
  opacity: 0.6;
  transition: all 0.2s ease;
  flex-shrink: 0;
  background: #000;
}

.lightbox-thumb-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.lightbox-thumb-item:hover {
  opacity: 0.9;
  transform: translateY(-2px);
}

.lightbox-thumb-item.active {
  opacity: 1;
  border-color: var(--amber-color, #d97736);
  box-shadow: 0 0 10px rgba(217, 119, 54, 0.5);
}
