*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --navy: #1E2362;
  --dark-navy: #18223F;
  --cyan: #00E7FF;
  --gray: #99979B;
  --steel: #4A7992;
  --bg-deep: #080e1d;
  --bg-dark: #0a0f1e;
  --bg-card: #18223F;
  --radius: 12px;
  --container: 1240px;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  background: #ffffff;
  color: #1a1a2e;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ===== NAVBAR ===== */

.search-section {
  position: sticky;
  top: 0;
  z-index: 9998;
  transition: all 300ms;
  scroll-margin-top: 120px;
}

.search-section.is-sticky {
  background-color: #00050aeb;
  position: fixed;
  width: 100%;
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  padding: 1rem 0;
  border-bottom: 1px solid rgba(0, 231, 255, 0.2);
}

.search-section-container {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: center;
}

/* Ajuste para cuando hay barra de administración de WordPress */
.admin-bar .search-section {
  top: calc(64px + 32px);
  scroll-margin-top: 152px;
}

@media (max-width: 782px) {
  .admin-bar .search-section {
    top: calc(64px + 46px);
  }
}

/* Anchor skip for company directory — offsets navbar (64px) + search bar (80px) */
#directorio.directorio-skip-anchor {
  display: block;
  position: relative;
  top: 0;
  visibility: hidden;
  pointer-events: none;
}

.directorio-anchor {
  scroll-margin-top: 160px; /* navbar 64px + search bar ~80px + gap 16px */
}

.admin-bar .directorio-anchor {
  scroll-margin-top: 200px; /* +32px WP admin bar */
}


/* Breadcrumb */
.breadcrumb-bar {
  background: var(--bg-deep);
  border-bottom: 1px solid rgba(0, 231, 255, 0.06);
  padding: 10px 0;
}

.breadcrumb-bar .container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.breadcrumb-bar a,
.breadcrumb-bar span {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.45);
  font-weight: 500;
}

.breadcrumb-bar a:hover {
  color: #00E7FF;
}

.breadcrumb-sep {
  color: rgba(255, 255, 255, 0.2);
}

.breadcrumb-bar .current {
  color: rgba(255, 255, 255, 0.75);
}

/* ===== V3: SLIM PAGE HEADER ===== */
.dir-page-header {
  background: var(--bg-deep);
  padding: 18px 0 24px;
}

.dir-page-header-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

/* Breadcrumb — more prominent, replaces eyebrow pill */
.dir-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 500;
}

.dir-breadcrumb a {
  color: rgba(255, 255, 255, 0.45);
  transition: color 0.2s;
}

.dir-breadcrumb a:hover {
  color: #00E7FF;
}

.dir-breadcrumb-sep {
  color: rgba(255, 255, 255, 0.2);
  font-size: 14px;
}

.dir-breadcrumb span:last-child {
  color: #00E7FF;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.dir-list-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1.5px solid rgba(0, 231, 255, 0.45);
  color: #00E7FF;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 9px 20px;
  border-radius: 10px;
  transition: background 0.2s, border-color 0.2s;
  white-space: nowrap;
}

.dir-list-cta:hover {
  background: rgba(0, 231, 255, 0.1);
  border-color: #00E7FF;
}

/* Header bottom: single column since stats moved to ribbon */
.dir-page-header-bottom {
  display: block;
}

.dir-h1 {
  font-size: clamp(24px, 3vw, 40px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
}

.dir-h1-accent {
  color: #00E7FF;
}

.dir-description {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
  max-width: 640px;
}

/* ===== STATS RIBBON (horizontal band) ===== */
.dir-stats-ribbon {
  background: #18223F;
  border-top: 1px solid rgba(0, 231, 255, 0.15);
  border-bottom: 3px solid rgba(0, 231, 255, 0.2);
  padding: 14px 0;
}

.dir-stats-ribbon-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0;
}

.dir-stat-item {
  display: flex;
  align-items: baseline;
  gap: 8px;
  flex: 1;
  justify-content: center;
}

.dir-stat-num {
  font-size: 20px;
  font-weight: 900;
  color: #00E7FF;
  letter-spacing: -0.03em;
  line-height: 1;
}

.dir-stat-lbl {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 500;
  white-space: nowrap;
}

.dir-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(0, 231, 255, 0.2);
  flex-shrink: 0;
}



/* ===== V3: COMMAND BAR (Blanco Premium) ===== */
.dir-command-bar {
  background: #ffffff; /* Fondo blanco premium pedido por el usuario */
  border-bottom: 1.5px solid rgba(0, 231, 255, 0.25); /* Fina línea cian para contraste superior */
  padding: 24px 0 20px;
  position: sticky;
  top: var(--cmd-top, 104px);
  z-index: 999;
  box-shadow: 0 10px 30px rgba(30, 35, 98, 0.08); /* Sombra elegante destacada */
  transition: all 0.3s ease;
}

.admin-bar .dir-command-bar {
  top: var(--cmd-top, 136px);
}

@media (max-width: 782px) {
  .admin-bar .dir-command-bar {
    top: var(--cmd-top, 150px);
  }
}

.dir-command-bar.is-sticky {
  box-shadow: 0 12px 36px rgba(30, 35, 98, 0.15);
}

.dir-search-row {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 0px;
}

/* Inside command bar: search-input dark premium style over white bar */
.dir-command-bar .search-input-wrap {
  flex: 1;
  position: relative;
}

.dir-command-bar .search-input-wrap svg {
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  color: #00E7FF; /* Lupa en cian brillante */
  pointer-events: none;
  transition: color 0.25s;
}

.dir-command-bar .search-input {
  background: #0b2437; /* Fondo azul marino muy oscuro */
  border: 1.5px solid #00E7FF; /* Borde cian brillante */
  color: #ffffff; /* Texto blanco */
  font-size: 14px;
  padding: 14px 18px 14px 48px;
  border-radius: 12px;
  width: 100%;
  outline: none;
  font-family: inherit;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
}

.dir-command-bar .search-input::placeholder {
  color: #ffffff;
}

.dir-command-bar .search-input:focus {
  border-color: #00E7FF;
  background: #0f3049;
  box-shadow: 0 4px 20px rgba(0, 231, 255, 0.25);
}

.dir-command-bar .search-input:focus + svg {
  color: #00E7FF;
}

.dir-command-bar .search-btn {
  background: #00E7FF;
  color: #18223F;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 15px 32px;
  border-radius: 12px;
  font-family: inherit;
  transition: all 0.25s ease;
  white-space: nowrap;
  box-shadow: 0 4px 20px rgba(0, 231, 255, 0.35);
}

.dir-command-bar .search-btn:hover {
  background: #00c8e0;
  transform: translateY(-1px);
  box-shadow: 0 6px 24px rgba(0, 231, 255, 0.5);
}

.dir-command-bar .search-btn:active {
  transform: translateY(1px);
}

/* Category dropdown in command bar: premium dark style over white bar */
.dir-command-bar .custom-select-wrap {
  max-width: 220px;
  width: 220px;
  flex-shrink: 0;
}

.dir-command-bar .custom-select-trigger {
  background: #0b2437; /* Fondo azul marino muy oscuro */
  border: 1.5px solid #00E7FF; /* Borde cian brillante */
  border-radius: 12px;
  padding: 14px 18px;
  color: #ffffff;
  box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.dir-command-bar .custom-select-trigger:hover {
  background: #0f3049;
  border-color: #00E7FF;
  box-shadow: 0 4px 15px rgba(0, 231, 255, 0.2);
}

.dir-command-bar .custom-select-trigger .trigger-label {
  color: rgba(255, 255, 255, 0.5); /* Etiqueta gris claro */
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-right: 6px;
}

.dir-command-bar .custom-select-trigger .trigger-value {
  color: #00E7FF; /* Valor en cian brillante */
  font-weight: 700;
  flex: 1;
  text-align: left;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dir-command-bar .custom-select-trigger .trigger-icon {
  color: #00E7FF; /* Icono en cian */
  flex-shrink: 0;
  margin-left: 6px;
}

.dir-command-bar .custom-select-dropdown {
  background: #0b2437; /* Fondo oscuro sólido para el dropdown */
  border: 1.5px solid #00E7FF; /* Borde cian */
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-top: 8px;
}

.dir-command-bar .dropdown-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 12px 16px;
}

.dir-command-bar .dropdown-header span {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
}

.dir-command-bar .btn-clear-cats {
  color: #00E7FF;
}

.dir-command-bar .btn-clear-cats:hover {
  color: #00c8e0;
}

.dir-command-bar .dropdown-item {
  padding: 10px 16px;
  transition: background 0.2s;
}

.dir-command-bar .dropdown-item .item-text {
  color: rgba(255, 255, 255, 0.8);
}

.dir-command-bar .dropdown-item:hover {
  background: rgba(0, 231, 255, 0.1);
}

.dir-command-bar .dropdown-item:hover .item-text {
  color: #ffffff;
}

.dir-command-bar .dropdown-item input[type="checkbox"] {
  border-color: rgba(0, 231, 255, 0.4);
  background: transparent;
}

.dir-command-bar .dropdown-item input[type="checkbox"]:checked {
  background: #00E7FF;
  border-color: #00E7FF;
}

.dir-command-bar .dropdown-item input[type="checkbox"]:checked + .item-text {
  color: #00E7FF;
  font-weight: 600;
}

/* Industry quick-filter pills - Estilo Claro */
.dir-industry-pills {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  margin-top: 20px;
}

.dir-pill {
  display: inline-flex;
  align-items: center;
  padding: 8px 16px;
  border-radius: 100px;
  border: 1.5px solid rgba(30, 35, 98, 0.15); /* Bordes grises oscuros muy finos */
  background: #ffffff; /* Pills con fondo blanco */
  color: rgba(30, 35, 98, 0.75);
  font-size: 12px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
  box-shadow: 0 2px 6px rgba(30, 35, 98, 0.04);
}

.dir-pill:hover {
  border-color: rgba(0, 231, 255, 0.5);
  color: #00c8e0;
  background: rgba(0, 231, 255, 0.04);
  transform: translateY(-1px);
  box-shadow: 0 4px 10px rgba(0, 231, 255, 0.15);
}

.dir-pill.active {
  background: #00E7FF;
  border-color: #00E7FF;
  color: #18223F;
  box-shadow: 0 4px 12px rgba(0, 231, 255, 0.35);
}

.dir-pill.active:hover {
  background: #00c8e0;
  border-color: #00c8e0;
  color: #18223F;
}

@media (max-width: 768px) {
  .dir-command-bar {
    background: #18223F;
    padding: 20px 0;
  }
  .dir-search-row {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .dir-command-bar .custom-select-wrap {
    max-width: 100%;
    width: 100%;
  }
}



.search-row {
  display: flex;
  gap: 12px;
  align-items: center;
}

.search-input-wrap {
  flex: 1;
  position: relative;
}

.search-input-wrap svg {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.3);
  pointer-events: none;
}

.search-input {
  width: 100%;
  background: rgba(255, 255, 255, 0.06);
  border: 1.5px solid rgba(0, 231, 255, 0.15);
  color: #ffffff;
  font-size: 14px;
  padding: 13px 16px 13px 46px;
  border-radius: 10px;
  outline: none;
  font-family: inherit;
  transition: border-color 0.2s;
}

.search-input::placeholder {
  color: #ffffff;
}

.search-input:focus {
  border-color: rgba(0, 231, 255, 0.5);
}

.search-btn {
  background: #00E7FF;
  color: #18223F;
  border: none;
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 13px 28px;
  border-radius: 10px;
  font-family: inherit;
  transition: background 0.2s;
  white-space: nowrap;
}

.search-btn:hover {
  background: #00c8e0;
}

/* Custom Multi-select Dropdown */
.custom-select-wrap {
  position: relative;
  width: 100%;
  max-width: 480px;
}

.custom-select-trigger {
  width: 100%;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(0, 231, 255, 0.15);
  border-radius: 12px;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: #fff;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
}

.custom-select-trigger:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(0, 231, 255, 0.4);
  box-shadow: 0 0 20px rgba(0, 231, 255, 0.1);
}

.custom-select-trigger .trigger-label {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.35);
  margin-right: 14px;
  white-space: nowrap;
}

.custom-select-trigger .trigger-value {
  flex: 1;
  font-size: 14px;
  font-weight: 600;
  color: #00E7FF;
  text-align: left;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select-trigger .trigger-icon {
  color: rgba(0, 231, 255, 0.6);
  margin-left: 12px;
  transition: transform 0.3s ease;
}

.custom-select-trigger[aria-expanded="true"] .trigger-icon {
  transform: rotate(180deg);
}

.custom-select-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: rgba(10, 18, 35, 0.96);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(0, 231, 255, 0.2);
  border-radius: 16px;
  padding: 10px;
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(0, 231, 255, 0.05);
}

.custom-select-dropdown.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 8px;
}

.dropdown-header span {
  font-size: 10px;
  font-weight: 800;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.3);
  letter-spacing: 0.15em;
}

.btn-clear-cats {
  background: rgba(0, 231, 255, 0.08);
  border: 1px solid rgba(0, 231, 255, 0.2);
  color: #00E7FF;
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
  padding: 5px 12px;
  border-radius: 6px;
  transition: all 0.2s;
}

.btn-clear-cats:hover {
  background: #00E7FF;
  color: #18223F;
}

.dropdown-list {
  max-height: 260px;
  overflow-y: auto;
  padding-right: 4px;
}

.dropdown-list::-webkit-scrollbar {
  width: 4px;
}

.dropdown-list::-webkit-scrollbar-thumb {
  background: rgba(0, 231, 255, 0.2);
  border-radius: 10px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

.dropdown-item:hover {
  background: rgba(255, 255, 255, 0.05);
}

.dropdown-item input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1.5px solid rgba(0, 231, 255, 0.3);
  border-radius: 5px;
  background: transparent;
  position: relative;
  cursor: pointer;
  transition: all 0.2s;
}

.dropdown-item input[type="checkbox"]:checked {
  background: #00E7FF;
  border-color: #00E7FF;
}

.dropdown-item input[type="checkbox"]:checked::after {
  content: '';
  position: absolute;
  left: 5px;
  top: 2px;
  width: 4px;
  height: 8px;
  border: solid #18223F;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.dropdown-item .item-text {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.2s;
}

.dropdown-item:hover .item-text {
  color: #fff;
}

.dropdown-item input[type="checkbox"]:checked+.item-text {
  color: #00E7FF;
  font-weight: 700;
}


.directorio-anchor {
  background: #f5f7fc;
  scroll-margin-top: 160px;
}

.admin-bar .directorio-anchor {
  scroll-margin-top: 200px;
}

.directory-layout {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 32px;
  padding: 40px 0 80px;
}

/* ===== SIDEBAR ===== */

.sidebar-sticky {
  position: sticky;
  top: calc(68px + 100px);
}

.sidebar-cta {
  background: var(--bg-card);
  border: 1px solid rgba(0, 231, 255, 0.2);
  border-radius: 14px;
  padding: 24px 20px;
  margin-bottom: 16px;
  text-align: center;
}

.sidebar-cta-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 12px;
  background: rgba(0, 231, 255, 0.12);
  border: 1px solid rgba(0, 231, 255, 0.25);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #00E7FF;
}

.sidebar-cta h3 {
  font-size: 13px;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 8px;
}

.sidebar-cta p {
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 16px;
  line-height: 1.5;
}

.sidebar-cta .btn-cta-sm {
  display: block;
  background: #00E7FF;
  color: #18223F;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 10px 16px;
  border-radius: 8px;
  text-align: center;
  transition: background 0.2s;
}

.sidebar-cta .btn-cta-sm:hover {
  background: #00c8e0;
}

/* Alphabet filter */
.alpha-panel {
  background: #ffffff;
  border: 1px solid rgba(30, 35, 98, 0.1);
  border-radius: 14px;
  padding: 20px;
}

.alpha-title {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(30, 35, 98, 0.5);
  margin-bottom: 14px;
}

.alpha-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
}

.alpha-btn {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  border: 1px solid rgba(30, 35, 98, 0.12);
  background: transparent;
  cursor: pointer;
  font-size: 12px;
  font-weight: 700;
  color: #1E2362;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: inherit;
  transition: all 0.15s;
}

.alpha-btn:hover,
.alpha-btn.active {
  background: #1E2362;
  color: #ffffff;
  border-color: #1E2362;
}

.alpha-btn.active {
  background: #00E7FF;
  color: #18223F;
  border-color: #00E7FF;
}

.alpha-btn.disabled {
  opacity: 0.25;
  cursor: default;
}

.alpha-reset {
  width: 100%;
  margin-top: 10px;
  padding: 8px;
  background: transparent;
  border: 1px solid rgba(30, 35, 98, 0.15);
  border-radius: 6px;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(30, 35, 98, 0.5);
  cursor: pointer;
  font-family: inherit;
  transition: all 0.15s;
}

.alpha-reset:hover {
  background: rgba(30, 35, 98, 0.06);
  color: #1E2362;
}

/* ===== CARD ACCENT BORDERS BY CATEGORY ===== */
.card-accent {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  border-radius: 0;
}

.accent-cyan {
  background: linear-gradient(90deg, #00E7FF, #4A7992);
}

.accent-navy {
  background: linear-gradient(90deg, #1E2362, #4A7992);
}

.accent-green {
  background: linear-gradient(90deg, #10b981, #059669);
}

.accent-orange {
  background: linear-gradient(90deg, #f59e0b, #ea580c);
}

.accent-violet {
  background: linear-gradient(90deg, #7c3aed, #4A7992);
}

/* Badge colors by category */
.card-tag.tag-tech {
  background: rgba(0, 231, 255, 0.12);
  color: #0e7490;
  border-color: rgba(0, 231, 255, 0.3);
}

.card-tag.tag-insp {
  background: rgba(30, 35, 98, 0.08);
  color: #1E2362;
  border-color: rgba(30, 35, 98, 0.2);
}

.card-tag.tag-eng {
  background: rgba(74, 121, 146, 0.1);
  color: #2c5f7a;
  border-color: rgba(74, 121, 146, 0.25);
}

.card-tag.tag-energy {
  background: rgba(16, 185, 129, 0.1);
  color: #065f46;
  border-color: rgba(16, 185, 129, 0.25);
}

.card-tag.tag-petro {
  background: rgba(245, 158, 11, 0.1);
  color: #92400e;
  border-color: rgba(245, 158, 11, 0.25);
}

.card-tag.tag-mfg {
  background: rgba(124, 58, 237, 0.08);
  color: #5b21b6;
  border-color: rgba(124, 58, 237, 0.2);
}

/* ===== CARDS AREA ===== */

.cards-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.cards-count {
  font-size: 12px;
  font-weight: 600;
  color: rgba(30, 35, 98, 0.5);
}

.cards-count span {
  color: #1E2362;
  font-weight: 800;
}

.company-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.company-card {
  background: #ffffff;
  border: 1px solid rgba(30, 35, 98, 0.09);
  border-radius: 16px;
  display: grid;
  grid-template-columns: 120px 1fr;
  overflow: hidden;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
  position: relative;
}

.company-card:hover {
  border-color: rgba(0, 231, 255, 0.4);
  box-shadow: 0 8px 32px rgba(0, 231, 255, 0.1), 0 2px 8px rgba(30, 35, 98, 0.08);
  transform: translateY(-2px);
}

.card-logo-wrap {
  border-right: 1px solid rgba(30, 35, 98, 0.07);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 14px;
  min-height: 200px;
  position: relative;
  transition: background 0.2s, box-shadow 0.2s;
  text-decoration: none;
  cursor: pointer;
  overflow: hidden;
  flex-shrink: 0;
}

.card-logo-wrap::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 60%, rgba(0, 231, 255, 0.06) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.2s;
}

.card-logo-wrap:hover {
  background: linear-gradient(160deg, #e8f0ff 0%, #ddeeff 100%);
  box-shadow: inset 0 0 0 2px rgba(0, 231, 255, 0.45);
}

.card-logo-wrap:hover::before {
  opacity: 1;
}

.card-logo-wrap::after {
  content: 'Ver Perfil →';
  position: absolute;
  bottom: 10px;
  left: 0;
  right: 0;
  text-align: center;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #1E2362;
  opacity: 0;
  transition: opacity 0.25s;
}

.card-logo-wrap:hover::after {
  opacity: 0.6;
}

.card-logo-wrap img {
  width: 88%;
  height: auto;
  max-height: 168px;
  object-fit: contain;
  filter: none;
  transition: transform 0.25s;
  position: relative;
  z-index: 1;
  display: block;
}

.card-logo-wrap:hover img {
  transform: scale(1.05);
}

.card-body {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
}

.card-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 8px;
}

.card-name {
  font-size: 17px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 0;
  line-height: 1.3;
  transition: color 0.15s;
}

.company-card:hover .card-name {
  color: #1E2362;
}

/* Elegant Premium Membership Badges with Hierarchy */
.card-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.1em;
  padding: 4px 10px 4px 8px;
  border-radius: 8px;
  text-transform: uppercase;
  line-height: 1;
  transition: all 0.25s ease;
}

.badge-star {
  flex-shrink: 0;
}

/* 1. DIAMOND: Deep cyan glowing gradient, white text, premium cyber feel */
.badge-diamond {
  background: linear-gradient(135deg, #00C9FF 0%, #92FE9D 100%);
  color: #0c1c28;
  font-weight: 900;
  border: 1px solid rgba(0, 231, 255, 0.45);
  box-shadow: 0 3px 12px rgba(0, 201, 255, 0.35);
  text-shadow: 0 0 1px rgba(255, 255, 255, 0.25);
}

.badge-diamond .badge-star {
  color: #0c1c28;
}

/* 2. GOLD: Intense premium golden gradient, high contrast */
.badge-gold {
  background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%);
  color: #ffffff;
  border: 1px solid rgba(217, 119, 6, 0.4);
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.35);
}

.badge-gold .badge-star {
  color: #ffffff;
  fill: #ffffff;
}

/* 3. PLATINUM: Sleek dark corporate steel with deep navy contrast */
.badge-platinum {
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  color: #1e293b;
  border: 1px solid rgba(148, 163, 184, 0.45);
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.06);
}

.badge-platinum .badge-star {
  color: #1e293b;
}

/* 4. SILVER: Soft steel gray background, clean and professional */
.badge-silver {
  background: rgba(148, 163, 184, 0.08);
  color: #64748b;
  border: 1px solid rgba(148, 163, 184, 0.35);
}

.badge-silver .badge-star {
  color: #64748b;
}

/* 5. BRONZE: Metallic cooper/earthy tone */
.badge-bronze {
  background: rgba(168, 85, 24, 0.07);
  color: #b45309;
  border: 1px solid rgba(168, 85, 24, 0.25);
}

.badge-bronze .badge-star {
  color: #b45309;
}

/* 6. ORGANIZATIONS */
.badge-organizations {
  background: rgba(124, 58, 237, 0.08);
  color: #6d28d9;
  border: 1px solid rgba(124, 58, 237, 0.28);
}

.badge-organizations .badge-star {
  color: #6d28d9;
}

.card-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 10px;
}

.card-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(0, 231, 255, 0.1);
  color: #1E2362;
  border: 1px solid rgba(0, 231, 255, 0.2);
}

.card-tag-more {
  font-size: 10px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 100px;
  background: rgba(30, 35, 98, 0.08);
  color: rgba(30, 35, 98, 0.55);
  border: 1px solid rgba(30, 35, 98, 0.15);
  letter-spacing: 0.04em;
}

.card-location {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  color: rgba(30, 35, 98, 0.65);
  margin-bottom: 12px;
}

.card-location svg {
  flex-shrink: 0;
}

.card-desc {
  font-size: 14.5px;
  color: #475569;
  line-height: 1.65;
  flex: 1;
  margin-bottom: 20px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  line-clamp: 3;
  overflow: hidden;
}

.card-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}

.card-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 9px 18px;
  border-radius: 8px;
  transition: all 0.15s;
  font-family: inherit;
  cursor: pointer;
  border: none;
}

.card-btn-primary {
  background: #1E2362;
  color: #ffffff;
}

.card-btn-primary:hover {
  background: #00E7FF;
  color: #18223F;
  box-shadow: 0 4px 16px rgba(0, 231, 255, 0.3);
}

.card-btn-outline {
  background: transparent;
  color: #1E2362;
  border: 1.5px solid rgba(30, 35, 98, 0.2);
}

.card-btn-outline:hover {
  border-color: #00E7FF;
  color: #1E2362;
  background: rgba(0, 231, 255, 0.08);
}

/* Load more */
.load-more-wrap {
  text-align: center;
  margin-top: 32px;
}

.load-more-btn {
  display: inline-flex;
  margin: 0 auto;
  align-items: center;
  gap: 8px;
  padding: 14px 36px;
  background: transparent;
  border: 2px solid rgba(30, 35, 98, 0.2);
  color: #1E2362;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 10px;
  cursor: pointer;
  font-family: inherit;
  transition: all 0.2s;
}

.load-more-btn:hover {
  border-color: #00E7FF;
  color: #1E2362;
  background: rgba(0, 231, 255, 0.08);
}

.load-more-btn .spinner {
  display: none;
  width: 18px;
  height: 18px;
  animation: rotate 2s linear infinite;
}

.load-more-btn .spinner .path {
  stroke: currentColor;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

.load-more-btn.loading {
  opacity: 0.7;
  pointer-events: none;
}

.load-more-btn.loading .btn-text {
  opacity: 0.8;
}

.load-more-btn.loading .spinner {
  display: block;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

.no-results {
  text-align: center;
  padding: 60px 20px;
  font-size: 15px;
  color: rgba(30, 35, 98, 0.4);
  display: none;
}

/* ===== WHY LIST SECTION ===== */
.why-list {
  background: #ffffff;
  border-top: 1px solid rgba(30, 35, 98, 0.08);
  padding: 80px 0;
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: stretch;
}


.section-label-dark {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #18223F;
  background: #00E7FF;
  padding: 6px 18px;
  border-radius: 100px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 231, 255, 0.4);
}

.why-title {
  font-size: clamp(22px, 2.8vw, 32px);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.02em;
  margin-bottom: 32px;
  line-height: 1.2;
}

.why-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.why-feature {
  display: flex;
  gap: 14px;
}

.why-icon {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: rgba(0, 231, 255, 0.1);
  border: 1px solid rgba(0, 231, 255, 0.25);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E2362;
}

.why-feature h4 {
  font-size: 13px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
}

.why-feature p {
  font-size: 12.5px;
  color: #64748b;
  line-height: 1.55;
}

/* Visibility engine panel */
.vis-engine {
  background: var(--bg-card);
  border: 1px solid rgba(0, 231, 255, 0.15);
  border-radius: 20px;
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
}

.vis-engine::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 231, 255, 0.08) 0%, transparent 70%);
  transform: translate(30%, -30%);
}

.vis-engine-eyebrow {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #00E7FF;
  margin-bottom: 12px;
}

.vis-engine h3 {
  font-size: clamp(18px, 2vw, 24px);
  font-weight: 900;
  color: #ffffff;
  line-height: 1.25;
  margin-bottom: 16px;
}

.vis-engine h3 span {
  color: #00E7FF;
}

.vis-engine p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.55);
  line-height: 1.7;
  margin-bottom: 28px;
}

.vis-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 28px;
}

.vis-pillar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 231, 255, 0.1);
  border-radius: 10px;
  padding: 12px 14px;
}

.vis-pillar-icon {
  color: #00E7FF;
  flex-shrink: 0;
}

.vis-pillar span {
  font-size: 11.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
}

.vis-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-vis-primary {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #00E7FF;
  color: #18223F;
  padding: 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.2s, box-shadow 0.2s;
}

.btn-vis-primary:hover {
  background: #00c8e0;
  box-shadow: 0 6px 24px rgba(0, 231, 255, 0.4);
}

.btn-vis-text {
  text-align: center;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.4);
  font-weight: 500;
}

.btn-vis-text a {
  color: rgba(0, 231, 255, 0.7);
  text-decoration: underline;
}

.btn-vis-text a:hover {
  color: #00E7FF;
}

/* ===== INDUSTRY EXPLORE ===== */
.industry-section {
  background: #f5f7fc;
  padding: 64px 0;
  border-top: 1px solid rgba(30, 35, 98, 0.08);
}

.section-header {
  text-align: center;
  margin-bottom: 40px;
}

.section-title {
  font-size: clamp(22px, 3vw, 36px);
  font-weight: 900;
  color: #0f172a;
  letter-spacing: -0.025em;
  margin-top: 12px;
}

.section-subtitle {
  font-size: 15px;
  color: #64748b;
  margin-top: 10px;
}

.industry-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 12px;
}

.industry-card {
  background: #ffffff;
  border: 1px solid rgba(30, 35, 98, 0.09);
  border-radius: 14px;
  padding: 20px 12px;
  text-align: center;
  cursor: pointer;
  transition: all 0.2s;
}

.industry-card:hover {
  border-color: rgba(0, 231, 255, 0.4);
  background: #f0fffe;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 231, 255, 0.1);
}

.industry-icon {
  width: 44px;
  height: 44px;
  margin: 0 auto 10px;
  background: rgba(30, 35, 98, 0.06);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #1E2362;
  transition: all 0.2s;
}

.industry-card:hover .industry-icon {
  background: rgba(0, 231, 255, 0.12);
  color: #00a8b8;
}

.industry-name {
  font-size: 11px;
  font-weight: 700;
  color: #1E2362;
  line-height: 1.3;
}

/* ===== TESTIMONIALS ===== */
.testimonials {
  background: var(--bg-deep);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.testimonials::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 231, 255, 0.4), transparent);
}

.testimonials .section-title {
  color: #ffffff;
}

.testimonials .section-subtitle {
  color: rgba(255, 255, 255, 0.45);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 48px;
}

.testimonial-card {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(0, 231, 255, 0.1);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.2s;
}

.testimonial-card:hover {
  border-color: rgba(0, 231, 255, 0.3);
}

.testimonial-quote {
  font-size: 32px;
  color: #00E7FF;
  line-height: 1;
  margin-bottom: 12px;
  font-family: Georgia, serif;
}

.testimonial-text {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(0, 231, 255, 0.15);
  border: 1.5px solid rgba(0, 231, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 800;
  color: #00E7FF;
  flex-shrink: 0;
  object-fit: cover;
}

.author-name {
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.author-role {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

.author-company {
  display: flex;
  align-items: center;
}

/* ===== TRUSTED BY ===== */
.trusted-by {
  background: #ffffff;
  padding: 48px 0;
  border-top: 1px solid rgba(30, 35, 98, 0.08);
}

.trusted-label {
  text-align: center;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: rgba(30, 35, 98, 0.35);
  margin-bottom: 28px;
}

.trusted-logos {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  gap: 32px 48px;
}

.trusted-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 52px;
  padding: 6px 16px;
  background: rgba(255, 255, 255, 0.06);
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: background 0.2s;
}

.trusted-logo-wrap.trusted-logo-dark {
  background: #1a2340;
}

.trusted-logo-wrap img {
  max-height: 38px;
  max-width: 130px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: 0.75;
  transition: opacity 0.2s;
}

.trusted-logo-wrap:hover img {
  opacity: 1;
}

/* Keep old class just in case */
.trusted-logo {
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: rgba(30, 35, 98, 0.3);
  transition: color 0.2s;
}

.trusted-logo:hover {
  color: #1E2362;
}

/* ===== FINAL CTA ===== */
.final-cta {
  background: var(--bg-card);
  padding: 64px 0;
  border-top: 1px solid rgba(0, 231, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.final-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(0, 231, 255, 0.06) 0%, transparent 60%);
}

.final-cta-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
}

.final-cta h2 {
  font-size: clamp(20px, 2.5vw, 30px);
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 8px;
  line-height: 1.2;
}

.final-cta p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 1.6;
}

.final-cta-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
}

.btn-final-cta {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  background: #00E7FF;
  color: #18223F;
  padding: 16px 40px;
  border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0, 231, 255, 0.4);
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}

.btn-final-cta:hover {
  background: #00c8e0;
  box-shadow: 0 10px 40px rgba(0, 231, 255, 0.5);
}

.btn-final-cta .line1 {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.7;
}

.btn-final-cta .line2 {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.btn-final-text {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.35);
  text-align: center;
}

.btn-final-text a {
  color: rgba(0, 231, 255, 0.6);
  text-decoration: underline;
}

.btn-final-text a:hover {
  color: #00E7FF;
}

.final-cta-perks {
  display: flex;
  gap: 24px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.perk {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
}

.perk svg {
  color: #00E7FF;
  flex-shrink: 0;
}

/* ===== FOOTER ===== */

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .hero-inner {
    grid-template-columns: 1fr;
  }

  .hero-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
  }

  .stat-item {
    border-right: 1px solid rgba(0, 231, 255, 0.08);
    border-bottom: none;
  }

  .stat-item:last-child {
    border-right: none;
  }

  .directory-layout {
    grid-template-columns: 1fr;
  }

  .sidebar-sticky {
    position: static;
  }

  .why-grid {
    grid-template-columns: 1fr;
  }

  .industry-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .final-cta-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .final-cta-actions {
    align-items: center;
  }
}

@media (max-width: 768px) {

  .company-card {
    grid-template-columns: 1fr;
  }

  .card-logo-wrap {
    min-height: 150px;
    padding: 14px 12px;
    border-right: none;
    border-bottom: 1px solid rgba(30, 35, 98, 0.06);
  }

  .industry-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .why-features {
    grid-template-columns: 1fr;
  }

  .vis-pillars {
    grid-template-columns: 1fr;
  }

  .search-row {
    flex-direction: column;
    gap: 8px;
  }

  .search-row .search-input-wrap {
    width: 100%;
  }

  .search-row .search-btn {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  .search-section-container {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .custom-select-wrap {
    max-width: 100%;
  }

  .trusted-logos {
    gap: 20px 32px;
  }
}

@media (max-width: 480px) {
  .search-section {
    padding: 16px 0;
  }

  .search-section.is-sticky {
    padding: 10px 0;
  }
}

/* ===== EVENTS CAROUSEL (TV style) ===== */
.events-bar {
  padding: 72px 0;
  background: #f3f4f6;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.events-bar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 16px;
}

.events-bar-title {
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #64748b;
}

/* Carousel wrapper */
.ev-carousel-outer {
  position: relative;
}

.ev-carousel-track-wrap {
  overflow: hidden;
}

.ev-carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Card shell */
.tv-event-card-shell {
  flex: 0 0 calc(25% - 15px);
  min-width: 220px;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.10);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  list-style: none;
}

.tv-event-card-shell:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(30, 35, 98, 0.18);
}

/* Cover image */
.tv-event-cover {
  position: relative;
  height: 180px;
  overflow: hidden;
  background: #0d1629;
}

.tv-event-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.tv-event-card-shell:hover .tv-event-cover img {
  transform: scale(1.04);
}

.tv-event-cover-title {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0;
  padding: 8px 14px;
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.75));
}

/* Details panel */
.tv-event-card-panel {
  border: none;
}

.tv-event-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 16px;
  background: #1E2362;
  cursor: pointer;
  list-style: none;
  gap: 8px;
}

.tv-event-summary::-webkit-details-marker {
  display: none;
}

.tv-event-summary-copy {
  display: flex;
  flex-direction: column;
}

.tv-event-kicker {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.55);
}

.tv-event-editions {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-top: 2px;
}

.tv-event-chevron {
  color: #00E7FF;
  display: flex;
  align-items: center;
  transition: transform 0.25s;
  flex-shrink: 0;
}

details[open] .tv-event-chevron {
  transform: rotate(180deg);
}

/* Year links */
.tv-event-years {
  background: #fff;
  border-top: 1px solid #e5e7eb;
}

.tv-event-year-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  text-decoration: none;
  border-bottom: 1px solid #f1f5f9;
  transition: background 0.15s;
}

.tv-event-year-link:hover {
  background: #f0f9ff;
}

.tv-event-year-badge {
  flex-shrink: 0;
  font-size: 11px;
  font-weight: 900;
  color: #1E2362;
  background: rgba(30, 35, 98, 0.08);
  border-radius: 4px;
  padding: 3px 7px;
  letter-spacing: 0.04em;
}

.tv-event-year-copy {
  display: flex;
  flex-direction: column;
}

.tv-event-year-name {
  font-size: 12px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.3;
}

.tv-event-year-count {
  font-size: 11px;
  color: #64748b;
  margin-top: 1px;
}

/* Nav arrows */
.ev-arrow {
  position: absolute;
  top: 90px;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #1E2362;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: background 0.2s;
}

.ev-arrow:hover {
  background: #00E7FF;
}

.ev-arrow:hover svg {
  stroke: #1E2362;
}

.ev-arrow svg {
  width: 20px;
  height: 20px;
  stroke: #fff;
  fill: none;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ev-arrow-prev {
  left: -22px;
}

.ev-arrow-next {
  right: -22px;
}

@media (max-width: 900px) {
  .tv-event-card-shell {
    flex: 0 0 calc(50% - 10px);
  }

  .ev-arrow-prev {
    left: 4px;
  }

  .ev-arrow-next {
    right: 4px;
  }
}

@media (max-width: 560px) {
  .tv-event-card-shell {
    flex: 0 0 85%;
  }
}

/* ===== SOCIAL REACH STRIP ===== */
.social-reach {
  background: #ffffff;
  padding: 56px 0 48px;
  border-top: 1px solid rgba(30, 35, 98, 0.08);
}

.social-reach-header {
  text-align: center;
  margin-bottom: 40px;
}

.social-reach-eyebrow {
  display: inline-block;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: #00E7FF;
  background: #1E2362;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 12px;
}

.social-reach-title {
  font-size: clamp(20px, 2.4vw, 28px);
  font-weight: 900;
  color: #1E2362;
  line-height: 1.2;
}

.social-reach-title span {
  color: #00E7FF;
}

/* Grid de tarjetas */
.social-reach-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 12px;
}

@media (max-width: 1100px) {
  .social-reach-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 700px) {
  .social-reach-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 400px) {
  .social-reach-grid {
    grid-template-columns: 1fr 1fr;
  }
}

.sr-card {
  background: #f8f9fc;
  border: 1px solid rgba(30, 35, 98, 0.07);
  border-radius: 14px;
  padding: 20px 16px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s;
}

.sr-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(30, 35, 98, 0.12);
  border-color: rgba(30, 35, 98, 0.18);
}

.sr-icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.sr-icon svg {
  width: 22px;
  height: 22px;
}

.sr-number {
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 900;
  color: #1E2362;
  line-height: 1;
  letter-spacing: -0.02em;
}

.sr-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #99979B;
}

/* Web card destacada */
.sr-card.sr-featured {
  background: linear-gradient(135deg, #1E2362 0%, #18223F 100%);
  border-color: rgba(0, 231, 255, 0.25);
}

.sr-card.sr-featured .sr-number {
  color: #00E7FF;
}

.sr-card.sr-featured .sr-label {
  color: rgba(255, 255, 255, 0.55);
}

/* Total reach footer */
.sr-total {
  text-align: center;
  margin-top: 28px;
  font-size: 12px;
  color: #99979B;
  font-weight: 600;
  letter-spacing: 0.05em;
}

.sr-total strong {
  color: #1E2362;
  font-size: 14px;
}


/* ════════════════════════════════════════
    FLOATING BUTTON
════════════════════════════════════════ */
.floating-contact-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #00E7FF;
  color: #18223F;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 14px 22px;
  border-radius: 100px;
  box-shadow: 0 8px 32px rgba(0, 231, 255, 0.45), 0 2px 8px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  text-decoration: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.4s ease, transform 0.4s ease, background 0.2s, box-shadow 0.2s;
  pointer-events: none;
  white-space: nowrap;
}

.floating-contact-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.floating-contact-btn:hover {
  background: #00c8e0;
  box-shadow: 0 12px 40px rgba(0, 231, 255, 0.55), 0 4px 12px rgba(0, 0, 0, 0.3);
  transform: translateY(-2px);
}

.floating-contact-btn svg {
  flex-shrink: 0;
}

@media (max-width: 600px) {
  .floating-contact-btn {
    bottom: 16px;
    right: 12px;
    font-size: 11px;
    padding: 11px 14px;
    gap: 7px;
  }
}