.reading-progress {
  position: fixed;
  z-index: 210;
  inset: 0 0 auto;
  height: 3px;
  background: #dfe8f2;
}
.reading-progress span {
  display: block;
  width: 0;
  height: 100%;
  background: var(--gyg-orange);
  transition: width .08s linear;
}
.header-stack {
  position: sticky;
  z-index: 90;
  top: 3px;
}
.trial-bar {
  min-height: 36px;
  background: #fff1b8;
  border-bottom: 1px solid #f2d979;
  color: #071a35;
  font-size: 13px;
  font-weight: 800;
}
.trial-shell {
  min-height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.trial-message,
.trial-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.trial-message i { color: #086484; }
.trial-link i { transition: transform .18s ease; }
.trial-link:hover i { transform: translateX(4px); }
.site-header {
  position: relative;
  background: #fff;
  border-bottom: 1px solid #dfe5ec;
}
.header-shell {
  min-height: 72px;
  display: flex;
  align-items: center;
  gap: 22px;
}
.brand { width: 186px; flex: 0 0 auto; }
.brand img { width: 100%; height: auto; }

.breadcrumbs {
  background: #fff;
  border-bottom: 1px solid #e5e9ef;
  font-size: 13px;
}
.breadcrumbs ol {
  min-height: 36px;
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.breadcrumbs li {
  display: flex;
  align-items: center;
  color: #667085;
}
.breadcrumbs li + li::before {
  content: '/';
  margin-right: 8px;
  color: #98a2b3;
}
.breadcrumbs a {
  color: #344054;
  text-decoration: none;
}
.breadcrumbs a:hover { color: var(--gyg-orange); }
.breadcrumbs [aria-current="page"] { font-weight: 600; }

.breadcrumbs--hero {
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .72);
}

.breadcrumbs--hero ol {
  min-height: 0;
  padding: 18px 0 20px;
}

.breadcrumbs--hero li + li::before { color: rgba(255, 255, 255, .4); }
.breadcrumbs--hero a { color: rgba(255, 255, 255, .78); }
.breadcrumbs--hero a:hover { color: #fff; }
.breadcrumbs--hero [aria-current="page"] { color: #fff; }

.main-nav {
  margin-left: 8px;
  display: flex;
  align-items: center;
  align-self: stretch;
  gap: 3px;
}
.nav-group {
  position: relative;
  display: flex;
  align-items: center;
}
.nav-trigger {
  min-height: 72px;
  padding: 10px 11px;
  border-radius: 0;
  border-bottom: 3px solid transparent;
  color: #071a35;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: color .15s ease, border-color .15s ease;
}
.nav-trigger .fa-chevron-down { color: #071a35; font-size: 10px; transition: transform .18s ease; }
.nav-group.is-open .nav-trigger { color: #075d7b; }
.nav-group.is-open .fa-chevron-down { transform: rotate(180deg); }
.nav-link {
  min-height: 72px;
  padding: 0 11px;
  display: inline-flex;
  align-items: center;
  border-bottom: 3px solid transparent;
  color: #071a35;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.nav-link:hover { color: #075d7b; }
.nav-link[aria-current="page"] {
  color: #075d7b;
  border-bottom-color: var(--gyg-orange);
}
.nav-dropdown {
  position: absolute;
  z-index: 120;
  top: 100%;
  left: 0;
  width: 330px;
  padding: 14px;
  border: 1px solid var(--gyg-line);
  border-top: 3px solid #2da8ff;
  border-radius: 0 0 8px 8px;
  background: #fff;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: opacity .16s ease, transform .16s ease, visibility 0s linear .16s;
}
.nav-group.is-open .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  transition-delay: 0s;
}
.nav-dropdown.product-menu,
.nav-dropdown.company-menu {
  width: 620px;
  grid-template-columns: 1fr 1fr;
  gap: 4px 16px;
}
.nav-group.is-open .nav-dropdown.product-menu,
.nav-group.is-open .nav-dropdown.company-menu { display: grid; }
.nav-dropdown.company-menu { left: -170px; }
.nav-dropdown.product-menu .product-menu-overview { grid-column: 1 / -1; border-bottom: 1px solid #dbe4eb; background: #f5f8fa; }
.nav-dropdown.company-menu .company-menu-overview { grid-column: 1 / -1; border-bottom: 1px solid #dbe4eb; background: #f5f8fa; }
.nav-dropdown a {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 11px;
  align-items: center;
  padding: 12px 10px;
  border-radius: 7px;
  color: var(--gyg-text);
}
.nav-dropdown a:hover { background: #f3f7fc; }
.nav-dropdown a>i {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 7px;
  background: #eaf4fc;
  color: #167bc1;
}
.nav-dropdown b { display: block; color: #071a35; font-size: 15px; }
.nav-dropdown small { display: block; margin-top: 1px; color: #31536e; font-size: 12.5px; font-weight: 500; }
.nav-actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 9px;
}
.mobile-app-link { display: none; }
.nav-actions a {
  padding: 11px 15px;
  border-radius: 7px;
  color: #071a35;
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
}
.nav-actions .login-link { color: #071a35; }
.nav-actions .login-link:hover { color: #075d7b; }
.nav-actions .primary-link {
  background: #075d7b;
  color: #fff;
  padding-inline: 19px;
}
.nav-actions .primary-link:hover { background: #064b64; }

.menu-toggle {
  display: none;
  width: 44px; height: 44px;
  margin-left: auto;
  padding: 10px;
  border: 1px solid #cdd8e3;
  border-radius: 8px;
  background: #f4f7fa;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.menu-toggle span {
  display: block;
  width: 20px; height: 2px;
  background: #071a35;
  transition: .2s ease;
}
.menu-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.menu-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (min-width: 901px) {
  .nav-group:hover .nav-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    transition-delay: 0s;
  }
  .nav-group:hover .nav-dropdown.product-menu,
  .nav-group:hover .nav-dropdown.company-menu { display: grid; }
  .nav-group:hover .nav-trigger { color: #075d7b; }
  .nav-group:hover .fa-chevron-down { transform: rotate(180deg); }
}

.site-footer {
  background: #0d153b;
  color: #d8dcf2;
  padding: 60px 0 20px;
  border-top: 3px solid #6684aa;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 40px;
}

.footer-brand img {
  display: block;
  width: min(100%, 300px);
  height: auto;
  margin-bottom: 16px;
}

.footer-brand p {
  color: #b9c6dd;
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-autonomos-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 2px;
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.footer-audience-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-autonomos-link:hover {
  border-color: var(--gyg-yellow);
  color: var(--gyg-yellow);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.footer-social a:hover {
  background: var(--gyg-orange);
  transform: translateY(-2px);
}

.footer-column h2 {
  color: var(--gyg-white);
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-column ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.footer-column li {
  margin-bottom: 10px;
}

.footer-column a {
  color: #d8dcf2;
  font-size: 14px;
  transition: color 0.2s ease;
}

.footer-column a:hover {
  color: var(--gyg-white);
}

.footer-bottom {
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 13px;
}
.footer-bottom p { color: #b9c6dd; }
.site-footer .footer-column h2 { color: #fff; }
.site-footer .footer-bottom a { color: #d8dcf2; }
.footer-bottom p > span,
.footer-legal-identity { display: block; }
.footer-legal-identity {
  margin-top: 5px;
  color: #9eabc4;
  font-size: 12px;
  line-height: 1.5;
}

.footer-bottom-links {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-bottom-links a:hover {
  color: var(--gyg-white);
}

@media (max-width: 1050px) {
  .brand { width: 160px; }
  .header-shell { gap: 12px; }
  .nav-trigger, .nav-link { padding-inline: 8px; font-size: 13px; }
  .nav-actions a { padding-inline: 11px; font-size: 13px; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .header-shell { min-height: 70px; }
  .brand { width: 168px; }
  .menu-toggle { display: flex; }
  .nav-actions { display: none; }
  .main-nav {
    position: fixed; z-index: 100;
    inset: 109px 0 auto 0;
    max-height: calc(100vh - 109px);
    overflow-y: auto;
    padding: 12px 16px 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    border-bottom: 1px solid #cdd8e3;
  }
  .main-nav.is-open { display: flex; }
  .nav-group { display: block; width: 100%; }
  .nav-trigger,
  .nav-link {
    width: 100%;
    min-height: 48px;
    justify-content: flex-start;
    padding: 12px 10px;
    border-bottom: 1px solid #e6ebf0;
  }
  .nav-trigger .fa-chevron-down { margin-left: auto; }
  .nav-dropdown {
    position: static;
    width: 100%;
    margin-bottom: 6px;
    border-radius: 0 0 8px 8px;
    opacity: 1;
    visibility: visible;
    transform: none;
    display: none;
  }
  .nav-group.is-open .nav-dropdown { display: block; }
  .nav-group.is-open .nav-dropdown.product-menu,
  .nav-group.is-open .nav-dropdown.company-menu { display: block; }
  .mobile-app-link { display: flex; color: var(--gyg-orange-dark); font-weight: 800; }
  .nav-dropdown.product-menu,
  .nav-dropdown.company-menu { width: 100%; }
  .nav-dropdown.company-menu { left: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 560px) {
  .trial-bar, .trial-shell { min-height: 34px; }
  .trial-shell { gap: 10px; }
  .trial-bar { font-size: 10.5px; }
  .trial-message, .trial-link { gap: 5px; }
  .main-nav { inset-block-start: 107px; max-height: calc(100vh - 107px); }
  .footer-end { flex-direction: column; gap: 6px; text-align: center; }
  .footer-grid { grid-template-columns: 1fr; }
}
