/* === Regions Showcase === */
.regions-module {
  margin: clamp(1.5rem, 4vw, 3.5rem) auto;
  padding: clamp(1.8rem, 4vw, 3.25rem);
  border-radius: 32px;
  background: linear-gradient(160deg, rgba(243, 247, 255, 0.95), rgba(227, 235, 249, 0.95));
  box-shadow: 0 38px 70px rgba(13, 32, 56, 0.16);
  position: relative;
  overflow: hidden;
}

.regions-module::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -20%;
  width: 240px;
  height: 240px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(92, 141, 245, 0.25), transparent 65%);
  pointer-events: none;
}

.regions-module .text--large {
  color: #102744;
  margin-bottom: clamp(0.75rem, 2vw, 1.3rem);
  position: relative;
  z-index: 1;
}

.regions-module .text--large + .text--large {
  font-size: clamp(1.05rem, 2.1vw, 1.28rem);
  color: rgba(16, 39, 68, 0.78);
  font-weight: 500;
  margin-top: -0.55rem;
  margin-bottom: clamp(1.4rem, 3vw, 2.2rem);
}

.regions-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: clamp(1.2rem, 2.4vw, 1.9rem);
}

.region-card {
  display: flex;
  flex-direction: column;
  text-decoration: none;
  background: rgba(255, 255, 255, 0.96);
  border-radius: 26px;
  border: 1px solid rgba(24, 60, 108, 0.08);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.6), 0 20px 45px rgba(15, 33, 61, 0.12);
  transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
  overflow: hidden;
  color: #1f2f43;
}

.region-card:focus-visible {
  outline: none;
  box-shadow: inset 0 0 0 2px rgba(92, 141, 245, 0.9), 0 28px 60px rgba(92, 141, 245, 0.32);
  transform: translateY(-8px);
}

.region-card:hover {
  transform: translateY(-8px);
  box-shadow: inset 0 0 0 2px rgba(76, 124, 228, 0.85), 0 32px 60px rgba(15, 33, 61, 0.18);
  color: #3f7de0;
}

.region-image-wrapper {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: rgba(12, 37, 58, 0.08);
}

.region-image-wrapper::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 25, 44, 0) 55%, rgba(8, 25, 44, 0.4) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.region-card:hover .region-image-wrapper::after,
.region-card:focus-visible .region-image-wrapper::after {
  opacity: 1;
}

.region-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.32s ease;
}

.region-card:hover .region-image-wrapper img,
.region-card:focus-visible .region-image-wrapper img {
  transform: scale(1.06);
}

.region-name {
  display: block;
  padding: clamp(0.85rem, 2vw, 1.1rem) clamp(1rem, 2vw, 1.4rem);
  font-size: clamp(0.95rem, 1.9vw, 1.05rem);
  font-weight: 600;
  text-align: center;
  color: inherit;
}

@media (max-width: 640px) {
  .regions-module {
    border-radius: 22px;
    margin: clamp(1rem, 4vw, 2rem);
    padding: clamp(1.25rem, 5vw, 2.1rem);
  }

  .regions-grid {
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: clamp(1rem, 3vw, 1.4rem);
  }

  .region-card {
    border-radius: 20px;
  }
}
