html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  min-height: 100%;
}

body {
  overflow-x: hidden;
  background: #e5edf2;
}

.eurosystem-header {
  position: relative !important;
  width: 100%;
  z-index: 100000 !important;
}

.eurosystem-header nav {
  position: relative !important;
  z-index: 100000 !important;
}

.eurosystem-manugino-layer {
  position: fixed;
  inset: 0;
  z-index: 99990;
  pointer-events: none;
}

.eurosystem-manugino-content {
  position: relative;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

.eurosystem-manugino-content > *,
.eurosystem-manugino-content button,
.eurosystem-manugino-content a,
.eurosystem-manugino-content .btn,
.eurosystem-manugino-content [role="button"] {
  pointer-events: auto;
}

.eurosystem-home {
  position: relative;
  width: 100%;
  min-height: calc(100vh - 90px);
  overflow: hidden;
  background: #e5edf2;
}

.home-background {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-image: linear-gradient(135deg, rgba(231, 239, 244, 0.88), rgba(220, 232, 240, 0.70)), url("/img/slider_img_1.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  filter: saturate(65%);
}

.home-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(235, 243, 248, 0.96) 0%, rgba(235, 243, 248, 0.78) 42%, rgba(225, 237, 244, 0.48) 100%);
}

.home-pattern {
  position: absolute;
  inset: 0;
  z-index: 2;
  opacity: 0.38;
  background-image: linear-gradient(30deg, rgba(20, 90, 141, 0.035) 12%, transparent 12.5%, transparent 87%, rgba(20, 90, 141, 0.035) 87.5%, rgba(20, 90, 141, 0.035)), linear-gradient(150deg, rgba(20, 90, 141, 0.035) 12%, transparent 12.5%, transparent 87%, rgba(20, 90, 141, 0.035) 87.5%, rgba(20, 90, 141, 0.035));
  background-size: 100px 173px, 100px 173px;
  background-position: 0 0, 50px 86px;
}

.home-blue-shape {
  position: absolute;
  z-index: 3;
  right: -12%;
  top: -25%;
  width: 48%;
  height: 145%;
  background: linear-gradient(135deg, rgba(20, 90, 141, 0.015), rgba(20, 90, 141, 0.11));
  transform: rotate(10deg);
  border-left: 1px solid rgba(255, 255, 255, 0.25);
}

.home-wave {
  position: absolute;
  z-index: 4;
  left: -10%;
  bottom: -150px;
  width: 120%;
  height: 280px;
  pointer-events: none;
  background: linear-gradient(90deg, rgba(20, 90, 141, 0), rgba(20, 90, 141, 0.025), rgba(20, 90, 141, 0.09));
  border-radius: 50% 50% 0 0 / 80% 80% 0 0;
  transform: rotate(-3deg);
}

.home-wave::before {
  content: "";
  position: absolute;
  left: -5%;
  top: -45px;
  width: 110%;
  height: 120px;
  border-top: 1px solid rgba(20, 90, 141, 0.10);
  border-radius: 50%;
}

.home-circle {
  position: absolute;
  z-index: 3;
  border-radius: 50%;
  border: 1px solid rgba(20, 90, 141, 0.065);
  background: rgba(20, 90, 141, 0.018);
}

.home-circle-one {
  width: 650px;
  height: 650px;
  left: -420px;
  top: -330px;
}

.home-circle-two {
  width: 600px;
  height: 600px;
  right: -400px;
  bottom: -350px;
}

.home-content {
  position: relative;
  z-index: 10;
  min-height: calc(100vh - 90px);
  display: flex;
  align-items: center;
  padding: 60px 7% 90px;
}

.home-inner {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
  text-align: left;
}

.home-welcome {
  max-width: 680px;
  margin-bottom: 42px;
}

.home-welcome-label {
  display: flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 16px;
  color: #145a8d;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.home-welcome-label::before {
  content: "";
  width: 32px;
  height: 2px;
  border-radius: 10px;
  background: linear-gradient(90deg, #145a8d, rgba(20, 90, 141, 0.15));
}

.home-welcome h1 {
  margin: 0 0 10px;
  color: #263746;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 600;
  line-height: 1.12;
  letter-spacing: -1px;
}

.home-welcome h1 span {
  color: #287cad;
}

.home-welcome p {
  margin: 0;
  max-width: 580px;
  color: #687d8d;
  font-size: 0.95rem;
  line-height: 1.65;
}

.home-shortcuts {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 16px;
  max-width: 1050px;
}

.home-shortcut {
  position: relative;
  min-height: 145px;
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  text-decoration: none !important;
  border: 1px solid rgba(255, 255, 255, 0.90);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.86);
  box-shadow: 0 15px 35px rgba(30, 65, 85, 0.09);
  backdrop-filter: blur(8px);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.home-shortcut:hover {
  transform: translateY(-5px);
  border-color: rgba(43, 131, 184, 0.30);
  box-shadow: 0 20px 42px rgba(30, 65, 85, 0.15);
}

.shortcut-icon {
  width: 43px;
  height: 43px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  color: #145a8d;
  background: #eef6fa;
  border: 1px solid #dceaf1;
  font-size: 1.05rem;
}

.shortcut-content {
  margin-top: 16px;
}

.shortcut-title {
  display: block;
  color: #2e4050;
  font-size: 0.82rem;
  font-weight: 650;
}

.shortcut-description {
  display: block;
  margin-top: 4px;
  color: #8999a5;
  font-size: 0.67rem;
  line-height: 1.35;
}

.shortcut-arrow {
  position: absolute;
  right: 17px;
  bottom: 17px;
  color: #8ba3b3;
  font-size: 0.75rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.home-shortcut:hover .shortcut-arrow {
  color: #145a8d;
  transform: translateX(4px);
}

.home-messages {
  position: relative;
  z-index: 20;
  width: 100%;
  max-width: 1250px;
  margin: 20px auto 0;
  padding: 0 7%;
}

.home-messages .alert {
  border: none;
  border-radius: 10px;
  box-shadow: 0 8px 25px rgba(30, 65, 85, 0.08);
}

.home-company {
  position: absolute;
  z-index: 15;
  left: 7%;
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  opacity: 0.72;
}

.home-company img {
  width: 125px;
  height: auto;
  object-fit: contain;
}

.home-company-line {
  width: 1px;
  height: 25px;
  background: rgba(52, 68, 84, 0.20);
}

.home-company-text {
  color: rgba(52, 68, 84, 0.55);
  font-size: 0.60rem;
  line-height: 1.4;
}

.home-news {
  position: relative;
  z-index: 30;
}

@media (max-width: 1100px) {
  .home-shortcuts {
    grid-template-columns: repeat(3, minmax(150px, 1fr));
  }
}

@media (max-width: 768px) {
  .home-content {
    min-height: calc(100vh - 70px);
    align-items: flex-start;
    padding: 45px 22px 100px;
  }

  .home-inner {
    max-width: 100%;
  }

  .home-welcome {
    margin-top: 20px;
    margin-bottom: 30px;
  }

  .home-welcome h1 {
    font-size: 2rem;
  }

  .home-welcome p {
    font-size: 0.82rem;
  }

  .home-shortcuts {
    grid-template-columns: repeat(2, minmax(140px, 1fr));
    gap: 12px;
  }

  .home-shortcut {
    min-height: 130px;
    padding: 18px;
  }

  .home-company {
    left: 22px;
    bottom: 20px;
  }

  .home-company img {
    width: 100px;
  }
}

@media (max-width: 450px) {
  .home-shortcuts {
    grid-template-columns: 1fr;
  }

  .home-shortcut {
    min-height: 105px;
  }

  .home-company {
    display: none;
  }

  .home-blue-shape {
    right: -45%;
    width: 80%;
  }
}
