/* ═══════════════════════════════════════════════
   GraceStays – Luxury Homepage
   Navy: #1a1a2e  ·  Gold: #b8922a
   ═══════════════════════════════════════════════ */

:root {
    --gs-navy: #1a1a2e;
    --gs-navy-deep: #12121f;
    --gs-navy-light: #222240;
    --gs-gold: #b8922a;
    --gs-gold-light: #d4ad3a;
    --gs-gold-pale: rgba(184, 146, 42, .12);
    --gs-white: #ffffff;
    --gs-off-white: #f8f7f4;
    --gs-text: #2d2d3a;
    --gs-text-muted: #6b6b7b;
    --gs-radius: 8px;
    --gs-radius-lg: 16px;
    --gs-shadow: 0 4px 24px rgba(0,0,0,.08);
    --gs-shadow-lg: 0 12px 48px rgba(0,0,0,.12);
    --gs-transition: .3s cubic-bezier(.4,0,.2,1);
}

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

/* ── Container ── */
.gs-container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ══════════════════════════════════════
   1. SEARCH BAR
   ══════════════════════════════════════ */
.gs-search {
    background: var(--gs-navy);
    padding: 0;
    position: relative;
    z-index: 10;
}
.gs-search__inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 20px 24px 24px;
}
.gs-search__tabs {
    display: flex;
    justify-content: center;
    gap: 0;
    margin-bottom: 16px;
}
.gs-search__tab {
    background: transparent;
    border: none;
    color: rgba(255,255,255,.5);
    font-size: .9rem;
    font-weight: 500;
    padding: 10px 20px;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: var(--gs-transition);
    letter-spacing: .02em;
}
.gs-search__tab:hover {
    color: rgba(255,255,255,.8);
}
.gs-search__tab.is-active {
    color: var(--gs-gold);
    border-bottom-color: var(--gs-gold);
}
.gs-search__form {
    display: flex;
    align-items: stretch;
    gap: 0;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: var(--gs-radius);
    overflow: hidden;
}
.gs-search__fields {
    display: flex;
    flex: 1;
}
.gs-search__field {
    flex: 1;
    padding: 14px 20px;
    border-right: 1px solid rgba(255,255,255,.08);
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.gs-search__field:last-child {
    border-right: none;
}
.gs-search__field label {
    display: block;
    font-size: .7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .1em;
    color: var(--gs-gold);
    margin-bottom: 4px;
}
.gs-search__field .form-control,
.gs-search__field select,
.gs-search__field input {
    background: transparent;
    border: none;
    color: var(--gs-white);
    font-size: .9rem;
    padding: 0;
    outline: none;
    width: 100%;
}
.gs-search__field input::placeholder {
    color: rgba(255,255,255,.4);
}
.gs-search__field .select2-container--default .select2-selection--single {
    background: transparent;
    border: none;
    height: auto;
}
.gs-search__field .select2-container--default .select2-selection--single .select2-selection__rendered {
    color: rgba(255,255,255,.7);
    padding: 0;
    line-height: 1.4;
    font-size: .9rem;
}
.gs-search__field .select2-container--default .select2-selection--single .select2-selection__arrow {
    display: none;
}
.gs-search__btn {
    background: var(--gs-gold);
    color: var(--gs-navy);
    border: none;
    padding: 14px 36px;
    font-size: .95rem;
    font-weight: 700;
    letter-spacing: .04em;
    cursor: pointer;
    transition: var(--gs-transition);
    white-space: nowrap;
    text-transform: uppercase;
}
.gs-search__btn:hover {
    background: var(--gs-gold-light);
}

/* Search mobile */
@media (max-width: 768px) {
    .gs-search__form {
        flex-direction: column;
    }
    .gs-search__fields {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .gs-search__field {
        border-right: none;
        border-bottom: 1px solid rgba(255,255,255,.08);
        padding: 12px 16px;
    }
    .gs-search__field:nth-child(odd) {
        border-right: 1px solid rgba(255,255,255,.08);
    }
    .gs-search__btn {
        padding: 16px;
        font-size: 1rem;
    }
    .gs-search__tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .gs-search__tab {
        font-size: .8rem;
        padding: 8px 14px;
        white-space: nowrap;
    }
}

/* ══════════════════════════════════════
   2. HERO
   ══════════════════════════════════════ */
.gs-hero {
    position: relative;
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.gs-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.gs-hero__bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gs-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(26,26,46,.7) 0%,
        rgba(26,26,46,.5) 40%,
        rgba(26,26,46,.8) 100%
    );
    z-index: 1;
}
.gs-hero__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 80px 24px;
}
.gs-hero__content h1 {
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 300;
    color: var(--gs-white);
    line-height: 1.15;
    margin: 0 0 20px;
    letter-spacing: -.01em;
}
.gs-hero__content h1 em {
    font-style: italic;
    color: var(--gs-gold);
    font-weight: 400;
}
.gs-hero__subtitle {
    font-size: clamp(1rem, 1.8vw, 1.2rem);
    color: rgba(255,255,255,.7);
    margin: 0 0 40px;
    line-height: 1.6;
    font-weight: 300;
}
.gs-hero__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Buttons */
.gs-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 32px;
    font-size: .95rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--gs-transition);
    cursor: pointer;
    border: none;
    letter-spacing: .03em;
}
.gs-btn--gold {
    background: var(--gs-gold);
    color: var(--gs-navy);
}
.gs-btn--gold:hover {
    background: var(--gs-gold-light);
    transform: translateY(-1px);
    box-shadow: 0 4px 20px rgba(184,146,42,.3);
}
.gs-btn--outline {
    background: transparent;
    color: var(--gs-white);
    border: 1.5px solid var(--gs-white);
}
.gs-btn--outline:hover {
    border-color: var(--gs-white);
    color: var(--gs-white);
    background: rgba(255,255,255,.06);
}
.gs-btn--outline-dark {
    background: transparent;
    color: var(--gs-navy);
    border: 1.5px solid var(--gs-navy);
}
.gs-btn--outline-dark:hover {
    background: var(--gs-navy);
    color: var(--gs-white);
}
.gs-btn--lg {
    padding: 16px 40px;
    font-size: 1rem;
}

/* ══════════════════════════════════════
   3. TRUST BAR
   ══════════════════════════════════════ */
.gs-trust {
    background: var(--gs-off-white);
    padding: 48px 0;
    border-bottom: 1px solid rgba(0,0,0,.05);
}
.gs-trust__grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    max-width: 1000px;
    margin: 0 auto;
}
.gs-trust__item {
    text-align: center;
    padding: 0 36px;
    flex-shrink: 0;
}
.gs-trust__item strong {
    display: block;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gs-navy);
    line-height: 1.2;
}
.gs-trust__item span {
    display: block;
    font-size: .82rem;
    color: var(--gs-text-muted);
    margin-top: 4px;
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 500;
}
.gs-trust__item--gold strong {
    color: var(--gs-gold);
}
.gs-trust__divider {
    width: 1px;
    height: 40px;
    background: rgba(0,0,0,.1);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .gs-trust__grid {
        flex-wrap: wrap;
        gap: 20px 0;
    }
    .gs-trust__item {
        flex: 0 0 50%;
        padding: 8px 0;
    }
    .gs-trust__divider {
        display: none;
    }
}

/* ══════════════════════════════════════
   4. SECTION HEADERS
   ══════════════════════════════════════ */
.gs-section-header {
    text-align: center;
    margin-bottom: 48px;
}
.gs-eyebrow {
    display: inline-block;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: var(--gs-gold);
    margin-bottom: 12px;
}
.gs-section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 300;
    color: var(--gs-navy);
    margin: 0;
    letter-spacing: -.01em;
}
.gs-section-header--light h2 {
    color: var(--gs-white);
}

/* ══════════════════════════════════════
   5. FEATURED PROPERTIES
   ══════════════════════════════════════ */
.gs-featured {
    padding: 96px 0;
    background: var(--gs-white);
}
.gs-featured__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.gs-prop-card {
    background: var(--gs-white);
    border-radius: var(--gs-radius-lg);
    overflow: hidden;
    box-shadow: var(--gs-shadow);
    text-decoration: none;
    color: var(--gs-text);
    transition: var(--gs-transition);
    display: flex;
    flex-direction: column;
}
.gs-prop-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--gs-shadow-lg);
}
.gs-prop-card__img {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: #1c2a40;
    min-height: 220px;
}
.gs-prop-card__img img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s ease;
    color: transparent;
}
.gs-prop-card:hover .gs-prop-card__img img {
    transform: scale(1.05);
}
.gs-prop-card__badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: var(--gs-navy);
    color: var(--gs-gold);
    font-size: .7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    padding: 5px 12px;
    border-radius: 4px;
    z-index: 1;
}
.gs-prop-card__body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.gs-prop-card__meta {
    font-size: .78rem;
    color: var(--gs-text-muted);
    margin-bottom: 8px;
    font-weight: 500;
}
.gs-prop-card__body h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gs-navy);
    margin: 0 0 8px;
    line-height: 1.3;
}
.gs-prop-card__desc {
    font-size: .85rem;
    color: var(--gs-text-muted);
    line-height: 1.5;
    margin: 0 0 12px;
}
.gs-prop-card__price {
    margin-top: auto;
    font-size: .9rem;
    color: var(--gs-text-muted);
    padding-top: 12px;
    border-top: 1px solid rgba(0,0,0,.06);
}
.gs-prop-card__price strong {
    color: var(--gs-navy);
    font-size: 1.05rem;
}
.gs-featured__footer {
    text-align: center;
    margin-top: 48px;
}
.gs-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
}
.gs-empty p {
    color: var(--gs-text-muted);
    margin-bottom: 20px;
}

@media (max-width: 992px) {
    .gs-featured__grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .gs-featured__grid { grid-template-columns: 1fr; }
    .gs-featured { padding: 64px 0; }
}

/* ══════════════════════════════════════
   6. AREAS
   ══════════════════════════════════════ */
.gs-areas {
    padding: 96px 0;
    background: var(--gs-off-white);
}
.gs-areas__grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-auto-rows: 260px;
    gap: 16px;
}
.gs-area-card {
    position: relative;
    border-radius: var(--gs-radius-lg);
    overflow: hidden;
    display: block;
    text-decoration: none;
}
.gs-area-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .6s ease;
}
.gs-area-card:hover img {
    transform: scale(1.06);
}
.gs-area-card__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.80) 40%,
        rgba(0, 0, 0, 0.50) 70%,
        rgba(0, 0, 0, 0.25) 100%
    );
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 24px 22px 20px;
}
.gs-area-card__overlay h3 {
    color: #ffffff;
    font-size: 1.25rem;
    font-weight: 700;
    margin: 0 0 4px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.9);
    line-height: 1.2;
}
.gs-area-card__overlay p {
    color: rgba(255,255,255,0.9);
    font-size: 0.85rem;
    margin: 0 0 10px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.9);
    line-height: 1.4;
}
.gs-area-card__cta {
    color: #C9A84C;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
}

@media (max-width: 768px) {
    .gs-areas__grid {
        grid-template-columns: 1fr 1fr;
        grid-auto-rows: 200px;
    }
    .gs-areas { padding: 64px 0; }
}
@media (max-width: 480px) {
    .gs-areas__grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   7. OWNER SECTION
   ══════════════════════════════════════ */
.gs-owner {
    padding: 0;
    overflow: hidden;
}
.gs-owner__layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 600px;
}
.gs-owner__copy {
    background: var(--gs-navy);
    padding: 80px 64px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.gs-owner__copy .gs-eyebrow {
    color: var(--gs-gold);
}
.gs-owner__copy h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 300;
    color: var(--gs-white);
    margin: 12px 0 24px;
    line-height: 1.2;
}
.gs-owner__features {
    list-style: none;
    padding: 0;
    margin: 0 0 32px;
}
.gs-owner__features li {
    position: relative;
    padding-left: 24px;
    color: rgba(255,255,255,.8);
    font-size: .95rem;
    line-height: 1.8;
}
.gs-owner__features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--gs-gold);
}
.gs-owner__actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}
.gs-owner__stats-panel {
    background: var(--gs-navy-deep);
    padding: 80px 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.gs-owner__stats-panel h3 {
    color: rgba(255,255,255,.5);
    font-size: .8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .12em;
    margin: 0 0 28px;
}
.gs-owner__stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.gs-owner__stat-card {
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.08);
    border-radius: var(--gs-radius);
    padding: 24px 20px;
    text-align: center;
}
.gs-owner__stat-card strong {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--gs-gold);
    margin-bottom: 6px;
}
.gs-owner__stat-card span {
    font-size: .78rem;
    color: rgba(255,255,255,.5);
    text-transform: uppercase;
    letter-spacing: .06em;
    font-weight: 500;
}
.gs-owner__testimonial {
    margin-top: 28px;
    font-size: .9rem;
    color: rgba(255,255,255,.5);
    font-style: italic;
    line-height: 1.6;
}

@media (max-width: 992px) {
    .gs-owner__layout { grid-template-columns: 1fr; }
    .gs-owner__copy { padding: 64px 32px; }
    .gs-owner__stats-panel { padding: 48px 32px; }
}

/* ══════════════════════════════════════
   8. QUOTE STRIP
   ══════════════════════════════════════ */
.gs-quote {
    background: var(--gs-gold);
    padding: 56px 24px;
    text-align: center;
}
.gs-quote blockquote {
    max-width: 700px;
    margin: 0 auto;
    font-size: clamp(1.15rem, 2vw, 1.5rem);
    font-weight: 400;
    font-style: italic;
    color: var(--gs-navy);
    line-height: 1.6;
}
.gs-quote cite {
    display: block;
    margin-top: 16px;
    font-size: .85rem;
    font-style: normal;
    font-weight: 600;
    color: var(--gs-navy-deep);
    letter-spacing: .03em;
}

/* ══════════════════════════════════════
   9. HOW IT WORKS
   ══════════════════════════════════════ */
.gs-steps {
    padding: 96px 0;
    background: var(--gs-white);
}
.gs-steps__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    max-width: 1100px;
    margin: 0 auto;
}
.gs-step {
    text-align: center;
    padding: 32px 16px;
}
.gs-step__num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--gs-gold-pale);
    color: var(--gs-gold);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
}
.gs-step h3 {
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--gs-navy);
    margin: 0 0 10px;
}
.gs-step p {
    font-size: .88rem;
    color: var(--gs-text-muted);
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 768px) {
    .gs-steps__grid { grid-template-columns: 1fr 1fr; gap: 20px; }
    .gs-steps { padding: 64px 0; }
}
@media (max-width: 480px) {
    .gs-steps__grid { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════
   10. FOOTER CTA
   ══════════════════════════════════════ */
.gs-cta {
    background: var(--gs-navy);
    padding: 96px 24px;
    text-align: center;
}
.gs-cta h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 300;
    color: var(--gs-white);
    margin: 0 0 16px;
}
.gs-cta p {
    color: rgba(255,255,255,.6);
    font-size: 1.05rem;
    margin: 0 0 36px;
    line-height: 1.6;
}
.gs-cta__actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ══════════════════════════════════════
   11. UTILITIES & OVERRIDES
   ══════════════════════════════════════ */
.gs-btn--outline-light {
    background: transparent;
    color: var(--gs-white);
    border: 1.5px solid rgba(255,255,255,.3);
}
.gs-btn--outline-light:hover {
    border-color: var(--gs-white);
    background: rgba(255,255,255,.06);
    color: var(--gs-white);
}