@font-face {
  font-family: "Softuo Tilt Warp";
  src: url("/fuentes/softuo-tilt-warp.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

:root {
  --hub-bg: #006f8c;
  --hub-bg-dark: #005c75;
  --hub-ink: #0f5571;
  --hub-ink-strong: #0a3e54;
  --hub-card: #eef3f6;
  --hub-line: rgba(255, 255, 255, 0.34);
  --hub-line-strong: rgba(255, 255, 255, 0.5);
  --hub-orange: #ff7a1a;
  --hub-white: #ffffff;
  --hub-font-display: "Softuo Tilt Warp", "Avenir Next", "Trebuchet MS", sans-serif;
}

body.hub-site {
  margin: 0;
  font-family: "DM Sans", "Inter", "Segoe UI", Arial, sans-serif;
  color: var(--hub-white);
  background: linear-gradient(180deg, #006f8c 0%, #007b98 100%);
  min-height: 100vh;
}

body.hub-site.hub-welcome-open .hub-header,
body.hub-site.hub-welcome-open .hub-main,
body.hub-site.hub-welcome-open .hub-footer,
body.hub-site.hub-welcome-open .hub-mobile-dock {
  filter: blur(8px);
  transition: filter 220ms ease;
  pointer-events: none;
  user-select: none;
}

body.hub-site * {
  box-sizing: border-box;
}

.hub-container {
  width: min(1260px, calc(100% - 44px));
  margin-inline: auto;
}

.hub-header {
  padding: 34px 0 18px;
}

.hub-header-inner {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 18px;
}

.hub-brand {
  display: inline-flex;
  align-items: center;
  position: relative;
  transition: transform 180ms ease;
}

.hub-brand:hover {
  transform: translateY(-2px);
}

.hub-brand img {
  width: min(250px, 30vw);
  height: auto;
  display: block;
}

.hub-brand-stack {
  display: grid;
  align-items: center;
}

.hub-brand-layer {
  grid-area: 1 / 1;
  width: min(250px, 30vw);
  height: auto;
  display: block;
  transform-origin: 50% 50%;
  transition: opacity 260ms ease, transform 420ms cubic-bezier(0.22, 1, 0.36, 1), filter 260ms ease;
}

.hub-brand-layer.is-hub {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
  filter: blur(0);
}

.hub-brand-layer.is-softuo {
  opacity: 0;
  transform: translateY(8px) scale(0.94) rotate(-5deg);
  filter: blur(1px);
}

.hub-brand:hover .hub-brand-layer.is-hub,
.hub-brand:focus-visible .hub-brand-layer.is-hub {
  opacity: 0;
  transform: translateY(-8px) scale(1.03) rotate(6deg);
  filter: blur(1px);
}

.hub-brand:hover .hub-brand-layer.is-softuo,
.hub-brand:focus-visible .hub-brand-layer.is-softuo {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
  filter: blur(0);
}

.hub-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(16px, 2.4vw, 26px);
  width: auto;
  margin-inline: 0;
}

.hub-nav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.96);
  text-transform: uppercase;
  font-weight: 800;
  font-size: clamp(0.88rem, 1.12vw, 1.02rem);
  letter-spacing: 0.03em;
  position: relative;
  width: auto;
  padding: 6px 0 8px;
  box-shadow: none;
  transition: color 180ms ease;
}

.hub-nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: 0;
  height: 3px;
  background: var(--hub-orange);
  border-radius: 99px;
  transition: right 260ms cubic-bezier(0.22, 1, 0.36, 1), left 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.hub-nav-link:hover,
.hub-nav-link:focus-visible,
.hub-nav-link.is-active {
  color: #ffffff;
  outline: none;
}

.hub-nav-link:hover::after,
.hub-nav-link:focus-visible::after,
.hub-nav-link.is-active::after {
  right: 0;
}

.hub-nav-hover-icon {
  width: 14px;
  height: 14px;
  min-width: 14px;
  color: var(--hub-orange);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
  opacity: 0;
  transform: translateY(2px) scale(0.78) rotate(-34deg);
  transition: opacity 180ms ease, transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.hub-nav-link:hover .hub-nav-hover-icon,
.hub-nav-link:focus-visible .hub-nav-hover-icon,
.hub-nav-link.is-active .hub-nav-hover-icon {
  opacity: 1;
  transform: translateY(0) scale(1) rotate(0deg);
}

.hub-nav-link:hover .hub-nav-hover-icon,
.hub-nav-link:focus-visible .hub-nav-hover-icon {
  animation: hubNavIconTwist 460ms cubic-bezier(0.22, 1, 0.36, 1) 1;
}

@keyframes hubNavIconTwist {
  0% {
    transform: translateY(2px) scale(0.7) rotate(-70deg);
  }
  65% {
    transform: translateY(-1px) scale(1.05) rotate(14deg);
  }
  100% {
    transform: translateY(0) scale(1) rotate(0deg);
  }
}

.hub-build {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  text-decoration: none;
  background: #ffffff;
  color: var(--hub-ink);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 14px 20px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}

.hub-build-icon {
  width: 16px;
  height: 16px;
  min-width: 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hub-build:hover,
.hub-build:focus-visible {
  background: var(--hub-orange);
  color: #fff;
  border-color: rgba(255, 122, 26, 0.92);
  transform: translateY(-2px);
  outline: none;
}

.hub-main {
  padding: 14px 0 40px;
}

.hub-welcome-overlay {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(4, 31, 40, 0.28);
}

.hub-welcome-panel {
  position: relative;
  width: min(720px, calc(100vw - 36px));
  padding: clamp(22px, 3vw, 34px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  background:
    radial-gradient(circle at top right, rgba(255, 146, 57, 0.16), transparent 34%),
    linear-gradient(180deg, rgba(245, 250, 252, 0.96) 0%, rgba(235, 244, 248, 0.96) 100%);
  box-shadow: 0 28px 64px rgba(0, 22, 30, 0.28);
  color: var(--hub-ink);
}

.hub-welcome-kicker {
  margin: 0 0 10px;
  color: var(--hub-orange);
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.hub-welcome-title {
  margin: 0;
  color: var(--hub-ink-strong);
  font-family: var(--hub-font-display);
  font-size: clamp(1.7rem, 3.3vw, 2.55rem);
  line-height: 0.96;
  text-transform: uppercase;
}

.hub-welcome-copy {
  margin: 16px 0 0;
  color: #3b6679;
  font-size: clamp(1rem, 1.5vw, 1.14rem);
  line-height: 1.52;
  max-width: 58ch;
}

.hub-welcome-meta {
  margin: 14px 0 0;
  color: #53788b;
  font-size: 0.84rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hub-welcome-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 40px;
  height: 40px;
  border: 1px solid rgba(15, 85, 113, 0.18);
  background: rgba(255, 255, 255, 0.66);
  color: var(--hub-ink-strong);
  font: inherit;
  font-size: 1.55rem;
  line-height: 1;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease, border-color 180ms ease;
}

.hub-welcome-close:hover,
.hub-welcome-close:focus-visible {
  background: #ffffff;
  border-color: rgba(255, 122, 26, 0.42);
  transform: translateY(-1px);
  outline: none;
}

.hub-welcome-btn {
  margin: 22px auto 0;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  width: min(240px, 100%);
  padding: 0 18px;
  border: 1px solid rgba(255, 122, 26, 0.92);
  background: var(--hub-orange);
  color: #fff;
  font: inherit;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: transform 180ms ease, filter 180ms ease;
}

.hub-welcome-btn:hover,
.hub-welcome-btn:focus-visible {
  transform: translateY(-2px);
  filter: brightness(1.04);
  outline: none;
}

.hub-panel {
  background: var(--hub-card);
  color: var(--hub-ink);
  border: 1px solid rgba(15, 85, 113, 0.18);
  box-shadow: 0 20px 42px rgba(0, 24, 35, 0.22);
  padding: clamp(18px, 2.2vw, 24px);
}

.hub-news-top {
  display: grid;
  grid-template-columns: 1fr 0.95fr;
  gap: clamp(14px, 2vw, 22px);
}

.hub-news-home-lead {
  border: 1px solid rgba(15, 85, 113, 0.2);
  background: linear-gradient(180deg, rgba(243, 248, 251, 1) 0%, rgba(233, 242, 247, 1) 100%);
  padding: clamp(18px, 2vw, 24px);
}

.hub-kicker {
  margin: 0 0 10px;
  font-size: 0.84rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #4f7488;
}

.hub-kicker::before {
  content: "";
  display: inline-block;
  width: 7px;
  height: 7px;
  background: var(--hub-orange);
  margin-right: 8px;
  vertical-align: middle;
}

.hub-news-home-lead h1 {
  margin: 0;
  color: var(--hub-ink);
  font-size: clamp(2.2rem, 4vw, 4rem);
  font-weight: 900;
  line-height: 0.95;
  text-transform: uppercase;
}

.hub-news-home-lead p {
  margin: 16px 0 0;
  color: #39697f;
  font-size: 1.05rem;
  line-height: 1.45;
}

.hub-chip-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
}

.hub-chip-list li {
  font-size: 0.8rem;
  font-weight: 700;
  color: #326279;
  border: 1px solid rgba(15, 85, 113, 0.2);
  background: #f7fbfe;
  padding: 5px 9px;
}

.hub-featured-card {
  text-decoration: none;
  display: grid;
  grid-template-rows: auto 1fr;
  border: 1px solid rgba(15, 85, 113, 0.2);
  background: #f3f8fb;
  overflow: hidden;
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.hub-featured-card:hover,
.hub-featured-card:focus-visible {
  transform: translateY(-3px);
  box-shadow: 0 18px 30px rgba(0, 28, 43, 0.2);
  border-color: rgba(255, 122, 26, 0.6);
  outline: none;
}

.hub-featured-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.hub-featured-copy {
  padding: 14px 14px 12px;
  color: var(--hub-ink);
}

.hub-featured-copy h2 {
  margin: 8px 0;
  font-size: clamp(1.55rem, 2.35vw, 2.3rem);
  line-height: 1.1;
  color: var(--hub-ink);
}

.hub-featured-copy p {
  margin: 0;
  font-size: 1.02rem;
  line-height: 1.4;
  color: #3f6f84;
}

.hub-meta-row {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  font-size: 0.78rem;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #4d7388;
  font-weight: 800;
}

.hub-news-latest-panel {
  margin-top: 14px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  background: linear-gradient(180deg, rgba(7, 99, 126, 0.84) 0%, rgba(4, 77, 99, 0.84) 100%);
  padding: clamp(12px, 1.8vw, 18px);
}

.hub-news-section-title {
  margin: 0 0 10px;
  font-size: clamp(2.1rem, 3.3vw, 3rem);
  line-height: 1.04;
  text-transform: uppercase;
  color: #ffffff;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 10px rgba(0, 35, 48, 0.28);
}

.hub-news-section-subtitle {
  margin: 0 0 14px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.03rem;
}

.hub-news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(12px, 1.5vw, 18px);
}

.hub-news-card {
  background: linear-gradient(180deg, rgba(8, 98, 125, 0.72) 0%, rgba(5, 76, 99, 0.72) 100%);
  border: 1px solid rgba(255, 255, 255, 0.44);
  display: grid;
  grid-template-rows: auto 1fr auto;
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.hub-news-card:hover,
.hub-news-card:focus-within {
  transform: translateY(-3px);
  border-color: rgba(255, 122, 26, 0.78);
  box-shadow: 0 12px 24px rgba(0, 27, 40, 0.16);
}

.hub-news-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
}

.hub-news-card-body {
  padding: 12px;
  color: #ffffff;
}

.hub-news-card h3 {
  margin: 8px 0 6px;
  font-size: 1.55rem;
  line-height: 1.14;
  color: #ffffff;
}

.hub-news-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.98rem;
  line-height: 1.42;
}

.hub-news-card .hub-meta-row {
  margin-top: 0;
  gap: 10px;
  color: rgba(255, 255, 255, 0.84);
}

.hub-card-link {
  margin: 10px 12px 12px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  text-decoration: none;
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--hub-ink);
  border: 1px solid rgba(15, 85, 113, 0.22);
  padding: 10px 12px;
  background: #fff;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, transform 180ms ease;
}

.hub-card-link:hover,
.hub-card-link:focus-visible {
  background: var(--hub-orange);
  color: #fff;
  border-color: rgba(255, 122, 26, 0.92);
  transform: translateY(-1px);
  outline: none;
}

.hub-cta-row {
  margin-top: 14px;
  border: 1px solid rgba(15, 85, 113, 0.2);
  background: #eff5f8;
  padding: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hub-cta-row p {
  margin: 0;
  color: #4b7387;
  font-size: 1rem;
  line-height: 1.4;
}

.hub-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-decoration: none;
  border: 1px solid rgba(15, 85, 113, 0.22);
  background: #ffffff;
  color: var(--hub-ink);
  font-weight: 900;
  padding: 12px 14px;
  min-height: 44px;
  transition: transform 180ms ease, background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.hub-btn:hover,
.hub-btn:focus-visible {
  background: var(--hub-orange);
  color: #fff;
  border-color: rgba(255, 122, 26, 0.92);
  transform: translateY(-2px);
  outline: none;
}

.hub-tools-hero {
  text-align: center;
  margin: 76px auto 42px;
  max-width: 980px;
}

.hub-tools-hero h1 {
  margin: 0;
  color: #fff;
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.hub-tools-hero p {
  margin: 10px 0 0;
  color: rgba(255, 255, 255, 0.95);
  font-size: clamp(1.1rem, 1.55vw, 1.9rem);
}

.hub-tools-hero p strong {
  color: var(--hub-orange);
}

.hub-tools-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(14px, 1.8vw, 24px);
}

.hub-tool-card {
  display: grid;
  place-items: center;
  min-height: 216px;
  text-align: center;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.6);
  background: rgba(245, 250, 253, 0.96);
  color: var(--hub-ink);
  padding: 18px 12px;
  transition: transform 200ms ease, box-shadow 200ms ease, border-color 200ms ease, filter 200ms ease;
}

.hub-tool-card:hover,
.hub-tool-card:focus-visible {
  transform: translateY(-4px);
  border-color: rgba(255, 122, 26, 0.9);
  box-shadow: 0 14px 28px rgba(0, 24, 35, 0.24);
  outline: none;
}

.hub-tool-card.is-disabled {
  cursor: not-allowed;
  opacity: 0.58;
  filter: grayscale(0.2);
}

.hub-tool-card.is-disabled:hover,
.hub-tool-card.is-disabled:focus-visible {
  transform: none;
  box-shadow: none;
  border-color: rgba(255, 255, 255, 0.45);
}

.hub-tool-icon {
  width: 58px;
  height: 58px;
  color: var(--hub-orange);
  stroke: currentColor;
  fill: none;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.hub-tool-card h3 {
  margin: 14px 0 8px;
  font-size: 1.46rem;
  line-height: 1.15;
  color: var(--hub-ink);
  text-transform: uppercase;
}

.hub-tool-soon {
  margin-top: 6px;
  border: 1px solid rgba(15, 85, 113, 0.22);
  padding: 4px 8px;
  font-size: 0.8rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #4f7387;
}

.hub-learning-main {
  min-height: min(58vh, 620px);
  display: grid;
  place-items: center;
}

.hub-learning-main h1 {
  margin: 0;
  color: rgba(207, 241, 255, 0.35);
  font-size: clamp(3rem, 8vw, 8.2rem);
  font-weight: 800;
  letter-spacing: 0.01em;
}

.hub-learning-main h1 span {
  display: inline-block;
  animation: hubPulse 2.8s ease-in-out infinite;
}

@keyframes hubPulse {
  0%, 100% { opacity: 0.62; transform: translateY(0); }
  50% { opacity: 1; transform: translateY(-6px); }
}

.hub-article-main {
  padding: 14px 0 36px;
}

.hub-article-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  text-transform: uppercase;
  font-weight: 800;
  font-size: 0.88rem;
  letter-spacing: 0.02em;
  color: #fff;
  margin-bottom: 14px;
}

.hub-article-card {
  background: #eef3f6;
  border: 1px solid rgba(15, 85, 113, 0.2);
  color: var(--hub-ink);
  box-shadow: 0 22px 44px rgba(0, 24, 35, 0.24);
  overflow: hidden;
}

.hub-article-hero {
  position: relative;
}

.hub-article-hero img {
  width: 100%;
  aspect-ratio: 16 / 6.2;
  object-fit: cover;
  display: block;
}

.hub-article-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 34, 49, 0.1) 0%, rgba(0, 34, 49, 0.72) 84%);
  pointer-events: none;
}

.hub-article-hero-content {
  position: absolute;
  z-index: 1;
  left: clamp(16px, 2.5vw, 28px);
  right: clamp(16px, 2.5vw, 28px);
  bottom: clamp(16px, 2.5vw, 26px);
  color: #fff;
}

.hub-article-hero-content h1 {
  margin: 8px 0;
  font-size: clamp(2rem, 4vw, 3.6rem);
  line-height: 1.03;
}

.hub-article-hero-content p {
  margin: 0;
  max-width: 72ch;
  color: rgba(236, 248, 255, 0.97);
  font-size: clamp(1rem, 1.4vw, 1.28rem);
}

.hub-article-body {
  padding: clamp(18px, 2.6vw, 30px);
}

.hub-article-body h2 {
  margin: 0 0 12px;
  color: var(--hub-ink);
  font-size: clamp(1.55rem, 2.1vw, 2.2rem);
}

.hub-article-body p,
.hub-article-body li {
  color: #3f6f84;
  font-size: 1.08rem;
  line-height: 1.52;
}

.hub-article-body ul {
  margin: 0 0 20px;
  padding-left: 1.2rem;
}

.hub-article-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.hub-footer {
  margin-top: 28px;
  padding: 16px 0 28px;
}

.hub-footer-inner {
  border-top: 1px solid rgba(255, 255, 255, 0.28);
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.hub-powered {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.84);
}

.hub-powered img {
  width: 132px;
  height: auto;
}

.hub-footer-links {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.footer-language {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-inline: auto 0;
}

.footer-language-label {
  color: rgba(255, 255, 255, 0.86);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.lang-dropdown {
  position: relative;
  width: min(180px, 100%);
}

.lang-dropdown[open] {
  z-index: 2300;
}

.lang-dropdown-trigger {
  list-style: none;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(2, 44, 56, 0.52);
  color: #ffffff;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, color 180ms ease;
}

.lang-dropdown-trigger::-webkit-details-marker {
  display: none;
}

.lang-dropdown-trigger:hover,
.lang-dropdown-trigger:focus-visible {
  border-color: rgba(255, 122, 26, 0.88);
  background: rgba(255, 122, 26, 0.18);
  outline: none;
}

.lang-dropdown-current {
  flex: 1;
}

.lang-dropdown-caret {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  line-height: 1;
  transition: transform 180ms ease;
}

.lang-dropdown[open] .lang-dropdown-caret {
  transform: rotate(180deg);
}

.lang-dropdown-menu {
  position: absolute;
  top: auto;
  bottom: calc(100% + 6px);
  left: 0;
  right: 0;
  z-index: 2405;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: rgba(2, 44, 56, 0.96);
  padding: 6px;
  display: grid;
  gap: 4px;
  box-shadow: 0 10px 24px rgba(0, 21, 30, 0.32);
}

.lang-dropdown-option {
  border: 1px solid transparent;
  background: transparent;
  color: #ffffff;
  min-height: 34px;
  text-align: left;
  padding: 6px 8px;
  font-size: 0.86rem;
  font-weight: 600;
  cursor: pointer;
}

.lang-dropdown-option:hover,
.lang-dropdown-option:focus-visible {
  border-color: rgba(255, 122, 26, 0.72);
  background: rgba(255, 122, 26, 0.14);
  outline: none;
}

.lang-dropdown-option.is-active {
  border-color: rgba(0, 170, 212, 0.78);
  background: rgba(0, 170, 212, 0.12);
}

.hub-footer-links a {
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  font-size: 0.9rem;
  border-bottom: 1px solid transparent;
  transition: color 180ms ease, border-color 180ms ease;
}

.hub-footer-links a:hover,
.hub-footer-links a:focus-visible {
  color: #fff;
  border-color: rgba(255, 122, 26, 0.9);
  outline: none;
}

.hub-mobile-dock {
  display: none;
}

@media (max-width: 1120px) {
  .hub-header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .hub-build {
    width: 100%;
    max-width: 320px;
  }

  .hub-news-top {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 720px) {
  body.hub-site {
    background: linear-gradient(180deg, #005f77 0%, #004b61 100%);
    padding-bottom: calc(94px + env(safe-area-inset-bottom));
  }

  .hub-container {
    width: calc(100% - 20px);
  }

  .hub-header {
    padding: 18px 0 10px;
  }

  .hub-header-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    gap: 6px;
  }

  .hub-brand img {
    width: min(210px, 74vw);
  }

  .hub-nav,
  .hub-build {
    display: none;
  }

  .hub-mobile-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 3200;
    display: block;
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid rgba(255, 255, 255, 0.32);
    background: linear-gradient(180deg, rgba(2, 50, 64, 0.72) 0%, rgba(2, 44, 56, 0.96) 100%);
    backdrop-filter: blur(9px);
    -webkit-backdrop-filter: blur(9px);
  }

  .hub-mobile-dock-inner {
    width: min(560px, 100%);
    margin-inline: auto;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 8px;
  }

  .hub-mobile-dock-link {
    min-height: 62px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.92);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    padding: 5px 4px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-size: 0.56rem;
    font-weight: 800;
    line-height: 1.1;
    transition: border-color 180ms ease, background 180ms ease, color 180ms ease, transform 180ms ease;
  }

  .hub-mobile-dock-link:active {
    transform: translateY(1px);
  }

  .hub-mobile-dock-link:hover,
  .hub-mobile-dock-link:focus-visible,
  .hub-mobile-dock-link.is-active {
    border-color: rgba(255, 122, 26, 0.78);
    background: rgba(255, 122, 26, 0.16);
    color: #ffffff;
    outline: none;
  }

  .hub-mobile-dock-icon {
    width: 20px;
    height: 20px;
    min-width: 20px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.9;
    stroke-linecap: round;
    stroke-linejoin: round;
  }

  .hub-mobile-dock-link.is-build {
    border-color: rgba(255, 122, 26, 0.82);
    background: #ffffff;
    color: var(--hub-ink);
    box-shadow: 0 10px 18px rgba(0, 20, 29, 0.25);
  }

  .hub-mobile-dock-link.is-build .hub-mobile-dock-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    color: var(--hub-orange);
  }

  .hub-mobile-dock-link.is-build span {
    font-size: 0.5rem;
    letter-spacing: 0.05em;
  }

  .hub-mobile-dock-link.is-build:hover,
  .hub-mobile-dock-link.is-build:focus-visible,
  .hub-mobile-dock-link.is-build:active {
    border-color: rgba(255, 122, 26, 0.98);
    background: var(--hub-orange);
    color: #ffffff;
  }

  .hub-mobile-dock-link.is-build:hover .hub-mobile-dock-icon,
  .hub-mobile-dock-link.is-build:focus-visible .hub-mobile-dock-icon,
  .hub-mobile-dock-link.is-build:active .hub-mobile-dock-icon {
    color: #ffffff;
  }

  .hub-news-home-lead h1 {
    font-size: clamp(1.8rem, 11vw, 2.8rem);
  }

  .hub-news-section-title {
    font-size: clamp(1.6rem, 10vw, 2.4rem);
  }

  .hub-news-grid {
    grid-template-columns: 1fr;
  }

  .hub-cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .hub-tools-hero {
    margin: 40px auto 24px;
  }

  .hub-tools-hero p,
  .hub-article-hero-content p {
    color: rgba(246, 251, 255, 0.95);
    text-shadow: 0 2px 12px rgba(0, 10, 18, 0.16);
  }

  .hub-tools-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .hub-tool-card {
    min-height: 168px;
    padding: 14px 10px;
  }

  .hub-tool-icon {
    width: 44px;
    height: 44px;
  }

  .hub-tool-card h3 {
    margin-top: 10px;
    font-size: 1.05rem;
  }

  .hub-article-hero img {
    aspect-ratio: 16 / 9;
  }

  .hub-footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .footer-language {
    width: 100%;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 6px;
  }

  .footer-language-label {
    font-size: 0.72rem;
  }

  .lang-dropdown {
    width: min(220px, 100%);
  }

  .lang-dropdown-trigger {
    min-height: 42px;
    justify-content: center;
    text-align: center;
  }

  .lang-dropdown-current {
    text-align: center;
    padding-left: 12px;
  }
}
