/* =====================================================
   LAYOUT.CSS — Organización Sanchez
   Estructura, distribución, espaciados y responsive
===================================================== */

:root {
  --container-max: 1320px;
  --side-pad: 16px;
  --section-gap: 24px;
  --module-gap: 16px;
  --sidebar-module-width: 300px;
  --card-radius: 9px;
  --border-soft: #d8d8d8;
  --red-main: #940000;
  --text-main: #171717;
  --text-muted: #555;
  --shadow-soft: inset 0 1px 0 rgba(255,255,255,0.95), 0 2px 8px rgba(0,0,0,0.035);
}

/* =====================================================
   HEADER FLOTANTE DINAMICO
===================================================== */

.site-header {
  width: 100%;
  background: #ffffff;
  z-index: 9999;

  transition:
    transform .28s ease,
    box-shadow .28s ease;
}

.site-header.header-fixed {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;

  box-shadow: 0 2px 10px rgba(0,0,0,.08);
}

.site-header.header-hidden {
  transform: translateY(-100%);
}

.site-header.header-visible {
  transform: translateY(0);
}

.top-bar {
  height: 42px;
  background: linear-gradient(to bottom, #a30000 0%, #940000 45%, #7b0000 100%);
  border-top: 1px solid #c93d3d;
  border-bottom: 1px solid #5e0000;
  color: #f4f4f4;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.12), 0 1px 4px rgba(0,0,0,0.08);
}

.top-bar-content {
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.live-date {
  height: 28px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 5px;
  color: #f3f3f3;
  font-size: 13px;
  font-weight: 500;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.08), inset 0 -1px 0 rgba(0,0,0,0.12);
}

.timezone-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.timezone-label {
  color: #f1f1f1;
  font-size: 13px;
  font-weight: 500;
}

/* =========================
   Navegación principal
========================= */

.main-nav {
  height: 78px;
  background: #ffffff;
  border-bottom: 1px solid #dedede;
  box-shadow: 0 2px 8px rgba(0,0,0,0.035);
}

.nav-content {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  height: 100%;
  display: flex;
  align-items: center;
  flex-shrink: 0;
  text-decoration: none;
}

.brand img {
  height: 40px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* =========================
   Menú retro corporativo
========================= */

.menu {
  height: 38px;
  display: flex;
  align-items: stretch;
  gap: 0;
  border: 1px solid #d8d8d8;
  border-radius: 6px;
  overflow: hidden;
  background: linear-gradient(#ffffff, #f3f3f3);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,0.9),
    0 2px 5px rgba(0,0,0,0.06);
}

.menu > a {
  position: relative;
  height: 38px;
  padding: 0 30px;
  display: flex;
  align-items: center;
  justify-content: center;

  color: #333333;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;

  border: none;
  border-radius: 0;
  background: transparent;

  transition:
    background 0.20s ease,
    color 0.20s ease;
}

/* Separadores */

.menu > a:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;

  width: 1px;
  height: 100%;

  background: #d7d7d7;
  box-shadow: 1px 0 0 #ffffff;

  z-index: 20;
  pointer-events: none;
}

/* Hover */

.menu > a:hover {
  color: var(--red-main);
  background: linear-gradient(
    to bottom,
    #fafafa 0%,
    #ececec 100%
  );
}

/* Activo */

.menu > a.active {
  color: var(--red-main);
  font-weight: 700;

  background: linear-gradient(
    to bottom,
    #ffffff 0%,
    #e9e9e9 100%
  );
}

/* =========================
   Navegación interna lateral
========================= */

.internal-layout {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
  display: grid;
  grid-template-columns: 210px minmax(0, 1fr);
  gap: var(--module-gap);
  align-items: start;
}

.internal-content {
  min-width: 0;
}

.internal-content > section {
  padding-top: 0;
  padding-bottom: var(--section-gap);
  scroll-margin-top: 150px;
}

.internal-content > section:last-child {
  padding-bottom: 0;
}

.internal-content .container {
  max-width: none;
  padding: 0;
}

.section-nav {
  position: sticky;
  top: 20px;
  overflow: hidden;
  border: 1px solid #cfcfcf;
  border-radius: var(--card-radius);
  background: linear-gradient(#ffffff, #f1f1f1);
  box-shadow: var(--shadow-soft);
  transition: top .2s ease;
}

.site-header.header-fixed + .main-content .section-nav {
  top: 142px;
}

.section-nav-title {
  margin: 0;
  padding: 11px 14px;
  color: #fff;
  background: linear-gradient(#a90000, #790000);
  border-bottom: 1px solid #5e0000;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}

.section-nav-links {
  display: flex;
  flex-direction: column;
}

.section-nav a {
  min-height: 39px;
  padding: 10px 14px;
  display: flex;
  align-items: center;
  color: #333;
  border-bottom: 1px solid #d9d9d9;
  background: transparent;
  text-decoration: none;
  font-size: 13px;
  line-height: 1.3;
  font-weight: 600;
  box-shadow: inset 0 1px 0 #fff;
}

.section-nav a:last-child {
  border-bottom: 0;
}

.section-nav a:hover,
.section-nav a:focus-visible,
.section-nav a.active {
  color: var(--red-main);
  background: linear-gradient(#fff, #e9e9e9);
  outline: none;
}

.section-nav a.active {
  box-shadow: inset 3px 0 0 var(--red-main), inset 0 1px 0 #fff;
}

.internal-page-header {
  margin-bottom: var(--module-gap);
  padding: 22px 24px;
  border: 1px solid #d6d6d6;
  border-radius: var(--card-radius);
  background: linear-gradient(#ffffff, #f5f5f5);
  box-shadow: var(--shadow-soft);
}

.internal-page-header .section-kicker {
  margin-bottom: 8px;
}

.internal-page-header h1 {
  margin: 0 0 8px;
  color: var(--text-main);
  font-size: 22px;
  line-height: 1.25;
}

.internal-page-header p {
  max-width: 760px;
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.6;
}

@media (max-width: 900px) {
  .internal-layout {
    grid-template-columns: 1fr;
  }

  .section-nav,
  .site-header.header-fixed + .main-content .section-nav {
    position: static;
  }

  .section-nav-links {
    flex-direction: row;
    overflow-x: auto;
  }

  .section-nav a {
    min-width: max-content;
    border-right: 1px solid #d9d9d9;
    border-bottom: 0;
  }

  .section-nav a.active {
    box-shadow: inset 0 -3px 0 var(--red-main), inset 0 1px 0 #fff;
  }
}

/* =========================
   Contenido principal
========================= */

.main-content {
  background: #fafafa;
}

.breadcrumb {
  min-height: 34px;
  padding-top: var(--section-gap);
  padding-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 7px;
  color: #777;
  font-size: 12px;
  line-height: 1.3;
}

.breadcrumb a {
  color: var(--red-main);
  text-decoration: none;
  font-weight: 700;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: #650000;
  text-decoration: underline;
  outline: none;
}

.breadcrumb [aria-current="page"] {
  color: #555;
  font-weight: 600;
}

.breadcrumb + .internal-layout,
.breadcrumb + .organization-layout,
.breadcrumb + .contact-page-section,
.breadcrumb + .companies-page {
  padding-top: 12px;
}

.featured-news-grid {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--module-gap);
}

.featured-card,
.latest-news-card,
.pillar-card {
  background: linear-gradient(#ffffff, #fbfbfb);
  border: 1px solid #d6d6d6;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-soft);
}

/* =========================
   Slider destacado
========================= */

.featured-card {
  position: relative;
  min-height: 410px;
  padding: 24px;
  display: grid;
  grid-template-columns: 54% minmax(0, 1fr);
  gap: 22px;
  align-items: center;
}

.featured-image {
  width: 100%;
  height: 390px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at center, #d7d7d7 0%, #c7c7c7 45%, #b8b8b8 100%);
  color: #777;
  font-size: 18px;
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), inset 0 -1px 0 rgba(0,0,0,0.08);
}

.featured-image img {
  width: 76%;
  height: 76%;
  object-fit: contain;
  filter: grayscale(.12);
}

.featured-info {
  position: relative;
  width: 100%;
  flex: 1 1 auto;
  min-width: 0;
  padding-right: 12px;
  padding-bottom: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.featured-info #slideLink {
  position: static;
  align-self: flex-start;
}

.featured-content {
  margin-top: auto;
  margin-bottom: auto;
}

.featured-actions-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 0;
}

.featured-actions-row .slider-dots {
  position: static;
  flex: 0 0 auto;
}

.featured-company {
  display: block;
  margin-bottom: 10px;
  color: var(--red-main);
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
}

.featured-info .tag.featured-company {
  height: 21px;
  align-self: flex-start;
  display: inline-flex;
  color: #fff;
  font-size: 10px;
  line-height: 1;
  font-weight: 900;
}

.featured-info .news-entry-chips {
  margin-bottom: 6px;
  flex-wrap: nowrap;
  gap: 4px;
  white-space: nowrap;
}

.featured-date {
  display: block;
  margin-bottom: 7px;
  color: #777;
  font-size: 11px;
  line-height: 1.35;
}

.featured-info h1 {
  min-height: 1.28em;
  margin: 0 0 12px;
  color: var(--text-main);
  font-size: 20px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.featured-info h1 a,
.news-info h3 a,
.news-featured-copy h2 a {
  color: inherit;
  text-decoration: none;
}

.featured-info h1 a:hover,
.featured-info h1 a:focus-visible,
.news-info h3 a:hover,
.news-info h3 a:focus-visible,
.news-featured-copy h2 a:hover,
.news-featured-copy h2 a:focus-visible {
  color: var(--red-main);
  text-decoration: underline;
  outline: none;
}

.featured-info p {
  min-height: calc(2 * 1.55em);
  margin: 0 0 22px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.primary-button,
.secondary-button,
.details-button {
  min-height: 34px;
  padding: 0 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-style: solid;
  border-width: 1px;
  border-radius: 6px;
  font-family: inherit;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition:
    color .15s ease,
    border-color .15s ease,
    background .15s ease,
    box-shadow .15s ease,
    transform .08s ease;
}

a.primary-button::after,
a.secondary-button::after,
a.details-button::after {
  content: "›";
  min-height: 18px;
  margin-left: 11px;
  padding-left: 10px;
  display: inline-flex;
  align-items: center;
  border-left: 1px solid currentColor;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
  line-height: 1;
  opacity: .42;
}

.primary-button:focus-visible,
.secondary-button:focus-visible,
.details-button:focus-visible {
  outline: 2px solid rgba(128,0,0,.32);
  outline-offset: 2px;
}

.primary-button:active,
.secondary-button:active,
.details-button:active {
  transform: translateY(1px);
  box-shadow:
    inset 0 1px 2px rgba(0,0,0,.14),
    0 1px 2px rgba(0,0,0,.05);
}

.primary-button {
  background: linear-gradient(
    to bottom,
    #ad1717 0%,
    #900000 100%
  );
  border-color: #730000;
  color: #ffffff;
  font-size: 13px;
  text-shadow: 0 -1px 0 rgba(0,0,0,.25);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    inset 0 -1px 0 rgba(0,0,0,.1),
    0 2px 4px rgba(0,0,0,.09);
}

.primary-button:hover {
  background: linear-gradient(
    to bottom,
    #b91e1e 0%,
    #970000 100%
  );
  border-color: #690000;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.2),
    inset 0 -1px 0 rgba(0,0,0,.1),
    0 2px 5px rgba(91,0,0,.12);
}

.slider-dots {
  position: absolute;
  right: 24px;
  bottom: 22px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.slider-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: #9b9b9b;
  cursor: pointer;
  box-shadow: inset 0 1px 1px rgba(0,0,0,0.18);
}

.slider-dots button.active {
  background: var(--red-main);
}

/* =========================
   Últimos anuncios
========================= */

.latest-news-card {
  position: relative;
  min-height: 410px;
  padding: 0;
  display: block;
  overflow: hidden;
}

.latest-news-header {
  min-height: 39px;
  margin: 0;
  padding: 10px 13px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.latest-news-header h2,
.latest-news-header a {
  margin: 0;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.latest-news-header a {
  font-size: 13px;
}

.latest-news-header a:hover,
.latest-news-header a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.latest-news-list {
  position: absolute;
  top: 57px;
  right: 18px;
  bottom: 18px;
  left: 18px;
  min-height: 0;
  max-height: none;
  margin: 0;
  padding-right: 10px;
  overflow-y: scroll;
}

.latest-news-list::-webkit-scrollbar { width: 7px; }
.latest-news-list::-webkit-scrollbar-track { background: #ededed; border-radius: 8px; }
.latest-news-list::-webkit-scrollbar-thumb { background: #b7b7b7; border-radius: 8px; }

.news-item {
  min-height: 100px;
  padding: 12px 0;
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) 92px;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid #dddddd;
}

.featured-news-grid .news-item {
  grid-template-columns: minmax(0, 1fr) auto;
}

.news-item:first-child { padding-top: 0; }
.news-item:last-child { border-bottom: none; }

.news-thumb {
  width: 92px;
  height: 92px;
  border-radius: 6px;
  background: radial-gradient(circle at center, #d7d7d7 0%, #c7c7c7 45%, #b8b8b8 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), inset 0 -1px 0 rgba(0,0,0,0.08);
}

.news-tags {
  margin-bottom: 7px;
  display: flex;
  align-items: center;
  gap: 5px;
  flex-wrap: wrap;
}

.news-info h3 {
  margin: 0 0 5px;
  color: #222;
  font-size: 14px;
  line-height: 1.3;
  font-weight: 700;
}

.news-info p {
  margin: 0 0 6px;
  color: #555;
  font-size: 13px;
  line-height: 1.38;
}

.news-info time {
  color: #6d6d6d;
  font-size: 12px;
}

.details-button {
  min-height: 32px;
  padding-right: 12px;
  padding-left: 12px;
  background: linear-gradient(to bottom, #ffffff 0%, #eeeeee 100%);
  border-color: #d0d0d0;
  color: #333;
  font-size: var(--font-ui);
  text-shadow: 0 1px 0 #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 2px 4px rgba(0,0,0,.055);
}

.details-button:hover {
  color: var(--red-main);
  background: linear-gradient(to bottom, #ffffff 0%, #f3f3f3 100%);
  border-color: #c4c4c4;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 2px 5px rgba(0,0,0,.07);
}

/* =========================
   Empresas pilares
========================= */

.pillars-section {
  padding-top: 0;
  padding-bottom: 0px;
  overflow: hidden;
}

.pillars-header {
  margin-bottom: var(--module-gap);
  text-align: left;
}

.pillars-header span {
  display: block;
  margin-bottom: 10px;
  color: var(--red-main);
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
}

.pillars-header h2 {
  margin: 0;
  color: var(--text-main);
  font-size: 20px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.pillars-grid {
  width: 100%;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--module-gap);
}

.pillar-card {
  width: 100%;
  min-width: 0;
  min-height: 238px;
  padding: 24px 22px;
  text-align: center;
}

.pillar-card img {
  height: 40px;
  max-width: 100%;
  width: auto;
  margin-bottom: 22px;
  object-fit: contain;
}

.pillar-card p {
  margin: 0 0 28px;
  color: #666;
  font-size: 14px;
  line-height: 1.65;
}

.secondary-button {
  min-width: 104px;
  background: linear-gradient(to bottom, #ffffff 0%, #eeeeee 100%);
  border-color: #d0d0d0;
  color: #3f3f3f;
  font-size: var(--font-ui);
  text-shadow: 0 1px 0 #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 2px 4px rgba(0,0,0,.055);
}

.secondary-button:hover {
  color: var(--red-main);
  background: linear-gradient(to bottom, #ffffff 0%, #f3f3f3 100%);
  border-color: #c4c4c4;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    0 2px 5px rgba(0,0,0,.07);
}

/* =========================
   Responsive
========================= */

@media (max-width: 1100px) {
  .featured-news-grid {
    grid-template-columns: 1fr;
  }

  .pillars-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 850px) {
  .top-bar,
  .main-nav {
    height: auto;
  }

  .top-bar-content,
  .nav-content {
    height: auto;
    padding-top: 12px;
    padding-bottom: 12px;
    flex-direction: column;
    gap: 14px;
  }

  .brand img {
    height: 54px;
  }

  .menu {
    height: auto;
    flex-wrap: wrap;
    justify-content: center;
  }

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

  .featured-image {
    height: 240px;
  }

  .featured-info h1 {
    min-height: calc(2 * 1.28em);
  }

  .featured-info p {
    min-height: calc(4 * 1.55em);
  }

  .slider-dots {
    right: 20px;
    bottom: 18px;
  }

  .news-item {
    grid-template-columns: 76px minmax(0, 1fr);
  }

  .news-thumb {
    width: 76px;
    height: 76px;
  }

  .details-button {
    grid-column: 2;
    justify-self: start;
  }
}

@media (max-width: 700px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  .top-bar-content {
    padding-top: 8px;
    padding-bottom: 8px;
    gap: 6px;
  }

  .live-date {
    height: 24px;
    padding: 0 8px;
    font-size: 11px;
  }

  .timezone-box {
    flex-direction: row;
    gap: 8px;
  }

  .timezone-label {
    font-size: 11px;
  }

  .custom-select {
    width: 130px;
  }

  .nav-content {
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 10px;
  }

  .brand img {
    height: 42px;
  }

  .menu {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .menu > a {
    height: 38px;
    padding: 0 10px;
    border-bottom: 1px solid #d7d7d7;
  }

  .menu > a:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .menu > a:last-child {
    grid-column: auto;
  }

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

  .latest-news-header {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 650px) {
  .section-nav-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    overflow: hidden;
  }

  .section-nav a {
    min-width: 0;
    border-right: 1px solid #d9d9d9;
    border-bottom: 1px solid #d9d9d9;
  }
}

/* =====================================================
   EQUIPO DIRECTIVO
===================================================== */

.leadership-section {
  margin-top: var(--module-gap);
  padding-bottom: var(--section-gap);
}

.leadership-container {
  width: 100%;
  padding: 24px 28px;
  border: 1px solid #ddd;
  border-radius: var(--card-radius);
  background: linear-gradient(#ffffff, #fbfbfb);
  box-shadow: var(--shadow-soft);

  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 32px;
  align-items: center;
}

.section-kicker {
  display: block;
  margin-bottom: 10px;
  color: var(--red-main);
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
}

.leadership-info h2 {
  margin: 0 0 16px;
  color: var(--text-main);
  font-size: 20px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.leadership-info p {
  max-width: 260px;
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--module-gap);
}

.leader-card {
  overflow: hidden;
  border: 1px solid #ddd;
  border-radius: var(--card-radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.leader-photo {
  height: 160px;
  background: radial-gradient(circle at center, #eeeeee 0%, #d8d8d8 45%, #c8c8c8 100%);
  box-shadow: inset 0 1px 0 rgba(255,255,255,0.35), inset 0 -1px 0 rgba(0,0,0,0.08);
}

.leader-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.leader-body {
  padding: 14px 16px 16px;
}

.leader-body h3 {
  margin: 0 0 6px;
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.3;
  font-weight: 800;
}

.leader-body h3 a {
  color: inherit;
  text-decoration: none;
}

.leader-body h3 a:hover,
.leader-body h3 a:focus-visible {
  color: inherit;
  text-decoration: underline;
}

.leader-body p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.35;
}

@media (max-width: 1100px) {
  .leadership-container {
    grid-template-columns: 1fr;
  }

  .leadership-info p {
    max-width: 520px;
  }

  .leadership-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .leadership-container {
    padding: 20px;
  }

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

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

.main-footer {
  width: 100%;
  margin-top: 0;

  background:
    linear-gradient(
      180deg,
      #5b5b5b 0%,
      #474747 35%,
      #3d3d3d 100%
    );

  color: #fff;
  overflow: hidden;

  border-top: 1px solid rgba(255,255,255,.18);

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.12),
    inset 0 -12px 20px rgba(0,0,0,.18),
    0 -4px 16px rgba(0,0,0,.08);
}

.main-footer .container {
  max-width: none;
  width: 100%;
  padding: 0;
}

/* =====================================================
   PANEL PRINCIPAL
===================================================== */

.footer-panel {
  max-width: 1290px;
  margin: 0 auto;

  padding: 30px 0 14px;

  display: grid;
  grid-template-columns: 1.25fr .9fr 1fr 1.15fr 1.2fr;
  gap: 34px;
}

/* =====================================================
   BRAND
===================================================== */

.footer-brand {
  padding-right: 10px;
}

.footer-logo {
  width: 205px;
  height: auto;
  display: block;
  margin-bottom: 14px;
}

.footer-brand p {
  max-width: 310px;
  margin: 0;
  color: rgba(255,255,255,.86);
  font-size: 14px;
  line-height: 1.55;
}

/* =====================================================
   TITULOS
===================================================== */

.footer-brand h3,
.footer-column h4,
.footer-contact h4 {
  margin: 0 0 14px;
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  letter-spacing: -0.3px;
}

/* =====================================================
   REDES
===================================================== */

.footer-socials {
  display: flex;
  gap: 10px;
  margin-top: 18px;
}

.footer-socials a {
  width: 36px;
  height: 36px;

  border: 1px solid rgba(255,255,255,.35);
  border-radius: 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  color: #fff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;

  transition: .2s ease;
}

.footer-socials a:hover {
  background: rgba(255,255,255,.10);
  border-color: rgba(255,255,255,.65);
}

/* =====================================================
   COLUMNAS
===================================================== */

.footer-column {
  display: flex;
  flex-direction: column;
}

.footer-column a {
  min-height: 34px;

  border-bottom: 1px solid rgba(255,255,255,.12);

  display: flex;
  align-items: center;
  justify-content: space-between;

  color: rgba(255,255,255,.88);
  font-size: 14px;
  line-height: 1.4;
  text-decoration: none;

  transition: .2s ease;
}

.footer-column a:hover {
  color: #fff;
  padding-left: 4px;
}

.footer-column span {
  opacity: .7;
  font-size: 17px;
}

/* =====================================================
   CONTACTO
===================================================== */

.footer-contact p {
  margin: 0 0 12px;
  color: rgba(255,255,255,.86);
  font-size: 14px;
  line-height: 1.55;
}

.footer-contact a {
  color: inherit;
  text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  color: #fff;
  text-decoration: underline;
  outline: none;
}

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

.footer-bottom {
  grid-column: 1 / -1;

  margin-top: 12px;
  padding-top: 14px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: relative;
}

.footer-bottom::before {
  content: "";
  position: absolute;
  top: 0;
  left: -9999px;
  width: 20000px;
  height: 1px;
  background: rgba(255,255,255,.15);
}

.footer-bottom p {
  margin: 0;
  color: rgba(255,255,255,.75);
  font-size: 13px;
}

.footer-bottom div {
  display: flex;
  gap: 22px;
}

.footer-bottom a {
  color: rgba(255,255,255,.75);
  font-size: 13px;
  text-decoration: none;
  transition: .2s ease;
}

.footer-bottom a:hover {
  color: #fff;
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {

  .footer-panel {
    grid-template-columns: repeat(2, 1fr);
    padding: 34px 24px 20px;
  }

}

@media (max-width: 700px) {

  .footer-panel {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .footer-bottom div {
    flex-wrap: wrap;
    gap: 10px;
  }

}

/* =====================================================
   PAGINA LA ORGANIZACION — ANCLAS
===================================================== */

#mision-vision,
#nuestra-historia,
#nuestros-valores,
#nuestro-equipo {
  scroll-margin-top: 190px;
}

/* =====================================================
   PAGINA LA ORGANIZACION — ESTRUCTURA GENERAL
===================================================== */

.organization-layout {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-module-width);
  gap: var(--module-gap);
  align-items: start;
}

.organization-main {
  min-width: 0;
  grid-column: 1;
  grid-row: 1;
}

.organization-main > section {
  margin-bottom: var(--module-gap);
}

.organization-main > section:last-child {
  margin-bottom: 0;
}

.organization-main .container {
  max-width: none;
  padding: 0;
}

.organization-sidebar {
  grid-column: 2;
  grid-row: 1;
  position: static;
  display: flex;
  flex-direction: column;
  gap: var(--module-gap);
}

.organization-side-card {
  overflow: hidden;
  border: 1px solid #cfcfcf;
  border-radius: var(--card-radius);
  background: linear-gradient(#ffffff, #f3f3f3);
  box-shadow: var(--shadow-soft);
}

.organization-side-card h2 {
  margin: 0;
  padding: 11px 13px;
  color: #fff;
  border-bottom: 1px solid #5e0000;
  background: linear-gradient(#a90000, #790000);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.16);
}

.organization-company-list {
  display: flex;
  flex-direction: column;
}

.organization-company-list a {
  min-height: 52px;
  padding: 10px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #3d3d3d;
  border-bottom: 1px solid #dedede;
  background: rgba(255,255,255,.62);
  text-decoration: none;
  font-size: 12px;
  font-weight: 400;
}

.organization-company-list a:last-child {
  border-bottom: 0;
}

.organization-company-list a:hover,
.organization-company-list a:focus-visible {
  color: var(--red-main);
  background: linear-gradient(#fff, #e9e9e9);
  outline: none;
}

.organization-company-copy,
.organization-company-copy strong,
.organization-company-copy small {
  display: block;
}

.organization-company-copy {
  min-width: 0;
}

.organization-company-copy strong {
  color: inherit;
  font-size: 12px;
  line-height: 1.3;
  font-weight: 700;
}

.organization-company-copy small {
  margin-top: 2px;
  color: #8a8a8a;
  font-size: 10px;
  line-height: 1.3;
}

.company-dot {
  width: 9px;
  height: 9px;
  flex: 0 0 9px;
  border-radius: 50%;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35), 0 0 0 1px rgba(0,0,0,.12);
}

.company-dot.real-estate { background: #980000; }
.company-dot.industries { background: #015b82; }
.company-dot.logistics { background: #c65000; }
.company-dot.investments { background: #006c40; }

.organization-data-card dl {
  margin: 0;
}

.organization-data-card dl div {
  padding: 11px 12px;
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  gap: 10px;
  border-bottom: 1px solid #dedede;
  background: rgba(255,255,255,.56);
}

.organization-data-card dt {
  color: #777;
  font-size: 11px;
  line-height: 1.35;
}

.organization-data-card dd {
  margin: 0;
  color: #333;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
  text-align: right;
}

.reference-note {
  margin: 0;
  padding: 10px 12px;
  color: #777;
  font-size: 10px;
  line-height: 1.4;
  font-style: italic;
}

.organization-intro-panel {
  min-height: 230px;
  padding: 30px 34px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 150px;
  gap: 28px;
  align-items: center;
  overflow: hidden;
  border: 1px solid #650000;
  border-radius: var(--card-radius);
  background:
    radial-gradient(circle at 88% 50%, rgba(255,255,255,.13) 0 70px, transparent 71px),
    linear-gradient(135deg, #ad0000, #730000);
  color: #fff;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18), 0 2px 8px rgba(0,0,0,.06);
}

.organization-intro-panel .section-kicker {
  color: rgba(255,255,255,.78);
}

.organization-intro-panel h1 {
  margin: 0 0 12px;
  max-width: 650px;
  color: #fff;
  font-size: 27px;
  line-height: 1.18;
  letter-spacing: -.5px;
}

.organization-intro-panel p {
  max-width: 670px;
  margin: 0;
  color: rgba(255,255,255,.88);
  font-size: 14px;
  line-height: 1.65;
}

.organization-intro-panel > strong {
  color: rgba(255,255,255,.18);
  font-size: 72px;
  line-height: 1;
  font-weight: 900;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255,255,255,.08);
}

.organization-section-heading {
  margin-bottom: 12px;
}

.organization-section-heading > span {
  display: block;
  margin-bottom: 10px;
  color: var(--red-main);
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: normal;
  text-align: left;
}

.organization-section-heading h2 {
  margin: 0;
  color: var(--text-main);
  font-size: 20px;
  line-height: 1.25;
}

.mission-vision-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--module-gap);
}

.organization-brief-card,
.organization-numbers-grid article,
.organization-values-grid article {
  border: 1px solid #d6d6d6;
  border-radius: var(--card-radius);
  background: linear-gradient(#ffffff, #f8f8f8);
  box-shadow: var(--shadow-soft);
}

.organization-brief-card {
  padding: 22px;
}

.organization-brief-card h3 {
  margin: 0 0 10px;
  color: var(--text-main);
  font-size: 17px;
}

.organization-brief-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.organization-numbers-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--module-gap);
}

.organization-numbers-grid article {
  min-height: 116px;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.organization-numbers-grid strong {
  margin-bottom: 8px;
  color: var(--red-main);
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
}

.organization-numbers-grid span {
  color: #666;
  font-size: 11px;
  line-height: 1.35;
}

.organization-values-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--module-gap);
}

.organization-values-grid article {
  min-height: 165px;
  padding: 20px;
}

.organization-values-grid article > span {
  display: block;
  margin-bottom: 12px;
  color: var(--red-main);
  font-size: 13px;
  font-weight: 900;
}

.organization-values-grid h3 {
  margin: 0 0 9px;
  color: var(--text-main);
  font-size: 15px;
}

.organization-values-grid p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
}

/* =====================================================
   PAGINA LA ORGANIZACION — NUESTRA HISTORIA
===================================================== */

.organization-history-section {
  padding: 0;
}

.history-card {
  overflow: hidden;
  border: 1px solid #d6d6d6;
  border-radius: var(--card-radius);
  background: linear-gradient(#ffffff, #fbfbfb);
  box-shadow: var(--shadow-soft);
}

.history-content {
  padding: 24px;
}

.history-story {
  width: 100%;
}

.history-story-block {
  position: relative;
  padding: 0 0 28px 24px;
  margin-bottom: 28px;
  border-bottom: 1px solid #dddddd;
}

.history-story-block::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 0;
  width: 9px;
  height: 9px;
  border: 2px solid #fff;
  border-radius: 50%;
  background: var(--red-main);
  box-shadow: 0 0 0 1px var(--red-main);
}

.history-story-block:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: none;
}

.history-story-block .featured-company {
  margin-bottom: 10px;
}

.history-story-block h2 {
  margin: 0 0 12px;
  color: var(--text-main);
  font-size: 20px;
  line-height: 1.28;
  font-weight: 700;
  letter-spacing: -0.3px;
}

.history-story-block p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: var(--font-body);
  line-height: 1.55;
}

/* =====================================================
   PAGINA LA ORGANIZACION — NUESTRO EQUIPO
===================================================== */

.organization-team-section {
  padding: 0;
}

.organization-main .organization-team-section .pillars-header {
  margin-bottom: 12px;
  text-align: left;
}

.organization-main .organization-team-section .pillars-header span {
  margin-bottom: 10px;
  font-size: 16px;
  letter-spacing: normal;
  text-transform: none;
  text-align: left;
}

.organization-main .organization-team-section .pillars-header h2 {
  font-size: 20px;
}

.team-profile-card {
  padding: 24px;
  margin-top: var(--module-gap);

  display: grid;
    grid-template-columns: 1.6fr 0.9fr;
    gap: 34px;
    align-items: stretch;

  border: 1px solid #d6d6d6;
  border-radius: var(--card-radius);
  background: linear-gradient(#ffffff, #fbfbfb);
  box-shadow: var(--shadow-soft);
}

.team-profile-card:first-of-type {
  margin-top: 0;
}

.team-profile-content {
  min-width: 0;
}

.team-profile-main h3 {
  margin: 0 0 6px;
  color: var(--text-main);
  font-size: 22px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: -0.3px;
}

.team-profile-main strong {
  display: block;
  margin-bottom: 18px;
  color: #333;
  font-size: 14px;
  font-weight: 700;
}

.team-profile-main p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: var(--font-body);
  line-height: 1.55;
}

.team-profile-main p:first-of-type {
  padding-top: 18px;
  border-top: 1px solid #dddddd;
}

.team-profile-details {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--section-gap);
  margin-top: 22px;
  margin-bottom: 22px;
}

.team-profile-details div {
  padding-right: 18px;
  border-right: 1px solid #dddddd;
}

.team-profile-details div:last-child {
  border-right: none;
}

.team-profile-details span {
  display: block;
  margin-bottom: 6px;
  color: var(--red-main);
  font-size: 14px;
  font-weight: 800;
}

.team-profile-details p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.45;
}

.team-profile-card blockquote {
  margin: 18px 0 0;
  padding: 18px;

  border: 1px solid #d8d8d8;
  border-radius: 6px;

  background: linear-gradient(#fafafa, #f2f2f2);
  color: #777777;

  font-size: 14px;
  line-height: 1.8;
  font-style: italic;
  font-weight: 500;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    0 1px 2px rgba(0,0,0,.03);
}

.team-profile-image {
    width: 100%;
    height: 100%;

    min-height: 100%;

    border-radius: 8px;

    display: flex;
    align-items: center;
    justify-content: center;

    background: radial-gradient(
        circle at center,
        #d7d7d7 0%,
        #c7c7c7 45%,
        #b8b8b8 100%
    );

    color: #777;
    font-size: 18px;

    box-shadow:
        inset 0 1px 0 rgba(255,255,255,.35),
        inset 0 -1px 0 rgba(0,0,0,.08);
}

/* =====================================================
   PAGINA LA ORGANIZACION — RESPONSIVE
===================================================== */

@media (min-width: 951px) {
  .organization-team-section .team-profile-card:nth-of-type(even) {
    grid-template-columns: .9fr 1.6fr;
  }

  .organization-team-section .team-profile-card:nth-of-type(even) .team-profile-image {
    order: -1;
  }
}

@media (max-width: 1100px) {
  .organization-numbers-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .organization-values-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 950px) {
  .organization-layout {
    grid-template-columns: 1fr;
  }

  .organization-sidebar,
  .site-header.header-fixed + .main-content .organization-sidebar {
    grid-column: auto;
    grid-row: auto;
    position: static;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .organization-main {
    grid-column: auto;
    grid-row: auto;
  }

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

  .team-profile-details {
    grid-template-columns: repeat(2, 1fr);
  }

  .team-profile-details div {
    border-right: none;
  }

  .team-profile-image {
    height: 260px;
  }
}

@media (max-width: 850px) {
  .organization-intro-panel {
    grid-template-columns: minmax(0, 1fr) 100px;
  }

  .history-content {
    padding: 24px;
  }
}

@media (max-width: 650px) {
  .organization-sidebar {
    grid-template-columns: 1fr;
  }

  .organization-intro-panel {
    min-height: 0;
    padding: 24px;
    grid-template-columns: 1fr;
  }

  .organization-intro-panel > strong {
    display: none;
  }

  .organization-intro-panel h1 {
    font-size: 23px;
  }

  .mission-vision-grid,
  .organization-values-grid {
    grid-template-columns: 1fr;
  }

  .organization-numbers-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .history-story-block {
    padding-left: 20px;
  }

  .team-profile-details {
    grid-template-columns: 1fr;
  }
}

/* =====================================================
   PAGINAS EMPRESAS
===================================================== */

.companies-page {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.companies-page-header {
  margin-bottom: var(--module-gap);
  padding-bottom: 13px;
  border-bottom: 2px solid var(--red-main);
}

.companies-page-header .section-kicker {
  margin-bottom: 7px;
}

.companies-page-header h1 {
  margin: 0 0 6px;
  color: var(--text-main);
  font-size: 24px;
  line-height: 1.2;
}

.companies-page-header h1:last-child {
  margin-bottom: 0;
}

.companies-page-header p {
  max-width: 760px;
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.company-profile-card {
  --company-accent: var(--red-main);
  margin-bottom: var(--module-gap);
  padding: 22px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-module-width);
  gap: 24px;
  scroll-margin-top: 150px;
  border: 1px solid #cfcfcf;
  border-left: 5px solid var(--company-accent);
  border-radius: var(--card-radius);
  background: linear-gradient(135deg, #ffffff 0%, #f8f8f8 68%, #eeeeee 100%);
  box-shadow: var(--shadow-soft), inset 0 1px 0 #fff;
}

.company-profile-card--industries {
  --company-accent: #146a91;
}

.company-profile-card--logistics {
  --company-accent: #b65a12;
}

.company-profile-card--investments {
  --company-accent: #256d4c;
}

.company-profile-main {
  min-width: 0;
}

.company-profile-heading {
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 15px;
}

.company-profile-heading img {
  width: auto;
  max-width: 195px;
  height: 40px;
  object-fit: contain;
  object-position: left center;
}

.company-profile-heading > div {
  min-width: 0;
  padding-left: 14px;
  border-left: 1px solid #cecece;
}

.company-profile-heading span {
  display: block;
  color: var(--company-accent);
  font-size: 10px;
  line-height: 1.25;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.company-profile-heading h2 {
  margin: 2px 0 0;
  color: var(--text-main);
  font-size: 21px;
  line-height: 1.2;
}

.company-profile-heading .visually-hidden {
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  position: absolute;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  border: 0;
  white-space: nowrap;
}

.company-profile-main blockquote {
  margin: 0 0 12px;
  padding: 5px 0 5px 12px;
  color: #343434;
  border-left: 2px solid var(--company-accent);
  font-size: 14px;
  line-height: 1.4;
  font-style: italic;
}

.company-profile-main > p {
  max-width: 760px;
  margin: 0 0 13px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.company-services {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.company-services span,
.company-markets span {
  padding: 4px 8px;
  display: inline-block;
  color: #4a4a4a;
  border: 1px solid #d1d1d1;
  border-radius: 5px;
  background: linear-gradient(#fff, #e9e9e9);
  box-shadow: inset 0 1px 0 #fff;
  font-size: 10px;
  line-height: 1.2;
}

.company-profile-main .primary-button {
  margin-top: 16px;
  border-color: rgba(0,0,0,.34);
  background:
    linear-gradient(rgba(255,255,255,.14), rgba(0,0,0,.12)),
    var(--company-accent);
}

.company-profile-main .primary-button:hover {
  border-color: rgba(0,0,0,.42);
  background:
    linear-gradient(rgba(255,255,255,.2), rgba(0,0,0,.08)),
    var(--company-accent);
}

.company-profile-summary {
  padding: 15px;
  align-self: stretch;
  border: 1px solid #d2d2d2;
  border-radius: var(--card-radius);
  background: linear-gradient(#f6f6f6, #e9e9e9);
  box-shadow: inset 0 1px 0 #fff;
}

.company-profile-summary h3,
.company-markets h4 {
  margin: 0;
  color: #606060;
  font-size: 11px;
  line-height: 1.3;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.company-profile-summary h3 {
  letter-spacing: normal;
  text-transform: none;
}

.company-profile-summary dl {
  margin: 8px 0 0;
}

.company-profile-summary dl > div {
  padding: 8px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  border-bottom: 1px solid #d8d8d8;
}

.company-profile-summary dl > div:last-child {
  border-bottom: 0;
}

.company-profile-summary dt,
.company-profile-summary dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.3;
}

.company-profile-summary dt {
  color: #737373;
}

.company-profile-summary dd {
  color: var(--company-accent);
  font-weight: 800;
  text-align: right;
}

.company-markets h4 {
  margin-bottom: 7px;
}

.company-markets > div {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.company-services span,
.company-markets span {
  color: var(--company-accent);
  border-color: var(--company-accent);
  background: #fff;
  font-weight: 700;
}

.contact-help-card.companies-help-card {
  margin-top: var(--module-gap);
}

/* =====================================================
   PAGINAS INDIVIDUALES DE EMPRESA
===================================================== */

.company-detail-page {
  --company-accent: var(--red-main);
  --company-accent-dark: #690000;
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.breadcrumb + .company-detail-page {
  padding-top: 12px;
}

.company-detail-page--industries {
  --company-accent: #146a91;
  --company-accent-dark: #0b4663;
}

.company-detail-page--logistics {
  --company-accent: #b65a12;
  --company-accent-dark: #7b3908;
}

.company-detail-page--investments {
  --company-accent: #256d4c;
  --company-accent-dark: #174a34;
}

.company-detail-hero {
  min-height: 218px;
  margin-bottom: var(--module-gap);
  padding: 28px;
  position: relative;
  overflow: hidden;
  color: #fff;
  border: 1px solid var(--company-accent-dark);
  border-radius: var(--card-radius);
  background: linear-gradient(to bottom, var(--company-accent) 0%, var(--company-accent-dark) 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.18),
    0 3px 8px rgba(0,0,0,.08);
}

.company-detail-hero::before,
.company-detail-hero::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 50%;
  pointer-events: none;
}

.company-detail-hero::before {
  width: 190px;
  height: 190px;
  right: -28px;
  top: -46px;
  box-shadow: 0 0 0 28px rgba(255,255,255,.035);
}

.company-detail-hero::after {
  width: 88px;
  height: 88px;
  right: 25px;
  top: 5px;
  background: rgba(0,0,0,.045);
}

.company-detail-hero-content {
  max-width: 850px;
  position: relative;
  z-index: 1;
}

.company-detail-hero h1 {
  margin: 0 0 10px;
  color: #fff;
  font-family: inherit;
  font-size: 27px;
  line-height: 1.2;
  font-weight: 700;
}

.company-detail-summary {
  max-width: 760px;
  margin: 0;
  color: rgba(255,255,255,.92);
  font-size: 14px;
  line-height: 1.65;
  font-weight: 400;
}

.company-detail-hero-stats {
  margin-top: 22px;
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.company-detail-hero-stats div {
  min-width: 78px;
}

.company-detail-hero-stats strong,
.company-detail-hero-stats span {
  display: block;
}

.company-detail-hero-stats strong {
  color: #fff;
  font-family: inherit;
  font-size: 21px;
  line-height: 1.1;
}

.company-detail-hero-stats span {
  margin-top: 3px;
  color: rgba(255,255,255,.72);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 700;
  text-transform: uppercase;
}

.company-detail-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-module-width);
  gap: var(--module-gap);
  align-items: start;
}

.company-detail-main,
.company-detail-sidebar {
  min-width: 0;
}

.company-detail-main {
  display: flex;
  flex-direction: column;
  gap: var(--module-gap);
}

.company-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--module-gap);
}

.company-detail-panel,
.company-detail-side-card {
  padding: 20px;
  border: 1px solid #d4d4d4;
  border-radius: var(--card-radius);
  background: linear-gradient(#ffffff, #f7f7f7);
  box-shadow: var(--shadow-soft);
}

.company-detail-panel h2,
.company-detail-panel-header h2 {
  margin: 0;
  color: var(--text-main);
  font-family: inherit;
  font-size: 17px;
  line-height: 1.3;
  font-weight: 700;
}

.company-detail-panel > h2 {
  margin-bottom: 13px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--company-accent);
}

.company-detail-panel > p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.7;
}

.company-service-grid,
.company-achievement-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--module-gap);
}

.company-achievement-grid span,
.company-presence-list span {
  min-height: 38px;
  padding: 9px 12px;
  display: flex;
  align-items: center;
  position: relative;
  color: #444;
  border: 1px solid #d6d6d6;
  border-radius: var(--card-radius);
  background: linear-gradient(#ffffff, #f8f8f8);
  font-size: 12px;
  line-height: 1.35;
  box-shadow: var(--shadow-soft);
}

.company-service-card {
  min-height: 185px;
  padding: 22px;
  border: 1px solid #d6d6d6;
  border-radius: var(--card-radius);
  background: linear-gradient(#ffffff, #f8f8f8);
  box-shadow: var(--shadow-soft);
}

.company-service-index {
  width: 30px;
  height: 30px;
  margin-bottom: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid var(--company-accent-dark);
  border-radius: 4px;
  background: linear-gradient(to bottom, var(--company-accent), var(--company-accent-dark));
  font-size: 11px;
  line-height: 1;
  font-weight: 900;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.18);
}

.company-service-card h3 {
  margin: 0 0 10px;
  color: var(--text-main);
  font-size: 17px;
  line-height: 1.3;
}

.company-service-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.65;
}

.company-achievement-grid span {
  color: var(--company-accent-dark);
  border-color: #d6d6d6;
  background: linear-gradient(#ffffff, #f8f8f8);
  font-weight: 700;
}

.company-presence-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.company-presence-list span {
  min-height: 34px;
  color: var(--company-accent);
  border-color: var(--company-accent);
  font-weight: 700;
}

.company-detail-panel-header {
  margin-bottom: 12px;
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border-bottom: 2px solid var(--company-accent);
}

.company-detail-panel-header a {
  color: var(--company-accent);
  font-size: 11px;
  font-weight: 700;
  text-decoration: none;
}

.company-detail-panel-header a:hover,
.company-detail-panel-header a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.company-detail-news h3 {
  margin: 0 0 5px;
  color: var(--text-main);
  font-size: 14px;
  line-height: 1.35;
}

.company-detail-news p {
  margin: 0 0 8px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.55;
}

.company-detail-news time {
  color: #888;
  font-size: 11px;
}

.company-detail-side-card {
  padding: 0;
  overflow: hidden;
}

.company-detail-side-card > h2 {
  margin: 0;
  padding: 10px 13px;
  color: #fff;
  background: linear-gradient(to bottom, var(--company-accent) 0%, var(--company-accent-dark) 100%);
  border-bottom: 1px solid var(--company-accent-dark);
  font-size: 13px;
  line-height: 1.25;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.14);
}

.company-facts {
  margin: 0;
  padding: 4px 13px 10px;
}

.company-facts div {
  padding: 10px 0;
  border-bottom: 1px solid #e2e2e2;
}

.company-facts div:last-child {
  border-bottom: 0;
}

.company-facts dt,
.company-facts dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
}

.company-facts dt {
  margin-bottom: 3px;
  color: #8a8a8a;
}

.company-facts dd {
  color: #222;
  font-weight: 800;
}

.company-related-card > h2 {
  color: #fff;
  background: linear-gradient(180deg, #5b5b5b 0%, #474747 35%, #3d3d3d 100%);
  border-bottom-color: #303030;
  text-shadow: 0 -1px 0 rgba(0,0,0,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.company-related-list a {
  padding: 11px 13px 11px 31px;
  display: block;
  position: relative;
  color: #292929;
  border-bottom: 1px solid #e1e1e1;
  text-decoration: none;
}

.company-related-list a:last-child {
  border-bottom: 0;
}

.company-related-list a::before {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  left: 14px;
  top: 17px;
  border-radius: 50%;
  background: var(--related-accent, var(--red-main));
}

.company-related-list strong,
.company-related-list span {
  display: block;
}

.company-related-list strong {
  font-size: 12px;
  line-height: 1.3;
}

.company-related-list span {
  margin-top: 2px;
  color: #8a8a8a;
  font-size: 10px;
  line-height: 1.3;
}

.company-related-list a:hover,
.company-related-list a:focus-visible {
  color: var(--red-main);
  background: linear-gradient(#fff, #f1f1f1);
  outline: none;
}

.company-detail-contact {
  padding: 18px;
  border: 1px solid #d4d4d4;
  border-radius: var(--card-radius);
  background: linear-gradient(#f8f8f8, #ededed);
  box-shadow: var(--shadow-soft);
}

.company-detail-contact h2 {
  margin: 0 0 7px;
  color: var(--text-main);
  font-family: inherit;
  font-size: 16px;
  line-height: 1.3;
}

.company-detail-contact p {
  margin: 0 0 14px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.5;
}

@media (max-width: 950px) {
  .company-detail-layout {
    grid-template-columns: 1fr;
  }

  .company-detail-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .company-detail-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 620px) {
  .company-detail-hero {
    min-height: 0;
    padding: 22px 18px;
  }

  .company-detail-hero h1 {
    max-width: 82%;
    font-size: 23px;
  }

  .company-detail-hero-stats {
    gap: 18px;
  }

  .company-service-grid,
  .company-achievement-grid,
  .company-detail-sidebar {
    grid-template-columns: 1fr;
  }

  .company-detail-contact {
    grid-column: auto;
  }
}

@media (max-width: 950px) {
  .company-profile-card {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .company-profile-card {
    padding: 17px;
    gap: 17px;
  }

  .company-profile-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 9px;
  }

  .company-profile-heading > div {
    padding-left: 0;
    border-left: 0;
  }

  .company-profile-heading img {
    max-width: 180px;
    height: 36px;
  }

}

/* =====================================================
   ANUNCIOS Y PUBLICACIONES
===================================================== */

.breadcrumb + .news-page,
.breadcrumb + .news-article-page {
  padding-top: 12px;
}

.news-page {
  padding-bottom: var(--section-gap);
}

.news-page-header {
  margin-bottom: var(--module-gap);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red-main);
}

.news-page-header .section-kicker {
  margin-bottom: 7px;
}

.news-page-header h1 {
  margin: 0 0 6px;
  color: var(--text-main);
  font-size: 24px;
  line-height: 1.2;
}

.news-page-header h1:last-child {
  margin-bottom: 0;
}

.news-page-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.news-filter-panel {
  position: relative;
  z-index: 20;
  display: flex;
  flex-direction: column;
}

.news-filter-panel > .news-filter-dropdown {
  padding: 12px;
  border-bottom: 1px solid #d9d9d9;
}

.news-filter-panel > .news-filter-dropdown:last-child {
  border-bottom: 0;
}

.news-expanded-filter-group {
  padding: 12px;
  border-bottom: 1px solid #d9d9d9;
}

.news-expanded-filter-group:last-child {
  border-bottom: 0;
}

.news-expanded-filter-group h3 {
  margin: 0 0 6px;
  color: #333;
  font-size: 13px;
  line-height: 1.25;
}

.news-expanded-filter-options {
  display: flex;
  flex-direction: column;
}

.news-expanded-filter-options .news-filter-option {
  min-height: 31px;
  padding: 6px 3px;
}

.news-filter-dropdown {
  position: relative;
  min-width: 0;
}

.news-filter-trigger {
  width: 100%;
  min-height: 36px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  border: 1px solid #c9c9c9;
  border-radius: 6px;
  background: linear-gradient(#ffffff, #f7f7f7);
  color: #3f3f3f;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 -1px 0 rgba(0,0,0,.06),
    0 1px 2px rgba(0,0,0,.05);
}

.news-filter-trigger:hover,
.news-filter-trigger:focus-visible,
.news-filter-dropdown.open .news-filter-trigger {
  border-color: #bdbdbd;
  background: linear-gradient(#ffffff, #fafafa);
  color: #3f3f3f;
  outline: none;
}

.news-filter-trigger .select-arrow {
  color: #555;
}

.news-filter-menu {
  position: absolute;
  top: calc(100% - 1px);
  left: 0;
  z-index: 50;
  width: 100%;
  min-width: 190px;
  max-height: 260px;
  padding: 4px 0;
  overflow-y: auto;
  visibility: hidden;
  opacity: 0;
  border: 1px solid #bfc5c8;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(#ffffff, #f4f4f4);
  box-shadow: 0 9px 18px rgba(0,0,0,.16);
  transform: translateY(-1px);
  pointer-events: none;
}

.news-filter-dropdown.open {
  z-index: 60;
}

.news-filter-dropdown.open .news-filter-trigger {
  border-radius: 6px 6px 0 0;
}

.news-filter-dropdown.open .news-filter-menu {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
}

.news-filter-option {
  min-height: 34px;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #4d4d4d;
  font-size: 12px;
  line-height: 1.3;
  cursor: pointer;
}

.news-filter-option:hover {
  color: var(--red-main);
  background: #f0f0f0;
}

.news-filter-option input {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  margin: 0;
  accent-color: var(--red-main);
  cursor: pointer;
}

.news-filter-option strong {
  min-width: 22px;
  height: 20px;
  margin-left: auto;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dedede;
  border-radius: 10px;
  background: #eee;
  color: #777;
  font-size: 10px;
  line-height: 1;
}

.news-filter-option-dot {
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  border-radius: 50%;
  background: var(--news-accent, #777);
}

.news-filter-summary {
  min-height: 44px;
  margin-bottom: var(--module-gap);
  padding: 8px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #d4d4d4;
  border-left: 3px solid var(--red-main);
  border-radius: var(--card-radius);
  background: linear-gradient(#ffffff, #f7f7f7);
  box-shadow: var(--shadow-soft), inset 0 1px 0 #fff;
}

.news-filter-summary[hidden] {
  display: none;
}

.news-filter-summary-content {
  min-width: 0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  color: #555;
  font-size: 11px;
}

.news-filter-summary-content > strong {
  color: #333;
  font-size: 12px;
}

.news-active-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

#newsFilterResult,
.company-filter-result {
  color: #666;
  font-weight: 700;
}

#newsFilterResult::before,
.company-filter-result::before {
  content: "— ";
}

#newsClearFilters,
#productClearFilters,
.company-filter-summary button {
  flex: 0 0 auto;
  padding: 5px 2px;
  border: 0;
  background: transparent;
  color: var(--red-main);
  font-family: inherit;
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
}

#newsClearFilters:hover,
#newsClearFilters:focus-visible,
#productClearFilters:hover,
#productClearFilters:focus-visible,
.company-filter-summary button:hover,
.company-filter-summary button:focus-visible {
  text-decoration: underline;
  outline: none;
}

.news-page-layout {
  display: grid;
  grid-template-columns: var(--sidebar-module-width) minmax(0, 1fr);
  gap: var(--module-gap);
  align-items: start;
}

.news-article-page {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-module-width);
  gap: var(--module-gap);
  align-items: start;
}

.news-page-main,
.news-article-page > div {
  min-width: 0;
}

.news-filter-sidebar,
.catalog-filter-module {
  min-width: 0;
}

.news-filter-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--module-gap);
}

.catalog-filter-module,
.product-filter-card--unified {
  overflow: hidden;
  border: 1px solid #d2d2d2;
  border-radius: var(--card-radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.catalog-filter-module {
  overflow: hidden;
}

.catalog-filter-header {
  min-height: 44px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  border-bottom: 1px solid #c9c9c9;
  border-radius: 8px 8px 0 0;
  background: linear-gradient(to bottom, #f8f8f8 0%, #ececec 35%, #dedede 100%);
  color: #000;
  text-shadow: 0 1px 0 #fff;
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgba(0,0,0,.04);
}

.catalog-filter-header h2 {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
}

.news-featured-card,
.news-sidebar-card,
.news-press-card,
.news-article-card {
  border: 1px solid #d3d3d3;
  border-radius: var(--card-radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.news-featured-card {
  position: relative;
  min-height: 320px;
  margin-bottom: var(--module-gap);
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(230px, 32%) minmax(0, 1fr);
  gap: 20px;
}

.news-featured-media,
.news-feed-media,
.news-article-image {
  background: radial-gradient(
    circle at center,
    #d7d7d7 0%,
    #c7c7c7 45%,
    #b8b8b8 100%
  );
}

.news-featured-media {
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d2d2d2;
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -1px 0 rgba(0,0,0,.06);
  overflow: hidden;
}

.news-featured-media img {
  width: 74%;
  height: 74%;
  object-fit: contain;
}

.news-featured-copy {
  padding: 6px 4px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.news-entry-chips {
  margin-bottom: 8px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}

.news-chip {
  min-height: 22px;
  padding: 4px 8px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #d0d0d0;
  border-radius: 5px;
  color: #555;
  background: linear-gradient(#fff, #ededed);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 900;
  letter-spacing: .035em;
}

.news-chip--category {
  color: #fff;
  border-color: var(--news-accent, var(--red-main));
  background: var(--news-accent, var(--red-main));
  text-shadow: 0 -1px 0 rgba(0,0,0,.2);
}

.news-chip--featured {
  color: #654300;
  border-color: #d5ae57;
  background: linear-gradient(#fff4c9, #ead18c);
  text-shadow: 0 1px 0 rgba(255,255,255,.6);
}

.news-featured-copy h2 {
  margin: 0 0 9px;
  color: var(--text-main);
  font-size: 20px;
  line-height: 1.24;
}

.news-featured-copy > p {
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.6;
}

.news-featured-summary {
  margin: 0 0 10px;
}

.news-featured-excerpt {
  margin: 0 0 18px;
  color: #555;
}

.news-featured-actions {
  margin-top: auto;
  padding-top: 13px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.news-featured-date,
.news-feed-copy time,
.news-sidebar-latest time {
  color: #888;
  font-size: 11px;
  line-height: 1.35;
}

.news-featured-date {
  display: block;
  margin-bottom: 4px;
}

.news-featured-dots {
  z-index: 2;
}

.news-feed-panel > header {
  margin: 0 0 12px;
  min-height: 28px;
  padding: 0;
  color: #000;
  background: transparent;
  border: 0;
  text-shadow: none;
  box-shadow: none;
}

.news-sidebar-card > h2,
.latest-news-header {
  margin: 0;
  color: #fff;
  background: linear-gradient(180deg, #5b5b5b 0%, #474747 35%, #3d3d3d 100%);
  border-bottom: 1px solid #303030;
  text-shadow: 0 -1px 0 rgba(0,0,0,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.news-feed-panel > header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.news-feed-panel > header h2 {
  margin: 0;
  font-size: 14px;
  line-height: 1.25;
}

.news-feed-panel > header span {
  color: #000;
  font-size: 12px;
  font-weight: 700;
}

.news-feed-item {
  padding: 14px;
  display: grid;
  grid-template-columns: 112px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  border-bottom: 1px solid #e1e1e1;
}

.news-feed-item:last-child {
  border-bottom: 0;
}

.news-feed-panel {
  min-width: 0;
}

.news-feed-panel #newsFeed {
  display: grid;
  gap: var(--module-gap);
}

.news-feed-panel .news-feed-item {
  grid-template-columns: 136px minmax(0, 1fr) auto;
  border: 1px solid #d3d3d3;
  border-radius: var(--card-radius);
  background: linear-gradient(#ffffff, #fafafa);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.news-feed-panel .news-feed-media {
  width: 136px;
  height: 102px;
}

.news-feed-panel .news-feed-item:last-child {
  border-bottom: 1px solid #d3d3d3;
}

.news-feed-media {
  width: 112px;
  height: 84px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d2d2d2;
  border-radius: 6px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.45),
    inset 0 -1px 0 rgba(0,0,0,.05);
  overflow: hidden;
}

.news-feed-media img {
  width: 74%;
  height: 74%;
  object-fit: contain;
}

.news-feed-copy {
  min-width: 0;
}

.news-feed-copy .news-entry-chips {
  margin-bottom: 4px;
}

.news-feed-copy h3 {
  margin: 3px 0 5px;
  font-size: 16px;
  line-height: 1.3;
}

.news-feed-copy h3 a {
  color: var(--text-main);
  text-decoration: none;
}

.news-feed-copy h3 a:hover,
.news-feed-copy h3 a:focus-visible {
  color: var(--red-main);
  text-decoration: underline;
  outline: none;
}

.news-feed-copy p {
  margin: 0 0 7px;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.5;
}

.news-feed-details {
  min-height: 30px;
  align-self: center;
  justify-self: end;
}

.news-empty-state,
.product-empty-state {
  grid-column: 1 / -1;
  margin: 0;
  padding: 16px 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
  text-align: center;
  box-shadow: none;
}

.company-detail-news p.news-empty-state {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}

.news-page-sidebar,
.news-article-sidebar {
  display: grid;
  gap: var(--module-gap);
}

.news-sidebar-card > h2 {
  padding: 10px 13px;
  font-size: 12px;
  line-height: 1.25;
}

.news-sidebar-card > h2[style] {
  color: #fff;
  background:
    linear-gradient(rgba(255,255,255,.14), rgba(0,0,0,.12)),
    var(--news-accent, var(--red-main));
  border-bottom-color: rgba(0,0,0,.25);
  text-shadow: 0 -1px 0 rgba(0,0,0,.25);
}

.news-sidebar-content {
  padding: 13px;
}

.news-sidebar-content > strong {
  display: block;
  color: #222;
  font-size: 13px;
  line-height: 1.35;
}

.news-sidebar-content p {
  margin: 6px 0 12px;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.5;
}

.news-sidebar-content .primary-button {
  width: 100%;
}

.company-color-button {
  border-color: rgba(0,0,0,.34);
  background:
    linear-gradient(rgba(255,255,255,.14), rgba(0,0,0,.12)),
    var(--action-accent, var(--red-main));
}

.company-color-button:hover {
  border-color: rgba(0,0,0,.42);
  background:
    linear-gradient(rgba(255,255,255,.2), rgba(0,0,0,.08)),
    var(--action-accent, var(--red-main));
}

.news-sidebar-latest a,
.news-sidebar-categories a {
  padding: 10px 12px;
  display: block;
  color: #2b2b2b;
  border-bottom: 1px solid #e2e2e2;
  text-decoration: none;
}

.news-sidebar-latest a:last-child,
.news-sidebar-categories a:last-child {
  border-bottom: 0;
}

.news-sidebar-latest a:hover,
.news-sidebar-latest a:focus-visible,
.news-sidebar-categories a:hover,
.news-sidebar-categories a:focus-visible {
  color: var(--red-main);
  background: linear-gradient(#fff, #f1f1f1);
  outline: none;
}

.news-sidebar-latest strong,
.news-sidebar-latest time {
  display: block;
}

.news-sidebar-latest strong {
  margin-bottom: 4px;
  font-size: 11px;
  line-height: 1.35;
}

.news-sidebar-categories a {
  padding-left: 29px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 11px;
}

.news-sidebar-categories a::before {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  left: 13px;
  border-radius: 50%;
  background: var(--news-accent, var(--red-main));
}

.news-sidebar-categories strong {
  min-width: 20px;
  min-height: 20px;
  padding: 0 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #ddd;
  border-radius: 10px;
  color: #777;
  background: #f0f0f0;
  font-size: 9px;
}

.news-press-card {
  padding: 14px;
}

.news-press-card h2 {
  margin: 0 0 9px;
  color: var(--text-main);
  font-size: 13px;
}

.news-press-card p,
.news-press-card strong,
.news-press-card a,
.news-press-card span {
  display: block;
  font-size: 11px;
  line-height: 1.5;
}

.news-press-card p {
  margin: 0 0 7px;
  color: var(--text-muted);
}

.news-press-card a {
  color: var(--red-main);
  overflow-wrap: anywhere;
}

.company-detail-news .news-feed-item {
  padding: 14px 0;
}

.company-detail-news .news-feed-item:first-child {
  padding-top: 0;
}

.company-detail-news .news-feed-item:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.company-detail-news-entry .news-entry-chips {
  margin-bottom: 6px;
}

.company-detail-news-entry h3 a {
  color: inherit;
  text-decoration: none;
}

.company-detail-news-entry h3 a:hover,
.company-detail-news-entry h3 a:focus-visible {
  color: var(--red-main);
  text-decoration: underline;
  outline: none;
}

.news-article-page {
  padding-bottom: var(--section-gap);
}

.news-article-header {
  padding: 23px;
}

.news-article-header h1 {
  margin: 0 0 10px;
  color: var(--text-main);
  font-size: 22px;
  line-height: 1.25;
}

.news-article-header > p {
  margin: 0 0 14px;
  padding-left: 12px;
  color: #444;
  border-left: 3px solid var(--news-accent, var(--red-main));
  font-size: 14px;
  font-style: italic;
  line-height: 1.6;
}

.news-article-meta {
  padding-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 7px 18px;
  color: #888;
  border-top: 1px solid #e2e2e2;
  font-size: 11px;
}

.news-article-image {
  min-height: 300px;
  margin: 0 23px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #d2d2d2;
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -1px 0 rgba(0,0,0,.06);
  overflow: hidden;
}

.news-article-image img {
  width: min(58%, 360px);
  max-height: 235px;
  object-fit: contain;
}

.news-article-body {
  padding: 23px;
}

.news-article-body p {
  margin: 0 0 16px;
  color: #333;
  font-size: 14px;
  line-height: 1.75;
}

.news-article-body p:last-child {
  margin-bottom: 0;
}

.news-article-footer {
  padding: 13px 23px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 14px;
  color: #888;
  border-top: 1px solid #e2e2e2;
  background: linear-gradient(#fafafa, #f0f0f0);
  font-size: 10px;
}

.news-article-footer a {
  color: var(--red-main);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
}

.news-article-footer a:hover,
.news-article-footer a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.news-share-card .news-sidebar-content {
  display: grid;
  gap: 7px;
}

.news-share-card button,
.news-share-card a {
  min-height: 30px;
  padding: 0 9px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border: 1px solid #d1d1d1;
  border-radius: 5px;
  color: #444;
  background: linear-gradient(#fff, #ededed);
  font: inherit;
  font-size: 10px;
  font-weight: 700;
  text-decoration: none;
  cursor: pointer;
}

.news-share-card button:hover,
.news-share-card button:focus-visible,
.news-share-card a:hover,
.news-share-card a:focus-visible {
  color: var(--red-main);
  border-color: #bbb;
  outline: none;
}

.news-not-found {
  padding: 30px;
}

.news-not-found h1 {
  margin-top: 0;
}

@media (max-width: 950px) {
  .news-page-layout,
  .news-article-page {
    grid-template-columns: 1fr;
  }

  .news-filter-sidebar {
    grid-column: auto;
  }

  .news-filter-sidebar > .news-page-sidebar {
    grid-template-columns: 1fr;
  }

  .news-article-sidebar {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-press-card,
  .news-share-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .news-featured-card {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .news-featured-media {
    min-height: 190px;
  }

  .news-featured-copy {
    padding: 0;
  }

}

@media (max-width: 560px) {
  .news-filter-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .news-page-sidebar,
  .news-article-sidebar {
    grid-template-columns: 1fr;
  }

  .news-press-card,
  .news-share-card {
    grid-column: auto;
  }

  .news-feed-item {
    grid-template-columns: 82px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .news-feed-media {
    width: 82px;
    height: 62px;
  }

  .news-feed-panel .news-feed-item {
    grid-template-columns: 82px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .news-feed-panel .news-feed-media {
    width: 82px;
    height: 62px;
  }

  .news-article-header,
  .news-article-body {
    padding: 18px;
  }

  .news-article-image {
    min-height: 230px;
    margin: 0 18px;
  }

  .news-article-header h1 {
    font-size: 22px;
  }

  .news-article-footer {
    padding: 12px 18px;
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =====================================================
   PAGINA CONTACTO
===================================================== */

.contact-page-section {
  padding-top: var(--section-gap);
  padding-bottom: var(--section-gap);
}

.contact-page-header {
  margin-bottom: var(--module-gap);
  padding-bottom: 12px;
  border-bottom: 2px solid var(--red-main);
}

.contact-page-header .section-kicker {
  margin-bottom: 7px;
}

.contact-page-header h1 {
  margin: 0 0 6px;
  color: var(--text-main);
  font-size: 24px;
  line-height: 1.2;
}

.contact-page-header h1:last-child {
  margin-bottom: 0;
}

.contact-page-header p {
  margin: 0;
  color: var(--text-muted);
  font-size: 13px;
  line-height: 1.55;
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-module-width);
  gap: var(--module-gap);
  align-items: start;
}

.contact-card {
  padding: 22px;
  border: 1px solid #d4d4d4;
  border-radius: var(--card-radius);
  background: linear-gradient(#ffffff, #f7f7f7);
  box-shadow: var(--shadow-soft);
}

.contact-form-card > h2 {
  margin: 0 0 18px;
  padding-bottom: 0;
  color: var(--text-main);
  border-bottom: 0;
  font-size: 17px;
  line-height: 1.3;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 var(--section-gap);
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  margin-bottom: 7px;
  color: #333333;
  font-size: 13px;
  line-height: 1.25;
  font-weight: 700;
}

.form-group input,
.form-group textarea {
  width: 100%;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  background: linear-gradient(#ffffff, #fbfbfb);
  color: var(--text-main);
  font-family: inherit;
  font-size: 13px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.03);
}

.form-group input:focus,
.form-group textarea:focus,
.contact-select.open .contact-select-trigger,
.contact-select-trigger:focus-visible {
  outline: 1px solid var(--red-main);
  outline-offset: 0;
  border-color: var(--red-main);
  box-shadow: none;
}

.form-group input::placeholder,
.form-group textarea::placeholder,
.product-search-box input::placeholder {
  color: #888;
  opacity: 1;
}

.form-group textarea {
  min-height: 118px;
  resize: vertical;
}

.form-actions {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.form-actions p {
  margin: 0;
  color: #888;
  font-size: 11px;
  line-height: 1.4;
}

.contact-action-button {
  height: 34px;
  min-height: 34px;
  padding-top: 0;
  padding-bottom: 0;
  border-style: solid;
  font-family: inherit;
  cursor: pointer;
}

.contact-sidebar {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: var(--module-gap);
}

.contact-sidebar-card {
  overflow: hidden;
  border: 1px solid #d4d4d4;
  border-radius: var(--card-radius);
  background: linear-gradient(#fff, #f7f7f7);
  box-shadow: var(--shadow-soft);
}

.contact-sidebar-card > h2 {
  margin: 0;
  padding: 10px 13px;
  color: #fff;
  border-bottom: 1px solid #680000;
  background: linear-gradient(#a90000, #790000);
  font-size: 13px;
  line-height: 1.25;
  font-weight: 800;
  box-shadow: inset 0 1px 0 rgba(255,255,255,.15);
}

.contact-company-card > h2 {
  color: #fff;
  border-bottom-color: #303030;
  background: linear-gradient(180deg, #5b5b5b 0%, #474747 35%, #3d3d3d 100%);
  text-shadow: 0 -1px 0 rgba(0,0,0,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
}

.contact-hours-card > h2 {
  color: var(--text-main);
  border-bottom-color: #d5d5d5;
  background: linear-gradient(#fff, #ededed);
  box-shadow: inset 0 1px 0 #fff;
}

.contact-sidebar-content {
  padding: 14px;
}

.contact-sidebar-content > strong {
  display: block;
  margin-bottom: 5px;
  color: var(--text-main);
  font-size: 12px;
  line-height: 1.35;
}

.contact-sidebar-content > p {
  margin: 0;
  color: var(--text-muted);
  font-size: 11px;
  line-height: 1.55;
}

.contact-detail-list {
  margin: 13px 0 0;
}

.contact-detail-list div {
  padding: 8px 0;
  border-top: 1px solid #e1e1e1;
}

.contact-detail-list dt,
.contact-detail-list dd,
.contact-hours-list dt,
.contact-hours-list dd {
  margin: 0;
  font-size: 11px;
  line-height: 1.35;
}

.contact-detail-list dt {
  margin-bottom: 3px;
  color: #8a8a8a;
}

.contact-detail-list dd {
  color: #333;
  font-weight: 700;
}

.contact-detail-list a {
  color: var(--red-main);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.contact-detail-list a:hover,
.contact-detail-list a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.contact-company-list a {
  padding: 11px 12px 11px 31px;
  display: block;
  position: relative;
  color: #2f2f2f;
  border-bottom: 1px solid #e1e1e1;
  text-decoration: none;
}

.contact-company-list a:last-child {
  border-bottom: 0;
}

.contact-company-list a::before {
  content: "";
  width: 7px;
  height: 7px;
  position: absolute;
  left: 14px;
  top: 16px;
  border-radius: 50%;
  background: var(--contact-accent, var(--red-main));
}

.contact-company-list strong,
.contact-company-list span {
  display: block;
}

.contact-company-list strong {
  font-size: 11px;
  line-height: 1.35;
}

.contact-company-list span {
  margin-top: 3px;
  color: #777;
  font-size: 10px;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-company-list a:hover,
.contact-company-list a:focus-visible {
  color: var(--red-main);
  background: linear-gradient(#fff, #f0f0f0);
  outline: none;
}

.contact-hours-list {
  margin: 0;
}

.contact-hours-list div {
  padding: 7px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 8px;
  border-bottom: 1px solid #e1e1e1;
}

.contact-hours-list dt {
  color: #666;
}

.contact-hours-list dd {
  color: #222;
  font-weight: 800;
  text-align: right;
}

.contact-hours-note {
  margin-top: 10px !important;
  color: #888 !important;
  font-size: 10px !important;
}

.contact-help-card {
  margin-top: var(--module-gap);
  padding: 22px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--section-gap);
  border: 1px solid #d6d6d6;
  border-radius: var(--card-radius);
  background: linear-gradient(#f7f7f7, #eeeeee);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    var(--shadow-soft);
}

.contact-help-card h3 {
  margin: 0 0 6px;
  color: var(--text-main);
  font-size: 17px;
  line-height: 1.25;
  font-weight: 800;
}

.contact-help-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 14px;
  line-height: 1.55;
}

/* =====================================================
   SELECTOR DE CONTACTO
===================================================== */

.contact-select {
  position: relative;
}

.contact-select-trigger {
  width: 100%;
  min-height: 36px;
  padding: 0 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #d6d6d6;
  border-radius: 6px;
  background: linear-gradient(#ffffff, #f3f3f3);
  color: var(--text-main);
  font-family: inherit;
  font-size: 13px;
  line-height: 1.25;
  cursor: pointer;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.95),
    inset 0 -1px 0 rgba(0,0,0,.04);
  transition: background .18s ease, border-color .18s ease;
}

.contact-select .select-arrow {
  color: #555;
}

.contact-select-menu {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  z-index: 50;
  display: none;
  border: 1px solid #c8c8c8;
  border-radius: 0 0 6px 6px;
  background: linear-gradient(#ffffff, #f7f7f7);
  box-shadow: 0 9px 18px rgba(0,0,0,.14);
  overflow: hidden;
}

.contact-select.open .contact-select-menu {
  display: block;
}

.contact-select.open .contact-select-trigger {
  border-radius: 6px 6px 0 0;
}

.contact-select-menu button {
  width: 100%;
  padding: 10px 12px;
  border: none;
  border-bottom: 1px solid #e4e4e4;
  background: transparent;
  color: #555;
  font-family: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.contact-select-menu button:last-child {
  border-bottom: none;
}

.contact-select-menu button:hover,
.contact-select-menu button:focus-visible {
  background: #f0f0f0;
  color: var(--red-main);
  outline: none;
}

@media (max-width: 950px) {
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .contact-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .contact-hours-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 900px) {
  .contact-help-card {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 650px) {
  .form-grid,
  .contact-sidebar {
    grid-template-columns: 1fr;
  }

  .contact-hours-card {
    grid-column: auto;
  }

  .form-actions {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =====================================================
   ESCALA TIPOGRAFICA DE MODULOS LATERALES
===================================================== */

.organization-sidebar .organization-side-card h2,
.company-detail-sidebar .company-detail-side-card > h2,
.news-page-sidebar .news-sidebar-card > h2,
.news-article-sidebar .news-sidebar-card > h2,
.contact-sidebar .contact-sidebar-card > h2 {
  font-size: 14px;
}

.organization-sidebar .organization-company-copy strong,
.organization-sidebar .organization-data-card dt,
.organization-sidebar .organization-data-card dd,
.company-detail-sidebar .company-facts dt,
.company-detail-sidebar .company-facts dd,
.news-page-sidebar .news-sidebar-latest strong,
.news-page-sidebar .news-sidebar-categories a,
.news-article-sidebar .news-sidebar-latest strong,
.contact-sidebar .contact-sidebar-content > p,
.contact-sidebar .contact-detail-list dt,
.contact-sidebar .contact-detail-list dd,
.contact-sidebar .contact-hours-list dt,
.contact-sidebar .contact-hours-list dd,
.contact-sidebar .contact-company-list strong {
  font-size: 12px;
}

.organization-sidebar .organization-company-copy strong,
.company-detail-sidebar .company-related-list strong,
.contact-sidebar .contact-sidebar-content > strong {
  font-size: 13px;
}

.organization-sidebar .organization-company-copy small,
.organization-sidebar .reference-note,
.company-detail-sidebar .company-related-list span,
.news-page-sidebar .news-sidebar-latest time,
.news-article-sidebar .news-sidebar-latest time,
.contact-sidebar .contact-company-list span,
.contact-sidebar .contact-hours-note {
  font-size: 11px !important;
}

.company-detail-sidebar .company-detail-contact h2 {
  font-size: 17px;
}

.news-page-sidebar .news-press-card h2 {
  font-size: 14px;
}

.company-detail-sidebar .company-detail-contact p,
.news-page-sidebar .news-press-card p,
.news-page-sidebar .news-press-card strong,
.news-page-sidebar .news-press-card a,
.news-page-sidebar .news-press-card span,
.news-article-sidebar .news-sidebar-content p {
  font-size: 12px;
}

.news-article-sidebar .news-sidebar-content > strong {
  font-size: 14px;
}

.news-page-sidebar .news-sidebar-categories strong,
.news-article-sidebar .news-share-card button,
.news-article-sidebar .news-share-card a {
  font-size: 11px;
}

.company-profile-summary h3,
.company-markets h4,
.company-profile-summary dt,
.company-profile-summary dd {
  font-size: 13px;
}

.company-markets span {
  font-size: 11px;
}

.news-page-sidebar .news-sidebar-latest strong,
.news-article-sidebar .news-sidebar-latest strong,
.news-page-sidebar .news-sidebar-categories a,
.contact-sidebar .contact-company-list strong {
  font-size: 13px;
}

/* =====================================================
   APERTURA MODULAR DE PAGINAS INTERNAS
===================================================== */

.page-intro-panel {
  position: relative;
  min-height: 138px;
  margin-bottom: var(--module-gap);
  padding: 28px 34px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  border: 1px solid #0b273b;
  border-radius: var(--card-radius);
  background: linear-gradient(135deg, #1E567D, #0b273b);
  color: #fff;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.3),
    inset 0 -1px 0 rgba(0,0,0,.22),
    0 2px 8px rgba(0,0,0,.06);
}

.page-intro-panel > * {
  position: relative;
  z-index: 1;
  align-self: flex-start;
}

.page-intro-panel .section-kicker {
  margin-bottom: 8px;
  color: rgba(255,255,255,.78);
}

.page-intro-panel h1,
.page-intro-panel h1:last-child {
  margin: 0;
  max-width: 650px;
  color: #fff;
  font-size: 27px;
  line-height: 1.18;
  letter-spacing: -.5px;
}

@media (max-width: 650px) {
  .page-intro-panel {
    min-height: 0;
    padding: 24px;
  }

  .page-intro-panel h1,
  .page-intro-panel h1:last-child {
    font-size: 23px;
  }
}

/* =====================================================
   SUBNAVEGACION DE EMPRESAS
===================================================== */

.company-section-tabs {
  height: 38px;
  margin: 0;
  padding: 0 5px 0 14px;
  display: flex;
  align-items: flex-start;
  overflow: visible;
  border: 0;
  border-bottom: 1px solid #bfc3c5;
  border-radius: 4px 4px 0 0;
  background: linear-gradient(to bottom, #fafafa 0%, #f3f3f3 100%);
  box-shadow: inset 0 -1px 0 rgba(0,0,0,.06);
}

.company-section-tabs button {
  height: 38px;
  margin-bottom: 0;
  padding: 0 24px;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #333333;
  border: 1px solid transparent;
  background: transparent;
  text-decoration: none;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
}

.company-section-tabs button:hover,
.company-section-tabs button:focus-visible {
  color: var(--company-accent);
  background: transparent;
  text-decoration: none;
  outline: none;
}

.company-section-tabs button.active {
  position: relative;
  z-index: 1;
  color: var(--company-accent);
  border-color: #c7c9cb;
  border-bottom: 0;
  border-radius: 6px 6px 0 0;
  background: #fafafa;
  box-shadow:
    0 -1px 3px rgba(0,0,0,.06);
}

.company-section-tabs button.active::after {
  content: "";
  position: absolute;
  right: -1px;
  bottom: -2px;
  left: -1px;
  height: 3px;
  background: #fafafa;
}

.company-tab-panel[hidden] {
  display: none;
}

.company-tab-panel {
  min-width: 0;
}

.company-tab-panel--overview {
  display: flex;
  flex-direction: column;
  gap: var(--module-gap);
}

.company-content-section {
  min-width: 0;
  padding: 0;
}

.company-section-heading {
  margin-bottom: 12px;
}

.company-section-heading > span {
  display: block;
  margin-bottom: 10px;
  color: var(--company-accent);
  font-size: 16px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: normal;
  text-align: left;
}

.company-section-heading h2 {
  margin: 0;
  color: var(--text-main);
  font-size: 20px;
  line-height: 1.25;
}

.company-tab-products-grid {
  min-width: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.company-products-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--module-gap);
  margin-bottom: 0;
}

.company-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--module-gap);
}

.company-metrics-grid article {
  min-height: 116px;
  padding: 18px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid #d6d6d6;
  border-radius: var(--card-radius);
  background: linear-gradient(#ffffff, #f8f8f8);
  text-align: center;
  box-shadow: var(--shadow-soft);
}

.company-metrics-grid strong {
  margin-bottom: 8px;
  color: var(--company-accent);
  font-size: 25px;
  line-height: 1;
  font-weight: 900;
}

.company-metrics-grid span {
  color: #666;
  font-size: 11px;
  line-height: 1.35;
}

.company-tab-products-grid .product-card h3 {
  margin: 0 0 8px;
  color: #222;
  font-size: 17px;
  line-height: 1.25;
}

.company-tab-products-grid .product-card h3 a {
  color: inherit;
  text-decoration: none;
}

.company-tab-products-grid .product-card h3 a:hover,
.company-tab-products-grid .product-card h3 a:focus-visible {
  color: inherit;
  text-decoration: underline;
  outline: none;
}

.company-tab-announcements .company-detail-news-list {
  display: grid;
  gap: var(--module-gap);
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.company-tab-announcements .company-detail-news .news-feed-item {
  padding: 14px;
  grid-template-columns: 136px minmax(0, 1fr) auto;
  border: 1px solid #d3d3d3;
  border-radius: var(--card-radius);
  background: linear-gradient(#ffffff, #fafafa);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.company-tab-announcements .company-detail-news .news-feed-media {
  width: 136px;
  height: 102px;
}

.company-tab-announcements .company-detail-news .news-feed-item:first-child {
  padding-top: 14px;
}

.company-tab-announcements .company-detail-news .news-feed-item:last-child {
  padding-bottom: 14px;
  border-bottom: 1px solid #d3d3d3;
}

@media (max-width: 560px) {
  .company-tab-announcements .company-detail-news .news-feed-item {
    grid-template-columns: 82px minmax(0, 1fr) auto;
    gap: 8px;
  }

  .company-tab-announcements .company-detail-news .news-feed-media {
    width: 82px;
    height: 62px;
  }
}

.company-tab-filterbar {
  position: relative;
  z-index: 20;
  margin-bottom: var(--module-gap);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.company-tab-filter-label {
  flex: 0 0 auto;
  color: var(--text-main);
  font-size: 13px;
  line-height: 1.3;
  font-weight: 700;
}

.company-tab-filterbar .news-filter-dropdown {
  flex: 0 0 auto;
  width: auto;
}

.company-tab-filterbar .news-filter-trigger {
  width: auto;
}

.company-tab-filterbar .news-filter-menu {
  width: 100%;
  min-width: 0;
  max-height: none;
  overflow: visible;
}

.company-tab-filterbar .news-filter-option span {
  white-space: nowrap;
}

.company-tab-filterbar [data-company-product-category-label],
.company-tab-filterbar [data-company-announcement-category-label] {
  width: 21ch;
  white-space: nowrap;
}

.company-tab-filterbar .company-product-category-dropdown--roomy [data-company-product-category-label] {
  width: calc(21ch + 18px);
}

.company-tab-filterbar [data-company-product-offer-label] {
  width: 18ch;
  white-space: nowrap;
}

.company-tab-filterbar [data-company-product-sort-label],
.company-tab-filterbar [data-company-announcement-sort-label] {
  width: 23ch;
  white-space: nowrap;
}

/* =====================================================
   CATALOGO DE PRODUCTOS
===================================================== */

.breadcrumb + .products-page,
.breadcrumb + .product-detail-page {
  padding-top: 12px;
}

.products-page,
.product-detail-page {
  padding-bottom: var(--section-gap);
}

.products-page-header {
  margin-bottom: var(--module-gap);
}

.products-layout {
  display: grid;
  grid-template-columns: var(--sidebar-module-width) minmax(0, 1fr);
  gap: var(--module-gap);
  align-items: start;
}

.product-filter-sidebar {
  min-width: 0;
  display: grid;
  gap: var(--module-gap);
}

.product-filter-card,
.product-catalog-header,
.product-card,
.product-detail-card,
.product-detail-panel,
.product-sidebar-card {
  border: 1px solid #d2d2d2;
  border-radius: var(--card-radius);
  background: #fff;
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.product-filter-card > h2,
.product-sidebar-card > h2 {
  min-height: 35px;
  margin: 0;
  padding: 0 12px;
  display: flex;
  align-items: center;
  color: #fff;
  border-bottom: 1px solid #303030;
  background: linear-gradient(180deg, #5b5b5b 0%, #474747 35%, #3d3d3d 100%);
  text-shadow: 0 -1px 0 rgba(0,0,0,.35);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.12);
  font-size: 13px;
  line-height: 1.25;
}

.product-search-box {
  padding: 10px;
}

.product-filter-group {
  border-bottom: 1px solid #d9d9d9;
}

.product-filter-group:last-child {
  border-bottom: 0;
}

.product-filter-group h3 {
  margin: 0;
  padding: 11px 11px 0;
  color: #333;
  font-size: 13px;
  line-height: 1.25;
}

.product-dynamic-empty {
  margin: 0;
  padding: 10px 11px 13px;
  color: #777;
  font-size: 11px;
  line-height: 1.45;
}

.product-dynamic-category + .product-dynamic-category {
  border-top: 1px solid #e2e2e2;
}

.product-dynamic-category h4 {
  margin: 0;
  padding: 9px 11px 2px;
  color: #555;
  font-size: 11px;
  line-height: 1.35;
  font-weight: 800;
}

.product-dynamic-category .product-filter-list {
  padding-top: 3px;
}

.product-search-box input {
  width: 100%;
  height: 35px;
  padding: 0 10px;
  border: 1px solid #c9c9c9;
  border-radius: 5px;
  background: linear-gradient(#fff, #f6f6f6);
  color: #333;
  font-family: inherit;
  font-size: 13px;
  box-shadow: inset 0 1px 2px rgba(0,0,0,.045);
}

.product-search-box input:focus {
  border-color: var(--red-main);
  outline: 1px solid var(--red-main);
  outline-offset: 0;
  box-shadow: none;
}

.product-filter-list {
  display: flex;
  flex-direction: column;
  padding: 5px 8px 9px;
}

.product-filter-option {
  min-height: 32px;
  padding: 6px 3px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  color: #4d4d4d;
  font-size: 12px;
  line-height: 1.3;
  cursor: pointer;
}

.product-filter-option--category {
  grid-template-columns: auto auto minmax(0, 1fr) auto;
}

.product-filter-option--sort {
  grid-template-columns: auto minmax(0, 1fr);
}

.product-filter-option:hover,
.product-filter-option:focus-within {
  color: var(--red-main);
  background: #f0f0f0;
}

.product-filter-option input {
  width: 14px;
  height: 14px;
  margin: 0;
  accent-color: var(--red-main);
  cursor: pointer;
}

.product-filter-option strong {
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dedede;
  border-radius: 10px;
  background: #eee;
  color: #777;
  font-size: 10px;
}

.product-filter-list button {
  width: 100%;
  min-height: 38px;
  padding: 8px 11px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: 8px;
  align-items: center;
  border: 0;
  border-bottom: 1px solid #e1e1e1;
  background: linear-gradient(#fff, #f7f7f7);
  color: #555;
  font-family: inherit;
  font-size: 12px;
  text-align: left;
  cursor: pointer;
}

.product-filter-list button:last-child {
  border-bottom: 0;
}

.product-filter-list button:hover,
.product-filter-list button:focus-visible {
  color: var(--red-main);
  background: #f0f0f0;
  outline: none;
}

.product-filter-list button[aria-pressed="true"] {
  color: var(--red-main);
  background: linear-gradient(#fff8f8, #eee5e5);
  box-shadow: inset 3px 0 0 var(--red-main);
  font-weight: 700;
}

.product-filter-list button > span:nth-last-child(2):first-child {
  grid-column: 1 / 3;
}

.product-filter-list strong {
  min-width: 22px;
  height: 20px;
  padding: 0 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #dedede;
  border-radius: 10px;
  background: #eee;
  color: #777;
  font-size: 10px;
}

.product-filter-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--product-accent);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.35);
}

.product-catalog {
  min-width: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.product-catalog-header,
.company-products-header,
.company-announcements-header {
  min-height: 44px;
  margin: 0;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  border-bottom: 1px solid #c9c9c9;
  border-radius: 0;
  background: linear-gradient(to bottom, #f8f8f8 0%, #ececec 35%, #dedede 100%);
  box-shadow:
    inset 0 1px 0 #fff,
    inset 0 -1px 0 rgba(0,0,0,.04);
  text-shadow: 0 1px 0 #fff;
}

.product-catalog-header h2,
.company-products-header h2,
.company-announcements-header h2 {
  margin: 0;
  color: #000;
  font-size: 14px;
  line-height: 1.25;
}

.product-catalog-header span,
.company-products-header span,
.company-announcements-header span {
  color: #000;
  font-size: 12px;
  font-weight: 700;
}

.product-catalog-header {
  min-height: 28px;
  margin-bottom: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-shadow: none;
}

.company-products-header,
.company-announcements-header {
  min-height: 28px;
  margin-bottom: 12px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  text-shadow: none;
}

.company-filter-summary {
  margin-bottom: var(--module-gap);
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--module-gap);
  align-items: stretch;
  margin-bottom: 0;
}

.product-card {
  position: relative;
  min-width: 0;
  display: flex;
  flex-direction: column;
  border: 0;
  border-right: 1px solid #e1e1e1;
  border-bottom: 1px solid #e1e1e1;
  border-radius: 0;
  background: linear-gradient(145deg, #fff 0%, #fafafa 72%, #f0f0f0 100%);
  box-shadow: none;
  overflow: hidden;
}

.product-catalog .product-card {
  border: 1px solid #d2d2d2;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-soft);
}

.company-products-list .product-card {
  border: 1px solid #d2d2d2;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-soft);
}

.product-card-labels {
  min-height: 34px;
  padding: 9px 11px 7px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
}

.product-label {
  min-height: 20px;
  padding: 3px 7px;
  display: inline-flex;
  align-items: center;
  border: 1px solid #cfcfcf;
  border-radius: 4px;
  background: linear-gradient(#fff, #e9e9e9);
  color: #555;
  font-size: 10px;
  line-height: 1.2;
  font-weight: 800;
}

.product-label--featured {
  color: #654300;
  border-color: #d5ae57;
  background: linear-gradient(#fff4c9, #ead18c);
}

.product-card-media,
.product-detail-media {
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at center, #e0e0e0 0%, #cbcbcb 48%, #b8b8b8 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.5),
    inset 0 -1px 0 rgba(0,0,0,.06);
}

.product-card-media {
  height: 165px;
  margin: 11px 11px 0;
  border: 1px solid #d0d0d0;
  border-radius: 7px;
}

.product-card-media img,
.product-detail-media img {
  width: 76%;
  height: 76%;
  object-fit: contain;
}

.product-image-placeholder {
  width: 100%;
  height: 100%;
  display: block;
}

.product-card-body {
  min-height: 0;
  padding: 7px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-card-category {
  display: block;
  margin-bottom: 7px;
  color: var(--product-accent);
  font-size: 10px;
  line-height: 1.2;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .035em;
}

.product-card h2 {
  margin: 0 0 8px;
  color: #222;
  font-size: 17px;
  line-height: 1.25;
}

.product-card h2 a {
  color: inherit;
  text-decoration: none;
}

.product-card h2 a:hover,
.product-card h2 a:focus-visible {
  color: inherit;
  text-decoration: underline;
  outline: none;
}

.product-card-body > p {
  margin: 0 0 10px;
  color: #666;
  font-size: 13px;
  line-height: 1.55;
}

.product-card-price {
  width: 100%;
  margin-bottom: 12px;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  border-top: 0;
}

.product-card-price strong {
  color: var(--product-accent);
  font-size: 14px;
}

.product-card-price span {
  color: #888;
  font-size: 10px;
}

.product-card .primary-button {
  width: 100%;
  align-self: stretch;
  justify-content: center;
}

.product-empty-state {
  width: 100%;
}

.product-catalog .product-empty-state {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

/* =====================================================
   DETALLE DE PRODUCTO
===================================================== */

.product-detail-composition {
  --product-accent: var(--red-main);
  display: grid;
  gap: var(--module-gap);
}

.product-detail-showcase {
  min-width: 0;
  padding: var(--module-gap);
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: var(--module-gap);
  border: 1px solid #cfcfcf;
  border-radius: var(--card-radius);
  background: linear-gradient(#ffffff, #f7f7f7);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.product-detail-gallery {
  min-width: 0;
  padding: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 132px;
  gap: var(--module-gap);
  background: transparent;
}

.product-detail-media {
  height: 400px;
  margin: 0;
  border: 1px solid #c9c9c9;
  border-radius: 8px;
}

.product-detail-thumbnails {
  min-width: 0;
  display: grid;
  grid-template-rows: repeat(3, minmax(0, 1fr));
  gap: var(--module-gap);
}

.product-detail-thumbnail {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border: 1px solid #c9c9c9;
  border-radius: 7px;
  background: radial-gradient(circle at center, #dfdfdf 0%, #c9c9c9 52%, #b9b9b9 100%);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.55),
    inset 0 -1px 0 rgba(0,0,0,.06);
}

.product-detail-thumbnail img {
  width: 72%;
  height: 72%;
  object-fit: contain;
}

.product-detail-overview {
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.product-detail-overview > .product-card-labels {
  min-height: 0;
  margin-bottom: 13px;
  padding: 0;
}

.product-detail-overview h1 {
  min-width: 0;
  margin: 0 0 8px;
  color: #222;
  font-size: 22px;
  line-height: 1.25;
}

.product-detail-meta-row {
  width: 100%;
  margin-bottom: var(--module-gap);
  padding-bottom: 12px;
  border-bottom: 1px solid #dedede;
}

.product-detail-meta {
  min-width: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px 18px;
  color: #888;
  font-size: 11px;
  line-height: 1.3;
}

.product-detail-price-line {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
}

.product-detail-price-line strong {
  color: var(--product-accent);
  font-size: 20px;
  line-height: 1.2;
}

.product-detail-price-line span {
  color: #777;
  font-size: 11px;
  line-height: 1.3;
}

.product-detail-meta a {
  color: inherit;
  text-decoration: none;
}

.product-detail-meta a:hover,
.product-detail-meta a:focus-visible {
  color: var(--product-accent);
  text-decoration: underline;
}

.product-detail-description {
  width: 100%;
  margin: 0 0 var(--module-gap);
  padding: 0;
}

.product-detail-description h2 {
  margin: 0 0 8px;
  color: #222;
  font-size: 17px;
  line-height: 1.25;
}

.product-detail-description h2:not(:first-child) {
  margin-top: var(--module-gap);
}

.product-detail-panel > h2 {
  margin: 0 0 12px;
  padding-bottom: 0;
  color: #222;
  border-bottom: 0;
  font-size: 17px;
  line-height: 1.25;
}

.product-detail-description p {
  margin: 0;
  color: #555;
  font-size: 14px;
  line-height: 1.65;
}

.product-detail-general-features {
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: var(--module-gap);
  list-style: none;
}

.product-detail-general-features li {
  padding: 6px 0 6px 17px;
  position: relative;
  color: #555;
  font-size: 13px;
  line-height: 1.45;
}

.product-detail-general-features li::before {
  content: "✓";
  position: absolute;
  left: 1px;
  color: var(--product-accent);
  font-weight: 900;
}

.product-detail-purchase {
  width: 100%;
  margin-top: auto;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
}

.product-detail-lower-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--sidebar-module-width);
  gap: var(--module-gap);
  align-items: start;
}

.product-detail-information {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: var(--module-gap);
}

.product-detail-panel {
  padding: 18px;
}

.product-detail-panel.product-detail-specifications {
  padding: 0;
}

.product-specification-groups {
  padding: var(--module-gap);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--module-gap);
}

.product-specification-groups h3 {
  margin: 0 0 8px;
  color: #333;
  font-size: 13px;
  line-height: 1.25;
}

.product-detail-panel ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.product-detail-panel li {
  padding: 8px 0 8px 20px;
  position: relative;
  color: #555;
  border-bottom: 1px solid #e4e4e4;
  font-size: 12px;
  line-height: 1.4;
}

.product-detail-panel li:last-child {
  border-bottom: 0;
}

.product-detail-panel li::before {
  content: "✓";
  position: absolute;
  left: 1px;
  color: var(--product-accent, var(--red-main));
  font-weight: 900;
}

.product-detail-panel dl {
  margin: 0;
}

.product-detail-panel dl div {
  padding: 8px 9px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  border-bottom: 1px solid #e2e2e2;
  background: transparent;
}

.product-detail-panel dl div:last-child {
  border-bottom: 0;
}

.product-detail-panel dt,
.product-detail-panel dd {
  margin: 0;
  font-size: 12px;
  line-height: 1.35;
}

.product-detail-panel dt {
  color: #777;
}

.product-detail-panel dd {
  color: #222;
  font-weight: 800;
  text-align: right;
}

.product-related-section {
  min-width: 0;
}

.product-related-heading {
  margin-bottom: 12px;
}

.product-related-heading a {
  color: var(--product-accent);
  font-size: 12px;
  line-height: 1.25;
  font-weight: 700;
  text-decoration: none;
}

.product-related-heading a:hover,
.product-related-heading a:focus-visible {
  text-decoration: underline;
  outline: none;
}

.product-related-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--module-gap);
  align-items: stretch;
}

.product-related-cards .product-card {
  border: 1px solid #d2d2d2;
  border-radius: var(--card-radius);
  box-shadow: var(--shadow-soft);
}

.product-detail-sidebar {
  display: flex;
  flex-direction: column;
  gap: var(--module-gap);
}

.product-detail-sidebar .news-sidebar-card > h2 {
  font-size: 14px;
}

.product-detail-sidebar .news-share-card button,
.product-detail-sidebar .news-share-card a {
  font-size: 11px;
}

.product-company-card > h2 {
  border-bottom-color: rgba(0,0,0,.28);
  background:
    linear-gradient(rgba(255,255,255,.12), rgba(0,0,0,.12)),
    var(--product-accent);
}

.product-company-card > div {
  padding: 13px;
}

.product-company-card p {
  margin: 10px 0 13px;
  color: #666;
  font-size: 12px;
  line-height: 1.5;
}

.product-company-card .primary-button {
  width: 100%;
}

.product-sidebar-list {
  display: flex;
  flex-direction: column;
}

.product-sidebar-list > a {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  color: #333;
  border-bottom: 1px solid #e2e2e2;
  text-decoration: none;
}

.product-sidebar-list > a:hover strong,
.product-sidebar-list > a:focus-visible strong {
  text-decoration: underline;
}

.product-sidebar-list > a:focus-visible {
  outline: none;
}

.product-sidebar-list strong {
  font-size: 13px;
  line-height: 1.3;
}

.product-sidebar-list span {
  color: var(--red-main);
  font-size: 11px;
  line-height: 1.3;
}

.product-sidebar-list .product-sidebar-all {
  color: var(--red-main);
  font-size: 12px;
  font-weight: 700;
}

.product-detail-contact {
  padding: 17px;
  border: 1px solid #d6d6d6;
  border-radius: var(--card-radius);
  background: linear-gradient(#f7f7f7, #eeeeee);
  color: var(--text-main);
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.9),
    var(--shadow-soft);
}

.product-detail-contact h2 {
  margin: 0 0 8px;
  font-size: 15px;
  line-height: 1.3;
}

.product-detail-contact p {
  margin: 0 0 13px;
  color: var(--text-muted);
  font-size: 12px;
  line-height: 1.45;
}

.product-detail-contact .secondary-button {
  width: 100%;
}

.product-not-found {
  padding: 28px;
}

.product-not-found h1 {
  margin-top: 0;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .products-layout,
  .product-detail-lower-layout {
    grid-template-columns: 1fr;
  }

  .product-filter-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-filter-card:first-child {
    grid-column: 1 / -1;
  }

  .product-detail-sidebar {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-detail-contact {
    grid-column: 1 / -1;
  }
}

@media (max-width: 800px) {
  .product-detail-showcase {
    grid-template-columns: 1fr;
  }

  .product-detail-gallery {
    border: 0;
  }
}

@media (max-width: 650px) {
  .company-section-tabs button {
    padding-right: 7px;
    padding-left: 7px;
  }

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

  .product-related-cards {
    grid-template-columns: 1fr;
  }

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

  .company-metrics-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .product-filter-sidebar,
  .product-grid,
  .product-detail-information,
  .product-detail-sidebar {
    grid-template-columns: 1fr;
  }

  .product-filter-card:first-child,
  .product-detail-contact {
    grid-column: auto;
  }

  .product-detail-gallery {
    grid-template-columns: 1fr;
  }

  .product-detail-media {
    height: 280px;
  }

  .product-detail-thumbnails {
    height: 78px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-template-rows: 1fr;
  }

  .product-detail-overview {
    padding: 18px;
  }

  .product-detail-purchase {
    align-items: stretch;
    flex-direction: column;
  }

  .product-detail-purchase .primary-button {
    width: 100%;
  }
}
