/* =====================================================
   Ilika — New Page Styles
   Palette: ink #224083 · paper #F5F2EC · accent #1b8e31
   Font:    Inter (all weights)
===================================================== */

html { scroll-behavior: smooth; }
html, body { overflow-x: hidden; max-width: 100%; }
body { position: relative; font-family: 'Inter', sans-serif; }

/* ---------- Header scroll state ---------- */
#header {
    background-color: rgba(245, 242, 236, 0.95);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(26, 26, 26, 0.06);
}
#header.scrolled {
    background-color: rgba(245, 242, 236, 0.98);
    backdrop-filter: blur(14px);
    box-shadow: 0 1px 0 rgba(26, 26, 26, 0.12);
}

/* ---------- Nav links ---------- */
.nav-dot {
    position: relative;
    color: #000000;
    transition: color 0.25s ease;
}
.nav-dot::before {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background: #1b8e31;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform 0.3s ease;
}
.nav-dot:hover { color: #000000; }
.nav-dot:hover::before { transform: scaleX(1); }

/* ---------- Feature chips (story section) ---------- */
.feature-chip {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    background: #ffffff;
    border: 1px solid rgba(26, 26, 26, 0.08);
    transition: border-color 0.25s ease, background 0.25s ease;
    position: relative;
}
.feature-chip i {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F2EC;
    color: #000000;
    font-size: 1.1rem;
    transition: background 0.25s ease, color 0.25s ease;
}
.feature-chip:hover {
    border-color: #1b8e31;
}
.feature-chip:hover i {
    background: #1b8e31;
    color: #ffffff;
}

/* ---------- Nearby cards (location section) ---------- */
.nearby-card {
    background: #ffffff;
    border: 1px solid rgba(26, 26, 26, 0.08);
    border-left: 3px solid #1b8e31;
    padding: 1.25rem 1rem;
    transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}
.nearby-card:hover {
    transform: translateY(-3px);
    border-color: #1b8e31;
    box-shadow: 0 10px 30px -12px rgba(34, 64, 131, 0.25);
}

/* ---------- Stat cells (numbers section) ---------- */
.stat-cell {
    padding: 2.5rem 1.5rem;
    border-bottom: 1px solid rgba(245, 242, 236, 0.15);
    border-right: 1px solid rgba(245, 242, 236, 0.15);
    position: relative;
    transition: background-color 0.3s ease;
    cursor: default;
}
.stat-cell:nth-child(4n) { border-right: 0; }
@media (max-width: 767px) {
    .stat-cell:nth-child(2n) { border-right: 0 !important; }
    .stat-cell:nth-child(4n) { border-right: 1px solid rgba(245, 242, 236, 0.15); }
}
.stat-cell:hover { background: rgba(245, 242, 236, 0.04); }

.stat-marker {
    width: 28px;
    height: 2px;
    background: var(--c);
    margin-bottom: 1.5rem;
    transition: width 0.35s ease;
}
.stat-cell:hover .stat-marker { width: 44px; }

.stat-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: rgba(245, 242, 236, 0.55);
    margin-bottom: 0.6rem;
    font-weight: 500;
}
.stat-value {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(2.25rem, 4vw, 3.5rem);
    line-height: 1;
    letter-spacing: -0.02em;
    color: #F5F2EC;
    transition: color 0.25s ease;
}
.stat-cell:hover .stat-value { color: var(--c); }
.stat-unit {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    font-size: 0.9rem;
    color: rgba(245, 242, 236, 0.55);
    margin-left: 0.35rem;
    vertical-align: baseline;
}

/* ---------- Hero ---------- */
.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
}
.hero__media {
    position: relative;
    width: 100%;
    line-height: 0;
}
.hero__media img {
    display: block;
    width: 100%;
    height: auto;
}
.hero__overlay {
    display: none;
}
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(1rem, 2vw, 1.75rem) clamp(1.5rem, 4vw, 4rem) clamp(1.25rem, 2.5vw, 2rem);
    color: #000000;
}
.hero__kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    font-size: clamp(0.65rem, 0.85vw, 0.8rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 500;
    margin: 0 0 0.75rem;
    color: rgba(26, 26, 26, 0.75);
    text-shadow: none;
}
.hero__rule {
    display: inline-block;
    width: 2.5rem;
    height: 1px;
    background: #1b8e31;
}

.hero__title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(2rem, 5.5vw, 4.25rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0;
    text-shadow: none;
}
.hero__title em {
    font-style: normal;
    font-weight: 800;
    color: #000000;
}

.hero__subtitle {
    margin: 0.75rem 0 1.25rem;
    max-width: 40rem;
    font-size: clamp(0.9rem, 1.15vw, 1.125rem);
    line-height: 1.55;
    font-weight: 400;
    color: rgba(26, 26, 26, 0.75);
    text-shadow: none;
}
.hero__actions {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex-wrap: wrap;
}
.hero__cta {
    display: inline-block;
    padding: 1rem 2.25rem;
    background: #224083;
    color: #F5F2EC;
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
}
.hero__cta:hover {
    background: #1b8e31;
    color: #ffffff;
}
.hero__link {
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 600;
    color: rgba(26, 26, 26, 0.8);
    transition: color 0.25s ease;
}
.hero__link:hover { color: #000000; }
.hero__link i {
    font-size: 0.8rem;
    transition: transform 0.25s ease;
}
.hero__link:hover i { transform: translateY(3px); }

@media (max-width: 767px) {
    .hero__media img {
        width: 100%;
        height: auto;
        display: block;
    }
    .hero__overlay { display: none; }
    .hero__content {
        position: static;
        padding: 1.5rem 1.25rem 0;
        color: #000000;
    }
    .hero__kicker {
        font-size: 0.65rem;
        letter-spacing: 0.22em;
        margin-bottom: 0.85rem;
        color: rgba(26, 26, 26, 0.7);
        text-shadow: none;
    }
    .hero__title {
        font-size: clamp(2rem, 9vw, 3rem);
        line-height: 1.08;
        text-shadow: none;
    }
    .hero__title em { color: #000000; }
    .hero__link:hover { color: #000000; }
    .hero__subtitle {
        margin: 0.85rem 0 1.4rem;
        font-size: 0.85rem;
        line-height: 1.5;
        color: rgba(26, 26, 26, 0.75);
        text-shadow: none;
    }
    .hero__actions { gap: 1rem; }
    .hero__cta {
        padding: 0.85rem 1.6rem;
        font-size: 0.65rem;
        background: #224083;
        color: #F5F2EC;
    }
    .hero__cta:hover {
        background: #1b8e31;
        color: #ffffff;
    }
    .hero__link {
        font-size: 0.65rem;
        color: rgba(26, 26, 26, 0.8);
        text-shadow: none;
    }
}

/* ---------- Clubhouse banner ---------- */
.clubhouse-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    background: transparent;
}
.clubhouse-banner__media {
    position: relative;
    width: 100%;
    z-index: 0;
    line-height: 0;
    overflow: hidden;
}
.clubhouse-banner__media img {
    display: block;
    width: 100%;
    height: auto;
    transform: scale(1.06);
    transition: transform 2.5s ease-out;
    will-change: transform;
}
.clubhouse-banner.in-view .clubhouse-banner__media img {
    transform: scale(1);
}
.clubhouse-banner__overlay {
    display: none;
}
.clubhouse-banner__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(2rem, 4vw, 3.5rem) clamp(1.5rem, 4vw, 4rem) clamp(1.25rem, 2.5vw, 2rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #000000;
}
.clubhouse-banner__title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.03em;
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    text-shadow: none;
    margin: 0;
    color: #000000;
}
.clubhouse-word {
    display: inline-block;
    text-transform: uppercase;
}
.clubhouse-banner__kicker {
    margin-top: 1.25rem;
    font-size: clamp(0.7rem, 1vw, 0.875rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    font-weight: 500;
    color: rgba(26, 26, 26, 0.75);
    text-shadow: none;
}

@media (max-width: 767px) {
    .clubhouse-banner__content {
        padding: 1.5rem 1.25rem;
    }
    .clubhouse-banner__kicker {
        margin-top: 1rem;
        letter-spacing: 0.2em;
    }
}

/* ---------- Villas banner ---------- */
.villas-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    isolation: isolate;
    background: transparent;
}
.villas-banner__media {
    position: relative;
    width: 100%;
    z-index: 0;
    line-height: 0;
    overflow: hidden;
}
.villas-banner__media img {
    display: block;
    width: 100%;
    height: auto;
    transform: scale(1.06);
    transition: transform 2.5s ease-out;
    will-change: transform;
}
.villas-banner.in-view .villas-banner__media img {
    transform: scale(1);
}
.villas-banner__overlay {
    display: none;
}
.villas-banner__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: clamp(1rem, 2vw, 1.75rem) clamp(1.5rem, 4vw, 4rem) clamp(1rem, 2vw, 1.5rem);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: 1rem;
    color: #000000;
}
.villas-banner__top,
.villas-banner__bottom {
    max-width: 40rem;
}
.villas-banner__title {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: clamp(1.75rem, 4.5vw, 3.25rem);
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin: 0 0 0.4em;
    text-shadow: none;
    color: #000000;
}
.villas-banner__subtitle {
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: clamp(0.95rem, 1.5vw, 1.25rem);
    line-height: 1.3;
    color: rgba(26, 26, 26, 0.75);
    text-shadow: none;
    margin: 0;
}
.villas-banner__body {
    font-family: 'Inter', sans-serif;
    font-size: clamp(0.85rem, 1.05vw, 1rem);
    line-height: 1.6;
    font-weight: 400;
    color: rgba(245, 242, 236, 0.92);
    text-shadow: 0 2px 14px rgba(0, 0, 0, 0.55);
    margin: 0 0 1rem;
    max-width: 32rem;
}
.villas-banner__cta {
    display: inline-block;
    margin-top: 0.75rem;
    padding: 0.95rem 2.25rem;
    background: #224083;
    color: #F5F2EC;
    font-size: 0.7rem;
    letter-spacing: 0.28em;
    text-transform: uppercase;
    font-weight: 600;
    transition: background 0.3s ease, color 0.3s ease;
}
.villas-banner__cta:hover {
    background: #1b8e31;
    color: #ffffff;
}

@media (max-width: 767px) {
    .villas-banner__content {
        padding: 1.5rem 1.25rem;
        gap: 1.25rem;
    }
    .villas-banner__body { font-size: 0.85rem; }
    .villas-banner__subtitle br { display: none; }
}

/* ---------- Amenity tiles ---------- */
.amenity-tile {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 0.9rem;
    padding: 1.5rem 0.75rem;
    text-align: center;
    cursor: pointer;
    background: #ffffff;
    border: 1px solid rgba(26, 26, 26, 0.08);
    transition: border-color 0.25s ease, background 0.25s ease;
}
.amenity-tile i {
    width: 4rem;
    height: 4rem;
    background: #F5F2EC;
    color: #000000;
    font-size: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: background 0.25s ease, color 0.25s ease;
}
.amenity-tile h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    color: #000000;
    line-height: 1.3;
    transition: color 0.25s ease;
}
.amenity-tile:hover {
    border-color: #1b8e31;
}
.amenity-tile:hover i {
    background: #1b8e31;
    color: #ffffff;
}
.amenity-tile:hover h4 { color: #000000; }

/* ---------- Gallery tiles (hidden section retains minimal styling) ---------- */
.gal-tile {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    background: #000;
}
.gal-tile img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease, opacity 0.4s ease;
}
.gal-tile:hover img { transform: scale(1.05); }
.gal-tile::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 12px;
    width: 24px;
    height: 2px;
    z-index: 3;
    background: #1b8e31;
}

.gal-meta {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1rem 1.25rem;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.85), transparent);
    color: #F5F2EC;
    z-index: 2;
    transform: translateY(60%);
    transition: transform 0.45s ease;
}
.gal-tile:hover .gal-meta { transform: translateY(0); }
.gal-meta h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1.2;
    letter-spacing: -0.01em;
}
.gal-tag {
    display: inline-block;
    font-size: 0.6rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    padding: 0.3rem 0.65rem;
    background: #1b8e31;
    margin-bottom: 0.5rem;
    color: #ffffff;
    font-weight: 600;
}

/* ---------- Contact cards ---------- */
.contact-card {
    position: relative;
    padding: 1.5rem;
    background: rgba(245, 242, 236, 0.04);
    border: 1px solid rgba(245, 242, 236, 0.12);
    display: block;
    transition: border-color 0.3s ease, background 0.3s ease;
}
.contact-card:hover {
    background: rgba(245, 242, 236, 0.07);
    border-color: rgba(245, 242, 236, 0.25);
}
.contact-dot {
    position: absolute;
    top: 1.25rem;
    right: 1.25rem;
    width: 24px;
    height: 2px;
    background: #1b8e31;
}

/* ---------- Form inputs ---------- */
.form-input {
    display: block;
    width: 100%;
    padding: 1rem 0 0.5rem 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(26, 26, 26, 0.25);
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 400;
    color: #000000;
    appearance: none;
    outline: none;
    transition: border-color 0.25s ease;
}
.form-input:focus { border-bottom-color: #1b8e31; }
.form-label {
    position: absolute;
    left: 0;
    top: 1rem;
    font-size: 0.95rem;
    color: rgba(26, 26, 26, 0.5);
    pointer-events: none;
    transition: all 0.25s ease;
    transform-origin: left top;
    font-weight: 400;
}
.form-input:focus + .form-label,
.form-input:not(:placeholder-shown) + .form-label,
select.form-input:valid + .form-label {
    transform: translateY(-1.1rem) scale(0.78);
    color: #000000;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}
select.form-input { color: #000000; }
select.form-input option { color: #000000; background: #F5F2EC; }

/* ---------- Social dots ---------- */
.social-dot {
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(26, 26, 26, 0.15);
    color: #000000;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.social-dot:hover {
    background: #1b8e31;
    border-color: #1b8e31;
    color: #ffffff;
}

/* ---------- Section CTA row ---------- */
.cta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    justify-content: center;
}
.cta-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.9rem;
    padding: 1.15rem 2rem;
    background: #ffffff;
    color: #000000;
    border: 1px solid rgba(26, 26, 26, 0.12);
    font-size: 0.9rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    transition: background 0.25s ease, color 0.25s ease, border-color 0.25s ease;
}
.cta-btn i { color: #1b8e31; font-size: 1.15rem; transition: color 0.25s ease; }
.cta-btn:hover { background: #1b8e31; color: #ffffff; border-color: #1b8e31; }
.cta-btn:hover i { color: #ffffff; }
.cta-btn.cta-btn--dark {
    background: transparent;
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.22);
}
.cta-btn.cta-btn--dark:hover { background: #1b8e31; border-color: #1b8e31; }

/* ---------- Soft offer (slide-up after scroll) ---------- */
#soft-offer {
    position: fixed;
    left: 1rem;
    right: 1rem;
    bottom: 1rem;
    max-width: 420px;
    margin-left: auto;
    margin-right: auto;
    background: #ffffff;
    border: 1px solid rgba(26, 26, 26, 0.1);
    box-shadow: 0 18px 50px rgba(0, 0, 0, 0.18);
    padding: 1rem 1.1rem;
    z-index: 65;
    transform: translateY(140%);
    opacity: 0;
    transition: transform 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.4s ease;
}
#soft-offer.is-visible { transform: translateY(0); opacity: 1; }
#soft-offer .so-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}
#soft-offer .so-kicker {
    font-size: 0.62rem;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #1b8e31;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}
#soft-offer .so-kicker i { color: #25D366; font-size: 1rem; }
#soft-offer .so-close {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #F5F2EC;
    color: #000;
    border: 0;
    cursor: pointer;
    transition: background 0.2s ease, color 0.2s ease;
}
#soft-offer .so-close:hover { background: #224083; color: #fff; }
#soft-offer p.so-title {
    font-weight: 800;
    font-size: 1.02rem;
    line-height: 1.25;
    margin-bottom: 0.85rem;
    color: #000;
}
#soft-offer .so-form { display: flex; gap: 0.5rem; }
#soft-offer input {
    flex: 1;
    padding: 0.75rem 0.9rem;
    border: 1px solid rgba(26, 26, 26, 0.15);
    font-size: 0.95rem;
    outline: none;
    background: #F5F2EC;
    transition: border-color 0.2s ease, background 0.2s ease;
}
#soft-offer input:focus { border-color: #1b8e31; background: #fff; }
#soft-offer button.so-submit {
    background: #25D366;
    color: #ffffff;
    border: 0;
    padding: 0 1.05rem;
    font-size: 0.7rem;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    font-weight: 700;
    cursor: pointer;
    transition: background 0.2s ease;
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}
#soft-offer button.so-submit:hover { background: #1b8e31; }

/* ---------- Developer block ---------- */
.developer-card {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #ffffff;
    border: 1px solid rgba(26, 26, 26, 0.08);
    border-left: 4px solid #1b8e31;
    padding: 1rem 1.25rem;
    box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.35);
}
.developer-card img { height: 42px; width: auto; flex-shrink: 0; display: block; }

/* =====================================================
   Responsive
===================================================== */
@media (max-width: 767px) {
    .stat-cell { padding: 2rem 1.25rem; }
    .stat-cell:nth-child(2n) { border-right: 0 !important; }
    .amenity-tile i {
        width: 3.5rem;
        height: 3.5rem;
        font-size: 1.25rem;
    }
    .amenity-tile h4 { font-size: 0.85rem; }
    .gal-meta { transform: translateY(0); }
    .gal-meta { background: linear-gradient(to top, rgba(26, 26, 26, 0.9), transparent); }
    #soft-offer { padding: 0.85rem 0.95rem; }
    #soft-offer p.so-title { font-size: 0.9rem; }
    #soft-offer button.so-submit { padding: 0 0.85rem; }
}
