:root {
  --shared-header-bg: rgba(255,255,255,.96);
  --shared-header-border: rgba(0,0,0,.1);
  --shared-header-shadow: 0 4px 12px rgba(0,0,0,.05);
}

a {
  text-decoration: none;
  color: inherit;
}

header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--shared-header-bg);
  border-bottom: 1px solid var(--shared-header-border);
  box-shadow: var(--shared-header-shadow);
}

.topbar {
  max-width: var(--max);
  margin: auto;
  padding: 8px 16px 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.brand img {
  width: 128px;
  display: block;
}

nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding-bottom: 6px;
}

nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 7px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #111;
  transition: .2s ease;
}

nav a:hover {
  color: var(--accent);
  background: rgba(224,122,34,.08);
}

nav a.active {
  color: var(--accent);
  background: rgba(224,122,34,.12);
  box-shadow: inset 0 0 0 1px rgba(224,122,34,.24);
}

nav a.nav-cta {
  padding: 10px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #cf6919);
  box-shadow: 0 10px 22px rgba(224,122,34,.24);
}

nav a.nav-cta:hover {
  color: #fff;
  background: linear-gradient(135deg, #ea8732, #cf6919);
  box-shadow: 0 14px 28px rgba(224,122,34,.28);
}

nav a.nav-cta.active {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), #cf6919);
  box-shadow: 0 12px 24px rgba(224,122,34,.28), inset 0 0 0 1px rgba(255,255,255,.2);
}

.top-strip {
  position: relative;
  background: linear-gradient(90deg, var(--accent), #cf6919);
  min-height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 16px;
  border-top: 1px solid rgba(255,255,255,.08);
  box-shadow:
    inset 0 -1px 0 rgba(0,0,0,.35),
    0 10px 18px rgba(0,0,0,.12);
}

.top-strip::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -1px;
  height: 4px;
  background: linear-gradient(180deg, rgba(11,14,18,.26), rgba(11,14,18,0));
  pointer-events: none;
}

.top-strip-text {
  display: block;
  max-width: var(--max);
  color: #fffaf5;
  font-size: 11px;
  line-height: 1;
  font-weight: 700;
  font-family: "Segoe UI", Arial, sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  text-align: center;
  text-shadow:
    0 1px 0 rgba(0,0,0,.18);
}

.contact-bar {
  width: 100%;
  background: linear-gradient(90deg, var(--accent), #cf6919);
  box-shadow: var(--glow);
}

.contact-inner {
  max-width: var(--max);
  margin: auto;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  font-family: "Segoe UI", "Trebuchet MS", Arial, sans-serif;
}

.contact-item {
  padding: 14px 18px;
  border-right: 1px solid rgba(255,255,255,.18);
  color: #fff;
  text-align: center;
}

.contact-item:last-child {
  border-right: none;
}

.contact-label {
  display: block;
  margin-bottom: 4px;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: .12em;
}

.contact-text {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
  opacity: .97;
}

@media (max-width: 700px) {
  .contact-inner {
    grid-template-columns: 1fr;
  }

  .contact-item {
    border-right: none;
    border-bottom: 1px solid rgba(255,255,255,.18);
  }

  .contact-item:last-child {
    border-bottom: none;
  }
}

footer {
  background: rgba(20,22,25,.98);
}

.footer-inner {
  max-width: var(--max);
  margin: auto;
  padding: 20px 16px 10px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  align-items: start;
  justify-items: center;
}

.footer-title {
  margin: 0 0 8px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  text-align: center;
  align-self: center;
}

.footer-col,
.footer-col p,
.footer-col li {
  font-size: 11px;
  line-height: 1.45;
  color: #bfc3c7;
  margin: 0;
}

.footer-col {
  min-width: 0;
  width: max-content;
  max-width: 100%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.footer-col ul {
  margin: 0;
  padding-left: 0;
  list-style: none;
  display: grid;
  gap: 4px;
  width: max-content;
  max-width: 100%;
  justify-items: start;
}

.footer-col p {
  width: max-content;
  max-width: 100%;
}

.footer-col a {
  color: inherit;
  transition: .2s ease;
}

.footer-col a:hover {
  color: #fff;
}

.footer-grid .footer-col:first-child ul li:first-child a {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  color: #ffd3ab;
  font-weight: 800;
  background: rgba(224,122,34,.16);
  box-shadow: inset 0 0 0 1px rgba(224,122,34,.28), 0 0 18px rgba(224,122,34,.1);
}

.footer-grid .footer-col:first-child ul li:first-child a:hover {
  color: #fff3e6;
  background: rgba(224,122,34,.24);
  box-shadow: inset 0 0 0 1px rgba(224,122,34,.34), 0 0 20px rgba(224,122,34,.16);
}

.footer-grid .footer-col:first-child ul li a.footer-tool-converter,
.footer-col a.footer-tool-converter {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  color: #c9f4ff;
  font-weight: 800;
  background: rgba(56,166,214,.16);
  box-shadow: inset 0 0 0 1px rgba(56,166,214,.28), 0 0 18px rgba(56,166,214,.1);
}

.footer-grid .footer-col:first-child ul li a.footer-tool-converter:hover,
.footer-col a.footer-tool-converter:hover {
  color: #f2fbff;
  background: rgba(56,166,214,.24);
  box-shadow: inset 0 0 0 1px rgba(56,166,214,.34), 0 0 20px rgba(56,166,214,.16);
}

.footer-logo {
  width: 88px;
  margin-top: 18px;
  opacity: .9;
  filter: drop-shadow(0 4px 10px rgba(224,122,34,.18));
}

.footer-bottom-logo {
  width: 34px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
  opacity: .92;
}

.footer-bottom {
  text-align: center;
  padding: 10px;
  color: #888;
  border-top: 1px solid rgba(255,255,255,.05);
  margin-top: 16px;
}

.footer-bottom a {
  color: #bbb;
  transition: .2s;
}

.footer-bottom a:hover {
  color: #fff;
}
