/* Company mega — white panel (clear contrast vs navy header) */

.header .nav .head.company span {
  display: none !important;
}

.header.company-hover .nav .head.company p::after {
  transform: scaleX(1);
}

/* Full-bleed white panel */
.menu-desc-company {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: auto;
  padding-top: 4.74vw;
  background: #fff !important;
  opacity: 0;
  transition: 0.3s;
  transform: translate(0, -100%);
  z-index: 9;
  pointer-events: none;
  visibility: hidden;
  box-shadow: 0 18px 40px rgba(35, 48, 88, 0.12);
}
.header.company-hover .line-2 .menu-desc-company,
.header .line-2 .menu-desc-company:focus-within {
  opacity: 1;
  transform: translate(0, 0);
  pointer-events: auto;
  visibility: visible;
}

.menu-desc-company .cm {
  /* Same palette as Services mega */
  --cm-fg: #233058;
  --cm-mute: rgba(35, 48, 88, 0.72);
  --cm-line: rgba(35, 48, 88, 0.12);
  position: relative;
  z-index: 9;
  max-width: 86vw;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.45fr 0.85fr 1fr;
  align-items: stretch;
  min-height: 16.5vw;
  padding: 0.4vw 0 0.6vw;
}

.menu-desc-company .cm-left {
  padding: 1.7vw 2.1vw 1.8vw 0;
  display: flex;
  flex-direction: column;
  gap: 1vw;
  border-right: 1px solid var(--cm-line);
}
.menu-desc-company .cm-about-h {
  margin: 0;
  font-family: "Geometria", sans-serif;
  font-weight: 700;
  font-size: 1.28vw;
  letter-spacing: -0.01em;
  color: var(--cm-fg);
  display: flex;
  align-items: center;
  gap: 0.6vw;
}
.menu-desc-company .cm-about-h:before {
  content: "";
  width: 0.28vw;
  height: 1.35vw;
  background: #ee3d25;
  flex: none;
  border-radius: 2px;
}
.menu-desc-company .cm-about-d {
  margin: 0;
  font-family: "Raleway", sans-serif;
  font-size: 1.05vw;
  font-weight: 500;
  line-height: 160%;
  color: var(--cm-mute);
  max-width: 42ch;
}
.menu-desc-company .cm-feat {
  margin-top: auto;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.85vw;
  align-items: start;
  text-decoration: none;
  color: inherit;
  padding: 0.85vw;
  border-radius: 0.45vw;
  background: rgba(35, 48, 88, 0.04);
  border: 1px solid var(--cm-line);
  transition: border-color 0.25s, background 0.25s;
}
.menu-desc-company .cm-feat:hover {
  border-color: #ee3d25;
  background: rgba(238, 61, 37, 0.06);
}
.menu-desc-company .cm-feat-ico {
  width: 2.6vw;
  height: 2.6vw;
  border-radius: 0.35vw;
  background: linear-gradient(145deg, #2a3968, #ee3d25);
  color: #fff;
  display: grid;
  place-items: center;
  font-family: "Geometria", sans-serif;
  font-weight: 700;
  font-size: 0.62vw;
  letter-spacing: 0.02em;
  flex: none;
  text-align: center;
  line-height: 1.15;
  padding: 0.15vw;
}
.menu-desc-company .cm-feat-t {
  display: block;
  font-family: "Geometria", sans-serif;
  font-weight: 600;
  font-size: 0.82vw;
  line-height: 140%;
  color: var(--cm-fg);
  margin-bottom: 0.4vw;
}
.menu-desc-company .cm-feat-more {
  font-family: "Geometria", sans-serif;
  font-weight: 700;
  font-size: 0.78vw;
  color: #ee3d25;
}

.menu-desc-company .cm-mid,
.menu-desc-company .cm-right {
  padding: 1.7vw 1.8vw 1.8vw;
  transition: background 0.25s ease;
}
.menu-desc-company .cm-mid {
  border-right: 1px solid var(--cm-line);
}
.menu-desc-company .cm-mid:hover,
.menu-desc-company .cm-right:hover {
  background: rgba(238, 61, 37, 0.05);
}

.menu-desc-company .cm-col-h {
  margin: 0 0 1.05vw;
  font-family: "Geometria", sans-serif;
  font-weight: 700;
  font-size: 0.82vw;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--cm-fg) !important;
  display: flex;
  align-items: center;
  gap: 0.45vw;
  padding-bottom: 0.65vw;
  border-bottom: 1px solid var(--cm-line);
}
.menu-desc-company .cm-col-h:before {
  content: "";
  width: 0.42vw;
  height: 0.42vw;
  background: #ee3d25;
  flex: none;
}

.menu-desc-company .cm-links {
  display: flex;
  flex-direction: column;
  gap: 0.25vw;
}
.menu-desc-company .cm-links a {
  display: block;
  width: fit-content;
  padding: 0.42vw 0;
  font-family: "Geometria", sans-serif;
  font-weight: 500;
  font-size: 1.08vw;
  color: #233058 !important;
  text-decoration: none;
  position: relative;
}
.menu-desc-company .cm-links a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.15vw;
  height: 2px;
  background: #ee3d25;
  transform: scaleX(0);
  transform-origin: left center;
  transition: transform 0.2s ease;
  pointer-events: none;
}
.menu-desc-company .cm-links a:hover,
.menu-desc-company .cm-links a:focus-visible {
  color: #233058 !important;
  outline: none;
}
.menu-desc-company .cm-links a:hover::after,
.menu-desc-company .cm-links a:focus-visible::after {
  transform: scaleX(1);
}

@media (max-width: 1100px) {
  .menu-desc-company .cm {
    max-width: 94vw;
    min-height: 180px;
  }
  .menu-desc-company .cm-about-h {
    font-size: 17px;
  }
  .menu-desc-company .cm-about-d {
    font-size: 14px;
  }
  .menu-desc-company .cm-feat-t,
  .menu-desc-company .cm-feat-more {
    font-size: 13px;
  }
  .menu-desc-company .cm-col-h {
    font-size: 12px;
  }
  .menu-desc-company .cm-links a {
    font-size: 15px;
  }
  .menu-desc-company .cm-about-h:before {
    width: 3px;
    height: 16px;
  }
  .menu-desc-company .cm-feat-ico {
    width: 36px;
    height: 36px;
    font-size: 9px;
  }
}

@media (max-width: 700px) {
  .menu-desc-company {
    display: none !important;
  }
}

/* Mobile: no Company icon */
.mob-menu .up .company-nav span {
  display: none !important;
}
