/* Espacio 6G identity on top of the shared CIMTT theme (style.css + theme.css).
   Palette from the lab's logo: red #e30613 on graphite #4a4f57 / #6d6e71. */
:root {
  --navy-900: #15181c; --navy-800: #1f2328; --navy-700: #2b2f36;
  --teal: #e30613; --teal-soft: #ff5a63; --indigo: #6d6e71; --indigo-soft: #a7a9ac;
  --grad: linear-gradient(90deg, #e30613 0%, #6d6e71 100%);
  --accent: #e30613; --accent-deep: #b3000f; --accent-2: #6d6e71; --accent-warm: #e30613;
  --ink: #1f2328;
}
.brand-logo { height: 46px; width: auto; }
.brand-banner { height: 44px; width: auto; max-width: 100%; }
.hero-sub { color: rgba(255,255,255,.85); font-size: clamp(1rem, 1.4vw, 1.2rem); margin: .8rem 0 0; }

/* Header: keep the language switch in its pill on phones */
.site-header .lang-switch { flex: none; }
.site-header .brand { flex: 0 1 auto; min-width: 0; }
@media (max-width: 640px) { .brand-logo { height: 34px; } }
@media (max-width: 400px) { .brand-logo { height: 30px; } }

/* Team: external profile links as small pills inside the card */
.v2 .profile .profile-links { display: flex; flex-wrap: wrap; justify-content: center; gap: .35rem .45rem; margin: .7rem 0 0; position: relative; z-index: 3; }
.v2 .profile .profile-links a { display: inline-block; padding: .22rem .6rem; border: 1px solid var(--line); border-radius: var(--r-pill); font-size: .74rem; font-weight: 600; color: var(--accent-deep); text-decoration: none; background: #fff; }
.v2 .profile .profile-links a:hover { border-color: var(--accent); color: var(--ink); }

/* "Qué hacemos": compact service cards with bullet lists (five cards, three per row) */
.v2 .card.svc h3 { margin: 0 0 .5rem; font-size: 1.05rem; }
.v2 .card.svc ul { margin: 0; padding-left: 1.1rem; font-size: .92rem; line-height: 1.45; }
.v2 .card.svc li + li { margin-top: .2rem; }
.v2.is-deck .svc-grid { gap: .8rem; }
.v2.is-deck .card.svc { padding: 1rem 1.1rem; }
.v2.is-deck .card.svc ul { font-size: .86rem; }

/* Partner logos strip */
.partners { display: flex; flex-wrap: wrap; gap: 1rem 1.6rem; align-items: center; margin-top: 1.4rem; }
.partners a { display: inline-flex; align-items: center; justify-content: center; height: 54px; }
.partners img { max-height: 54px; width: auto; max-width: 150px; object-fit: contain; filter: grayscale(1); opacity: .8; transition: filter .3s, opacity .3s; }
.partners a:hover img { filter: none; opacity: 1; }
.section-alt .partners { justify-content: center; margin-top: 0; }
.section-alt .partners a { height: 90px; } .section-alt .partners img { max-height: 90px; max-width: 220px; }
@media (max-width: 640px) { .partners img { max-height: 40px; max-width: 110px; } }

/* Home stats: one stat per row on narrow phones */
@media (max-width: 480px) {
  .v2 .stats { grid-template-columns: 1fr; gap: .5rem; }
  .v2 .stat { display: flex; align-items: baseline; gap: .8rem; padding: .7rem 1rem; text-align: left; }
  .v2 .stat .stat-num { font-size: 1.7rem; min-width: 2ch; }
  .v2 .stat .stat-lbl { margin: 0; font-size: .86rem; }
}
