/* ========================================
   HERO
   ======================================== */
.hero-gestion-relojes {
  padding: 56px 0;
  background: var(--bg-white);
}

.hero-gestion-relojes-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-gestion-relojes-text {
  max-width: 640px;
}

.hero-gestion-relojes-header {
  color: var(--text-light);
  font-size: 14px;
  margin-bottom: var(--spacing-md);
}

.hero-gestion-relojes-title {
  font-size: 44px;
  font-weight: 700;
  color: var(--text-default);
  margin: 0 0 var(--spacing-lg) 0;
  line-height: 1.2;
}

.hero-gestion-relojes-description {
  font-size: 18px;
  color: var(--text-muted);
  margin: 0 0 var(--spacing-xl) 0;
  max-width: 56ch;
}

.hero-gestion-relojes-actions {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-xl);
}

.hero-gestion-relojes-specs {
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

.hero-gestion-relojes-visual img {
  width: 100%;
  height: auto;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-xl);
  display: block;
}

/* ========================================
   DIFERENCIAL + TABLA
   ======================================== */
.gestion-relojes-diferencial {
  padding: var(--spacing-4xl) 0;
  background: var(--gray-50);
}

.gestion-relojes-diferencial .section-header {
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
}

.gestion-relojes-diferencial .section-description {
  max-width: 720px;
}

.gestion-relojes-eyebrow {
  color: var(--orange-500);
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: var(--spacing-sm);
}

.gestion-relojes-table-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: var(--text-default);
  margin: 0 0 var(--spacing-lg) 0;
}

.gestion-relojes-table-wrap {
  max-width: 1000px;
  margin: 0 auto;
  overflow-x: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-md);
  background: var(--bg-white);
}

.gestion-relojes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  line-height: 1.5;
}

.gestion-relojes-table th,
.gestion-relojes-table td {
  padding: var(--spacing-md) var(--spacing-lg);
  text-align: left;
  vertical-align: top;
  border-bottom: 1px solid var(--gray-200);
}

.gestion-relojes-table tbody tr:last-child th,
.gestion-relojes-table tbody tr:last-child td {
  border-bottom: none;
}

.gestion-relojes-table thead th {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-default);
  background: var(--gray-100);
}

.gestion-relojes-table thead th.is-veotime {
  background: var(--blue-500);
  color: var(--bg-white);
}

.gestion-relojes-table-sub {
  font-weight: 400;
  font-size: 13px;
  color: var(--text-muted);
}

.gestion-relojes-table tbody th {
  font-weight: 600;
  color: var(--text-default);
  width: 20%;
}

.gestion-relojes-table td {
  color: var(--text-muted);
  width: 40%;
}

.gestion-relojes-table td.is-veotime {
  color: var(--text-default);
  background: var(--blue-50);
}

.gestion-relojes-table-icon {
  width: 16px;
  height: 16px;
  margin-right: var(--spacing-sm);
  vertical-align: -2px;
}

.gestion-relojes-closing {
  text-align: center;
  max-width: 680px;
  margin: var(--spacing-2xl) auto 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-default);
}

/* ========================================
   CAPACIDADES
   ======================================== */
.gestion-relojes-capacidades {
  padding: var(--spacing-4xl) 0;
  background: var(--bg-white);
}

.gestion-relojes-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-xl);
}

.gestion-relojes-card {
  display: flex;
  flex-direction: column;
  padding: var(--spacing-2xl);
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  background: var(--bg-white);
  transition: box-shadow var(--transition-normal), border-color var(--transition-normal);
}

.gestion-relojes-card:hover {
  border-color: var(--orange-200);
  box-shadow: var(--shadow-md);
}

.gestion-relojes-card-icon {
  width: 40px;
  height: 40px;
  margin-bottom: var(--spacing-md);
}

.gestion-relojes-card-label {
  color: var(--orange-500);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0 0 var(--spacing-xs) 0;
}

.gestion-relojes-card-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-default);
  margin: 0 0 var(--spacing-md) 0;
  line-height: 1.3;
}

.gestion-relojes-card-description {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.6;
  margin: 0 0 var(--spacing-lg) 0;
  flex: 1;
}

.gestion-relojes-card-benefit {
  margin: 0;
  padding-top: var(--spacing-md);
  border-top: 1px solid var(--gray-100);
  color: var(--blue-500);
  font-weight: 600;
  font-size: 15px;
}

/* ========================================
   EQUIPOS (link a /relojes-biometricos)
   ======================================== */
.gestion-relojes-equipos {
  padding: var(--spacing-3xl) 0;
  background: var(--gray-50);
}

.gestion-relojes-equipos-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--spacing-2xl);
  max-width: 1000px;
  margin: 0 auto;
}

.gestion-relojes-equipos-title {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-default);
  margin: 0 0 var(--spacing-sm) 0;
}

.gestion-relojes-equipos-description {
  color: var(--text-muted);
  font-size: 16px;
  margin: 0;
  max-width: 60ch;
}

.gestion-relojes-equipos .btn {
  flex-shrink: 0;
}

/* ========================================
   CAPTURAS DEL PANEL
   ======================================== */
.gestion-relojes-panel {
  max-width: 1100px;
  margin: 0 auto var(--spacing-3xl);
}

.gestion-relojes-panel img,
.gestion-relojes-spotlight-figure img {
  display: block;
  width: 100%;
  height: auto;
  border: 1px solid var(--gray-200);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-lg);
}

.gestion-relojes-panel figcaption {
  margin-top: var(--spacing-md);
  text-align: center;
  font-size: 14px;
  color: var(--text-muted);
}

.gestion-relojes-spotlight {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-3xl);
  align-items: center;
  max-width: 1000px;
  margin: var(--spacing-4xl) auto 0;
}

.gestion-relojes-spotlight-title {
  font-size: 26px;
  font-weight: 700;
  color: var(--text-default);
  margin: 0 0 var(--spacing-md) 0;
  line-height: 1.25;
}

.gestion-relojes-spotlight-description {
  font-size: 17px;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0;
}

.gestion-relojes-spotlight-figure {
  margin: 0;
  max-width: 440px;
  justify-self: end;
}

@media (max-width: 992px) {
  .gestion-relojes-spotlight {
    grid-template-columns: 1fr;
    gap: var(--spacing-xl);
  }

  .gestion-relojes-spotlight-figure {
    justify-self: center;
  }
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 992px) {
  .hero-gestion-relojes-content {
    grid-template-columns: 1fr;
  }

  .hero-gestion-relojes-title {
    font-size: 34px;
  }

  .hero-gestion-relojes-text {
    max-width: none;
    text-align: center;
    margin: 0 auto;
  }

  .hero-gestion-relojes-description {
    margin-left: auto;
    margin-right: auto;
  }

  .hero-gestion-relojes-actions {
    justify-content: center;
  }

  .gestion-relojes-grid {
    grid-template-columns: 1fr;
  }

  .gestion-relojes-equipos-content {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .hero-gestion-relojes {
    padding: 40px 0;
  }

  .hero-gestion-relojes-title {
    font-size: 28px;
  }

  .gestion-relojes-diferencial,
  .gestion-relojes-capacidades {
    padding: var(--spacing-3xl) 0;
  }

  .gestion-relojes-card {
    padding: var(--spacing-xl);
  }

  /* Tabla apilada en mobile: cada fila es una tarjeta */
  .gestion-relojes-table-wrap {
    box-shadow: none;
    background: transparent;
    overflow: visible;
  }

  .gestion-relojes-table thead {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .gestion-relojes-table,
  .gestion-relojes-table tbody,
  .gestion-relojes-table tr,
  .gestion-relojes-table th,
  .gestion-relojes-table td {
    display: block;
    width: 100%;
  }

  .gestion-relojes-table tr {
    margin-bottom: var(--spacing-md);
    background: var(--bg-white);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
  }

  .gestion-relojes-table tbody th {
    width: 100%;
    background: var(--gray-100);
  }

  .gestion-relojes-table td {
    width: 100%;
  }

  .gestion-relojes-table td::before {
    display: block;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: var(--spacing-xs);
    color: var(--text-light);
  }

  .gestion-relojes-table td:nth-of-type(1)::before {
    content: "Gestión tradicional";
  }

  .gestion-relojes-table td.is-veotime::before {
    content: "Con VeoTime";
    color: var(--blue-500);
  }

  .gestion-relojes-table tbody tr:last-child th,
  .gestion-relojes-table tbody tr:last-child td,
  .gestion-relojes-table th,
  .gestion-relojes-table td {
    border-bottom: none;
  }
}
