.merged-cards-section {
  position: relative;
  z-index: 10;
  width: 100%;
  flex-direction: column;
  align-items: center;
  margin-top: -14%;
  margin-bottom: 50px;
}
.merged-cards-section .map-under-cards {
  max-width: 100%;
  height: auto;
  z-index: 1;
  opacity: 0.3;
  position: absolute;
  bottom: 0;
  pointer-events: none;
}
.offer-cards-wrapper {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px;
  justify-items: center;
  align-items: stretch;
}
.offer-cards-wrapper .offer-card.extra {
  justify-self: center;
  grid-column: 2;
}

.offer-card {
    background: #fff;
    color: #222;
    border-radius: 10px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.2);
    width: 100%;
    max-width: 310px;
    margin: 0;
    min-height: 380px;
    padding: 2.5vw 1.8vw 1.8vw 1.8vw;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.3s, transform 0.3s, background 0.3s, color 0.3s;
    position: relative;
}
.offer-card:hover {
  background: linear-gradient(135deg, #1de782 0%, #17c1bc 100%);
  color: #fff;
  transform: translateY(-8px) scale(1.03);
}
.offer-card:hover .offer-btn {
  background: #fff;
  color: #222;
}
.offer-card:hover .icon1 { background-image: url('../../public/icon1.png'); }
.offer-card:hover .icon2 { background-image: url('../../public/icon2.png'); }
.offer-card:hover .icon3 { background-image: url('../../public/icon3.png'); }
.offer-card:hover .icon4 { background-image: url('../../public/icon4.png'); }
.offer-card:hover .icon5 { background-image: url('../../public/icon5.png'); }
.offer-card:hover .icon6 { background-image: url('../../public/icon6.png'); }
.offer-card:hover .icon7 { background-image: url('../../public/icon7.png'); }
.offer-card:hover .icon8 { background-image: url('../../public/icon8.png'); }
.offer-card:hover .icon9 { background-image: url('../../public/icon9.png'); }
.offer-card:hover .icon10 { background-image: url('../../public/icon10.png'); }

.offer-icon {
  width: 68px;
  height: 68px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
  margin-right: auto;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.offer-card h3 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 12px;
  text-align: center;
  width: 100%;
}
.offer-card p {
  font-size: 20px;
  margin-bottom: 24px;
}
.offer-btn {
  background: #17c1bc;
  color: #fff;
  border: none;
  padding: 16px 36px;
  font-size: 1.1rem;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.3s, color 0.3s;
  display: block;
  margin-left: auto;
  margin-right: auto;
  margin-top: auto;
  width: 100%;
}

.icon1 { background-image: url('../../public/icon1.1.png'); }
.icon2 { background-image: url('../../public/icon2.2.png'); }
.icon3 { background-image: url('../../public/icon3.3.png'); }
.icon4 { background-image: url('../../public/icon4.4.png'); }
.icon5 { background-image: url('../../public/icon5.5.png'); }
.icon6 { background-image: url('../../public/icon6.6.png'); }
.icon7 { background-image: url('../../public/icon7.7.png'); }
.icon8 { background-image: url('../../public/icon8.8.png'); }
.icon9 { background-image: url('../../public/icon9.9.png'); }
.icon10 { background-image: url('../../public/icon10.10.png'); }

@media (max-width: 1200px) {
  .offer-cards-wrapper {
    grid-template-columns: repeat(3, 1fr);
  }
  .offer-card {
    max-width: 260px;
    min-height: 320px;
  }
  .offer-icon {
    width: 48px;
    height: 48px;
  }
  .offer-card h3 {
    font-size: 1.1rem;
  }
  .offer-card p {
    font-size: 1rem;
  }
  .offer-btn {
    font-size: 1rem;
    padding: 12px 0;
  }
}

@media (max-width: 992px) {
  .offer-cards-wrapper {
    grid-template-columns: repeat(2, 1fr);
    max-width: 650px;
    gap: 32px;
    width: 100%;
    margin: 0 auto;
  }
  .offer-card {
    max-width: 270px;
    min-height: 310px;
  }
  .offer-icon {
    width: 54px;
    height: 54px;
  }
  .offer-card h3 {
    font-size: 1.1rem;
  }
  .offer-card p {
    font-size: 1rem;
  }
  .offer-btn {
    font-size: 1rem;
    padding: 12px 0;
  }
}

@media (max-width: 768px) {
  .offer-cards-wrapper {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 550px;
    width: 100%;
    margin: 0 auto;
  }
  .offer-card {
    max-width: 230px;
    min-height: 280px;
  }
  .offer-icon {
    width: 48px;
    height: 48px;
  }
  .offer-card h3 {
    font-size: 1.1rem;
  }
  .offer-card p {
    font-size: 1rem;
  }
  .offer-btn {
    font-size: 1rem;
    padding: 12px 0;
  }
}

@media (max-width: 600px) {
  .merged-cards-section {
    margin: 8px 0 16px 0;
    max-width: 100vw;
  }
  .merged-cards-section .map-under-cards {
    display: none;
  }
  .offer-cards-wrapper {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    align-items: stretch;
    justify-content: center;
    margin-top: 0;
    padding-left: 12px;
    padding-right: 12px;
    width: auto;
  }
  .offer-card {
    width: 100%;
    height: 100%;
    max-width: 100%;
    min-height: 290px;
    align-items: center;
    text-align: center;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    margin: 0;
    box-sizing: border-box;
    transform: none !important;
  }
  .offer-icon {
    width: 40px;
    height: 40px;
  }
  .offer-card h3 {
    font-size: 0.98rem;
    margin-bottom: 6px;
  }
  .offer-card p {
    font-size: 0.9rem;
    margin-bottom: 10px;
  }
  .offer-btn {
    padding: 8px 0;
    font-size: 0.95rem;
    width: 80%;
    border-radius: 8px;
    margin-bottom: 8px;
  }
  .offer-card:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transform: none;
  }
}