/* ===================================================
   MASHTAB Elements — Plugin Styles
   =================================================== */

/* --- Icon helper --- */
.mashtab-icon-text {
  font-size: 1em;
}

.mashtab-hero-card-icon i,
.mashtab-hover-card-icon i,
.mashtab-service-icon i,
.mashtab-partner-icon i,
.mashtab-about-value .icon i,
.mashtab-process-circle i {
  font-size: 1.2em;
}

/* --- Hover Card --- */
.mashtab-hover-card {
  position: relative;
  padding: 36px;
  border-radius: 24px;
  border-style: solid;
  background: #fff;
  cursor: pointer;
  transition: all 0.3s;
}
.mashtab-hover-card:hover {
  transform: translateY(-8px);
  box-shadow: inherit;
}
.mashtab-hover-card:hover {
  box-shadow: attr(data-shadow string) !important;
}

.mashtab-hover-card-accent {
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 2px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.3s;
}
.mashtab-hover-card:hover .mashtab-hover-card-accent {
  opacity: 1;
}

.mashtab-hover-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  font-size: 24px;
}

.mashtab-hover-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #112B45;
  margin-bottom: 16px;
}
.mashtab-hover-card-desc {
  font-size: 15px;
  line-height: 1.6;
  color: #5A7A9A;
  margin: 0;
}
.mashtab-hover-card-link {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
}
.mashtab-hover-card:hover .mashtab-hover-card-link {
  opacity: 1;
}
.mashtab-hover-card-link .arrow {
  transition: transform 0.2s;
}
.mashtab-hover-card-link .arrow {
  transition: transform 0.2s;
}
.mashtab-hover-card:hover .mashtab-hover-card-link .arrow {
  transform: translateX(4px);
}

/* --- Glass Card --- */
.mashtab-hero-card-wrap {
  width: 100%;
  overflow: visible;
}
.mashtab-hero-card {
  position: relative;
  border-radius: 24px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(200, 169, 106, 0.22);
  box-shadow: 0 40px 80px rgba(10, 20, 40, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
  overflow: visible;
}
.mashtab-hero-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 40px;
  right: 40px;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(200, 169, 106, 0.44), transparent);
}
.mashtab-hero-card-glow {
  position: absolute;
  inset: 0;
  border-radius: 24px;
  filter: blur(40px);
  opacity: 0.12;
  background-color: #C8A96A;
}
.mashtab-hero-card-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C8A96A;
  margin-bottom: 8px;
}
.mashtab-hero-card-title {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 28px;
}
.mashtab-card-items {
  display: flex;
  flex-direction: column;
}
.mashtab-hero-card-item {
  display: flex;
  align-items: center;
  gap: 16px;
  cursor: pointer;
}
.mashtab-hero-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: rgba(30, 107, 90, 0.13);
  border: 1px solid rgba(30, 107, 90, 0.21);
  color: #C8A96A;
  font-size: 16px;
}
.mashtab-hero-card-item-text { flex: 1; min-width: 0; }
.mashtab-hero-card-item-label {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mashtab-hero-card-item-sub {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.42);
  margin: 0;
}
.mashtab-hero-card-arrow {
  color: #C8A96A;
  font-size: 13px;
  opacity: 0;
  transition: opacity 0.2s;
  flex-shrink: 0;
}
.mashtab-hero-card-item:hover .mashtab-hero-card-arrow { opacity: 0.5; }
.mashtab-hero-card-footer {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid rgba(200, 169, 106, 0.18);
}
.mashtab-hero-card-stats { display: flex; align-items: center; gap: 12px; }
.mashtab-hero-card-avatars { display: flex; }
.mashtab-hero-card-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 7px;
  color: #fff;
}
.mashtab-hero-card-avatar + .mashtab-hero-card-avatar { margin-left: -8px; }
.mashtab-hero-card-stats-text {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}
.mashtab-hero-card-stats-text strong { color: #fff; font-weight: 700; }
.mashtab-hero-card-dot-1 {
  position: absolute;
  bottom: 24px;
  right: 24px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #C8A96A;
  opacity: 0.4;
}
.mashtab-hero-card-dot-2 {
  position: absolute;
  bottom: 40px;
  right: 40px;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #C8A96A;
  opacity: 0.2;
}

/* --- Badge --- */
.mashtab-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #C8A96A;
  border: 1px solid rgba(200, 169, 106, 0.31);
  background: rgba(200, 169, 106, 0.07);
  margin-bottom: 24px;
}
.mashtab-hero-badge .pulse {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #C8A96A;
  animation: mashtab-elem-pulse 2s infinite;
}
@keyframes mashtab-elem-pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* --- Tags --- */
.mashtab-hero-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 40px;
}
.mashtab-hero-tag {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 500;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.75);
}

/* --- Process Step --- */
.mashtab-process-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
@media (min-width: 1024px) {
  .mashtab-process-step { align-items: flex-start; text-align: left; }
}
.mashtab-process-bubble { position: relative; margin-bottom: 28px; }
.mashtab-process-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #C8A96A;
  background: #fff;
  position: relative;
  z-index: 10;
  font-size: 20px;
  color: #112B45;
}
.mashtab-process-number {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  font-weight: 900;
  background: #112B45;
  color: #C8A96A;
  z-index: 20;
}
.mashtab-process-step-label {
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #C8A96A;
  margin-bottom: 8px;
}
.mashtab-process-step h3 {
  font-size: 18px;
  font-weight: 700;
  color: #112B45;
  margin-bottom: 12px;
}
.mashtab-process-step p {
  font-size: 14px;
  line-height: 1.6;
  color: #5A7A9A;
}

/* --- Process Line (соединительная линия) --- */
.mashtab-process-line {
  display: none;
}
@media (min-width: 1024px) {
  .mashtab-process-line {
    display: block;
    position: absolute;
    top: 32px;
    left: 48px;
    right: 48px;
    height: 1px;
    background: linear-gradient(to right, transparent 0%, rgba(200, 169, 106, 0.21) 15%, rgba(200, 169, 106, 0.21) 85%, transparent 100%);
  }
}

/* --- Glass simple wrapper --- */
.mashtab-glass-simple {
  border-radius: 24px;
  padding: 32px;
  background: rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(200, 169, 106, 0.22);
  box-shadow: 0 40px 80px rgba(10, 20, 40, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  color: #fff;
}
