/* ═══ HOME PAGE ═══ */
.home-page {
    font-family: 'OpenSans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* ─── Hero ─── */
.hp-hero {
    position: relative;
    width: 100%;
    height: 75vh;
    min-height: 450px;
    overflow: hidden;
}
.hp-hero-img, .hp-hero picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hp-hero picture {
    width: 100%;
    height: 100%;
}
.hp-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0.45) 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 20px;
}
.hp-hero-title {
    font-family: 'GreatVibes', cursive;
    font-size: clamp(48px, 8vw, 96px);
    color: #fff;
    margin: 0;
    text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    line-height: 1.1;
}
.hp-hero-subtitle {
    font-family: 'OpenSans', sans-serif;
    font-size: clamp(14px, 2vw, 20px);
    color: rgba(255,255,255,0.9);
    margin: 12px 0 28px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.4);
    letter-spacing: 1px;
}
.hp-hero-ctas {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
    justify-content: center;
}
.hp-hero-cta {
    display: inline-block;
    font-family: 'OpenSans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    padding: 12px 32px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
    letter-spacing: 0.5px;
}
.hp-hero-cta-primary {
    color: #fff;
    background: #387153;
    border: 2px solid #387153;
}
.hp-hero-cta-primary:hover {
    background: #2d5c44;
    border-color: #2d5c44;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
}
.hp-hero-cta-secondary {
    color: #fff;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.8);
}
.hp-hero-cta-secondary:hover {
    background: rgba(255,255,255,0.15);
    border-color: #fff;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}
.hp-hero-social-proof {
    margin-top: 20px;
    background: rgba(255,255,255,0.2);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: #fff;
    font-family: 'OpenSans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 18px;
    border-radius: 20px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.hp-hero-social-proof i {
    color: #fbc634;
    font-size: 13px;
}
.hp-hero-scroll {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    color: rgba(255,255,255,0.8);
    font-size: 24px;
    cursor: pointer;
    animation: hp-bounce 2s infinite;
}
@keyframes hp-bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateX(-50%) translateY(0); }
    40% { transform: translateX(-50%) translateY(-8px); }
    60% { transform: translateX(-50%) translateY(-4px); }
}

/* ─── Features Strip ─── */
.hp-features {
    background: linear-gradient(180deg, #f4f8f5 0%, #f8faf9 100%);
    border-bottom: 1px solid #e8efe9;
    padding: 36px 20px;
}
.hp-features-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 8px 16px;
}
.hp-feature {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    position: relative;
}
.hp-feature + .hp-feature::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 12px;
    bottom: 12px;
    width: 1px;
    background: #d8e5da;
}
.hp-feature i {
    font-size: 32px;
    color: #387153;
}
.hp-feature span {
    font-family: 'OpenSans', sans-serif;
    font-size: 15px;
    color: #4a6b5a;
    white-space: nowrap;
}

/* ─── Apartment Showcase ─── */
.hp-apartments {
    padding: 64px 20px;
    background: #fff;
}
.hp-apartments-title {
    font-family: 'GreatVibes', cursive;
    font-size: clamp(28px, 4vw, 42px);
    color: #2d4a3a;
    text-align: center;
    margin: 0 0 40px;
}
.hp-apartments-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.hp-apt-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
    display: flex;
    flex-direction: column;
}
.hp-apt-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 32px rgba(0,0,0,0.12);
}
.hp-apt-card-img-link {
    display: block;
    height: 220px;
    overflow: hidden;
}
.hp-apt-card-img-link picture,
.hp-apt-card-img-link img,
.hp-apt-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}
.hp-apt-card-img-link picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hp-apt-card:hover .hp-apt-card-img-link img,
.hp-apt-card:hover .hp-apt-card-img-link picture img {
    transform: scale(1.05);
}
.hp-apt-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.hp-apt-card-name {
    font-family: 'OpenSans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #2d4a3a;
    margin: 0 0 8px;
}
.hp-apt-card-desc {
    font-family: 'Raleway', 'OpenSans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #666;
    margin: 0 0 16px;
    flex: 1;
}
.hp-apt-card-meta {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}
.hp-apt-card-meta span {
    font-family: 'OpenSans', sans-serif;
    font-size: 13px;
    color: #777;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}
.hp-apt-card-meta i {
    color: #387153;
    font-size: 15px;
}
.hp-apt-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid #eef3ef;
}
.hp-apt-card-price {
    display: flex;
    align-items: baseline;
    gap: 4px;
}
.hp-apt-card-price-from {
    font-size: 12px;
    color: #999;
}
.hp-apt-card-price-amount {
    font-family: 'OpenSans', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #2d4a3a;
}
.hp-apt-card-price-unit {
    font-size: 13px;
    color: #999;
}
.hp-apt-card-btn {
    display: inline-block;
    font-family: 'OpenSans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    background: #387153;
    padding: 10px 24px;
    border-radius: 6px;
    text-decoration: none;
    transition: all 0.2s;
    white-space: nowrap;
}
.hp-apt-card-btn:hover {
    background: #2d5c44;
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(56,113,83,0.3);
}

/* ─── Content Sections ─── */
.hp-section {
    padding: 0;
}
.hp-section-alt {
    background: #f8faf9;
}
.hp-section-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: stretch;
    min-height: 400px;
}
.hp-section-reverse {
    direction: rtl;
}
.hp-section-reverse > * {
    direction: ltr;
}
.hp-section-img {
    overflow: hidden;
    position: relative;
}
.hp-section-img img,
.hp-section-img picture {
    width: 100%;
    height: 100%;
}
.hp-section-img picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.hp-section:hover .hp-section-img picture img,
.hp-section:hover .hp-section-img img {
    transform: scale(1.03);
}
.hp-section-text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 48px 56px;
}
.hp-section-label {
    font-family: 'OpenSans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #387153;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 8px;
}
.hp-section-text h2 {
    font-family: 'GreatVibes', cursive;
    font-size: clamp(28px, 3vw, 42px);
    color: #2d4a3a;
    margin: 0 0 16px;
    line-height: 1.2;
}
.hp-section-text p {
    font-family: 'Raleway', 'OpenSans', sans-serif;
    font-size: 15px;
    line-height: 1.7;
    color: #555;
    margin: 0 0 20px;
}
.hp-section-link {
    font-family: 'OpenSans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    color: #387153;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    transition: gap 0.3s, color 0.3s;
}
.hp-section-link:hover {
    color: #2d5c44;
    gap: 10px;
    text-decoration: none;
}

/* ─── Testimonials ─── */
.hp-testimonials {
    padding: 64px 20px;
    background: #fff;
}
.hp-rating-badge {
    text-align: center;
    margin-bottom: 12px;
}
.hp-rating-score {
    font-family: 'OpenSans', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: #2d4a3a;
    display: block;
    line-height: 1;
}
.hp-rating-stars {
    margin: 8px 0;
}
.hp-rating-stars i {
    color: #fbc634;
    font-size: 20px;
    margin: 0 1px;
}
.hp-rating-count {
    font-family: 'OpenSans', sans-serif;
    font-size: 14px;
    color: #888;
}
.hp-testimonials-title {
    font-family: 'GreatVibes', cursive;
    font-size: clamp(28px, 4vw, 42px);
    color: #2d4a3a;
    text-align: center;
    margin: 0 0 40px;
}
.hp-testimonials-grid {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}
.hp-testimonial {
    background: #f8faf9;
    border: 1px solid #e8efe9;
    border-radius: 8px;
    padding: 28px 24px;
    display: flex;
    flex-direction: column;
    position: relative;
}
.hp-testimonial-quote {
    font-family: 'GreatVibes', cursive;
    font-size: 48px;
    color: #387153;
    opacity: 0.2;
    line-height: 1;
    position: absolute;
    top: 12px;
    left: 16px;
}
.hp-testimonial-stars {
    margin-bottom: 12px;
    margin-top: 8px;
}
.hp-testimonial-stars i {
    color: #fbc634;
    font-size: 14px;
}
.hp-testimonial-text {
    font-family: 'Raleway', 'OpenSans', sans-serif;
    font-size: 14px;
    line-height: 1.6;
    color: #555;
    flex: 1;
    margin: 0 0 16px;
    font-style: italic;
}
.hp-testimonial-author {
    font-family: 'OpenSans', sans-serif;
    font-size: 13px;
    font-weight: 600;
    color: #387153;
}

/* ─── CTA ─── */
.hp-cta {
    background: linear-gradient(135deg, #387153 0%, #2d5c44 100%);
    padding: 72px 20px;
    text-align: center;
}
.hp-cta-inner h2 {
    font-family: 'GreatVibes', cursive;
    font-size: clamp(28px, 4vw, 46px);
    color: #fff;
    margin: 0 0 12px;
}
.hp-cta-inner p {
    font-family: 'OpenSans', sans-serif;
    font-size: 16px;
    color: rgba(255,255,255,0.85);
    margin: 0 0 32px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.hp-cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.hp-cta-btn {
    display: inline-block;
    font-family: 'OpenSans', sans-serif;
    font-size: 15px;
    font-weight: 600;
    color: #387153;
    background: #fff;
    padding: 14px 36px;
    border-radius: 4px;
    text-decoration: none;
    transition: all 0.3s;
}
.hp-cta-btn:hover {
    background: #f0f7f2;
    color: #2d5c44;
    text-decoration: none;
    transform: translateY(-1px);
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* ─── Fade-in Animations ─── */
.hp-fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.7s ease-out, transform 0.7s ease-out;
}
.hp-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ─── Mobile ─── */
@media (max-width: 768px) {
    .hp-hero {
        height: 60vh;
        min-height: 350px;
    }
    .hp-features {
        padding: 28px 16px;
    }
    .hp-features-grid {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 16px 8px;
    }
    .hp-feature + .hp-feature::before {
        display: none;
    }
    .hp-feature {
        padding: 8px;
    }
    .hp-section-inner,
    .hp-section-reverse {
        grid-template-columns: 1fr;
        direction: ltr;
    }
    .hp-section-reverse > * {
        direction: ltr;
    }
    .hp-section-img {
        height: 250px;
    }
    .hp-section-text {
        padding: 28px 20px;
    }
    .hp-apartments {
        padding: 48px 16px;
    }
    .hp-apartments-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        max-width: 420px;
        margin: 0 auto;
    }
    .hp-apt-card-img-link {
        height: 200px;
    }
    .hp-testimonials-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .hp-cta {
        padding: 48px 20px;
    }
    .hp-cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    .hp-cta-btn {
        width: 100%;
        max-width: 280px;
    }
    .hp-hero-ctas {
        gap: 10px;
    }
    .hp-hero-cta {
        padding: 10px 24px;
        font-size: 14px;
    }
}
@media (max-width: 480px) {
    .hp-features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .hp-apartments-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .hp-testimonials-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
