/* Aamra Home Price List 4 */
.ahpl {
	--ahpl-brand: #cd1d20;
	--ahpl-brand-dark: #9e1417;
	--ahpl-tint: #fdeaea;
	--ahpl-ink: #1d1517;
	--ahpl-soft: #685c5e;
	--ahpl-card: #ffffff;
	--ahpl-grey: #eceef1;
	color: var(--ahpl-ink);
}

.ahpl *, .ahpl *::before, .ahpl *::after { box-sizing: border-box; }

/* Heading */
.ahpl-head { text-align: center; margin-bottom: 36px; }
.ahpl-title { margin: 0 0 10px; font-size: 32px; font-weight: 600; line-height: 1.15; color: var(--ahpl-ink); }
.ahpl-subtitle { margin: 0 auto; max-width: 560px; color: var(--ahpl-soft); font-size: 1.05rem; }

/* Grid */
.ahpl-grid {
	display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 22px;
}

/* Desktop: 3 column */
.ahpl-grid .ahpl-card {
  width: calc((100% - 44px) / 3);
}

/* Tablet: 2 column */
@media (max-width: 1024px) {
  .ahpl-grid .ahpl-card {
    width: calc((100% - 22px) / 2);
  }
}

/* Mobile: 1 column */
@media (max-width: 767px) {
  .ahpl-grid .ahpl-card {
    width: 100%;
  }
}


/* Card */
.ahpl-card {
	background: var(--ahpl-card);
	border-radius: 18px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 8px 24px rgba(29, 21, 23, .10);
	transition: transform .25s ease, box-shadow .25s ease;
	border: 1px solid #e4e4e4;
}
.ahpl-card:hover { transform: translateY(-6px); }

/* Top (white) */
.ahpl-top { position: relative; padding: 28px 24px 0; }
.ahpl-name { margin: 0 0 12px; font-size: .95rem; font-weight: 700; color: var(--ahpl-soft); line-height: 1.3; }
.ahpl-speed { display: flex; align-items: baseline; gap: 6px; line-height: 1; }
.ahpl-speed strong { font-size: 3.4rem; font-weight: 800; letter-spacing: -2px; color: var(--ahpl-ink); }
.ahpl-speed span { font-size: 1.05rem; font-weight: 700; color: var(--ahpl-brand); }

/* Wave shape: white above the curve, grey below */
.ahpl-wave {
	margin-top: 6px;
	/*background: linear-gradient(to bottom, var(--ahpl-card) 50%, var(--ahpl-grey) 50%);*/
	line-height: 0;
}
.ahpl-wave img { display: block; width: 100%; height: auto; max-width: 100%; }

/* Bottom (grey) */
.ahpl-bottom {
	flex: 1;
	display: flex;
	flex-direction: column;
	background: var(--ahpl-grey);
	padding: 14px 24px 24px;
}

.ahpl-price {
	display: flex;
	align-items: baseline;
	gap: 5px;
	padding-bottom: 18px;
	border-bottom: 1px dashed rgba(29, 21, 23, .18);
}
.ahpl-price b { font-size: 1.8rem; font-weight: 800; color: var(--ahpl-ink); }
.ahpl-price small { font-size: .88rem; color: var(--ahpl-soft); }

.ahpl-features { list-style: none; margin: 18px 0 24px; padding: 0; flex: 1; display: grid; gap: 11px; }
.ahpl-features li { display: flex; align-items: center; gap: 10px; margin: 0; font-size: .92rem; color: var(--ahpl-ink); }
.ahpl-features li::before { content: none; }

/* Tick icon */
.ahpl-tick {
	flex: 0 0 18px;
	height: 18px;
	border-radius: 50%;
	background: #121212;
	position: relative;
}
.ahpl-tick::after {
	content: "";
    position: absolute;
    left: 7px;
    top: 4px;
    width: 4px;
    height: 8px;
    border: solid #ffffff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Button */
.ahpl-btn {
	display: block;
	text-align: center;
	text-decoration: none;
	padding: 12px 16px;
	border-radius: 11px;
	font-weight: 700;
	color: #fff;
    background: var(--ahpl-brand);
	transition: background .2s, color .2s;
}
.ahpl-btn:hover, .ahpl-btn:focus { background: var(--ahpl-brand); color: #fff; opacity: 0.8;}
.ahpl-btn:focus-visible { outline: 3px solid var(--ahpl-brand); outline-offset: 3px; }

/* Highlighted package */
.ahpl-card.is-featured { outline: 3px solid var(--ahpl-brand); outline-offset: 0; }
.ahpl-card.is-featured .ahpl-btn { background: var(--ahpl-brand); color: #fff; }
.ahpl-card.is-featured .ahpl-btn:hover { background: var(--ahpl-brand-dark); }

.ahpl-badge {
	position: absolute;
	top: 16px;
	right: 16px;
	background: var(--ahpl-brand);
	color: #fff;
	font-size: .74rem;
	font-weight: 700;
	line-height: 1;
	padding: 6px 12px;
	border-radius: 999px;
}

@media (prefers-reduced-motion: reduce) {
	.ahpl-card, .ahpl-btn { transition: none; }
}
