/* Grand Sofitel Club Private Limited membership page
   Reference-inspired structure with Grand Sofitel Club Private Limited branding. */

.gscm-page {
    --gscm-ink: #25272c;
    --gscm-muted: #70747d;
    --gscm-gold: #b58d52;
    --gscm-gold-dark: #8d6a36;
    --gscm-cream: #f6f3ee;
    --gscm-soft: #f4f4f4;
    --gscm-border: #e6e2db;
    --gscm-white: #fff;
    --gscm-dark: #18191c;
    background: #fff;
    color: var(--gscm-ink);
    overflow: hidden;
}

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

.gscm-page h1,
.gscm-page h2,
.gscm-page h3,
.gscm-page p { margin-top: 0; }

.gscm-page h1,
.gscm-page h2,
.gscm-page h3 {
    font-family: 'Cormorant Garamond', Georgia, serif;
    color: var(--gscm-ink);
}

.gscm-page p,
.gscm-page li,
.gscm-page a,
.gscm-page span,
.gscm-page strong { font-family: 'Inter', Arial, sans-serif; }

.gscm-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .65s ease, transform .65s ease;
    transition-delay: var(--gscm-delay, 0ms);
}
.gscm-reveal.is-visible { opacity: 1; transform: none; }

.gscm-eyebrow,
.gscm-section-label {
    margin-bottom: 12px;
    color: var(--gscm-gold-dark);
    font-size: .74rem;
    font-weight: 800;
    letter-spacing: .16em;
    text-transform: uppercase;
}

.gscm-section {
    padding: clamp(68px, 8vw, 110px) 0;
}
.gscm-section--white { background: #fff; }
.gscm-section--soft { background: #f7f7f7; }
.gscm-section--dark { background: #17181b; }

/* Banner */
.gscm-banner {
    position: relative;
    min-height: clamp(430px, 58vw, 650px);
    display: flex;
    align-items: center;
    isolation: isolate;
    background: #111;
}
.gscm-banner__image,
.gscm-banner__overlay {
    position: absolute;
    inset: 0;
    z-index: -2;
}
.gscm-banner__image {
    background: url('../images/membership-room-t2.webp') center 52% / cover no-repeat;
    transform: scale(1.02);
}
.gscm-banner__overlay {
    z-index: -1;
    background: linear-gradient(90deg, rgba(10,10,10,.88), rgba(10,10,10,.54) 52%, rgba(10,10,10,.24)),
                linear-gradient(0deg, rgba(0,0,0,.42), transparent 52%);
}
.gscm-banner__content {
    padding-top: 75px;
    padding-bottom: 70px;
}
.gscm-banner__content .gscm-eyebrow { color: #d8b679; }
.gscm-banner h1 {
    margin-bottom: 18px;
    color: #fff;
    font-size: clamp(3.8rem, 8vw, 7.6rem);
    font-weight: 600;
    line-height: .92;
    letter-spacing: -.04em;
}
.gscm-banner__content > p:not(.gscm-eyebrow) {
    max-width: 680px;
    margin-bottom: 28px;
    color: rgba(255,255,255,.86);
    font-size: clamp(1rem, 1.6vw, 1.18rem);
    line-height: 1.72;
}
.gscm-banner__actions,
.gscm-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }
.gscm-btn {
    min-height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 23px;
    border: 1px solid transparent;
    text-decoration: none;
    font-size: .85rem;
    font-weight: 750;
    transition: .25s ease;
}
.gscm-btn--gold { background: var(--gscm-gold); color: #fff; }
.gscm-btn--gold:hover { background: var(--gscm-gold-dark); color: #fff; transform: translateY(-2px); }
.gscm-btn--ghost { border-color: rgba(255,255,255,.62); color: #fff; background: rgba(255,255,255,.05); }
.gscm-btn--ghost:hover { background: #fff; color: #111; }
.gscm-btn--dark { background: #2b2b2b; color: #fff; }
.gscm-btn--dark:hover { background: #111; color: #fff; }

/* Split content sections */
.gscm-two-col {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(380px, .92fr);
    gap: clamp(42px, 7vw, 100px);
    align-items: center;
}
.gscm-two-col--reverse { grid-template-columns: minmax(380px, .92fr) minmax(0, 1fr); }
.gscm-copy h2,
.gscm-heading-row h2,
.gscm-pricing-intro h2,
.gscm-cta h2 {
    margin-bottom: 20px;
    font-size: clamp(2.55rem, 5vw, 4.6rem);
    font-weight: 600;
    line-height: .98;
    letter-spacing: -.035em;
}
.gscm-copy > p:not(.gscm-section-label) {
    margin-bottom: 18px;
    color: var(--gscm-muted);
    font-size: 1rem;
    line-height: 1.85;
}
.gscm-inline-link {
    display: inline-flex;
    gap: 9px;
    align-items: center;
    margin-top: 6px;
    color: var(--gscm-gold-dark);
    font-weight: 750;
    text-decoration: none;
}
.gscm-inline-link span { transition: transform .2s ease; }
.gscm-inline-link:hover span { transform: translateX(4px); }
.gscm-image-card {
    position: relative;
    min-height: 470px;
    overflow: hidden;
    background: #ddd;
    box-shadow: 0 18px 45px rgba(0,0,0,.10);
}
.gscm-image-card img { width: 100%; height: 100%; min-height: 470px; object-fit: cover; display: block; }
.gscm-image-card--wide { min-height: 430px; }
.gscm-image-card--wide img { min-height: 430px; }
.gscm-image-card__badge {
    position: absolute;
    left: 22px;
    bottom: 22px;
    display: grid;
    gap: 3px;
    padding: 18px 20px;
    background: rgba(255,255,255,.94);
    box-shadow: 0 12px 34px rgba(0,0,0,.12);
}
.gscm-image-card__badge strong { color: #222; font-family: 'Cormorant Garamond', serif; font-size: 1.65rem; }
.gscm-image-card__badge span { color: #686868; font-size: .76rem; }

/* Feature section */
.gscm-features-section { border-top: 1px solid var(--gscm-border); }
.gscm-heading-row {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    align-items: end;
    margin-bottom: 42px;
}
.gscm-heading-row h2 { margin-bottom: 0; }
.gscm-heading-row > p {
    max-width: 520px;
    margin: 0 0 7px;
    color: var(--gscm-muted);
    line-height: 1.7;
}
.gscm-feature-list {
    margin: 0;
    padding: 0;
    list-style: none;
    border-top: 1px solid var(--gscm-border);
}
.gscm-feature-list li {
    display: grid;
    grid-template-columns: 70px 1fr;
    align-items: center;
    min-height: 68px;
    padding: 13px 20px 13px 0;
    border-bottom: 1px solid var(--gscm-border);
    background: #fff;
}
.gscm-feature-list li:nth-child(even) { background: #fafafa; }
.gscm-feature-list li > span {
    color: var(--gscm-gold-dark);
    font-size: .75rem;
    font-weight: 800;
    letter-spacing: .08em;
}
.gscm-feature-list li p { margin: 0; color: #595d65; line-height: 1.55; }

/* Apartment category */
.gscm-heading-row--light h2 { color: #fff; }
.gscm-heading-row--light .gscm-section-label { color: #d6b678; }
.gscm-heading-row--light > p { color: rgba(255,255,255,.6); }
.gscm-apartment-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
}
.gscm-apartment-card {
    display: grid;
    grid-template-columns: minmax(240px, .92fr) minmax(0, 1fr);
    min-height: 320px;
    overflow: hidden;
    background: #fff;
}
.gscm-apartment-card__image { position: relative; min-height: 320px; overflow: hidden; }
.gscm-apartment-card__image img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .45s ease; }
.gscm-apartment-card:hover .gscm-apartment-card__image img { transform: scale(1.035); }
.gscm-apartment-card__image > span {
    position: absolute;
    top: 18px;
    left: 18px;
    display: grid;
    place-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #fff;
    color: #222;
    font-weight: 850;
}
.gscm-apartment-card__body { padding: clamp(28px, 3vw, 42px); display: flex; flex-direction: column; }
.gscm-apartment-card__body h3 { margin-bottom: 13px; font-size: 2rem; }
.gscm-apartment-card__body > p { margin-bottom: 28px; color: #686b72; line-height: 1.7; }
.gscm-apartment-card__meta {
    margin-top: auto;
    padding-top: 18px;
    border-top: 1px solid #ece8e0;
    display: flex;
    justify-content: space-between;
    gap: 20px;
    align-items: center;
}
.gscm-apartment-card__meta span { color: #878787; font-size: .78rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; }
.gscm-apartment-card__meta strong { color: #292929; }

/* Pricing */
.gscm-pricing-section { background: #efefef; }
.gscm-pricing-intro { max-width: 760px; margin: 0 auto 52px; text-align: center; }
.gscm-pricing-intro > p:not(.gscm-section-label) { color: var(--gscm-muted); line-height: 1.75; }
.gscm-season-grid {
    width: min(100%, 980px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 30px;
    align-items: start;
}
.gscm-season-card {
    background: #fff;
    border: 5px solid #fff;
    box-shadow: 0 8px 28px rgba(0,0,0,.06);
}
.gscm-season-card__head {
    padding: 31px 22px 0;
    color: #fff;
    text-align: center;
}
.gscm-season-card__head h3 {
    margin-bottom: 25px;
    color: #fff;
    font-family: 'Inter', Arial, sans-serif;
    font-size: 1rem;
    font-weight: 800;
}
.gscm-season-card--purple .gscm-season-card__head { background: #8a018c; }
.gscm-season-card--red .gscm-season-card__head { background: #f20a08; }
.gscm-season-card--grey .gscm-season-card__head { background: #8b8b8b; }
.gscm-season-card--blue .gscm-season-card__head { background: #1426ef; }
.gscm-price-block { padding-bottom: 31px; }
.gscm-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    white-space: nowrap;
}
.gscm-price sup { align-self: flex-start; margin-top: 7px; font-size: 1.55rem; font-weight: 700; }
.gscm-price strong { font-size: clamp(2.45rem, 4.7vw, 3.7rem); line-height: 1; color: #fff; }
.gscm-price span { font-size: clamp(1rem, 2.2vw, 1.7rem); font-weight: 450; }
.gscm-price-block p { margin: 10px 0 0; color: #fff; font-size: .76rem; line-height: 1.45; }
.gscm-season-card__tagline {
    margin: 0;
    padding: 17px 18px;
    text-align: center;
    color: #777;
    font-size: .65rem;
    border-bottom: 1px dashed #e7e7e7;
}
.gscm-season-card__rows { padding: 0 0 4px; }
.gscm-season-card__rows span {
    display: block;
    min-height: 48px;
    padding: 14px 12px;
    color: #676a70;
    text-align: center;
    font-size: .91rem;
    line-height: 1.35;
}
.gscm-season-card__rows span:nth-child(even) { background: #fafafa; }
.gscm-season-card__rows .is-unavailable { text-decoration: line-through; }
.gscm-season-card__buy {
    display: table;
    margin: 20px auto 27px;
    padding: 13px 26px;
    background: #3c3c3c;
    color: #fff;
    font-size: .8rem;
    font-weight: 750;
    text-decoration: none;
    transition: .2s ease;
}
.gscm-season-card--purple .gscm-season-card__buy { background: #b18a54; }
.gscm-season-card__buy:hover { transform: translateY(-2px); filter: brightness(.9); color: #fff; }

/* Bottom CTA */
.gscm-cta { padding: 72px 0; background: #fff; border-top: 1px solid var(--gscm-border); }
.gscm-cta__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
    padding: 44px clamp(28px, 5vw, 64px);
    background: var(--gscm-cream);
    border-left: 4px solid var(--gscm-gold);
}
.gscm-cta h2 { margin-bottom: 10px; font-size: clamp(2.2rem, 4vw, 3.7rem); }
.gscm-cta__inner > div:first-child > p:last-child { max-width: 650px; margin-bottom: 0; color: var(--gscm-muted); line-height: 1.7; }
.gscm-cta__actions { flex: 0 0 auto; }

@media (max-width: 1180px) {
    .gscm-apartment-card { grid-template-columns: 1fr; }
    .gscm-apartment-card__image { min-height: 240px; }
}

@media (max-width: 900px) {
    .gscm-two-col,
    .gscm-two-col--reverse { grid-template-columns: 1fr; gap: 34px; }
    .gscm-two-col--reverse .gscm-image-card { order: 2; }
    .gscm-two-col--reverse .gscm-copy { order: 1; }
    .gscm-heading-row { display: block; margin-bottom: 32px; }
    .gscm-heading-row > p { margin-top: 12px; }
    .gscm-apartment-grid { grid-template-columns: 1fr; }
    .gscm-apartment-card { grid-template-columns: minmax(220px, .8fr) 1fr; }
    .gscm-season-grid { gap: 22px; }
    .gscm-cta__inner { display: block; }
    .gscm-cta__actions { margin-top: 26px; }
}

@media (max-width: 680px) {
    .gscm-section { padding: 58px 0; }
    .gscm-banner { min-height: 510px; }
    .gscm-banner__content { padding-top: 60px; padding-bottom: 58px; }
    .gscm-banner h1 { font-size: clamp(3.35rem, 17vw, 5.1rem); }
    .gscm-banner__actions { align-items: stretch; }
    .gscm-banner__actions .gscm-btn { width: 100%; }
    .gscm-image-card,
    .gscm-image-card img,
    .gscm-image-card--wide,
    .gscm-image-card--wide img { min-height: 330px; }
    .gscm-feature-list li { grid-template-columns: 50px 1fr; padding-right: 5px; }
    .gscm-apartment-card { grid-template-columns: 1fr; }
    .gscm-apartment-card__image { min-height: 230px; }
    .gscm-season-grid { grid-template-columns: 1fr; width: min(100%, 430px); }
    .gscm-price strong { font-size: clamp(2.8rem, 14vw, 3.7rem); }
    .gscm-cta { padding: 48px 0; }
    .gscm-cta__actions .gscm-btn { width: 100%; }
}

@media (max-width: 420px) {
    .gscm-copy h2,
    .gscm-heading-row h2,
    .gscm-pricing-intro h2 { font-size: 2.45rem; }
    .gscm-image-card__badge { left: 14px; right: 14px; bottom: 14px; }
    .gscm-season-card { border-width: 4px; }
    .gscm-season-card__head { padding-left: 12px; padding-right: 12px; }
    .gscm-price { gap: 6px; }
    .gscm-price span { font-size: 1rem; }
    .gscm-season-card__rows span { font-size: .86rem; }
    .gscm-apartment-card__body { padding: 26px 22px; }
    .gscm-apartment-card__meta { display: grid; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
    .gscm-reveal { opacity: 1 !important; transform: none !important; transition: none !important; }
    .gscm-apartment-card__image img,
    .gscm-btn,
    .gscm-season-card__buy { transition: none !important; }
}

/* Holiday preference comparison */
.gscm-comparison-section {
    background: #fff;
    border-top: 1px solid var(--gscm-border);
}
.gscm-comparison-wrap {
    width: min(100%, 1210px);
    margin: 0 auto;
}
.gscm-comparison-scroll {
    width: 100%;
    overflow-x: auto;
    border: 1px solid #e4e4e4;
    background: #fff;
    box-shadow: 0 12px 34px rgba(0,0,0,.05);
    -webkit-overflow-scrolling: touch;
}
.gscm-comparison-table {
    width: 100%;
    min-width: 760px;
    border-collapse: collapse;
    table-layout: fixed;
    font-family: 'Inter', Arial, sans-serif;
}
.gscm-comparison-table th,
.gscm-comparison-table td {
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e8e8e8;
}
.gscm-comparison-table tr:last-child th,
.gscm-comparison-table tr:last-child td { border-bottom: 0; }
.gscm-comparison-table th:last-child,
.gscm-comparison-table td:last-child { border-right: 0; }
.gscm-comparison-table thead th {
    padding: 15px 10px;
    color: #fff;
    font-size: 1.08rem;
    font-weight: 800;
    text-align: center;
}
.gscm-comparison-table thead th:first-child {
    width: 55%;
    padding-left: 14px;
    background: #73a1db;
    text-align: left;
}
.gscm-comparison-table thead th.is-blue { background: #222a9e; }
.gscm-comparison-table thead th.is-white { background: #8c8c8c; }
.gscm-comparison-table thead th.is-red { background: #ab0000; }
.gscm-comparison-table thead th.is-purple { background: #8d008f; }
.gscm-comparison-table tbody th {
    padding: 12px 10px;
    color: #676a70;
    background: #fff;
    font-size: .93rem;
    font-weight: 450;
    text-align: left;
    line-height: 1.45;
}
.gscm-comparison-table tbody td {
    height: 45px;
    padding: 8px 10px;
    background: #fff;
    text-align: left;
    vertical-align: middle;
}
.gscm-comparison-table tbody tr:nth-child(even) th,
.gscm-comparison-table tbody tr:nth-child(even) td { background: #fafafa; }
.gscm-status {
    width: 16px;
    height: 16px;
    display: inline-grid;
    place-items: center;
    border-radius: 50%;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    line-height: 1;
}
.gscm-status.is-yes { background: #0a8a24; }
.gscm-status.is-no { background: #fb1111; }
.gscm-comparison-note {
    margin: 14px 0 0;
    color: #787b81;
    font-size: .78rem;
    line-height: 1.55;
}

/* Dedicated AMC block */
.gscm-amc-section { background: var(--gscm-cream); }
.gscm-amc-grid {
    width: min(100%, 980px);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 24px;
}
.gscm-amc-card {
    min-height: 190px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: clamp(26px, 4vw, 42px);
    background: #fff;
    border: 1px solid #e5ded3;
    box-shadow: 0 12px 34px rgba(0,0,0,.05);
}
.gscm-amc-card__code {
    display: inline-grid;
    place-items: center;
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #17181b;
    color: #fff;
    font-size: .78rem;
    font-weight: 850;
}
.gscm-amc-card h3 {
    margin-bottom: 6px;
    font-size: clamp(1.6rem, 3vw, 2.05rem);
}
.gscm-amc-card p {
    margin: 0;
    color: #7a7c82;
    font-size: .82rem;
}
.gscm-amc-card__price {
    flex: 0 0 auto;
    display: grid;
    text-align: right;
}
.gscm-amc-card__price strong {
    color: var(--gscm-gold-dark);
    font-family: 'Cormorant Garamond', Georgia, serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    line-height: .95;
}
.gscm-amc-card__price span {
    margin-top: 7px;
    color: #676a70;
    font-size: .82rem;
}

@media (max-width: 760px) {
    .gscm-comparison-table { min-width: 690px; }
    .gscm-comparison-table thead th:first-child { width: 52%; }
    .gscm-comparison-scroll { border-radius: 0; }
    .gscm-amc-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
    .gscm-comparison-section { padding-left: 0; padding-right: 0; }
    .gscm-comparison-section .container { width: 100%; max-width: none; padding-left: 14px; padding-right: 14px; }
    .gscm-comparison-note { padding: 0 2px; }
    .gscm-amc-card { display: grid; gap: 20px; }
    .gscm-amc-card__price { text-align: left; }
}
