/* Godrej Verano Amenities: a calm, light card grid — redesigned away from
   the earlier dark/rotating-orbit treatment per direct feedback that it
   read as too "techy". Reuses the site's own tokens (--sand, --ivory,
   --ocean, --coral, --serif, --sans) so it still feels native to Tidal
   Modernism, just quieter. */

.amenities-section { position: relative; padding: 60px 0 120px; background: var(--sand); overflow: hidden; }
.amenities-shell { position: relative; }
.amenities-intro { max-width: 640px; margin: 0 auto 44px; text-align: center; }
.amenities-intro .section-index { align-items: center; margin-bottom: 16px; }
.amenities-intro .section-index span:last-child { font-size: 13px; letter-spacing: .12em; }
.amenities-intro .kicker { color: var(--coral); }
.amenities-intro h2 { font-size: clamp(44px, 5.6vw, 76px); margin: 0 0 18px; color: var(--ocean); }
.amenities-intro h2 i { color: #b0788a; font-style: italic; }
.amenities-description { margin: 0 auto 32px; max-width: 1040px; text-align: center; font-size: 14px; line-height: 1.8; color: #5c4650; }

.amenities-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.amenity-card { background: var(--ivory); border: 1px solid rgba(59,36,48,.08); border-radius: 4px; padding: 34px 26px; text-align: center; box-shadow: 0 14px 34px rgba(59,36,48,.05); transition: transform .3s var(--ease-out), box-shadow .35s var(--ease-out), border-color .35s var(--ease-out); }
.amenity-card:hover { transform: translateY(-5px); box-shadow: 0 20px 44px rgba(59,36,48,.09); }
.amenity-icon { display: flex; align-items: center; justify-content: center; width: 64px; height: 64px; margin: 0 auto 20px; border-radius: 50%; background: rgba(120,46,93,.09); color: var(--ocean); }
.amenity-icon svg { width: 26px; height: 26px; }
.amenity-card h3 { margin: 0 0 10px; font: 400 20px var(--serif); letter-spacing: -.01em; color: var(--ocean); }
.amenity-card p { margin: 0; font-size: 12.5px; line-height: 1.7; color: #8a6d72; }

/* ---------- Hover reveal: icon + title only at rest, description
   surfaces on hover as the icon yields its space. Scoped to devices with
   real hover so touch users always see the full card. ---------- */
@media (hover: hover) and (pointer: fine) {
  .amenity-card { display: flex; flex-direction: column; justify-content: center; align-items: center; min-height: 248px; }
  .amenity-icon { overflow: hidden; max-height: 64px; transition: opacity .35s var(--ease-out), transform .35s var(--ease-out), margin .35s var(--ease-out), max-height .35s var(--ease-out); }
  .amenity-card h3 { transition: margin .35s var(--ease-out); }
  .amenity-card p { max-height: 0; opacity: 0; overflow: hidden; transition: opacity .3s var(--ease-out) .05s, max-height .4s var(--ease-out); }

  .amenity-card:hover { box-shadow: 0 26px 54px rgba(120,46,93,.3), 0 0 0 1px rgba(209,86,143,.22); border-color: rgba(120,46,93,.25); }
  .amenity-card:hover .amenity-icon { opacity: 0; transform: scale(.5); margin-bottom: 0; max-height: 0; }
  .amenity-card:hover h3 { margin-bottom: 8px; }
  .amenity-card:hover p { max-height: 120px; opacity: 1; }
}

.amenities-cta { display: flex; justify-content: center; margin-top: 56px; }

@media (max-width: 1000px) {
  .amenities-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
}

@media (max-width: 650px) {
  .amenities-section { padding: 50px 0 90px; }
  .amenities-intro { margin-bottom: 32px; }
  .amenities-intro .section-index span:last-child { font-size: 11px; }
  .amenities-grid { grid-template-columns: 1fr; gap: 14px; }
  .amenity-card { padding: 28px 22px; }
  .amenities-cta { margin-top: 40px; }
}

@media (prefers-reduced-motion: reduce) {
  .amenity-card, .amenity-icon, .amenity-card h3, .amenity-card p { transition: none; }
}
