/* ATIQSoft professional header, mega-menu, and footer enhancement. */
:root {
  --atiq-ink: #08253b;
  --atiq-muted: #526272;
  --atiq-brand: #0b7285;
  --atiq-line: #d7e2ea;
  --atiq-soft: #f6fbfc;
  --atiq-shadow: 0 18px 42px rgba(16, 42, 67, .12);
}

body:not(.atiq-enhanced-ready) {
  opacity: 0;
}

body.atiq-enhanced-ready {
  opacity: 1;
  transition: opacity .08s ease-out;
}

main h1 {
  font-weight: 650 !important;
}

main h2 {
  font-weight: 600 !important;
}

main h3,
main strong {
  font-weight: 580 !important;
}

main a[class*="font-semibold"],
main button[class*="font-semibold"] {
  font-weight: 580 !important;
}

nav {
  border-bottom: 1px solid rgba(203, 213, 225, .75) !important;
  background: rgba(255, 255, 255, .94) !important;
  box-shadow: 0 12px 34px rgba(15, 23, 42, .06);
}

nav > div {
  gap: .65rem !important;
  padding-block: .72rem !important;
}

nav img[alt="IQSoft"] {
  height: 2.5rem !important;
}

nav a,
nav button {
  display: inline-flex !important;
  align-items: center !important;
  gap: .45rem !important;
  min-height: 2.35rem;
  white-space: nowrap !important;
  border: 1px solid transparent !important;
  font-weight: 550 !important;
  letter-spacing: 0 !important;
}

@media (min-width: 768px) {
  nav button[aria-label="Menu"] {
    display: none !important;
  }
}

nav a:hover,
nav button:hover,
nav button[aria-expanded="true"] {
  border-color: rgba(11, 114, 133, .16) !important;
  background: rgba(236, 254, 255, .9) !important;
  color: var(--atiq-brand) !important;
}

nav a[href="/"],
nav a[href="/start-a-project/"] {
  box-shadow: 0 10px 24px rgba(11, 114, 133, .16);
}

.atiq-nav-icon {
  display: inline-grid;
  place-items: center;
  width: 1.25rem;
  height: 1.25rem;
  border-radius: 999px;
  background: transparent;
  color: var(--atiq-brand);
  line-height: 1;
}

.atiq-svg-icon {
  display: block;
  width: 1em;
  height: 1em;
}

.atiq-nav-caret {
  margin-left: .1rem;
  color: var(--atiq-brand);
  font-size: .9rem;
}

.atiq-command-search {
  position: relative;
}

.atiq-command-search::before {
  content: "⌕";
  position: absolute;
  left: .85rem;
  top: 50%;
  z-index: 1;
  transform: translateY(-50%);
  color: var(--atiq-brand);
  font-weight: 600;
}

nav input[placeholder*=Search] {
  width: clamp(11rem, 15vw, 13rem) !important;
  height: 2.45rem;
  padding-left: 2.1rem !important;
  border-radius: 999px !important;
  border-color: rgba(203, 213, 225, .9) !important;
  background: rgba(255, 255, 255, .92) !important;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .8), 0 8px 20px rgba(15, 23, 42, .05) !important;
}

@media (max-width: 1450px) {
  nav input[placeholder*=Search],
  .atiq-command-search {
    display: none !important;
  }
}

footer:not([data-atiq-pro-footer="1"]) {
  opacity: 0;
}

.atiq-nav-menu {
  position: fixed;
  z-index: 90;
  display: grid;
  grid-template-columns: minmax(15rem, .82fr) minmax(24rem, 1.18fr);
  width: min(46rem, calc(100vw - 2rem));
  overflow: hidden;
  border: 1px solid rgba(203, 213, 225, .9);
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 28px 70px rgba(16, 42, 67, .22);
  backdrop-filter: blur(16px);
}

.atiq-nav-menu__intro {
  padding: 1.1rem;
  background:
    radial-gradient(circle at 20% 20%, rgba(103, 232, 249, .3), transparent 32%),
    linear-gradient(145deg, #ecfeff, #f8fafc 62%, #ffffff);
  border-right: 1px solid rgba(203, 213, 225, .85);
}

.atiq-nav-menu__intro span,
.atiq-nav-menu__footer a,
.atiq-footer-main h2,
.atiq-footer-search h2 {
  color: var(--atiq-brand);
  font-size: .68rem;
  font-weight: 650;
  letter-spacing: .15em;
  text-transform: uppercase;
}

.atiq-nav-menu__intro strong {
  display: block;
  margin-top: .65rem;
  color: var(--atiq-ink);
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 650;
  line-height: 1.12;
}

.atiq-nav-menu__intro p {
  margin-top: .7rem;
  color: var(--atiq-muted);
  font-size: .88rem;
  line-height: 1.6;
}

.atiq-nav-menu__body {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
  padding: .8rem;
}

.atiq-nav-menu__item {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: .7rem;
  align-items: center;
  padding: .78rem;
  border: 1px solid transparent;
  border-radius: 14px;
  color: var(--atiq-ink);
  text-decoration: none;
}

.atiq-nav-menu__item:hover,
.atiq-nav-menu__item:focus-visible {
  border-color: rgba(11, 114, 133, .16);
  background: #f3fbfc;
  outline: none;
}

.atiq-nav-menu__glyph {
  display: inline-grid;
  place-items: center;
  width: 2.15rem;
  height: 2.15rem;
  border: 1px solid rgba(11, 114, 133, .16);
  border-radius: 11px;
  background: rgba(236, 254, 255, .58);
  color: var(--atiq-brand);
  box-shadow: none;
  font-size: 1.05rem;
}

.atiq-nav-menu__item strong,
.atiq-nav-menu__item small {
  display: block;
}

.atiq-nav-menu__item strong {
  font-size: .9rem;
  font-weight: 600;
}

.atiq-nav-menu__item small {
  margin-top: .18rem;
  color: var(--atiq-muted);
  font-size: .75rem;
  line-height: 1.35;
}

.atiq-nav-menu__item em {
  color: var(--atiq-brand);
  font-style: normal;
  font-size: 1.2rem;
}

.atiq-nav-menu__footer {
  grid-column: 1 / -1;
  display: flex;
  gap: .65rem;
  justify-content: flex-end;
  padding: .75rem .9rem .9rem;
  border-top: 1px solid rgba(203, 213, 225, .75);
}

.atiq-nav-menu__footer a {
  padding: .55rem .75rem;
  border-radius: 999px;
  background: #f3fbfc;
  text-decoration: none;
}

.atiq-mobile-menu {
  position: fixed;
  left: 1rem;
  right: 1rem;
  top: 4.8rem;
  z-index: 95;
  padding: 1rem;
  border: 1px solid rgba(203, 213, 225, .9);
  border-radius: 18px;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 24px 60px rgba(16, 42, 67, .2);
  backdrop-filter: blur(16px);
}

.atiq-mobile-menu__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid rgba(203, 213, 225, .8);
}

.atiq-mobile-menu__head strong {
  color: var(--atiq-ink);
  font-family: var(--font-serif);
  font-size: 1.25rem;
}

.atiq-mobile-menu__head button {
  display: inline-grid;
  place-items: center;
  width: 2.1rem;
  height: 2.1rem;
  border: 1px solid rgba(203, 213, 225, .9);
  border-radius: 999px;
  background: #fff;
  color: var(--atiq-ink);
  font-size: 1.1rem;
}

.atiq-mobile-menu__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  padding-block: .9rem;
}

.atiq-mobile-menu__grid a {
  display: flex;
  align-items: center;
  gap: .55rem;
  min-height: 3rem;
  padding: .75rem;
  border: 1px solid rgba(203, 213, 225, .82);
  border-radius: 14px;
  color: var(--atiq-ink);
  font-weight: 600;
  text-decoration: none;
}

.atiq-mobile-menu__grid span {
  display: inline-grid;
  place-items: center;
  width: 1.7rem;
  height: 1.7rem;
  border-radius: 10px;
  border: 1px solid rgba(11, 114, 133, .15);
  background: rgba(236, 254, 255, .58);
  color: var(--atiq-brand);
  font-size: .9rem;
}

.atiq-mobile-menu__cta {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  border-radius: 14px;
  background: var(--atiq-brand);
  color: #fff;
  font-weight: 650;
  text-decoration: none;
}

footer[data-atiq-pro-footer="1"] {
  position: relative;
  margin-top: 4.5rem !important;
  overflow: hidden;
  border-top: 1px solid rgba(203, 213, 225, .88) !important;
  background:
    radial-gradient(circle at 10% 8%, rgba(103, 232, 249, .28), transparent 26%),
    radial-gradient(circle at 86% 18%, rgba(14, 165, 233, .14), transparent 24%),
    linear-gradient(145deg, #f8fdff 0%, #eef8fb 48%, #ffffff 100%) !important;
}

footer[data-atiq-pro-footer="1"]::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(11, 114, 133, .055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(11, 114, 133, .055) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,.55), transparent 62%);
}

.atiq-footer-shell {
  position: relative;
  width: min(1180px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2.6rem 0 1rem;
}

.atiq-footer-brand {
  display: grid;
  grid-template-columns: minmax(15rem, .72fr) minmax(26rem, 1.28fr) auto;
  gap: 1.4rem;
  align-items: stretch;
  padding: 1.2rem;
  border: 1px solid rgba(203, 213, 225, .9);
  border-radius: 22px;
  background: rgba(255, 255, 255, .9);
  box-shadow: 0 24px 70px rgba(16, 42, 67, .11);
}

.atiq-footer-identity {
  display: flex;
  min-height: 100%;
  flex-direction: column;
  justify-content: center;
  gap: .85rem;
  padding: 1rem;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(236, 254, 255, .86), rgba(255,255,255,.94));
}

.atiq-footer-logo img {
  width: 12.5rem;
  height: auto;
}

.atiq-footer-identity span,
.atiq-footer-kicker {
  color: var(--atiq-brand);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.atiq-footer-story {
  padding: .4rem 0;
}

.atiq-footer-story h2 {
  max-width: 46rem;
  margin: 0;
  color: var(--atiq-ink);
  font-family: var(--font-serif);
  font-size: clamp(1.45rem, 2vw, 2.05rem);
  font-weight: 650;
  line-height: 1.15;
}

.atiq-footer-brand p {
  margin: 0;
  color: var(--atiq-muted);
  font-size: .95rem;
  line-height: 1.65;
}

.atiq-footer-story > p:last-child {
  max-width: 43rem;
  margin-top: .75rem;
}

.atiq-footer-contact {
  display: flex;
  min-width: 11rem;
  flex-direction: column;
  align-self: center;
  gap: .55rem;
  justify-content: center;
}

.atiq-footer-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 2.45rem;
  padding: .65rem 1rem;
  border-radius: 999px;
  background: var(--atiq-brand);
  color: #fff !important;
  font-size: .86rem;
  font-weight: 600;
  text-decoration: none;
}

.atiq-footer-contact a:first-child {
  border: 1px solid rgba(203, 213, 225, .9);
  background: #fff;
  color: var(--atiq-brand) !important;
}

.atiq-footer-proof {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
}

.atiq-footer-proof span {
  display: flex;
  align-items: baseline;
  gap: .55rem;
  padding: .78rem .9rem;
  border: 1px solid rgba(203, 213, 225, .78);
  border-radius: 15px;
  background: rgba(248, 250, 252, .72);
  color: var(--atiq-muted);
  font-size: .82rem;
}

.atiq-footer-proof strong {
  color: var(--atiq-brand);
  font-size: 1.3rem;
  font-weight: 650;
}

.atiq-footer-main {
  display: grid;
  grid-template-columns: 1fr 1.35fr 1fr 1fr;
  gap: 1rem;
  margin-top: 1.2rem;
}

.atiq-footer-panel,
.atiq-footer-search {
  min-width: 0;
}

.atiq-footer-panel {
  padding: 1rem;
  border: 1px solid rgba(203, 213, 225, .72);
  border-radius: 18px;
  background: rgba(255, 255, 255, .64);
}

.atiq-footer-main h2,
.atiq-footer-search h2 {
  margin: 0 0 .75rem;
}

.atiq-footer-main a,
.atiq-footer-search a,
.atiq-footer-bottom a {
  display: flex;
  align-items: center;
  gap: .45rem;
  width: fit-content;
  max-width: 100%;
  margin-top: .45rem;
  border-radius: 9px;
  color: #1f4267;
  font-size: .9rem;
  line-height: 1.35;
  text-decoration: none;
}

.atiq-footer-main a:hover,
.atiq-footer-search a:hover,
.atiq-footer-bottom a:hover {
  color: var(--atiq-brand);
}

.atiq-footer-main a span {
  display: inline-grid;
  place-items: center;
  width: 1.55rem;
  height: 1.55rem;
  flex: 0 0 auto;
  border-radius: 9px;
  border: 1px solid rgba(11, 114, 133, .14);
  background: rgba(236, 254, 255, .62);
  color: var(--atiq-brand);
  font-size: .75rem;
}

.atiq-footer-main a small {
  margin-left: .15rem;
  color: var(--atiq-muted);
  font-size: .72rem;
}

.atiq-footer-search {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid rgba(203, 213, 225, .72);
  border-radius: 18px;
  background: rgba(255, 255, 255, .55);
}

.atiq-footer-search div {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem .8rem;
}

.atiq-footer-search a {
  margin-top: 0;
  padding: .62rem .85rem;
  border: 1px solid rgba(203, 213, 225, .82);
  border-radius: 999px;
  background: rgba(255, 255, 255, .84);
}

.atiq-footer-bottom {
  display: flex;
  gap: 1rem;
  justify-content: space-between;
  margin-top: 1.1rem;
  padding: .95rem 9rem 1.2rem 0;
  border-top: 1px solid rgba(203, 213, 225, .76);
  color: var(--atiq-muted);
  font-size: .8rem;
}

.atiq-footer-legal {
  display: flex;
  gap: 1rem;
}

.atiq-footer-bottom a {
  margin-top: 0;
  font-size: .8rem;
}

@media (max-width: 1024px) {
  .atiq-nav-menu {
    grid-template-columns: 1fr;
  }

  .atiq-nav-menu__intro {
    border-right: 0;
    border-bottom: 1px solid rgba(203, 213, 225, .85);
  }

  .atiq-footer-brand,
  .atiq-footer-main {
    grid-template-columns: 1fr 1fr;
  }

  .atiq-footer-contact {
    justify-content: flex-start;
  }
}

@media (max-width: 760px) {
  nav > div {
    padding-inline: 1rem !important;
  }

  nav img[alt="IQSoft"] {
    height: 2.45rem !important;
  }

  .atiq-nav-menu {
    left: 1rem !important;
    top: 4.6rem !important;
    width: calc(100vw - 2rem);
    max-height: calc(100vh - 5.5rem);
    overflow: auto;
  }

  .atiq-nav-menu__body,
  .atiq-footer-brand,
  .atiq-footer-main {
    grid-template-columns: 1fr;
  }

  .atiq-nav-menu__footer,
  .atiq-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    padding-right: 0;
    padding-bottom: 4.8rem;
  }

  .atiq-footer-shell {
    width: min(100% - 1rem, 1180px);
    padding-top: 1.3rem;
  }
}
