/* ══════════════════════════════════════
   EXTENDED STAY OFFERS - homepage section
   ══════════════════════════════════════
   Page-specific stylesheet for the "Extended Stay Offers" section on the
   homepage (resources/views/website/partials/extended-stay-offers.blade.php),
   loaded after gs-home.css so the brand tokens declared in that file's
   :root (--gs-navy/--gs-lagoon/--gs-gold/--gs-cream/etc.) are already
   available here - this file defines no tokens of its own, only new rules
   scoped under .gs-eso / .gs-eso-card so nothing here can leak into (or
   be affected by) any other section. The card chrome itself (image
   container, hover lift, shadow, base typography) is the existing
   .gs-prop-card component from gs-home.css - every selector below is
   additive on top of that, never a redefinition of it. */

.gs-eso {
    padding: 96px 0;
    background: var(--gs-off-white);
}

.gs-eso__eyebrow {
    font-family: 'IBM Plex Mono', monospace;
    font-variant-caps: small-caps;
}

.gs-eso__heading {
    font-family: var(--gs-font-heading);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 400;
    color: var(--gs-navy);
    margin: 0;
    letter-spacing: -.01em;
}

.gs-eso__heading em {
    font-style: italic;
    font-weight: 300;
    color: var(--gs-gold);
}

.gs-eso__subcopy {
    max-width: 560px;
    margin: 14px auto 0;
    color: var(--gs-text-muted);
    font-size: .95rem;
    line-height: 1.5;
}

.gs-eso__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.gs-eso__footer {
    text-align: center;
    margin-top: 48px;
}

.gs-eso__view-all {
    border-radius: 999px;
}

/* ---- Card additions on top of .gs-prop-card ---- */

.gs-eso-card__discount {
    position: absolute;
    top: 14px;
    right: 14px;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gs-cream);
    color: var(--gs-navy);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .02em;
    padding: 5px 12px 5px 10px;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(0,0,0,.12);
}

.gs-eso-card__discount-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--gs-gold);
    flex-shrink: 0;
}

.gs-eso-card__rate-label {
    font-size: .76rem;
    font-weight: 600;
    color: var(--gs-lagoon);
    text-transform: uppercase;
    letter-spacing: .04em;
    margin-bottom: 10px;
}

.gs-eso-card__price {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    padding-top: 14px;
    border-top: 1px solid rgba(0,0,0,.08);
}

.gs-eso-card__price-figures {
    display: flex;
    flex-direction: column;
    font-family: 'IBM Plex Mono', monospace;
}

.gs-eso-card__price-original {
    text-decoration: line-through;
    color: var(--gs-text-muted);
    font-size: .82rem;
}

.gs-eso-card__price-discounted {
    color: var(--gs-navy);
    font-size: 1.15rem;
    font-weight: 500;
    line-height: 1.3;
}

.gs-eso-card__arrow {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1.5px solid var(--gs-navy);
    color: var(--gs-navy);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    transition: var(--gs-transition);
}

.gs-eso-card__arrow i {
    transform: rotate(-45deg);
}

.gs-eso-card:hover .gs-eso-card__arrow {
    background: var(--gs-navy);
    color: var(--gs-white);
}

/* ---- Responsive ---- */

@media (max-width: 992px) {
    .gs-eso__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .gs-eso {
        padding: 64px 0;
    }
    .gs-eso__grid {
        grid-template-columns: 1fr;
    }
}
