* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #0f172a;
    background: #f8fafc;
}

a {
    color: inherit;
}

.site-header {
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    position: sticky;
    top: 0;
    z-index: 50;
}

.site-header__inner {
    max-width: 1180px;
    margin: auto;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-header__brand {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.site-header__brand img {
    width: 46px;
    height: 46px;
    object-fit: contain;
}

.site-header__brand span {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    background: #059669;
    color: #ffffff;
    font-weight: 900;
}

.site-header__brand strong {
    font-size: 20px;
}

.site-header__toggle {
    border: 0;
    background: #f1f5f9;
    border-radius: 12px;
    padding: 10px 12px;
    font-size: 22px;
}

.site-header__nav {
    display: none;
    position: absolute;
    top: 74px;
    left: 16px;
    right: 16px;
    background: #ffffff;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.16);
}

.site-header__nav.is-open {
    display: grid;
    gap: 8px;
}

.site-header__nav a {
    text-decoration: none;
    padding: 12px;
    border-radius: 12px;
    font-weight: 700;
}

.site-header__call {
    background: #059669;
    color: #ffffff !important;
    text-align: center;
}

.details-hero {
    padding: 90px 18px;
    background:
        linear-gradient(rgba(15, 23, 42, 0.74), rgba(15, 23, 42, 0.74)),
        url('../images/hero-real-estate.jpg') center/cover no-repeat;
    color: #ffffff;
    text-align: center;
}

.details-hero div {
    max-width: 900px;
    margin: auto;
}

.details-hero span {
    display: inline-flex;
    padding: 9px 14px;
    border-radius: 999px;
    background: rgba(5, 150, 105, 0.25);
    margin-bottom: 16px;
    font-weight: 900;
}

.details-hero h1 {
    margin: 0;
    font-size: clamp(34px, 6vw, 64px);
    line-height: 1.05;
}

.details-hero p {
    color: #e2e8f0;
    font-size: 18px;
    margin-bottom: 0;
}

.details-section {
    padding: 50px 18px 80px;
}

.details-layout {
    max-width: 1180px;
    margin: auto;
    display: grid;
    gap: 26px;
}

.details-main__image,
.details-main__placeholder {
    width: 100%;
    height: 280px;
    border-radius: 28px;
    object-fit: cover;
    display: block;
    box-shadow: 0 18px 50px rgba(15, 23, 42, 0.12);
}

.details-main__placeholder {
    display: grid;
    place-items: center;
    background: #dcfce7;
    color: #059669;
    font-size: 28px;
    font-weight: 900;
}

.details-card,
.inquiry-box,
.quick-info {
    background: #ffffff;
    border-radius: 26px;
    padding: 22px;
    box-shadow: 0 14px 42px rgba(15, 23, 42, 0.08);
    margin-top: 22px;
}

.details-card h2,
.inquiry-box h2,
.quick-info h3 {
    margin-top: 0;
}

.details-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 18px;
}

.details-meta span,
.details-meta strong {
    display: inline-flex;
    background: #dcfce7;
    color: #166534;
    padding: 8px 12px;
    border-radius: 999px;
    font-weight: 900;
    font-size: 13px;
}

.details-meta strong {
    background: #059669;
    color: #ffffff;
}

.lead-text {
    font-size: 18px;
    color: #475569;
    line-height: 1.7;
}

.project-description {
    color: #475569;
    line-height: 1.9;
    font-size: 16px;
}

.amenity-grid {
    display: grid;
    gap: 12px;
}

.amenity-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafc;
    padding: 14px;
    border-radius: 16px;
    color: #334155;
    font-weight: 700;
}

.amenity-item span {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: grid;
    place-items: center;
    background: #059669;
    color: #ffffff;
    font-weight: 900;
}

.map-box {
    border-radius: 22px;
    overflow: hidden;
    background: #f1f5f9;
}

.map-box iframe {
    width: 100%;
    min-height: 320px;
    border: 0;
    display: block;
}

.details-sidebar {
    align-self: start;
}

.inquiry-box {
    position: sticky;
    top: 96px;
}

.inquiry-box p,
.quick-info p {
    color: #64748b;
    line-height: 1.7;
}

.details-form {
    display: grid;
    gap: 12px;
    margin-bottom: 14px;
}

.details-form input,
.details-form textarea {
    width: 100%;
    border: 1px solid #dbe3ea;
    border-radius: 16px;
    padding: 14px;
    font-size: 15px;
    font-family: Arial, sans-serif;
    outline: none;
}

.details-form input:focus,
.details-form textarea:focus {
    border-color: #059669;
    box-shadow: 0 0 0 4px rgba(5, 150, 105, 0.12);
}

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 14px 18px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 900;
    border: 0;
    cursor: pointer;
    margin-top: 10px;
}

.btn--primary {
    background: #059669;
    color: #ffffff;
}

.btn--light {
    background: #ffffff;
    color: #0f172a;
    border: 1px solid #e2e8f0;
}

.btn--whatsapp {
    background: #16a34a;
    color: #ffffff;
}

.form-success,
.form-error {
    padding: 13px;
    border-radius: 14px;
    font-weight: 800;
    margin-bottom: 12px;
}

.form-success {
    background: #dcfce7;
    color: #166534;
}

.form-error {
    background: #fee2e2;
    color: #991b1b;
}

.site-footer {
    background: #0f172a;
    color: #ffffff;
    padding: 46px 18px 20px;
}

.site-footer__grid {
    max-width: 1180px;
    margin: auto;
    display: grid;
    gap: 26px;
}

.site-footer p,
.site-footer a {
    color: #cbd5e1;
    line-height: 1.7;
}

.site-footer a {
    display: block;
    text-decoration: none;
    margin-bottom: 8px;
}

.site-footer__bottom {
    max-width: 1180px;
    margin: 30px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,0.12);
}

.floating-whatsapp,
.floating-call {
    position: fixed;
    right: 16px;
    z-index: 60;
    padding: 12px 16px;
    border-radius: 999px;
    color: #ffffff;
    text-decoration: none;
    font-weight: 900;
    box-shadow: 0 12px 30px rgba(15, 23, 42, 0.25);
}

.floating-whatsapp {
    bottom: 78px;
    background: #16a34a;
}

.floating-call {
    bottom: 22px;
    background: #059669;
}

@media (min-width: 700px) {
    .amenity-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .details-main__image,
    .details-main__placeholder {
        height: 420px;
    }
}

@media (min-width: 900px) {
    .site-header__toggle {
        display: none;
    }

    .site-header__nav {
        position: static;
        display: flex;
        align-items: center;
        gap: 8px;
        padding: 0;
        box-shadow: none;
    }

    .details-layout {
        grid-template-columns: minmax(0, 1fr) 360px;
        align-items: start;
    }
}
.project-gallery-grid {
    display: grid;
    gap: 14px;
}

.project-gallery-item,
.master-plan-preview {
    width: 100%;
    border: 0;
    padding: 0;
    background: transparent;
    cursor: pointer;
    border-radius: 20px;
    overflow: hidden;
}

.project-gallery-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
}

.project-gallery-item:hover img,
.master-plan-preview:hover img {
    transform: scale(1.04);
}

.master-plan-preview img {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: 22px;
    display: block;
    transition: transform 0.35s ease;
}

.video-box {
    background: #f8fafc;
    border-radius: 22px;
    padding: 22px;
}

.video-box p {
    color: #64748b;
    line-height: 1.7;
    margin-top: 0;
}

.btn--inline {
    width: auto;
}

.btn--brochure {
    background: #0f172a;
    color: #ffffff;
}

.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.9);
    z-index: 100;
    display: none;
    place-items: center;
    padding: 20px;
}

.lightbox.is-open {
    display: grid;
}

.lightbox img {
    max-width: 100%;
    max-height: 78vh;
    border-radius: 20px;
    object-fit: contain;
    background: #ffffff;
}

.lightbox p {
    color: #ffffff;
    font-weight: 900;
    text-align: center;
    margin: 14px 0 0;
}

.lightbox__close {
    position: fixed;
    top: 18px;
    right: 18px;
    width: 44px;
    height: 44px;
    border: 0;
    border-radius: 50%;
    background: #ffffff;
    color: #0f172a;
    font-size: 28px;
    cursor: pointer;
}

@media (min-width: 700px) {
    .project-gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .project-gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}