/* ===== Generac - Estilos globales ===== */
* { font-family: 'Lato', sans-serif; box-sizing: border-box; }
body { margin: 0; padding: 0; color: #333; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

/* Top bar */
.top-bar {
  background: #1a1a1a;
  color: #fff;
  padding: 8px 0;
  font-size: 13px;
}
.top-bar .container { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; justify-content: flex-end; align-items: center; }
.top-bar a { color: #fff; }
.phone { color: #f7941d; font-weight: 700; }

/* Header */
.main-header {
  background: #fff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.08);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner { max-width: 1200px; margin: 0 auto; padding: 15px 20px; display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; }
.logo img { height: 45px; width: auto; display: block; }
.main-nav { display: flex; align-items: center; gap: 5px; }
.main-nav > li { position: relative; }
.main-nav > li > a {
  display: block;
  padding: 12px 16px;
  font-weight: 700;
  font-size: 14px;
  text-transform: uppercase;
  color: #1a1a1a;
}
.main-nav > li > a:hover { color: #f7941d; }
.main-nav .dropdown { position: absolute; top: 100%; left: 0; background: #fff; box-shadow: 0 4px 15px rgba(0,0,0,0.15); min-width: 220px; padding: 10px 0; opacity: 0; visibility: hidden; transition: 0.2s; }
.main-nav li:hover .dropdown { opacity: 1; visibility: visible; }
.main-nav .dropdown a { display: block; padding: 10px 20px; font-size: 13px; }
.main-nav .dropdown a:hover { background: #f5f5f5; color: #f7941d; }

/* Páginas internas: contenido principal */
.page-main {
  min-height: 60vh;
  background: #fff;
  padding: 50px 20px 60px;
}
.page-main .page-content {
  max-width: 900px;
  margin: 0 auto;
}
.page-main .page-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 24px;
  text-align: center;
}
.page-main .page-intro {
  font-size: 18px;
  line-height: 1.6;
  color: #555;
  margin-bottom: 48px;
  text-align: center;
}
.page-main .content-section {
  margin-bottom: 40px;
}
.page-main .content-section h2 {
  font-size: 22px;
  font-weight: 700;
  color: #f7941d;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.page-main .content-section p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin: 0 0 12px;
}
.page-main .content-section p:last-child {
  margin-bottom: 0;
}

/* Nosotros: valores (icono + título + texto) */
.page-main .values-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px 32px;
  margin-top: 48px;
  margin-bottom: 48px;
}
@media (max-width: 640px) { .page-main .values-grid { grid-template-columns: 1fr; } }
.page-main .value-card {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.page-main .value-card:hover {
  border-color: rgba(247, 148, 29, 0.3);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.page-main .value-card .value-icon {
  font-size: 32px;
  line-height: 1;
  margin-bottom: 12px;
  display: block;
}
.page-main .value-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.page-main .value-card p {
  font-size: 15px;
  line-height: 1.65;
  color: #555;
  margin: 0;
}

/* Nosotros: estadísticas */
.page-main .stats-section {
  margin-top: 56px;
  padding-top: 48px;
  border-top: 1px solid #e8e8e8;
}
.page-main .stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}
@media (max-width: 768px) { .page-main .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px) { .page-main .stats-grid { grid-template-columns: 1fr; } }
.page-main .stat-item {
  padding: 20px 16px;
  background: linear-gradient(180deg, #f8f8f8 0%, #fff 100%);
  border-radius: 12px;
  border: 1px solid #eee;
}
.page-main .stat-item .stat-icon {
  font-size: 28px;
  line-height: 1;
  margin-bottom: 8px;
  display: block;
}
.page-main .stat-item .stat-number {
  font-size: 36px;
  font-weight: 900;
  color: #f7941d;
  line-height: 1.1;
  margin-bottom: 4px;
}
.page-main .stat-item .stat-label {
  font-size: 14px;
  color: #555;
  font-weight: 600;
  line-height: 1.3;
}

/* Catálogo de productos (industrial, comercial, móvil, residencial) */
.page-main--industrial .catalog-content,
.page-main--comercial .catalog-content,
.page-main--movil .catalog-content,
.page-main--residencial .catalog-content {
  max-width: 1200px;
  margin: 0 auto;
}
.catalog-content--full {
  max-width: 1200px;
  margin: 0 auto;
}
.catalog-intro {
  text-align: center;
  margin-bottom: 40px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e8e8e8;
}
.catalog-page-title {
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.catalog-intro-lead {
  font-size: 18px;
  font-weight: 600;
  color: #333;
  margin: 0 0 8px;
  line-height: 1.4;
}
.catalog-intro-desc {
  font-size: 16px;
  color: #555;
  margin: 0;
  line-height: 1.6;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}
@media (max-width: 600px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}
@media (max-width: 380px) {
  .product-grid {
    grid-template-columns: 1fr;
  }
}

.product-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.product-card:hover {
  border-color: rgba(247, 148, 29, 0.4);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.product-card-link {
  display: block;
  color: inherit;
  height: 100%;
}
.product-card-image {
  aspect-ratio: 1;
  background: linear-gradient(180deg, #f5f5f5 0%, #ebebeb 100%);
  display: block;
  overflow: hidden;
}
.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-card-body {
  padding: 16px;
}
.product-card-title {
  font-size: 15px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
  line-height: 1.3;
}
.product-card-spec {
  font-size: 13px;
  font-weight: 600;
  color: #f7941d;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

/* Historia: timeline slider */
.page-main--historia .page-content {
  max-width: 100%;
  padding: 0 20px;
}
.timeline-slider-wrap {
  margin-top: 32px;
  position: relative;
}
.timeline-slider {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 900px;
  margin: 0 auto;
  position: relative;
}
.timeline-arrow {
  flex-shrink: 0;
  width: 48px;
  min-height: 200px;
  background: #f5f5f5;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  font-size: 28px;
  color: #1a1a1a;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.timeline-arrow:hover {
  background: #f7941d;
  color: #fff;
  border-color: #f7941d;
}
.timeline-arrow--prev { margin-right: 12px; }
.timeline-arrow--next { margin-left: 12px; }
.timeline-viewport {
  flex: 1;
  overflow: hidden;
  border-radius: 12px;
  border: 1px solid #e8e8e8;
  background: #fafafa;
}
.timeline-track {
  display: flex;
  transition: transform 0.35s ease-out;
  min-height: 280px;
}
.timeline-slide {
  flex: 0 0 100%;
  width: 100%;
  padding: 32px 40px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.timeline-year {
  font-size: 14px;
  font-weight: 700;
  color: #f7941d;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
  display: block;
}
.timeline-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px;
  line-height: 1.25;
}
.timeline-slide p {
  font-size: 16px;
  line-height: 1.65;
  color: #555;
  margin: 0;
  max-width: 560px;
}
.timeline-dots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.timeline-dot {
  padding: 8px 14px;
  font-size: 13px;
  font-weight: 700;
  color: #666;
  background: #fff;
  border: 1px solid #e0e0e0;
  border-radius: 20px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.timeline-dot:hover {
  border-color: #f7941d;
  color: #f7941d;
}
.timeline-dot.is-active {
  background: #f7941d;
  color: #fff;
  border-color: #f7941d;
}
@media (max-width: 640px) {
  .timeline-slider {
    flex-direction: column;
    align-items: center;
  }
  .timeline-arrow {
    width: 100%;
    max-width: 120px;
    min-height: 44px;
    order: 1;
  }
  .timeline-arrow--prev { margin-right: 0; margin-bottom: 8px; }
  .timeline-arrow--next { margin-left: 0; margin-top: 8px; order: 3; }
  .timeline-viewport { order: 2; width: 100%; }
  .timeline-slide { padding: 24px 20px; min-height: 240px; }
  .timeline-title { font-size: 20px; }
}

/* Bolsa de trabajo: dos columnas (formulario + vacantes) */
.page-main--bolsa {
  background: #f5f5f5;
  padding: 50px 20px 60px;
}
.page-content--bolsa {
  max-width: 1100px;
  margin: 0 auto;
}
.bolsa-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 900px) {
  .bolsa-grid { grid-template-columns: 1fr; }
}
.bolsa-section-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 1px solid #e0e0e0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.bolsa-form-wrap,
.bolsa-vacancies-wrap {
  background: #fff;
  padding: 32px;
  border-radius: 8px;
  border: 1px solid #e8e8e8;
  box-shadow: 0 1px 4px rgba(0,0,0,0.05);
}
.bolsa-form .form-group {
  margin-bottom: 20px;
}
.bolsa-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.bolsa-form .required {
  color: #c00;
}
.bolsa-form input[type="text"],
.bolsa-form input[type="email"],
.bolsa-form select {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #333;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.bolsa-form input:focus,
.bolsa-form select:focus {
  outline: none;
  border-color: #f7941d;
}
.bolsa-form .form-help {
  font-size: 13px;
  color: #888;
  margin: 8px 0 0;
}
.form-group--cv .cv-upload-wrap {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.bolsa-form .cv-input {
  position: absolute;
  width: 0.1px;
  height: 0.1px;
  opacity: 0;
  overflow: hidden;
  z-index: -1;
}
.bolsa-form .btn-cv {
  display: inline-block;
  padding: 12px 20px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #f7941d;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
}
.bolsa-form .btn-cv:hover {
  background: #e6861a;
}
.cv-status {
  font-size: 14px;
  color: #888;
}
.bolsa-form .btn-enviar {
  width: 100%;
  margin-top: 8px;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #f7941d;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.bolsa-form .btn-enviar:hover {
  background: #e6861a;
}
.bolsa-vacancies {
  list-style: none;
  margin: 0;
  padding: 0;
}
.vacancy-card {
  padding: 20px;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  margin-bottom: 12px;
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;
}
.vacancy-card:last-child {
  margin-bottom: 0;
}
.vacancy-card:hover {
  border-color: #f7941d;
  background: #fef9f3;
}
.vacancy-card .vacancy-title {
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 6px;
  line-height: 1.3;
}
.vacancy-card .vacancy-location {
  font-size: 14px;
  color: #666;
  margin: 0;
}

/* Noticias: grid de artículos */
.page-main--noticias {
  padding: 50px 20px 60px;
}
.page-content--noticias {
  max-width: 1200px;
  margin: 0 auto;
}
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  margin-top: 32px;
}
@media (max-width: 900px) {
  .news-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .news-grid { grid-template-columns: 1fr; }
}
.news-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 8px;
  overflow: hidden;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.news-card:hover {
  box-shadow: 0 6px 20px rgba(0,0,0,0.08);
  border-color: rgba(247, 148, 29, 0.3);
}
.news-card-link {
  display: block;
  color: inherit;
  text-decoration: none;
}
.news-card-image {
  width: 100%;
  aspect-ratio: 16/10;
  background: linear-gradient(135deg, #e8e8e8 0%, #ddd 100%);
  display: block;
}
.news-card-body {
  padding: 20px 22px 24px;
}
.news-card-title {
  font-size: 18px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0 0 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.news-card-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #888;
}
.news-card-date {
  font-weight: 600;
  color: #666;
}
.news-card-author {
  text-align: right;
}

/* Casos de Éxito */
.page-main--casos {
  padding: 50px 20px 60px;
}
.page-content--casos {
  max-width: 1200px;
  margin: 0 auto;
}
.casos-subtitle {
  text-align: center;
  font-size: 17px;
  color: #555;
  margin: -8px 0 32px;
  line-height: 1.5;
}
.casos-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 32px;
}
.casos-search-wrap {
  flex: 1;
  min-width: 200px;
  position: relative;
}
.casos-search-icon {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 16px;
  opacity: 0.6;
  pointer-events: none;
}
.casos-search-input {
  width: 100%;
  padding: 12px 14px 12px 42px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #333;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.casos-search-input:focus {
  outline: none;
  border-color: #f7941d;
}
.casos-sector-wrap {
  min-width: 180px;
}
.casos-sector-select {
  width: 100%;
  padding: 12px 36px 12px 14px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #333;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  cursor: pointer;
  transition: border-color 0.2s;
}
.casos-sector-select:focus {
  outline: none;
  border-color: #f7941d;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  border: 0;
}
.casos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
@media (max-width: 900px) {
  .casos-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
}
@media (max-width: 560px) {
  .casos-grid { grid-template-columns: 1fr; gap: 20px; }
}
.caso-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  min-height: 0;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.caso-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #f7941d 0%, #e6861a 100%);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1;
}
.caso-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  border-color: rgba(247, 148, 29, 0.25);
}
.caso-card:hover::before {
  opacity: 1;
}
.caso-card.hidden-by-filter {
  display: none;
}
.caso-card-link {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  padding: 28px 26px 24px;
  color: inherit;
  text-decoration: none;
}
.caso-card-title {
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 14px;
  line-height: 1.35;
  transition: color 0.2s;
  flex-shrink: 0;
}
.caso-card:hover .caso-card-title {
  color: #f7941d;
}
.caso-card-desc {
  font-size: 15px;
  line-height: 1.65;
  color: #555;
  margin: 0 0 20px;
  flex: 1;
  min-height: 0;
}
.caso-card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  padding-top: 18px;
  border-top: 1px solid #eee;
  margin-top: auto;
  flex-shrink: 0;
}
.caso-card-tag {
  display: inline-flex;
  align-items: center;
  padding: 5px 12px;
  font-size: 11px;
  font-weight: 700;
  color: #c45a11;
  background: rgba(247, 148, 29, 0.12);
  border: none;
  border-radius: 6px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.caso-card-date {
  font-size: 12px;
  color: #666;
  font-weight: 600;
  letter-spacing: 0.02em;
  display: flex;
  align-items: center;
  gap: 6px;
}
.caso-card-date::before {
  content: '';
  display: inline-block;
  width: 14px;
  height: 14px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='18' rx='2' ry='2'/%3E%3Cline x1='16' y1='2' x2='16' y2='6'/%3E%3Cline x1='8' y1='2' x2='8' y2='6'/%3E%3Cline x1='3' y1='10' x2='21' y2='10'/%3E%3C/svg%3E") no-repeat center;
  background-size: contain;
  opacity: 0.85;
  flex-shrink: 0;
}
.caso-card-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 14px;
  font-weight: 700;
  color: #f7941d;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.25s ease, transform 0.25s ease;
  flex-shrink: 0;
}
.caso-card:hover .caso-card-cta {
  opacity: 1;
  transform: translateY(0);
}

/* Servicios */
.page-main--servicios {
  padding: 50px 20px 60px;
}
.page-content--servicios {
  max-width: 900px;
  margin: 0 auto;
}
.servicios-principales {
  margin-top: 40px;
  margin-bottom: 56px;
}
.servicios-principales-intro {
  text-align: center;
  font-size: 18px;
  color: #555;
  margin: 0 0 40px;
  line-height: 1.5;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
}
.servicios-principales-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
}
@media (max-width: 900px) {
  .servicios-principales-grid { grid-template-columns: 1fr; gap: 24px; }
}
.servicio-block {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 16px;
  padding: 0;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
  position: relative;
}
.servicio-block::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: linear-gradient(180deg, #f7941d 0%, #e6861a 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.servicio-block:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border-color: rgba(247, 148, 29, 0.25);
}
.servicio-block:hover::before {
  opacity: 1;
}
.servicio-block-header {
  background: linear-gradient(145deg, #f7941d 0%, #d97a18 100%);
  padding: 28px 26px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  min-height: 100px;
}
.servicio-block-header::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='20' height='20' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='1' cy='1' r='0.5' fill='rgba(255,255,255,0.15)'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}
.servicio-block-num {
  font-size: 13px;
  font-weight: 800;
  color: #fff;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0.15);
  border-radius: 50%;
  letter-spacing: 0.02em;
  position: relative;
  z-index: 1;
}
.servicio-block-icon {
  font-size: 36px;
  line-height: 1;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
  position: relative;
  z-index: 1;
}
.servicio-block-body {
  padding: 28px 26px 30px;
  flex: 1;
  display: flex;
  flex-direction: column;
  background: linear-gradient(180deg, #fefefe 0%, #fafafa 100%);
}
.servicio-block-title {
  font-size: 21px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 16px;
  padding: 0;
  line-height: 1.3;
  letter-spacing: -0.02em;
  position: relative;
  padding-bottom: 14px;
}
.servicio-block-title::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 40px;
  height: 3px;
  background: linear-gradient(90deg, #f7941d 0%, transparent 100%);
  border-radius: 2px;
}
.servicio-block p {
  font-size: 15px;
  line-height: 1.75;
  color: #555;
  margin: 0;
  flex: 1;
}
.servicios-lista {
  margin-bottom: 56px;
}
.servicios-lista-title {
  font-size: 24px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 32px;
  text-align: center;
}
.servicios-lista-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}
@media (max-width: 640px) {
  .servicios-lista-grid { grid-template-columns: 1fr; }
}
.servicio-item {
  background: #fafafa;
  border: 1px solid #eee;
  border-radius: 12px;
  padding: 24px;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.servicio-item:hover {
  border-color: rgba(247, 148, 29, 0.35);
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
}
.servicio-item-icon {
  font-size: 28px;
  line-height: 1;
  display: block;
  margin-bottom: 12px;
}
.servicio-item-title {
  font-size: 17px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 10px;
  line-height: 1.3;
}
.servicio-item-desc {
  font-size: 14px;
  line-height: 1.6;
  color: #555;
  margin: 0;
}
.servicios-form-section {
  background: #f8f8f8;
  border-radius: 12px;
  padding: 40px;
  border: 1px solid #eee;
}
.servicios-form-title {
  font-size: 22px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 0 0 12px;
  text-align: center;
}
.servicios-form-intro {
  text-align: center;
  font-size: 16px;
  color: #555;
  margin: 0 0 28px;
  line-height: 1.5;
}
.servicios-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 24px;
}
@media (max-width: 560px) {
  .servicios-form-grid { grid-template-columns: 1fr; }
  .servicios-form-section { padding: 28px 20px; }
}
.servicios-form .form-group {
  margin-bottom: 0;
}
.servicios-form .form-group--full {
  grid-column: 1 / -1;
}
.servicios-form label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 8px;
}
.servicios-form .required {
  color: #c00;
}
.servicios-form input,
.servicios-form textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  font-family: inherit;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #fff;
  color: #333;
  box-sizing: border-box;
  transition: border-color 0.2s;
}
.servicios-form textarea {
  resize: vertical;
  min-height: 100px;
}
.servicios-form input:focus,
.servicios-form textarea:focus {
  outline: none;
  border-color: #f7941d;
}
.btn-servicios-enviar {
  display: block;
  width: 100%;
  max-width: 280px;
  margin: 0 auto;
  padding: 14px 24px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: #f7941d;
  color: #fff;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s;
  font-family: inherit;
}
.btn-servicios-enviar:hover {
  background: #e6861a;
}

/* Hero / Slider */
.hero {
  background: #1a252f;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero-slides { position: absolute; inset: 0; }
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  animation: heroSlide 9s ease-in-out infinite;
}
.hero-slide:nth-child(1) { animation-delay: 0s; }
.hero-slide:nth-child(2) { animation-delay: -3s; }
.hero-slide:nth-child(3) { animation-delay: -6s; }
@keyframes heroSlide {
  0%, 33.33% { opacity: 1; }
  33.34%, 100% { opacity: 0; }
}

/* Categories */
.categories { max-width: 1200px; margin: 60px auto; padding: 0 20px; }
.categories h2 { text-align: center; font-size: 28px; margin-bottom: 40px; color: #1a1a1a; font-weight: 700; }
.category-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
@media (max-width: 900px) { .category-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .category-grid { grid-template-columns: 1fr; } }
.category-card {
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  display: flex;
  flex-direction: column;
}
.category-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 40px rgba(0,0,0,0.1);
  border-color: rgba(247, 148, 29, 0.4);
}
.category-card-header {
  background: linear-gradient(135deg, #f7941d 0%, #e6861a 100%);
  color: #fff;
  padding: 20px 24px;
  text-align: center;
}
.category-card-header h3 {
  font-size: 18px;
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.category-card-body { padding: 24px; flex: 1; }
.category-card ul { margin: 0; padding: 0; }
.category-card ul li {
  padding: 10px 0 10px 24px;
  font-size: 14px;
  color: #444;
  position: relative;
  border-bottom: 1px solid #f0f0f0;
  transition: color 0.2s, padding-left 0.2s;
}
.category-card ul li:last-child { border-bottom: none; }
.category-card ul li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 6px;
  height: 6px;
  background: #f7941d;
  border-radius: 50%;
  opacity: 0.6;
}
.category-card ul li a:hover {
  color: #f7941d;
}
.category-card ul li:hover::before { opacity: 1; }
.category-card-footer {
  padding: 0 24px 24px;
  margin-top: auto;
}
.category-card-footer .btn-category {
  display: block;
  text-align: center;
  padding: 12px 20px;
  background: #1a1a1a;
  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-radius: 8px;
  transition: background 0.2s, color 0.2s;
}
.category-card-footer .btn-category:hover { background: #f7941d; color: #fff; }

/* Sectors */
.sectors { background: linear-gradient(180deg, #f8f8f8 0%, #fff 100%); padding: 60px 20px; }
.sectors .container { max-width: 1200px; margin: 0 auto; }
.sectors h2 { text-align: center; font-size: 28px; margin: 0 0 12px; color: #1a1a1a; font-weight: 700; }
.sectors .section-intro { text-align: center; font-size: 16px; color: #666; max-width: 560px; margin: 0 auto 40px; line-height: 1.5; }
.sectors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 900px) { .sectors-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 600px) { .sectors-grid { grid-template-columns: repeat(2, 1fr); } }
.sectors-grid a {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 28px 20px;
  background: #fff;
  border: 1px solid #e8e8e8;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 700;
  color: #333;
  text-align: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease, color 0.25s ease;
}
.sectors-grid a:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
  background: #f7941d;
  color: #fff;
  border-color: #f7941d;
}
.sectors-grid a:hover .sector-icon-wrap { background: rgba(255,255,255,0.25); color: #fff; }
.sector-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(247, 148, 29, 0.12);
  color: #f7941d;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease, color 0.25s ease;
}
.sector-icon { width: 28px; height: 28px; flex-shrink: 0; display: block; }
.sector-icon svg { width: 100%; height: 100%; display: block; }

/* CTAs en imagen (3 columnas) */
.ctas-section { max-width: 1200px; margin: 50px auto; padding: 0 20px; }
.ctas-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .ctas-grid { grid-template-columns: 1fr; } }
.cta-card {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 16/10;
  min-height: 220px;
}
.cta-card a { display: block; width: 100%; height: 100%; }
.cta-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}
.cta-card:hover img { transform: scale(1.05); }

/* Videos (3 columnas) */
.videos-section { background: #f5f5f5; padding: 50px 20px; }
.videos-section .container { max-width: 1200px; margin: 0 auto; }
.videos-section h2 { text-align: center; font-size: 28px; margin-bottom: 35px; color: #1a1a1a; }
.videos-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .videos-grid { grid-template-columns: 1fr; } }
.video-card {
  background: #fff;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  transition: box-shadow 0.2s;
}
.video-card:hover { box-shadow: 0 8px 25px rgba(0,0,0,0.12); }
.video-card .video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  background: #1a1a1a;
}
.video-card .video-wrap iframe,
.video-card .video-wrap .video-placeholder {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
}
.video-card .video-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 48px;
  background: linear-gradient(135deg, #2c3e50 0%, #1a252f 100%);
}
.video-card .video-body { padding: 16px; }
.video-card .video-body h3 { font-size: 16px; margin: 0 0 8px; color: #1a1a1a; line-height: 1.3; }

/* 3 columnas: Noticias | Casos de éxito | Mejor producto */
.highlights-section { max-width: 1200px; margin: 50px auto; padding: 0 20px; }
.highlights-section .section-title { text-align: center; font-size: 28px; margin-bottom: 35px; color: #1a1a1a; }
.highlights-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 768px) { .highlights-grid { grid-template-columns: 1fr; } }
.highlight-col { background: #fff; border: 1px solid #e0e0e0; border-radius: 8px; overflow: hidden; }
.highlight-col h3 {
  font-size: 16px;
  margin: 0;
  padding: 16px 20px;
  background: #f7941d;
  color: #fff;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
}
.highlight-col .col-body { padding: 20px; }
.highlight-card {
  padding: 16px 0;
  border-bottom: 1px solid #eee;
  transition: background 0.2s;
}
.highlight-card:last-child { border-bottom: none; }
.highlight-card:hover { background: #f9f9f9; }
.highlight-card a { display: block; }
.highlight-card h4 { font-size: 15px; margin: 0 0 6px; color: #1a1a1a; line-height: 1.35; }
.highlight-card .date { font-size: 12px; color: #888; }
.highlight-card .thumb {
  width: 100%;
  aspect-ratio: 16/9;
  background: linear-gradient(135deg, #e8e8e8 0%, #ddd 100%);
  border-radius: 4px;
  margin-bottom: 10px;
  overflow: hidden;
}
.highlight-card .thumb img { width: 100%; height: 100%; object-fit: cover; }

/* Footer */
.footer {
  background: #fff;
  border-top: 1px solid #e5e5e5;
  padding: 56px 20px 32px;
  color: #333;
}
.footer .container { max-width: 1200px; margin: 0 auto; }
.footer-logo-wrap {
  text-align: center;
  margin-top: 40px;
  margin-bottom: 0;
  padding-bottom: 12px;
}
.footer-logo { height: 40px; width: auto; display: inline-block; opacity: 0.9; }
.footer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px 32px;
  margin-bottom: 0;
}
.footer-companies-wrap {
  padding-top: 12px;
  margin-top: 0;
  margin-bottom: 36px;
}
.footer-companies-wrap .footer-companies-title {
  font-size: 13px;
  font-weight: 600;
  color: #888;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin: 0 0 20px;
  text-align: center;
}
.footer-companies-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 20px 28px;
}
.footer-companies-logos a {
  display: block;
  opacity: 0.6;
  transition: opacity 0.2s;
}
.footer-companies-logos a:hover { opacity: 0.9; }
.footer-companies-logos img {
  height: 28px;
  width: auto;
  max-width: 100px;
  object-fit: contain;
  display: block;
  filter: grayscale(100%);
  transition: filter 0.2s;
}
.footer-companies-logos a:hover img { filter: grayscale(0%); }
@media (max-width: 768px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px) { .footer-grid { grid-template-columns: 1fr; } }
.footer h4 {
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #f7941d;
  margin: 0 0 16px;
  font-weight: 700;
}
.footer ul { margin: 0; padding: 0; }
.footer ul li { margin-bottom: 10px; }
.footer ul a {
  color: #555;
  font-size: 14px;
  line-height: 1.4;
  transition: color 0.2s;
}
.footer ul a:hover { color: #f7941d; }
.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #888;
  border-top: 1px solid #e5e5e5;
}
.footer-bottom p { margin: 0 0 6px; }
.footer-bottom a { color: #666; }
.footer-bottom a:hover { color: #f7941d; }
