/* ── Products / Service Cards Section ───────────────────────────── */

.aw-products {
  background-color: var(--color-background, #f8f9fb);
  box-sizing: border-box;
  width: 100%;
  padding-top: var(--section-pad-y, 3.75rem);
  padding-bottom: var(--section-pad-y, 3.75rem);
}

/* ── Section header ── */
.aw-products__header {
  max-width: 1500px;
  margin-inline: auto;
  padding-inline: 1rem;
  box-sizing: border-box;
  margin-bottom: 2.5rem;
  text-align: center;
}

.aw-products__label {
  font-family: 'Manrope', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #3f797a;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #3f797a;
  margin: 0 0 0.75rem 0;
  display: block;
}

.aw-products__heading {
  font-family: 'Manrope', sans-serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.3;
  color: #004d4a;
  margin: 0 0 1rem 0;
}

.aw-products__heading span {
  color: #004d4a;
  background: none;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #004d4a;
}

.aw-products__body {
  font-family: 'Manrope', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #374151;
  margin: 0 auto;
  max-width: 600px;
}

/* ── Cards container ── */
.cards-container {
  max-width: 1500px;
  margin-inline: auto;
  padding-inline: 1rem;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

/* ── Individual card ── */
.card {
  background: #ffffff;
  border-radius: 1rem;
  overflow: hidden;
  border: 1px solid rgba(209, 213, 219, 0.5);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  display: flex;
  flex-direction: column;
  padding: 0;
  transition: box-shadow 0.25s;
}

.card:hover {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.1);
}

/* ── Image wrapper ── */
.img-wrapper {
  position: relative;
  width: 100%;
  height: 320px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: none;
}

.card:hover .card-img {
  transform: none;
}

/* ── Sweep shimmer ── */
.img-wrapper::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: translateX(-100%) skewX(-20deg);
  transition: transform 0.7s ease-in-out;
  pointer-events: none;
  z-index: 1;
}

.card:hover .img-wrapper::after {
  transform: translateX(100%) skewX(-20deg);
}

/* ── Cutout corner ── */
.cutout-block {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 60px;
  height: 60px;
  background-color: #ffffff;
  border-top-left-radius: 30px;
  z-index: 2;
}

.cutout-block::before {
  content: "";
  position: absolute;
  top: -20px;
  right: 0;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 0 0, transparent 19.3px, #ffffff 20px);
}

.cutout-block::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: -20px;
  width: 20px;
  height: 20px;
  background: radial-gradient(circle at 0 0, transparent 19.3px, #ffffff 20px);
}

/* ── Arrow button (gold to match brand) ── */
.card-btn {
  position: absolute;
  bottom: 10px;
  right: 10px;
  width: 40px;
  height: 40px;
  background: #3f797a;
  border-radius: 50%;
  border: none;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 3;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.card-btn:hover {
  background: #004d4a;
  transform: scale(1.08);
}

.card-btn:focus-visible {
  outline: 3px solid rgba(63, 121, 122, 0.5);
  outline-offset: 3px;
}

.card-btn svg {
  width: 16px;
  height: 16px;
  stroke: #ffffff;
  stroke-width: 2.3;
  fill: none;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 0.3s, stroke 0.3s;
}

.card-btn:hover svg {
  stroke: #ffffff;
}

.card:hover .card-btn svg {
  transform: rotate(45deg);
}

/* ── Card text content ── */
.card-content {
  padding: 1.25rem 1.25rem 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.card-title {
  font-family: 'Manrope', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #004d4a;
  margin: 0;
}

.card-text {
  font-family: 'Manrope', sans-serif;
  font-size: 15px;
  line-height: 1.6;
  color: #374151;
  margin: 0;
}

/* ── Responsive grid ── */
@media (min-width: 640px) {
  .cards-container {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .aw-products__heading {
    font-size: 34px;
  }
}

@media (min-width: 1024px) {
  .cards-container {
    grid-template-columns: repeat(3, 1fr);
  }
}
