/* ==========================================================================
   Hero Homes Mohali — /amenities page-only design system
   Scoped with the "am-" prefix so nothing here touches the shared
   home / gallery / highlights / location / contact / emi page styles.
   ========================================================================== */

.am-section {
  padding: 84px 0;
}

.am-container {
  width: min(1300px, calc(100% - 48px));
  margin: 0 auto;
}

.am-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #ED1C24;
}

.am-eyebrow::before {
  content: "";
  width: 26px;
  height: 2px;
  background: #ED1C24;
  display: inline-block;
}

/* ---------- HERO / INTRO ---------- */
.am-hero {
  background: #ffffff;
  padding: 56px 0 84px;
}

.am-hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.85fr);
  gap: 56px;
  align-items: center;
}

.am-hero h1 {
  margin: 0 0 18px;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-weight: 700;
  color: #101018;
  font-size: clamp(28px, 3.6vw, 42px);
  line-height: 1.15;
  letter-spacing: -0.2px;
}

.am-hero-lede {
  margin: 0 0 16px;
  color: #4a4a4a;
  font-size: 16.5px;
  line-height: 1.75;
}

.am-hero-lede a {
  color: #ED1C24;
  font-weight: 600;
  text-decoration: underline;
}

.am-hero-lede a:hover {
  color: #101018;
}

.am-chip-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.am-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: #f4f4f6;
  border: 1px solid #e9e9ec;
  border-radius: 999px;
  color: #101018;
  font-size: 13.5px;
  font-weight: 600;
}

.am-chip i {
  color: #ED1C24;
  font-size: 13px;
}

.am-hero-media {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(16, 16, 24, 0.16);
}

.am-hero-media img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.am-hero-tag {
  position: absolute;
  left: 20px;
  bottom: 20px;
  padding: 9px 16px;
  background: rgba(16, 16, 24, 0.68);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 12.5px;
  font-style: italic;
  border-radius: 999px;
}

/* ---------- QUICK AMENITY STRIP (reuses shared slider markup/JS) ---------- */
.amenity-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  padding: 24px 14px;
  background: #ffffff;
  border: 1px solid #e9e9ec;
  border-radius: 16px;
  box-shadow: 0 4px 14px rgba(16, 16, 24, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.amenity-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(16, 16, 24, 0.10);
}

.amenity-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(237, 28, 36, 0.08);
}

.amenity-icon img {
  width: 60%;
  height: 60%;
  filter: brightness(0) saturate(100%) invert(21%) sepia(84%) saturate(4941%) hue-rotate(346deg) brightness(94%) contrast(96%);
}

.amenity-item h4 {
  color: #101018;
  font-weight: 600;
}

.amenities-btn:hover {
  background: #ED1C24;
  color: #ffffff;
}

/* ---------- CATEGORY GRID SECTIONS ---------- */
.am-cat {
  background: #f4f4f6;
}

.am-cat + .am-cat {
  padding-top: 0;
}

.am-cat-head {
  max-width: 720px;
  margin: 0 0 40px;
}

.am-cat-head h2 {
  margin: 0 0 10px;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-weight: 700;
  color: #101018;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.2;
}

.am-cat-head p {
  margin: 0;
  color: #4a4a4a;
  font-size: 15.5px;
  line-height: 1.7;
}

.am-card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
}

.am-card {
  background: #ffffff;
  border: 1px solid #e9e9ec;
  border-radius: 18px;
  padding: 30px 26px;
  box-shadow: 0 4px 14px rgba(16, 16, 24, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.am-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 34px rgba(16, 16, 24, 0.10);
  border-color: rgba(237, 28, 36, 0.25);
}

.am-card-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(237, 28, 36, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.am-card-icon img {
  width: 26px;
  height: 26px;
  filter: brightness(0) saturate(100%) invert(21%) sepia(84%) saturate(4941%) hue-rotate(346deg) brightness(94%) contrast(96%);
}

.am-card h3 {
  margin: 0 0 10px;
  color: #101018;
  font-size: 18px;
  font-weight: 700;
}

.am-card p {
  margin: 0;
  color: #4a4a4a;
  font-size: 14.5px;
  line-height: 1.65;
}

.am-card--note {
  background: #101018;
  border-color: #101018;
}

.am-card--note h3 {
  color: #ffffff;
}

.am-card--note p {
  color: #cfd0d6;
}

/* ---------- CONTEXT / TRUST NOTE ---------- */
.am-context {
  background: #ffffff;
}

.am-context-wrap {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
}

.am-context h2 {
  margin: 0 0 16px;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-weight: 700;
  color: #101018;
  font-size: clamp(22px, 2.6vw, 28px);
}

.am-context p {
  margin: 0 0 16px;
  color: #4a4a4a;
  font-size: 15.5px;
  line-height: 1.75;
}

.am-context p a {
  color: #ED1C24;
  font-weight: 600;
  text-decoration: underline;
}

.am-context p a:hover {
  color: #101018;
}

.am-trust-note {
  margin-top: 26px;
  padding: 18px 22px;
  background: #f4f4f6;
  border: 1px solid #e9e9ec;
  border-left: 4px solid #ED1C24;
  border-radius: 10px;
  color: #4a4a4a;
  font-size: 13.5px;
  line-height: 1.6;
}

.am-trust-note strong {
  color: #101018;
}

/* ---------- FAQ ---------- */
.am-faq {
  background: #f4f4f6;
}

.am-faq-wrap {
  width: min(920px, calc(100% - 48px));
  margin: 0 auto;
}

.am-faq-wrap > .am-eyebrow,
.am-faq-wrap > h2 {
  text-align: center;
  width: 100%;
}

.am-faq-wrap > .am-eyebrow {
  display: flex;
  justify-content: center;
}

.am-faq-wrap > h2 {
  margin: 0 0 40px;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-weight: 700;
  color: #101018;
  font-size: clamp(24px, 3vw, 32px);
}

.am-faq-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.am-faq-item {
  background: #ffffff;
  border: 1px solid #e9e9ec;
  border-radius: 14px;
  padding: 22px 26px;
}

.am-faq-item h3 {
  margin: 0 0 8px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #101018;
  font-size: 16.5px;
  font-weight: 700;
}

.am-faq-item h3 i {
  flex: 0 0 auto;
  margin-top: 2px;
  color: #ED1C24;
  font-size: 14px;
}

.am-faq-item p {
  margin: 0;
  padding-left: 24px;
  color: #4a4a4a;
  font-size: 15px;
  line-height: 1.65;
}

/* ---------- CTA BANNER ---------- */
.am-cta {
  position: relative;
  background: #101018;
  overflow: hidden;
}

.am-cta::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(600px 300px at 12% 20%, rgba(237, 28, 36, 0.24), transparent 60%),
    radial-gradient(600px 300px at 88% 90%, rgba(237, 28, 36, 0.16), transparent 60%);
}

.am-cta-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  flex-wrap: wrap;
}

.am-cta-text h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(22px, 3vw, 30px);
  font-weight: 700;
}

.am-cta-text p {
  margin: 0;
  max-width: 480px;
  color: rgba(255, 255, 255, 0.72);
  font-size: 14.5px;
  line-height: 1.6;
}

.am-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 15px 30px;
  border-radius: 999px;
  border: 2px solid transparent;
  font-family: "Poppins", "Segoe UI", sans-serif;
  font-size: 15px;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease, color 0.18s ease, border-color 0.18s ease;
  white-space: nowrap;
}

.am-btn:hover {
  transform: translateY(-2px);
}

.am-btn--primary {
  background: #ED1C24;
  color: #ffffff;
  box-shadow: 0 10px 24px rgba(237, 28, 36, 0.30);
}

.am-btn--primary:hover {
  background: #C81219;
}

.am-btn--ghost-light {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.55);
  color: #ffffff;
}

.am-btn--ghost-light:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: #ffffff;
}

/* ---------- Responsive ---------- */
@media (max-width: 1080px) {
  .am-hero-grid {
    grid-template-columns: 1fr;
  }

  .am-hero-media img {
    height: 360px;
  }
}

@media (max-width: 640px) {
  .am-section {
    padding: 56px 0;
  }

  .am-hero {
    padding: 40px 0 56px;
  }

  .am-card-grid {
    grid-template-columns: 1fr;
  }

  .am-cta-wrap {
    flex-direction: column;
    align-items: flex-start;
  }
}
