.tmv2-sede-site .tmv2-site-header {
  position: fixed;
  inset: 0 0 auto 0;
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
  backdrop-filter: none !important;
  transition: background .28s ease, box-shadow .28s ease, border-color .28s ease, backdrop-filter .28s ease;
}

.admin-bar .tmv2-sede-site .tmv2-site-header {
  top: 32px;
}

.tmv2-sede-site .tmv2-site-header.is-scrolled {
  background:
    linear-gradient(180deg, rgba(5, 8, 13, 0.94) 0%, rgba(5, 8, 13, 0.84) 100%),
    radial-gradient(circle at center top, rgba(63, 149, 255, 0.11), transparent 48%) !important;
  border-bottom: 1px solid rgba(255,255,255,0.05) !important;
  box-shadow: 0 10px 34px rgba(0, 0, 0, 0.24) !important;
  backdrop-filter: blur(16px) !important;
}

.tmv2-sede-site .tmv2-header-row {
  min-height: 88px;
  justify-content: flex-start !important;
  align-items: center;
}

.tmv2-sede-site .tmv2-site-header .tmv2-brand {
  order: 1 !important;
  margin: 0 26px 0 0 !important;
  width: min(188px, 22vw) !important;
  flex: 0 0 auto !important;
}

.tmv2-sede-site .tmv2-site-header .tmv2-brand img {
  filter: brightness(0) invert(1) saturate(0) contrast(260%) drop-shadow(0 0 10px rgba(255,255,255,0.08)) !important;
}

.tmv2-sede-site .tmv2-site-header .tmv2-nav {
  order: 2 !important;
  margin-left: auto !important;
  gap: 12px !important;
  align-items: center;
}

.tmv2-sede-site .tmv2-site-header .tmv2-menu-toggle {
  order: 3 !important;
  margin-left: 18px !important;
}

.tmv2-sede-site .tmv2-nav a {
  min-height: 44px;
  padding: 11px 16px;
  color: rgba(255,255,255,.92);
  background: rgba(255,255,255,.035);
}

.tmv2-sede-site .tmv2-nav a:hover {
  color: #fff;
  background: rgba(66,130,232,.12);
  box-shadow: inset 0 0 0 1px rgba(122,183,255,.16), 0 0 24px rgba(63,149,255,.14);
}

.tmv2-sede-hero {
  padding: 0 0 26px;
}

.tmv2-sede-hero-banner {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: clamp(460px, 46vw, 680px);
  background-color: #070c13;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  overflow: hidden;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.46);
}

.tmv2-sede-hero-banner::before,
.tmv2-sede-hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.tmv2-sede-hero-banner::before {
  background:
    radial-gradient(circle at 60% 24%, rgba(58, 145, 255, 0.16), transparent 18%),
    linear-gradient(90deg, rgba(3, 7, 12, 0.40) 0%, rgba(3, 7, 12, 0.12) 24%, rgba(3, 7, 12, 0.12) 76%, rgba(3, 7, 12, 0.40) 100%),
    linear-gradient(180deg, rgba(4, 8, 14, 0.02) 0%, rgba(4, 8, 14, 0.16) 100%);
}

.tmv2-sede-hero-inner {
  position: relative;
  z-index: 2;
  min-height: clamp(460px, 46vw, 680px);
  display: flex;
  align-items: center;
  padding-top: 118px;
  padding-bottom: 42px;
}

.tmv2-sede-hero-copy {
  max-width: 900px;
}

.tmv2-sede-hero-copy h1 {
  margin: 0;
  font-size: clamp(40px, 6.2vw, 84px);
  line-height: .98;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .04em;
  text-shadow: 0 8px 28px rgba(0,0,0,.55);
}

.tmv2-sede-address {
  margin: 16px 0 0;
  font-size: clamp(16px, 1.8vw, 22px);
  line-height: 1.5;
  color: rgba(244,247,251,.88);
  font-weight: 500;
}

.tmv2-sede-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 26px;
}

.tmv2-sede-content-section {
  padding-top: 26px;
}

.tmv2-sede-top-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, .9fr);
  gap: 22px;
  margin-bottom: 22px;
}

.tmv2-sede-card,
.tmv2-sede-content-card {
  position: relative;
  background:
    linear-gradient(180deg, rgba(255,255,255,.03), rgba(255,255,255,0)),
    linear-gradient(180deg, rgba(5, 8, 13, 0.88), rgba(6, 10, 16, 0.96));
  border: 1px solid rgba(130, 177, 255, 0.18);
  box-shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
  overflow: hidden;
  border-radius: 28px;
}

.tmv2-sede-card::before,
.tmv2-sede-content-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at top center, rgba(80, 145, 255, 0.14), transparent 26%),
    linear-gradient(180deg, rgba(255,255,255,.03), transparent 30%);
  pointer-events: none;
}

.tmv2-sede-card {
  padding: 28px 24px;
}

.tmv2-sede-card h2 {
  margin: 0;
  font-size: clamp(28px, 3.6vw, 48px);
  font-weight: 700;
  line-height: 1.04;
}

.tmv2-sede-card p {
  margin: 16px 0 0;
  font-size: clamp(16px, 1.4vw, 20px);
  line-height: 1.7;
  color: rgba(244,247,251,.82);
}

.tmv2-sede-card--quick {
  display: flex;
  flex-direction: column;
}

.tmv2-sede-course-list {
  list-style: none;
  margin: 18px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tmv2-sede-course-list li {
  padding: 12px 14px;
  border-radius: 999px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: rgba(244,247,251,.92);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.tmv2-sede-mini-address {
  margin-top: 18px;
  padding-top: 18px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.tmv2-sede-mini-address strong {
  display: block;
  margin-bottom: 6px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: #9ac5ff;
}

.tmv2-sede-mini-address span {
  color: rgba(244,247,251,.92);
  line-height: 1.5;
  font-size: 15px;
}

.tmv2-sede-content-card {
  padding: 30px 26px;
}

.tmv2-sede-content-card > *:first-child { margin-top: 0; }
.tmv2-sede-content-card > *:last-child { margin-bottom: 0; }

.tmv2-sede-content-card h1,
.tmv2-sede-content-card h2,
.tmv2-sede-content-card h3,
.tmv2-sede-content-card h4 {
  color: #fff;
  line-height: 1.08;
  font-weight: 700;
}

.tmv2-sede-content-card h1,
.tmv2-sede-content-card h2 {
  font-size: clamp(28px, 3vw, 40px);
  margin: 0 0 14px;
}

.tmv2-sede-content-card h3,
.tmv2-sede-content-card h4 {
  font-size: clamp(22px, 2.2vw, 30px);
  margin: 28px 0 12px;
}

.tmv2-sede-content-card p,
.tmv2-sede-content-card li {
  color: rgba(244,247,251,.84);
  font-size: clamp(15px, 1.15vw, 18px);
  line-height: 1.75;
}

@media (max-width: 991px) {
  .admin-bar .tmv2-sede-site .tmv2-site-header {
    top: 46px;
  }

  .tmv2-sede-site .tmv2-header-row {
    min-height: 78px;
  }

  .tmv2-sede-site .tmv2-site-header .tmv2-brand {
    margin-right: 18px !important;
    width: min(176px, 50vw) !important;
  }

  .tmv2-sede-site .tmv2-site-header .tmv2-menu-toggle {
    margin-left: auto !important;
  }

  .tmv2-sede-site .tmv2-site-header .tmv2-nav {
    margin-left: 0 !important;
  }

  .tmv2-sede-hero-inner {
    min-height: clamp(440px, 72vw, 620px);
    padding-top: 102px;
    padding-bottom: 34px;
  }

  .tmv2-sede-top-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 680px) {
  .tmv2-sede-site .tmv2-site-header .tmv2-brand {
    width: min(156px, 52vw) !important;
    margin-right: 14px !important;
  }

  .tmv2-sede-hero-banner,
  .tmv2-sede-hero-inner {
    min-height: clamp(420px, 118vw, 560px);
  }

  .tmv2-sede-hero-inner {
    padding-top: 96px;
    padding-bottom: 28px;
  }

  .tmv2-sede-hero-actions {
    gap: 10px;
  }

  .tmv2-sede-course-list li {
    font-size: 12px;
    padding: 10px 12px;
  }
}
