.section {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: stretch; /* important: same height for text + image */
  gap: clamp(18px, 3vw, 28px);
  padding: clamp(18px, 3vw, 26px);
  border-radius: 18px;

  background:
    linear-gradient(145deg, rgba(255,255,255,0.45), transparent 60%),
    rgba(255,255,255,0.18);
  backdrop-filter: blur(14px) saturate(160%);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  border: 1px solid rgba(255,255,255,0.55);
  box-shadow: 0 18px 46px rgba(0,0,0,0.12);
}

.section-even {
  flex-direction: row-reverse;
}

/* --- TEXT --- */
.section-left {
  flex: 1 1 50%;
  color: rgba(17,18,23,0.8);
  padding: clamp(10px, 2vw, 20px);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.section-title {
  margin: 0 0 10px;
  color: #111217;
  font-weight: 800;
  font-size: clamp(20px, 2.8vw, 28px);
  line-height: 1.15;
}
.text {
  font-size: 1rem;
  line-height: 1.65;
}
.text p { margin: 0 0 0.9em; }
.text p:last-child { margin-bottom: 0; }

/* --- IMAGE --- */
.section-right {
  flex: 1 1 50%;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 16px 40px rgba(0,0,0,0.18);
  aspect-ratio: 4 / 3;            /* 🔹 all images same ratio */
}
.section-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- BUTTON --- */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 42px;
  padding: 0 16px;
  margin-top: 12px;
  border-radius: 9999px;
  border: 1px solid rgba(0,0,0,0.08);
  background: linear-gradient(180deg, rgba(255,60,60,0.95), rgba(255,60,60,0.8));
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: transform .12s ease, opacity .2s ease, box-shadow .2s ease;
  box-shadow: 0 10px 24px rgba(0,0,0,0.12), inset 0 1px 0 rgba(255,255,255,0.5);
}
.button:hover { transform: translateY(-1px); opacity: .95; }

/* --- HOVER --- */
@media (hover:hover) {
  .section { transition: transform .2s ease, box-shadow .25s ease; }
  .section:hover { transform: translateY(-3px); box-shadow: 0 28px 60px rgba(0,0,0,0.16); }
}

/* --- RESPONSIVE --- */
@media (max-width: 980px) {
  .section,
  .section-even {
    flex-direction: column;
  }
  .section-right {
    order: -1;
    width: 100%;
    aspect-ratio: 16 / 9; /* slightly wider ratio for mobile */
  }
}
