/* Mustaqillik 35 — suzuvchi belgi + modal */

.gu-ind35-fab,
.gu-ind35-fab:hover,
.gu-ind35-fab:focus,
.gu-ind35-fab:focus-visible,
.gu-ind35-fab:active {
  position: fixed;
  right: 32px;
  bottom: 40px;
  z-index: 9990;
  width: 128px;
  height: 128px;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  background-image: none !important;
  background-color: transparent !important;
  -webkit-appearance: none !important;
  appearance: none !important;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: gu-ind35-float 2.8s ease-in-out infinite;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.gu-ind35-fab:hover,
.gu-ind35-fab:focus-visible {
  transform: scale(1.06);
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.35));
  animation-play-state: paused;
}

.gu-ind35-fab__img {
  display: block;
  width: 100%;
  height: 100%;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  outline: none !important;
  box-shadow: none !important;
  background: transparent !important;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  filter:
    drop-shadow(0 0 1px rgba(255, 255, 255, 1))
    drop-shadow(0 0 3px rgba(255, 255, 255, 0.95))
    drop-shadow(0 0 8px rgba(255, 255, 255, 0.85))
    drop-shadow(0 0 14px rgba(255, 255, 255, 0.65))
    drop-shadow(0 4px 10px rgba(0, 0, 0, 0.35));
}

@keyframes gu-ind35-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* Modal */
.gu-ind35-modal {
  position: fixed;
  inset: 0;
  z-index: 10060;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(1, 26, 18, 0.62);
  backdrop-filter: blur(4px);
}

.gu-ind35-modal.is-open {
  display: flex;
}

.gu-ind35-modal__wrap {
  position: relative;
  width: min(720px, calc(100% - 1rem));
  max-width: 100%;
}

.gu-ind35-modal__card {
  position: relative;
  width: 100%;
  max-height: min(92vh, 860px);
  overflow: auto;
  border-radius: 0;
  background-color: #fff;
  background-image: url("/assets/public/images/loader-back.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #1b5949;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  font-family: "SF Pro Display", "Segoe UI", sans-serif;
}

.gu-ind35-modal__card::before {
  display: none;
}

.gu-ind35-modal__banner {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  line-height: 0;
  overflow: hidden;
  border-radius: 0;
  background: #1b5949;
}

.gu-ind35-modal__banner img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: fill;
  border: 0;
}

.gu-ind35-modal__body {
  position: relative;
  z-index: 1;
  padding: 1.35rem 1.6rem 1.75rem;
  text-align: center;
}

.gu-ind35-modal__kicker {
  margin: 0 0 0.5rem;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #0c4a7a;
}

.gu-ind35-modal__title {
  margin: 0 0 0.85rem;
  font-size: clamp(1.05rem, 2.6vw, 1.35rem);
  font-weight: 800;
  line-height: 1.35;
  color: #007858;
}

.gu-ind35-modal__slogan {
  margin: 0 0 1rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.45;
  color: #007858;
}

.gu-ind35-modal__text {
  margin: 0 auto 1.1rem;
  max-width: 52ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: #23262d;
}

.gu-ind35-modal__congrats {
  margin: 0 auto 1.15rem;
  max-width: 48ch;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.45;
  color: #1b5949;
}

.gu-ind35-modal__portal {
  margin: 0 auto 1rem;
  max-width: 48ch;
  padding: 0;
  border-radius: 0;
  background: transparent;
  border: 0;
  text-align: center;
  box-shadow: none;
}

.gu-ind35-modal__portal-title {
  margin: 0 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: #007858;
}

.gu-ind35-modal__portal-text {
  margin: 0 0 0.85rem;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #3a4450;
}

.gu-ind35-modal__portal-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0.55rem 1.15rem;
  border-radius: 0;
  background: #007858;
  color: #fff !important;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none !important;
  box-shadow: 0 6px 16px rgba(0, 120, 88, 0.28);
  transition: transform 0.15s ease, filter 0.15s ease, background 0.15s ease;
}

.gu-ind35-modal__portal-btn:hover,
.gu-ind35-modal__portal-btn:focus-visible {
  background: #088868;
  transform: translateY(-1px);
  filter: brightness(1.03);
  outline: none;
}

.gu-ind35-modal__tag {
  display: inline-block;
  margin-top: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: #0c4a7a;
}

body.gu-ind35-modal-open {
  overflow: hidden;
}

@media (max-width: 575px) {
  .gu-ind35-fab {
    right: 18px;
    bottom: 28px;
    width: 104px;
    height: 104px;
  }
  .gu-ind35-modal {
    padding: 1.25rem 0.85rem;
  }
  .gu-ind35-modal__body {
    padding: 1.6rem 1.15rem 1.35rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .gu-ind35-fab,
  .gu-ind35-fab__ring {
    animation: none;
  }
}
