:root {
    --red: #ce202f;
    --black: #111111;
    --ink: #242121;
    --muted: #6f6868;
    --line: #e9e3df;
    --sand: #f7f2ed;
    --white: #ffffff;
    --shadow: 0 28px 80px rgba(17, 17, 17, 0.14);
    --radius: 28px;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    color: var(--ink);
    background: var(--white);
    font-family: "Cairo", Arial, sans-serif;
    line-height: 1.7;
}

img {
    display: block;
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    font: inherit;
}

.container {
    width: min(1180px, calc(100% - 40px));
    margin-inline: auto;
}

.site-header {
    position: fixed;
    z-index: 50;
    top: 0;
    right: 0;
    left: 0;
    padding: 18px 0;
    transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled,
.page-project .site-header {
    background: rgba(255, 255, 255, 0.96);
    box-shadow: 0 14px 40px rgba(17, 17, 17, 0.08);
    backdrop-filter: blur(18px);
    padding: 12px 0;
}

.nav-shell {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand {
    display: flex;
    width: 165px;
    padding: 10px 16px;
    background: var(--white);
    border-radius: 999px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.08);
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.22);
    border: 1px solid rgba(255, 255, 255, 0.24);
    border-radius: 999px;
    backdrop-filter: blur(14px);
}

.site-header.is-scrolled .main-nav,
.page-project .main-nav {
    color: var(--ink);
    background: var(--sand);
    border-color: var(--line);
}

.main-nav a {
    padding: 10px 16px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 700;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: var(--white);
    background: var(--red);
}

.nav-cta,
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border: 1px solid transparent;
    border-radius: 999px;
    cursor: pointer;
    font-weight: 800;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.nav-cta {
    color: var(--white);
    background: var(--red);
    box-shadow: 0 16px 35px rgba(206, 32, 47, 0.28);
}

.language-switch {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 16px;
    color: var(--white);
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.site-header.is-scrolled .language-switch,
.page-project .language-switch {
    color: var(--black);
    background: var(--sand);
    border-color: var(--line);
}

.btn:hover,
.nav-cta:hover {
    transform: translateY(-2px);
}

.btn-primary {
    color: var(--white);
    background: var(--red);
    box-shadow: 0 18px 40px rgba(206, 32, 47, 0.28);
}

.btn-outline {
    color: var(--white);
    border-color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.08);
}

.btn-dark {
    color: var(--white);
    background: var(--black);
}

button.btn {
    appearance: none;
}

.nav-toggle {
    display: none;
    width: 46px;
    height: 46px;
    padding: 12px;
    background: var(--white);
    border: 0;
    border-radius: 50%;
}

.nav-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    margin: 4px 0;
    background: var(--black);
}

.hero,
.project-hero {
    position: relative;
    min-height: 100vh;
    display: grid;
    align-items: center;
    overflow: hidden;
    color: var(--white);
}

.hero-media,
.project-hero-bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    transform: scale(1.02);
}

.hero-overlay,
.project-hero-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(17, 17, 17, 0.18), rgba(17, 17, 17, 0.78)),
        linear-gradient(0deg, rgba(17, 17, 17, 0.42), rgba(17, 17, 17, 0.06));
}

.hero-content,
.project-hero-content {
    position: relative;
    z-index: 2;
    padding-top: 90px;
}

.hero-content {
    max-width: 760px;
    margin-inline-start: auto;
}

body[dir="ltr"] .hero-content {
    margin-inline-start: 0;
    margin-inline-end: auto;
}

body[dir="ltr"] .project-body,
body[dir="ltr"] .overview-copy,
body[dir="ltr"] .contact-card,
body[dir="ltr"] .notice-card {
    text-align: left;
}

.eyebrow,
.section-kicker {
    margin: 0 0 12px;
    color: var(--red);
    font-family: "Playfair Display", serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

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

h1 {
    max-width: 820px;
    margin-bottom: 22px;
    font-size: clamp(42px, 7vw, 86px);
    line-height: 1.08;
    letter-spacing: -0.04em;
}

.hero h1 {
    max-width: 680px;
    font-size: clamp(30px, 4.2vw, 52px);
    line-height: 1.22;
    letter-spacing: -0.02em;
}

h2 {
    margin-bottom: 18px;
    font-size: clamp(32px, 4vw, 58px);
    line-height: 1.16;
    letter-spacing: -0.03em;
}

h3 {
    font-size: 25px;
    line-height: 1.25;
}

.hero-copy,
.project-hero-content p {
    max-width: 620px;
    color: rgba(255, 255, 255, 0.84);
    font-size: 19px;
}

.hero-actions,
.button-row {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin-top: 32px;
}

.intro-section,
.projects-section,
.project-overview,
.gallery-section,
.features-section,
.units-section {
    padding: 100px 0;
}

.intro-grid,
.overview-grid,
.feature-layout,
.contact-card {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 72px;
    align-items: center;
}

.intro-grid > p,
.section-heading > p,
.overview-copy > p,
.contact-card p {
    color: var(--muted);
    font-size: 18px;
}

.launch-section {
    padding: 110px 0;
    background: var(--black);
}

.launch-card {
    display: grid;
    grid-template-columns: 0.92fr 1.08fr;
    gap: 60px;
    align-items: center;
    min-height: 620px;
    color: var(--white);
}

.launch-copy {
    position: relative;
    z-index: 2;
}

.launch-copy p {
    color: rgba(255, 255, 255, 0.74);
    font-size: 18px;
}

.pill {
    display: inline-flex;
    align-items: center;
    margin-bottom: 18px;
    padding: 7px 14px;
    color: var(--white);
    background: var(--red);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.stat-row,
.project-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
    margin: 32px 0;
}

.stat {
    padding: 22px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 22px;
}

.stat strong {
    display: block;
    color: var(--red);
    font-size: 28px;
    line-height: 1;
}

.stat span {
    display: block;
    margin-top: 8px;
    color: inherit;
    opacity: 0.76;
    font-size: 13px;
    font-weight: 800;
}

.launch-gallery {
    position: relative;
    min-height: 560px;
}

.launch-img {
    position: absolute;
    object-fit: cover;
    border: 8px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    box-shadow: 0 32px 90px rgba(0, 0, 0, 0.4);
}

.launch-img-1 {
    top: 0;
    right: 5%;
    width: 72%;
    height: 360px;
}

.launch-img-2 {
    bottom: 0;
    right: 0;
    width: 44%;
    height: 250px;
}

.launch-img-3 {
    bottom: 42px;
    left: 0;
    width: 50%;
    height: 320px;
}

.section-heading {
    max-width: 780px;
    margin-bottom: 42px;
    text-align: center;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 28px;
}

.project-card {
    overflow: hidden;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: 0 18px 55px rgba(17, 17, 17, 0.08);
}

.project-image {
    position: relative;
    display: block;
    height: 280px;
    overflow: hidden;
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.project-card:hover .project-image img {
    transform: scale(1.06);
}

.project-image span {
    position: absolute;
    top: 18px;
    right: 18px;
    padding: 6px 12px;
    color: var(--white);
    background: rgba(17, 17, 17, 0.78);
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.project-body {
    padding: 28px;
}

.project-body > p {
    color: var(--muted);
}

.project-body > p:first-child {
    min-height: 54px;
    color: var(--red);
    font-size: 13px;
    font-weight: 800;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 24px 0;
}

.project-meta span,
.unit-tags span {
    padding: 8px 13px;
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: 999px;
    color: var(--muted);
    font-size: 13px;
    font-weight: 800;
}

.text-link {
    color: var(--red);
    font-weight: 900;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.mini-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 900;
}

.mini-contact.call {
    color: var(--white);
    background: var(--black);
}

.mini-contact.whatsapp {
    color: var(--white);
    background: var(--red);
}

.contact-band {
    padding: 90px 0;
    background: var(--sand);
}

.contact-card {
    padding: 52px;
    color: var(--white);
    background:
        radial-gradient(circle at top left, rgba(206, 32, 47, 0.42), transparent 34%),
        var(--black);
    border-radius: 34px;
    box-shadow: var(--shadow);
}

.contact-card p {
    color: rgba(255, 255, 255, 0.72);
}

.project-hero {
    min-height: 76vh;
}

.project-hero-content {
    max-width: 820px;
}

.back-link {
    display: inline-flex;
    margin-bottom: 22px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 800;
}

.detail-list {
    display: grid;
    gap: 16px;
    margin: 32px 0 0;
}

.detail-list div {
    padding: 22px;
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: 22px;
}

.detail-list dt {
    color: var(--red);
    font-weight: 900;
}

.detail-list dd {
    margin: 6px 0 0;
    color: var(--muted);
}

.project-stats {
    margin: 0;
}

.project-stats .stat {
    color: var(--ink);
    background: var(--white);
    border-color: var(--line);
    box-shadow: 0 18px 50px rgba(17, 17, 17, 0.06);
}

.gallery-section {
    background: var(--sand);
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 1fr;
    grid-auto-rows: 245px;
    gap: 18px;
}

.gallery-item {
    overflow: hidden;
    padding: 0;
    background: none;
    border: 0;
    border-radius: 26px;
    cursor: pointer;
}

.gallery-item:first-child {
    grid-row: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.35s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.feature-layout {
    align-items: start;
}

.feature-list {
    display: grid;
    gap: 16px;
}

.feature-item {
    display: grid;
    grid-template-columns: 18px 1fr;
    gap: 15px;
    align-items: start;
    padding: 20px 0;
    border-bottom: 1px solid var(--line);
}

.feature-item span {
    width: 10px;
    height: 10px;
    margin-top: 10px;
    background: var(--red);
    border-radius: 50%;
}

.feature-item p {
    margin: 0;
    color: var(--muted);
}

.units-section {
    padding-top: 0;
}

.units-card {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 40px;
    align-items: center;
    padding: 44px;
    background: var(--sand);
    border: 1px solid var(--line);
    border-radius: 30px;
}

.unit-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.site-footer {
    padding: 80px 0 28px;
    color: rgba(255, 255, 255, 0.72);
    background: #080808;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
}

.footer-logo {
    width: 180px;
    padding: 12px 18px;
    margin-bottom: 24px;
    background: var(--white);
    border-radius: 999px;
}

.site-footer h3 {
    margin-bottom: 16px;
    color: var(--white);
    font-size: 18px;
}

.site-footer a,
.site-footer p {
    display: block;
    margin: 0 0 10px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 54px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    font-size: 13px;
}

.lightbox {
    position: fixed;
    z-index: 100;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 32px;
    background: rgba(0, 0, 0, 0.9);
}

.lightbox.is-open {
    display: flex;
}

.lightbox img {
    max-height: 86vh;
    border-radius: 22px;
    box-shadow: 0 24px 90px rgba(0, 0, 0, 0.6);
}

.lightbox-close {
    position: absolute;
    top: 22px;
    left: 26px;
    width: 48px;
    height: 48px;
    color: var(--white);
    background: var(--red);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 32px;
    line-height: 1;
}

.floating-contact {
    position: fixed;
    z-index: 80;
    right: 22px;
    bottom: 22px;
    display: grid;
    gap: 10px;
}

.floating-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 112px;
    min-height: 48px;
    padding: 0 18px;
    color: var(--white);
    border-radius: 999px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.22);
    font-size: 14px;
    font-weight: 900;
    transition: transform 0.2s ease;
}

.floating-btn:hover {
    transform: translateY(-2px);
}

.floating-call {
    background: var(--black);
}

.floating-whatsapp {
    background: #1f9d55;
}

.notice-modal {
    position: fixed;
    z-index: 120;
    inset: 0;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 24px;
    background: rgba(0, 0, 0, 0.72);
    backdrop-filter: blur(10px);
}

.notice-modal.is-open {
    display: flex;
}

.notice-card {
    position: relative;
    width: min(520px, 100%);
    padding: 42px;
    background: var(--white);
    border-radius: 30px;
    box-shadow: var(--shadow);
}

.notice-card h2 {
    font-size: clamp(26px, 3vw, 38px);
}

.notice-card p {
    color: var(--muted);
}

.notice-close {
    position: absolute;
    top: 16px;
    left: 16px;
    width: 42px;
    height: 42px;
    color: var(--white);
    background: var(--red);
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    font-size: 28px;
    line-height: 1;
}

@media (max-width: 1020px) {
    .main-nav,
    .nav-cta {
        display: none;
    }

    .nav-actions {
        margin-inline-start: auto;
    }

    .nav-toggle {
        display: block;
    }

    .main-nav.is-open {
        position: absolute;
        top: 76px;
        right: 20px;
        left: 20px;
        display: grid;
        color: var(--ink);
        background: var(--white);
        border-color: var(--line);
        border-radius: 24px;
        box-shadow: var(--shadow);
    }

    .intro-grid,
    .launch-card,
    .overview-grid,
    .feature-layout,
    .contact-card,
    .units-card {
        grid-template-columns: 1fr;
        gap: 34px;
    }

    .projects-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .launch-gallery {
        min-height: 450px;
    }

    .gallery-grid {
        grid-template-columns: 1fr 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 34px;
    }
}

@media (max-width: 680px) {
    .container {
        width: min(100% - 28px, 1180px);
    }

    .brand {
        width: 136px;
    }

    .hero,
    .project-hero {
        min-height: 86vh;
    }

    h1 {
        font-size: 38px;
    }

    .hero h1 {
        font-size: 30px;
    }

    h2 {
        font-size: 32px;
    }

    .hero-actions,
    .button-row {
        flex-direction: column;
        align-items: stretch;
    }

    .intro-section,
    .projects-section,
    .project-overview,
    .gallery-section,
    .features-section,
    .units-section,
    .launch-section {
        padding: 68px 0;
    }

    .projects-grid,
    .stat-row,
    .project-stats,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-auto-rows: 230px;
    }

    .gallery-item:first-child {
        grid-row: auto;
    }

    .launch-gallery {
        min-height: auto;
        display: grid;
        gap: 16px;
    }

    .launch-img {
        position: static;
        width: 100%;
        height: 240px;
    }

    .contact-card,
    .units-card {
        padding: 28px;
    }

    .footer-bottom {
        flex-direction: column;
    }

    .floating-contact {
        right: 14px;
        bottom: 14px;
    }

    .floating-btn {
        min-width: 94px;
        min-height: 44px;
        padding: 0 14px;
        font-size: 13px;
    }

    .notice-card {
        padding: 34px 24px;
    }
}
