.dept-page {
  background-color: var(--color-white);
  color: var(--color-grey-400);
  font-family: "Roboto", Helvetica, Arial, sans-serif;
  line-height: 1.6;
  padding: 0 var(--wrap);
  overflow-x: hidden;
  font-size: clamp(0.9rem, 1vw + 0.5rem, 1rem);
}

.dept-container {
  padding: 0 var(--wrap);
  margin: 0 auto;
  width: 100%;
}

.dept-section {
  margin-top: 0;
  padding: clamp(40px, 5vw, 80px) 0;
}

.dept-section--alt {
  background-color: var(--color-grey-100);
}

.dept-section--dark {
  background-color: var(--color-blue-200);
  color: var(--color-white);
}

.dept-title {
  color: var(--color-blue-200);
  text-transform: uppercase;
  font-weight: 700;
  position: relative;
  line-height: 1.2;
  font-size: clamp(1rem, 2.5vw + 1rem, 2rem);
}

.dept-title--light {
  color: var(--color-white);
}

.dept-title--left {
  text-align: left;
  margin-top: 0;
}

.dept-hero-bento {
  padding: 60px 0 60px;
  background-color: var(--color-blue-200);
  min-height: auto;
  margin-top: 9rem;
  color: var(--color-white);
}

.dept-bento-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.8fr;
  grid-template-rows: auto auto;
  gap: 24px;
  grid-template-areas:
    "main visual"
    "action visual";
}

.dept-bento-card {
  border: 1px solid rgba(255, 255, 255, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
  padding: clamp(20px, 3vw, 40px);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s;
  color: var(--color-white);
  border-radius: 0;
  background: transparent;

  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.dept-bento-card--main {
  grid-area: main;
  min-height: 250px;
  justify-content: space-between;
}

.dept-bento-card__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 40px;
  position: relative;
  z-index: 3;
  flex-wrap: wrap;
  gap: 15px;
}

.dept-hero__breadcrumbs {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  font-weight: 500;
}

.dept-hero__breadcrumbs a {
  color: inherit;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}

.dept-hero__breadcrumbs a:hover {
  color: var(--color-blue-100);
  border-bottom-color: var(--color-blue-100);
}

.dept-bento-badge {
  background: #fff;
  color: var(--color-blue-200);
  padding: 6px 14px;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  white-space: nowrap;
}

.dept-bento-title {
  font-size: clamp(1.8rem, 2.5vw, 3rem);
  line-height: 1.4;
  margin: 0;
  font-weight: 800;
  text-transform: uppercase;
  position: relative;
  z-index: 2;
  color: #ffffff;
  text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.dept-bento-title__small {
  display: block;
  font-size: 0.4em;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 8px;
  letter-spacing: 2px;
}

.dept-btn-icon {
  display: flex;
}

.dept-bento-card--visual {
  grid-area: visual;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 300px;
}

.dept-bento-logo-wrap {
  width: clamp(150px, 50%, 280px);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 25px rgba(255, 255, 255, 0.3));
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
  
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.dept-bento-card:hover .dept-bento-logo-wrap {
  transform: scale(1.1) rotate(2deg);
}

.dept-bento-logo-wrap img {
  width: 100%;
  height: auto;
  display: block;
}

.dept-bento-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  color: rgba(255, 255, 255, 0.15);
  z-index: 1;
  pointer-events: none;
}

.dept-bento-year {
  position: absolute;
  bottom: 25px;
  right: 30px;
  text-align: right;
  z-index: 2;
}

.dept-bento-year span {
  display: block;
  font-size: 0.8rem;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 600;
}

.dept-bento-year strong {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  color: #fff;
  opacity: 0.25;
  line-height: 0.9;
}

.dept-bento-card--actions {
  grid-area: action;
  border: 1px solid rgba(255, 255, 255, 0.2) !important;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 40px;
}

.dept-bento-desc {
  flex: 1;
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  color: #fff;
  line-height: 1.6;
  border-left: 4px solid #fff;
  padding-left: 25px;
  text-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  hyphens: auto;
  word-wrap: break-word;
}

.dept-bento-desc p {
  margin: 0;
  max-width: 100%;
}

.dept-bento-btns {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  align-items: stretch;
}

.dept-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  height: auto;
  min-height: 54px;
  font-weight: 700;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease;
  font-size: 0.9rem;
  cursor: pointer;
  letter-spacing: 0.05em;
  width: 100%;
  box-sizing: border-box;
  flex: 1;
  min-width: 200px;
}

.dept-btn--icon {
  gap: 12px;
}

.dept-btn--primary {
  background: #ffffff;
  color: var(--color-blue-200);
  border: 2px solid #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.dept-btn--primary:hover {
  background: transparent;
  color: #ffffff;
  box-shadow: 0 5px 25px rgba(255, 255, 255, 0.3);
}

.dept-btn--outline-dark {
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #ffffff;
  background: transparent;
}

.dept-btn--outline-dark:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
}

.dept-section--light {
  background-color: var(--color-white);
  color: var(--color-grey-400);
  position: relative;
  overflow: hidden;
}

.dept-bg-grid--dark {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
  z-index: 0;
}

.dept-specs-header {
  margin-bottom: 50px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  border-bottom: 2px solid var(--color-blue-200);
  padding-bottom: 20px;
}

.dept-specs-id {
  font-family: monospace;
  color: #999;
  font-size: 0.9rem;
  letter-spacing: 0.1em;
  margin-bottom: 5px;
}

.dept-specs-wrapper {
  display: flex;
  gap: 30px;
  position: relative;
}

.dept-specs-line {
  width: 4px;
  background: repeating-linear-gradient(
    to bottom,
    var(--color-blue-200),
    var(--color-blue-200) 10px,
    transparent 10px,
    transparent 20px
  );
  opacity: 0.3;
  flex-shrink: 0;
}

.dept-specs-list {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.dept-spec-item {
  display: flex;
  align-items: flex-start;
  padding: 20px 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
  transition: background-color 0.3s ease;
}

.dept-spec-item:last-child {
  border-bottom: none;
}

.dept-spec-item:hover {
  background-color: rgba(22, 41, 91, 0.02);
}

.dept-spec-marker {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background-color: var(--color-blue-200);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
  margin-top: 2px;
  box-shadow: 0 4px 10px rgba(22, 41, 91, 0.2);
}

.dept-spec-text {
  font-size: clamp(1rem, 1.1vw, 1.2rem);
  line-height: 1.6;
  color: var(--color-grey-400);
  font-weight: 400;
}

.dept-section--services {
  background-color: var(--color-blue-200);
  color: var(--color-white);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dept-services-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(
    circle at center,
    rgba(255, 255, 255, 0.05) 1px,
    transparent 1px
  );
  background-size: 30px 30px;
  opacity: 0.5;
  pointer-events: none;
}

.dept-header-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 40px;
  flex-wrap: wrap;
  gap: 10px;
}

.dept-deco-line {
  flex-grow: 1;
  height: 1px;
  background: linear-gradient(to right, var(--color-white), transparent);
  margin-left: 35px;
  opacity: 0.3;
}

.dept-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

.dept-grid--4 .dept-service-card,
.dept-grid--4 .dept-card {
  width: calc((100% - 60px) / 4);
  min-width: 240px;
  min-height: 340px;
}

.dept-grid--3 .dept-service-card,
.dept-grid--3 .dept-card {
  width: calc((100% - 40px) / 3);
  min-width: 260px;
}

.dept-service-card,
.dept-card {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-decoration: none;
  overflow: hidden;
  transition: all 0.4s ease;
}

.dept-card {
  background: var(--color-white);
  border: 1px solid #e0e0e0;
}

.dept-service-card:hover,
.dept-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.5);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.dept-card:hover {
  border-color: var(--color-blue-200);
  box-shadow: 0 10px 25px rgba(22, 41, 91, 0.1);
}

.dept-service-card__img,
.dept-card__img-wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.dept-card__img-wrap {
  position: relative;
  height: 180px;
  flex-shrink: 0;
  border-bottom: 1px solid #e0e0e0;
}

.dept-service-card__img img,
.dept-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.dept-service-card:hover img,
.dept-card:hover img {
  transform: scale(1.05);
}

.dept-service-card__overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transition: opacity 0.4s ease;
  z-index: 2;
}

.dept-service-card__num {
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 900;
  color: var(--color-blue-200);
  opacity: 0.2;
  z-index: 3;
  transition: all 0.4s ease;
  line-height: 1;
}

.dept-service-card:hover .dept-service-card__num {
  transform: translateY(-5px);
}

.dept-service-card__content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  z-index: 4;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.dept-card__body {
  padding: 20px;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  background: #fff;
  z-index: 2;
  position: relative;
}

.dept-service-card__title {
  font-size: clamp(1rem, 1.2vw, 1.2rem);
  color: var(--color-white);
  margin: 0;
  font-weight: 700;
  text-transform: uppercase;
  max-width: 80%;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.dept-card__title {
  font-size: clamp(0.9rem, 1.1vw, 1rem);
  font-weight: 700;
  color: var(--color-blue-200);
  line-height: 1.4;
  text-transform: uppercase;
  margin: 0;
}

.dept-service-card__arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
  transition: all 0.3s ease;
  background: rgba(0, 0, 0, 0.3);
  flex-shrink: 0;
}

.dept-service-card:hover .dept-service-card__arrow {
  background: var(--color-white);
  color: var(--color-blue-200);
  border-color: var(--color-white);
}

.dept-corner {
  position: absolute;
  width: 10px;
  height: 10px;
  border-color: var(--color-white);
  border-style: solid;
  transition: all 0.3s ease;
  z-index: 5;
  opacity: 0.5;
}

.dept-corner--tl {
  top: 0;
  left: 0;
  border-width: 2px 0 0 2px;
}

.dept-corner--br {
  bottom: 0;
  right: 0;
  border-width: 0 2px 2px 0;
}

.dept-service-card:hover .dept-corner {
  width: 100%;
  height: 100%;
  opacity: 0.1;
}

.dept-section--docs {
  background-color: var(--color-white);
}

.dept-deco-line--blue {
  background: linear-gradient(to right, var(--color-blue-200), transparent);
  opacity: 0.2;
}

.dept-docs-grid {
  display: grid;
  gap: 20px;
}

.dept-doc-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 20px;
  background: #fff;
  border: 1px solid #e0e0e0;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  gap: 15px;
}

.dept-doc-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: var(--color-blue-200);
  transform: scaleY(0);
  transition: transform 0.3s ease;
  transform-origin: bottom;
}

.dept-doc-card:hover::before {
  transform: scaleY(1);
  transform-origin: top;
}

.dept-doc-card:hover {
  border-color: var(--color-blue-100);
  box-shadow: 0 10px 30px rgba(22, 41, 91, 0.08);
  transform: translateY(-3px);
}

.dept-doc-card__icon {
  color: #999;
  transition: color 0.3s ease;
  flex-shrink: 0;
}

.dept-doc-card:hover .dept-doc-card__icon {
  color: var(--color-blue-200);
}

.dept-doc-card__body {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}

.dept-doc-card__title {
  font-size: 1rem;
  color: var(--color-grey-400);
  font-weight: 700;
  line-height: 1.4;
  margin: 0;
  transition: color 0.3s;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dept-doc-card:hover .dept-doc-card__title {
  color: var(--color-blue-200);
}

.dept-doc-card__action {
  color: #ccc;
  transition: all 0.3s ease;
  transform: translateY(5px);
  opacity: 0;
  flex-shrink: 0;
}

.dept-doc-card:hover .dept-doc-card__action {
  opacity: 1;
  transform: translateY(0);
  color: var(--color-blue-200);
}

.dept-section--team-tech {
  background-color: var(--color-blue-200);
  color: var(--color-white);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.dept-leader-dossier {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.15);
  margin-bottom: 40px;
  margin-left: auto;
  margin-right: auto;
  transition: border-color 0.3s ease;
  text-decoration: none;
  overflow: hidden;
}

.dept-leader-dossier:hover {
  border-color: rgba(255, 255, 255, 0.4);
}

.dept-leader-dossier__visual {
  flex: 0 0 280px;
  position: relative;
  border-right: 1px solid rgba(255, 255, 255, 0.15);
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}

.dept-leader-dossier__visual img {
  object-fit: cover;
  transition: all 0.5s ease;
  display: block;
  width: 100%;
}

.dept-leader-dossier__content {
  flex: 1;
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dept-leader-label {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-white);
  text-transform: uppercase;
  margin-bottom: 5px;
  opacity: 0.7;
}

.dept-leader-name-tech {
  font-size: clamp(1rem, 3vw, 2rem);
  font-weight: 700;
  margin: 0 0 10px 0;
  color: #fff;
  text-transform: uppercase;
  line-height: 1.1;
  letter-spacing: 0.02ch;
}

.dept-leader-role-tech {
  font-size: clamp(0.8rem, 1vw, 1rem);
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.dept-team-list {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 0 auto;
}

.dept-member-row {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 0;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
}

.dept-member-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(5px);
}

.dept-member-row__visual {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.dept-member-row__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.dept-member-row__info {
  padding: 0 25px;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.dept-member-row__name {
  font-size: 1.3rem;
  color: var(--color-white);
  margin: 0 0 4px 0;
  font-weight: 700;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  letter-spacing: 0.02ch;
}

.dept-member-row__role {
  font-size: 0.85rem;
  color: var(--color-grey-050);
  margin: 0;
  letter-spacing: 0.05em;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dept-member-row__meta {
  padding-right: 30px;
  opacity: 0.3;
  font-family: monospace;
  font-size: 0.75rem;
  border-left: 1px solid rgba(255, 255, 255, 0.1);
  height: 80px;
  display: flex;
  align-items: center;
  padding-left: 30px;
  color: #fff;
  flex-shrink: 0;
}

.dept-section--contacts-grid {
  background-color: var(--color-white);
  color: var(--color-grey-400);
}

.dept-c-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  border: 1px solid #e0e0e0;
  background: #fff;
}

.dept-c-box {
  padding: 50px;
  display: flex;
  align-items: flex-start;
  gap: 25px;
  border-right: 1px solid #e0e0e0;
  border-bottom: 1px solid #e0e0e0;
  transition: background-color 0.3s ease;
}

.dept-c-box:nth-child(2n) {
  border-right: none;
}

.dept-c-box:nth-last-child(-n + 2) {
  border-bottom: none;
}

.dept-c-box:hover {
  background-color: #fafafa;
}

.dept-c-box__icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: rgba(22, 41, 91, 0.05);
  color: var(--color-blue-200);
  display: flex;
  align-items: center;
  justify-content: center;
  transition:
    transform 0.3s ease,
    background 0.3s;
}

.dept-c-box:hover .dept-c-box__icon {
  background: var(--color-blue-200);
  color: #fff;
  transform: scale(1.1);
}

.dept-c-box__content {
  display: flex;
  flex-direction: column;
}

.dept-c-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: #999;
  font-weight: 700;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}

.dept-c-val {
  color: var(--color-grey-400);
  text-decoration: none;
  font-weight: 500;
  line-height: 1.4;
}

.dept-c-val--link {
  color: var(--color-blue-200);
  font-weight: 700;
  transition: color 0.2s;
}

.dept-c-val--link:hover {
  color: var(--color-blue-100);
}

.hover-underline:hover {
  text-decoration: underline;
}

.dept-c-socials {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(10px, 2vw, 20px);
  margin-top: 40px;
}

.dept-c-social-btn {
  width: 54px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  border: 1px solid #e0e0e0;
  color: var(--color-blue-200);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.dept-c-social-btn:hover {
  background: var(--color-blue-200);
  color: #fff !important;
  border-color: var(--color-blue-200);
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(22, 41, 91, 0.15);
}

.dept-c-social-btn--linkedin:hover {
  background: #0077b5;
  border-color: #0077b5;
}

.dept-c-social-btn--email:hover {
  background: #444;
  border-color: #444;
}

.dept-c-social-btn--facebook:hover {
  background: #1877f2;
  border-color: #1877f2;
}

.dept-c-social-btn--instagram:hover {
  background: #e4405f;
  border-color: #e4405f;
}

.dept-c-social-btn--telegram:hover {
  background: #0088cc;
  border-color: #0088cc;
}

.dept-c-social-btn--youtube:hover {
  background: #ff0000;
  border-color: #ff0000;
}

@media (min-width: 1919px) {
  .dept-hero-bento {
    padding: 100px 0;
  }
  .dept-grid {
    flex-wrap: nowrap;
  }
}

@media (max-width: 1200px) {
  .dept-grid--4 .dept-service-card,
  .dept-grid--4 .dept-card,
  .dept-grid--3 .dept-service-card,
  .dept-grid--3 .dept-card {
    width: calc((100% - 20px) / 2);
  }
  .dept-docs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 992px) {
  .dept-bento-grid {
    grid-template-columns: 1fr;
    grid-template-areas: "main" "action" "visual";
  }

  .dept-bento-card--visual {
    min-height: 250px;
  }

  .dept-bento-card--actions {
    flex-direction: column;
    align-items: flex-start;
    gap: 30px;
  }

  .dept-bento-desc {
    width: 100%;
    padding-left: 0;
    border-left: none;
    border-top: 2px solid #fff;
    padding-top: 15px;
  }

  .dept-bento-btns {
    width: 100%;
    flex-direction: row;
  }

  .dept-docs-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .dept-leader-dossier__visual {
    flex: 0 0 240px;
  }
}

@media (max-width: 768px) {
  .dept-specs-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .dept-specs-id {
    display: none;
  }

  .dept-spec-item {
    padding: 15px 0;
  }

  .dept-spec-text {
    font-size: 1rem;
  }

  .dept-specs-line {
    display: none;
  }

  .dept-c-grid {
    grid-template-columns: 1fr;
  }

  .dept-c-box {
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    padding: 20px 10px;
  }

  .dept-c-box:last-child {
    border-bottom: none;
  }

  .dept-grid--4 .dept-service-card,
  .dept-grid--4 .dept-card,
  .dept-grid--3 .dept-service-card,
  .dept-grid--3 .dept-card {
    width: 100%;
  }

  .dept-grid--4 {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  }

  .dept-member-row__meta {
    display: none;
  }
}

@media (max-width: 576px) {
  .dept-deco-line {
    margin-left: 5px;
  }
  .dept-hero-bento {
    padding-top: 20px;
    margin-top: 5rem;
  }

  .dept-bento-title {
    font-size: 1.4rem;
  }

  .dept-bento-btns {
    flex-direction: column;
  }

  .dept-bento-logo-wrap {
    width: 150px;
  }

  .dept-bento-badge {
    font-size: 0.65rem;
    padding: 4px 10px;
  }

  .dept-docs-grid {
    grid-template-columns: 1fr;
  }

  .dept-doc-card {
    padding: 20px;
  }

  .dept-member-row {
    flex-direction: row;
    align-items: center;
    padding: 10px;
  }

  .dept-member-row:hover {
    transform: none;
  }

  .dept-member-row__visual {
    width: 60px;
    height: 60px;
    border-right: none;
    overflow: hidden;
  }

  .dept-member-row__info {
    padding: 0 0 0 15px;
  }

  .dept-member-row__name {
    font-size: 0.95rem;
    white-space: normal;
  }

  .dept-member-row__role {
    font-size: 0.75rem;
    white-space: normal;
  }

  .dept-c-social-btn {
    width: 48px;
    height: 48px;
  }

  .dept-leader-dossier {
    flex-direction: column;
  }

  .dept-leader-dossier__visual {
    flex: none;
    width: 100%;
    height: 400px;
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    overflow: hidden;
  }

  .dept-leader-dossier__visual img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .dept-leader-dossier__content {
    padding: 30px 20px;
  }

  .dept-grid,
  .dept-grid--4,
  .dept-grid--3 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    width: 100%;
  }

  .dept-grid--4 .dept-service-card,
  .dept-grid--4 .dept-card,
  .dept-grid--3 .dept-service-card,
  .dept-grid--3 .dept-card {
    width: 100%;
    min-width: 0;
    min-height: 160px;
    height: auto;
    aspect-ratio: 1 / 1.1;
    margin: 0;
  }

  .dept-service-card__content {
    padding: 12px;
    align-items: flex-end;
  }

  .dept-service-card__title {
    font-size: 0.75rem;
    line-height: 1.3;
    max-width: 70%;
    word-break: break-word;
  }

  .dept-service-card__arrow {
    width: 28px;
    height: 28px;
    font-size: 0.8rem;
  }

  .dept-service-card__num {
    font-size: 1.5rem;
    top: 8px;
    right: 10px;
  }

  .dept-corner {
    display: none;
  }
}

.dept-section--tasks-modern {
  background-color: var(--color-blue-200);
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.dept-tasks-bg-glow {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 60%;
  height: 80%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(22, 41, 91, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.dept-section--tasks-modern .dept-container {
  position: relative;
  z-index: 1;
}

.dept-tasks-grid-modern {
  display: flex;
  flex-wrap: wrap;
  gap: var(--dept-gap);
}

.dept-task-card-modern {
  flex: 1 1 320px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 35px 30px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s, border-color 0.4s;
  overflow: hidden;

  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translate3d(0, 0, 0);
}

.dept-task-card-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--color-white);
  
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s ease;
}

.dept-task-card-modern:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translate3d(0, -5px, 0);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.dept-task-card-modern:hover::before {
  transform: scaleX(1);
}

.dept-task-card-modern__header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  transition: border-color 0.4s ease;
}

.dept-task-card-modern:hover .dept-task-card-modern__header {
  border-bottom-color: rgba(255, 255, 255, 0.3);
}

.dept-task-card-modern__icon {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.05);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 0;
  transition: all 0.4s ease;
}

.dept-task-card-modern:hover .dept-task-card-modern__icon {
  background: var(--color-white);
  color: var(--color-blue-200);
  transform: scale(1.1);
}

.dept-task-card-modern__num {
  font-family: monospace;
  font-size: 1.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.1);
  line-height: 1;
  transition: color 0.4s ease;
}

.dept-task-card-modern:hover .dept-task-card-modern__num {
  color: rgba(255, 255, 255, 0.5);
}

.dept-task-card-modern__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 12px 0;
  text-transform: uppercase;
  line-height: 1.3;
  letter-spacing: 0.05em;
}

.dept-task-card-modern__desc {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
  line-height: 1.6;
  font-weight: 400;
}

@media (max-width: 992px) {
  .dept-tasks-grid-modern {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  }
}

@media (max-width: 768px) {
  .dept-tasks-grid-modern {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 576px) {
  .dept-task-card-modern {
    padding: 25px 20px;
  }
  .dept-task-card-modern__icon {
    width: 44px;
    height: 44px;
  }
  .dept-task-card-modern__num {
    font-size: 1.5rem;
  }
  .dept-task-card-modern__title {
    font-size: 1rem;
  }
  .dept-task-card-modern__desc {
    font-size: 0.9rem;
  }
}

.dept-section--mission {
  background-color: var(--color-white);
}

.dept-mission-split {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 60px;
  align-items: start;
}

.dept-mission-left .dept-title {
  margin: 0;
  font-size: clamp(1.4rem, 3vw, 2rem);
  text-align: left;
}

.dept-mission-right {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.dept-mission-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: var(--color-grey-400);
  margin: 0;
}

.dept-mission-text strong {
  color: var(--color-blue-200);
  font-weight: 700;
}

@media (max-width: 992px) {
  .dept-mission-split {
    grid-template-columns: 260px 1fr;
    gap: 40px;
  }
}

@media (max-width: 768px) {
  .dept-mission-split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 576px) {
  .dept-mission-text {
    font-size: 1rem;
  }
}
.dept-tasks-bg-logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 900px;
  height: auto;
  opacity: 0.05;
  pointer-events: none;
  z-index: 0;
}

.dept-tasks-bg-logo img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width: 1200px) {
  .dept-tasks-bg-logo {
    width: 600px;
    right: -15%;
  }
}

@media (max-width: 768px) {
  .dept-tasks-bg-logo {
    width: 400px;
    right: -20%;
    top: 40%;
  }
}

.dept-section--categories {
  background-color: var(--color-white);
}

.dept-categories-grid {
  display: grid;
  gap: 20px;
}

.dept-category-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 30px;
  background-color: var(--color-white);
  border: 1px solid #e0e0e0;
  color: var(--color-blue-200);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.dept-category-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.4;
  margin-right: 15px;
  color: var(--color-blue-200);
  transition: color 0.3s ease;
}

.dept-category-card__icon {
  flex-shrink: 0;
  color: var(--color-blue-200);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.dept-category-card:hover {
  border-color: var(--color-blue-200);
  box-shadow: 0 10px 25px rgba(22, 41, 91, 0.08);
  transform: translateY(-3px);
}

.dept-category-card:hover .dept-category-card__icon {
  transform: translateX(5px);
}

@media (max-width: 768px) {
  .dept-categories-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .dept-category-card {
    padding: 20px;
  }
  
  .dept-category-card__title {
    font-size: 1rem;
  }
}


.dept-section--gallery {
  padding-bottom: 80px;
}

.dept-gallery-wrapper {
  margin-top: 40px;
  position: relative;
}

.dept-gallery-swiper {
  width: 100%;
  height: 100%;
  padding-bottom: 50px;
}

.dept-gallery-swiper .swiper-slide {
  height: 300px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.dept-gallery-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.dept-gallery-swiper .swiper-slide:hover img {
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .dept-gallery-wrapper {
    padding: 0;
  }
}

.dept-section--slider-features {
  position: relative;
}

.dept-sf-wrapper {
  margin-top: 40px;
  position: relative;
}

.dept-sf-swiper {
  width: 100%;
}

.dept-sf-swiper .swiper-slide {
  height: auto;
}

.dept-sf-card {
  display: flex;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  overflow: hidden;
  height: 100%;
}

.dept-sf-card__visual {
  flex: 0 0 35%;
  position: relative;
  min-height: 350px;
}

.dept-sf-card__visual img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.dept-sf-card__content {
  flex: 1;
  padding: 50px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.dept-sf-card__title {
  font-size: clamp(1.4rem, 2vw, 2rem);
  font-weight: 700;
  color: var(--color-white);
  margin: 0 0 20px 0;
  line-height: 1.3;
}

.dept-sf-card__desc {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1rem;
  line-height: 1.6;
}

.dept-sf-swiper .swiper-button-next,
.dept-sf-swiper .swiper-button-prev {
  color: #fff;
  background: transparent;
  width: 44px;
  height: 44px;
  margin-top: -45px;
  transition: opacity 0.3s ease;
  opacity: 0.7;
  z-index: 10;
}

.dept-sf-swiper .swiper-button-next:after,
.dept-sf-swiper .swiper-button-prev:after {
  font-size: 18px;
}

.dept-sf-swiper .swiper-button-next:hover,
.dept-sf-swiper .swiper-button-prev:hover {
  background: transparent;
  opacity: 1;
}


.dept-sf-nav-menu {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 30px;
}

.dept-sf-nav-menu .swiper-pagination-bullet {
  width: auto;
  height: auto;
  margin: 0 !important;
  opacity: 1;
  background: transparent;
  border-radius: 0;
  padding: 5px;
}

.dept-sf-nav-btn {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #fff;
  padding: 10px 20px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-family: inherit;
}

.dept-sf-nav-btn:hover {
  background: rgba(255, 255, 255, 0.15);
}

.dept-sf-nav-menu .swiper-pagination-bullet-active.dept-sf-nav-btn {
  background: var(--color-blue-100);
  border-color: var(--color-blue-100);
  color: #fff;
}

@media (max-width: 992px) {
  .dept-sf-wrapper {
    padding: 0;
  }
  .dept-sf-card {
    flex-direction: column;
  }
  .dept-sf-card__visual {
    flex: none;
    height: 300px;
    min-height: auto;
  }
  .dept-sf-card__visual img {
    position: relative;
  }
  .dept-sf-swiper .swiper-button-next,
  .dept-sf-swiper .swiper-button-prev {
    display: none;
  }
  .dept-sf-nav-menu {
    flex-wrap: nowrap;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 10px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    flex-direction: column;
  }
  .dept-sf-nav-menu::-webkit-scrollbar {
    display: none;
  }
  .dept-sf-nav-btn {
    white-space: nowrap;
  }
}

@media (max-width: 576px) {
  .dept-sf-card__content {
    padding: 30px 20px;
  }
  .dept-sf-card__visual {
    height: 220px;
  }
}

.dept-accordion-wrapper {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 30px;
}

.dept-accordion-item {
  overflow: hidden;
  background: var(--color-white);
  box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}

.dept-accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 25px;
  background: var(--color-blue-200);
  color: var(--color-white);
  border: none;
  cursor: pointer;
  text-align: left;
  transition: background 0.3s ease;
  font-family: inherit;
}

.dept-accordion-title {
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  font-weight: 600;
  padding-right: 20px;
  line-height: 1.4;
}

.dept-accordion-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  border-radius: 50%;
  width: 32px;
  height: 32px;
}

.dept-accordion-item.is-active .dept-accordion-icon {
  transform: rotate(180deg);
}

.dept-accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
  background: var(--color-white);
  color: var(--color-grey-400);
}

.dept-accordion-content-inner {
  padding: 25px;
  border-top: 1px solid rgba(22, 41, 91, 0.05);
}

@media (max-width: 576px) {
  .dept-accordion-header {
    padding: 15px 20px;
  }
  .dept-accordion-content-inner {
    padding: 20px;
  }
}