/* ══════════════════════════════════════════════════════════
   AMENITIES.CSS — Amenities-page-only styles for Forge47
   Depends on: style.css (must be loaded first)
   Covers: hero (optimize variant), amenities icon grid
   ══════════════════════════════════════════════════════════ */

/* ══════════════════════════════════════════════════════════
   HERO — dark image, centered "Optimize Your Life" lockup
   reusing the .optimize-title treatment from the homepage CTA
   ══════════════════════════════════════════════════════════ */
.hero.amenities-hero .hero-content {
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 24px;
}

.hero.amenities-hero .hero-overlay {
    background: linear-gradient(
        to bottom,
        rgba(15, 14, 12, 0.15) 0%,
        rgba(15, 14, 12, 0.35) 55%,
        rgba(15, 14, 12, 0.82) 100%
    );
}

.hero.amenities-hero .hero-title {
    font-family: 'Horizon', sans-serif;
    font-size: clamp(2.5rem, 8vw, 6.4rem);
    line-height: 0.98;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: var(--gold);
    text-shadow: 0 4px 40px rgba(0, 0, 0, 0.45);
    margin-bottom: 28px;
    animation: heroFadeUp 1s ease 0.2s both;
}

.hero.amenities-hero .hero-tagline {
    max-width: 620px;
    animation: heroFadeUp 1s ease 0.3s both;
}

.hero.amenities-hero .hero-tagline p {
    font-family: 'Jost', sans-serif;
    font-weight: 300;
    font-size: 1.3rem;
    line-height: 1.6;
    color: rgba(239, 240, 241, 0.92);
}


/* ══════════════════════════════════════════════════════════
   AMENITIES GRID
   ══════════════════════════════════════════════════════════ */
.amenities {
    background: var(--obsidian);
    padding: 100px 24px 110px;
}

.amenities-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 48px;
    row-gap: 68px;
    max-width: 1080px;
    margin: 0 auto;
}

.amenity {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 22px;
}

.amenity-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 56px;
}
.amenity-icon svg,
.amenity-icon img {
    width: auto;
    height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.amenity-icon svg {
    stroke: var(--gold);
    fill: none;
    stroke-width: 1.15;
    stroke-linecap: round;
    stroke-linejoin: round;
    overflow: visible;
}

.amenity-name {
    font-family: 'Forum', serif;
    font-size: 1.28rem;
    font-weight: 500;
    letter-spacing: 0.02em;
    color: var(--frost);
    line-height: 1.3;
}


/* ══════════════════════════════════════════════════════════
   TABLET RESPONSIVE — 769px to 1024px
   ══════════════════════════════════════════════════════════ */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero.amenities-hero .hero-content { padding: 0 32px; }
    .hero.amenities-hero .hero-tagline p { font-size: 1.2rem; }

    .amenities { padding: 80px 32px 90px; }
    .amenities-grid { column-gap: 36px; row-gap: 56px; }
    .amenity-name { font-size: 1.15rem; }
}


/* ══════════════════════════════════════════════════════════
   MOBILE RESPONSIVE — max-width: 768px
   ══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
    .hero.amenities-hero .hero-content { padding: 0 22px; }
    .hero.amenities-hero .hero-title { margin-bottom: 20px; }
    .hero.amenities-hero .hero-tagline p { font-size: 1.05rem; }

    .amenities { padding: 60px 20px 64px; }
    .amenities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 24px;
        row-gap: 44px;
    }
    .amenity-icon { height: 46px; }
    .amenity-name { font-size: 1.02rem; }
}

@media (max-width: 480px) {
    .amenities-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 18px;
        row-gap: 38px;
    }
    .amenity-icon { height: 40px; }
    .amenity-name { font-size: 0.92rem; }
}