.trc-header {
  position: sticky;
  top: 0;
  z-index: 60;
  background-color: #ffffff;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
  border-bottom: 1px solid #e5e7eb;
}
.trc-header__strip {
  padding: 16px 24px;
}
.trc-header__container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: #f8fafc;
  padding: 12px 24px;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
}
.trc-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #0f172a;
}
.trc-brand__logo {
  display: flex;
  width: 32px;
  height: 32px;
  color: #0266c8;
}
.trc-brand__text {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: -0.01em;
}
.trc-nav {
  display: flex;
  align-items: center;
  gap: 32px;
}
.trc-nav__link {
  text-decoration: none;
  color: #475569;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s ease;
}
.trc-nav__link:hover {
  color: #0266c8;
}
.trc-header__actions {
  display: flex;
  align-items: center;
  gap: 16px;
}
.trc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 24px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  transition: all 0.2s ease;
  cursor: pointer;
  border: 1px solid transparent;
}
.trc-btn--primary {
  background-color: #0266c8;
  color: #ffffff;
}
.trc-btn--primary:hover {
  background-color: #014b94;
}
.trc-btn--full {
  width: 100%;
  box-sizing: border-box;
}
.trc-burger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 32px;
  height: 24px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 4px;
  color: #0f172a;
}
.trc-burger__line {
  display: block;
  width: 100%;
  height: 2px;
  background-color: currentColor;
  border-radius: 2px;
  transition:
    transform 0.2s ease,
    opacity 0.2s ease;
}
.trc-mobile-nav {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: flex;
  justify-content: flex-end;
  visibility: hidden;
  opacity: 0;
  transition:
    visibility 0.3s,
    opacity 0.3s;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}
.trc-mobile-nav[data-mobile-open="1"] {
  visibility: visible;
  opacity: 1;
}
.trc-mobile-nav__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.4);
  backdrop-filter: blur(4px);
  cursor: pointer;
}
.trc-mobile-nav__sheet {
  position: relative;
  width: 100%;
  max-width: 400px;
  height: 100%;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: -8px 0 32px rgba(0, 0, 0, 0.1);
}
.trc-mobile-nav[data-mobile-open="1"] .trc-mobile-nav__sheet {
  transform: translateX(0);
}
.trc-mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px;
  border-bottom: 1px solid #f1f5f9;
}
.trc-mobile-nav__brand {
  font-family: Georgia, serif;
  font-weight: 700;
  font-size: 1.25rem;
  color: #0f172a;
}
.trc-mobile-nav__close {
  background: #f1f5f9;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #475569;
  transition: background 0.2s;
}
.trc-mobile-nav__close:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.trc-mobile-nav__content {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  overflow-y: auto;
  padding: 32px 24px;
  justify-content: space-between;
}
.trc-mobile-nav__links {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.trc-mobile-nav__link {
  display: block;
  padding: 16px 20px;
  text-decoration: none;
  color: #1e293b;
  font-weight: 600;
  font-size: 1.125rem;
  border-radius: 12px;
  background: #f8fafc;
  transition:
    background 0.2s,
    color 0.2s;
}
.trc-mobile-nav__link:hover {
  background: #f1f5f9;
  color: #0266c8;
}
.trc-mobile-nav__footer {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
}
.trc-mobile-nav__contact {
  text-align: center;
  color: #475569;
  text-decoration: none;
  font-size: 1rem;
  font-weight: 500;
}
.trc-mobile-nav__contact:hover {
  color: #0266c8;
}
.trc-footer {
  background-color: #0f172a;
  color: #94a3b8;
  padding: 80px 24px 32px;
  font-family:
    system-ui,
    -apple-system,
    sans-serif;
}
.trc-footer__grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 64px;
}
.trc-footer__brand-name {
  display: block;
  color: #ffffff;
  font-family: Georgia, serif;
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 16px;
}
.trc-footer__desc {
  line-height: 1.6;
  font-size: 0.95rem;
  max-width: 320px;
  margin: 0;
}
.trc-footer__heading {
  display: block;
  color: #ffffff;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 24px;
  letter-spacing: 0.02em;
}
.trc-footer__nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.trc-footer__link {
  color: #94a3b8;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.2s;
}
.trc-footer__link:hover {
  color: #ffffff;
}
.trc-footer__link--accent {
  color: #60a5fa;
  font-weight: 500;
}
.trc-footer__link--accent:hover {
  color: #93c5fd;
}
.trc-footer__bottom {
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid #1e293b;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}
.trc-footer__copyright {
  margin: 0;
  font-size: 0.875rem;
}
@media (max-width: 992px) {
  .trc-nav--desktop {
    display: none;
  }
  .trc-header__actions .trc-btn {
    display: none;
  }
  .trc-burger {
    display: flex;
  }
  .trc-footer__grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
}
@media (max-width: 640px) {
  .trc-header__strip {
    padding: 12px 16px;
  }
  .trc-header__container {
    padding: 12px 16px;
  }
  .trc-footer__grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}
[data-mobile-nav][hidden],
[data-mobile-nav].hidden {
  display: none;
}
[data-mobile-nav][data-mobile-open="1"] {
  display: block;
}
