:root {
    --ink: #f3f7fa;
    --muted: #c3d0d9;
    --line: #294b61;
    --paper: #123b55;
    --blue-soft: #0f2f46;
    --blue-section: #16435d;
    --gold: #b18b32;
    --container: 1180px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    color: var(--ink);
    font-family: sans-serif;
    font-size: 18px;
    line-height: 1.6;
}

a {
    text-decoration: none;
    transition: color .2s ease;
}

a:hover,
a:focus-visible,
a:active {
    color: var(--gold);
    font-weight: 700;
}

button:hover,
button:focus-visible,
button:active {
    font-weight: 700;
}

.container {
    width: min(var(--container), calc(100% - 32px));
    margin: 0 auto;
}

.site-header .container {
    width: calc(100% - 28px);
    max-width: 1600px;
}

.site-header {
    position: sticky;
    top: 0;
    z-index: 20;
        gap: 12px;
    border-bottom: 1px solid var(--line);
    background: #ffffff;
    color: #22201e;
}

.navbar {
    min-height: 82px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 16px;
    min-width: max-content;
    flex-shrink: 0;
}

.brand img {
    width: 126px;
    height: 64px;
    object-fit: contain;
}

.brand-name {
    color: #173453;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 2.5px;
    white-space: nowrap;
}

.brand-name::first-letter {
    color: #173453;
}

.navigation {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-wrap: wrap;
    gap: 22px;
    margin-left: auto;
    font-size: 23px;
}

.navigation > a,
.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    padding: 6px 0;
    border: 0;
    color: #22201e;
    white-space: nowrap;
}

.nav-button {
    padding: 6px 0;
}

.navigation > a:hover,
.dropdown-toggle:hover {
    color: var(--gold);
}

.construction-notice {
    padding: 14px 24px;
    color: #765b12;
    background: #fff4d5;
    border-bottom: 1px solid #ecd58e;
    text-align: center;
    font-size: 16px;
}

.construction-notice strong {
    margin-right: 12px;
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 76px 0 90px;
    background: var(--paper);
}

.hero::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    background-image: linear-gradient(rgba(18, 59, 85, .62), rgba(15, 47, 70, .68)), url("https://images.unsplash.com/photo-1545324418-cc1a3fa10c00?auto=format&fit=crop&w=1800&q=80");
    background-position: center;
    background-size: cover;
    opacity: .88;
    filter: grayscale(25%);
}

.hero-content {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 470px);
    align-items: start;
    gap: 72px;
}

.hero-text {
    padding-top: 22px;
}

.eyebrow {
    color: #777169;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 4px;
}

h1,
h2,
h3,
p {
    margin-top: 0;
}

h1 {
    max-width: 620px;
    margin: 24px 0 24px;
    font-family: sans-serif;
    font-size: clamp(54px, 6vw, 88px);
    line-height: 1.02;
    font-weight: 500;
}

.hero-text p {
    max-width: 560px;
    margin-bottom: 42px;
    color: var(--muted);
    font-size: 23px;
    line-height: 1.8;
}

.primary-button,
.search-button,
.all-properties-link {
    display: inline-block;
    padding: 16px 28px;
    border: 0;
    border-radius: 4px;
    color: #ffffff !important;
    background: var(--gold);
    font-size: 23px;
    font-weight: 700;
    cursor: pointer;
    transition: color .2s ease, background-color .2s ease;
}

.primary-button:hover,
.primary-button:focus-visible,
.primary-button:active,
.search-button:hover,
.search-button:focus-visible,
.search-button:active {
    color: #173453 !important;
    background: #d4af37;
}

.all-properties-link {
    display: inline-block;
    padding: 12px 20px;
    border-radius: 4px;
    color: #ffffff !important;
    background: var(--gold);
    font-size: 23px;
    font-weight: 700;
    transition: color .2s ease, background-color .2s ease;
}

.all-properties-link:hover,
.all-properties-link:focus-visible,
.all-properties-link:active {
    color: #173453 !important;
    background: #d4af37;
}

.detail-back-link {
    display: inline-block;
    padding: 12px 20px;
    border: 0 !important;
    border-radius: 4px;
    color: #ffffff !important;
    background: var(--gold) !important;
    font-size: 23px;
    font-weight: 700;
    text-decoration: none;
    box-shadow: none !important;
    transition: color .2s ease, background-color .2s ease, font-weight .2s ease;
}

.detail-back-link:hover,
.detail-back-link:focus-visible,
.detail-back-link:active {
    color: #173453 !important;
    background: #d4af37 !important;
    font-weight: 700;
}

.detail-back-container {
    background: transparent !important;
    border: 0 !important;
    box-shadow: none !important;
}

.detail-property-type,
.detail-property-location {
    color: #ffffff !important;
    font-weight: 700;
}

.property-description {
    margin-top: 60px;
    max-width: 800px;
}

.property-description-title,
.property-facilities-title {
    color: #dce4e9;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 4px;
    text-transform: uppercase;
}

.property-description-title {
    margin-bottom: 0;
}

.property-description p {
    margin: 0;
    white-space: pre-line;
}

.property-description-title + p,
.property-facilities-title + p {
    margin-top: 6px;
}

.property-facilities-title {
    margin-top: 30px;
    margin-bottom: 0;
}

.detail-contact-actions {
    display: flex;
    gap: 12px;
    width: 100%;
}

.detail-contact-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 0;
    min-width: 0;
    text-align: center;
}

.detail-contact-button .whatsapp-symbol,
.detail-contact-button .email-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    font-size: 42px;
}

.detail-contact-button .whatsapp-symbol svg,
.detail-contact-button .email-symbol svg {
    width: 100%;
    height: 100%;
}

.search-card {
    padding: 34px;
    border-radius: 12px;
    background: #ffffff;
    color: #22201e;
    box-shadow: 0 8px 30px rgba(34, 32, 30, .08);
}

.search-card h3 {
    margin-bottom: 26px;
    font-size: 32px;
}

.news-hero {
    padding: 76px 0 18px;
    background: var(--blue-soft);
}

.news-hero h1 {
    max-width: 700px;
    margin: 12px 0 10px;
    color: #ffffff;
    font-size: clamp(38px, 5vw, 64px);
    line-height: 1.05;
}

.news-hero p {
    max-width: 620px;
    margin: 0;
    color: #dce4e9;
}

.news-section {
    padding-top: 12px;
    background: #f5f7f8;
}

.news-empty {
    padding: 28px;
    background: #ffffff;
    color: #68645e;
    text-align: center;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
}

.news-card {
    overflow: hidden;
    background: #ffffff;
    border: 1px solid #dfe5e8;
    border-radius: 6px;
}

.news-card-featured {
    grid-column: span 2;
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
}

.news-card img {
    display: block;
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.news-card-featured img {
    height: 100%;
    min-height: 320px;
}

.news-card-content {
    padding: 28px;
}

.news-date {
    margin-bottom: 10px;
    color: #8a6a12;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.news-card h2 {
    margin: 0 0 12px;
    color: #22201e;
    font-size: 27px;
    line-height: 1.2;
}

.news-card p {
    margin: 0;
    color: #68645e;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 700;
}

.form-group input,
.form-group select {
    width: 100%;
    min-height: 48px;
    padding: 10px 14px;
    border: 1px solid var(--line);
    border-radius: 4px;
    color: #000000;
    background: #ffffff;
    font: inherit;
}

.form-group input::placeholder {
    color: #000000;
    opacity: 1;
}

.form-group select option {
    color: #000000;
}

.search-button {
    width: 100%;
    margin-top: 6px;
}

.section,
.about,
.cta {
    padding: 84px 0;
}

.section {
    background: var(--blue-soft);
}

.section-gray {
    background: var(--blue-section);
}

.section-header {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 32px;
}

.section-header h2,
.about h2,
.cta h2 {
    margin: 12px 0 0;
    font-family: sans-serif;
    font-size: 46px;
    line-height: 1.1;
    font-weight: 500;
}

.property-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
}

.property-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    color: #22201e;
}

.property-image {
    position: relative;
    display: block;
    overflow: hidden;
    background: #f2f2f0;
}

.property-image img {
    width: 100%;
    height: auto;
    display: block;
}

.featured {
    position: absolute;
    top: 12px;
    padding: 4px 8px;
    border-radius: 3px;
    color: #ffffff;
    background: var(--ink);
    font-size: 11px;
}

.featured { right: 12px; background: var(--gold); }

.property-info {
    padding: 18px;
}

.property-type,
.property-location {
    color: #68645e;
    font-size: 16px;
}

.property-info h3 {
    margin: 6px 0;
}

.property-price {
    color: #000000;
    font-weight: 700;
}

.property-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #000000;
    font-size: 15px;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 36px;
}

.about-grid p,
.cta p {
    color: var(--muted);
    font-size: 21px;
    line-height: 1.8;
}

.about-projects {
    margin: 0 0 28px;
    padding-left: 24px;
    color: var(--muted);
    font-size: 21px;
    line-height: 1.7;
}

.about-projects li + li {
    margin-top: 14px;
}

.about-projects strong,
.about-more {
    color: #ffffff;
}

.about-more {
    font-weight: 700;
    text-decoration: underline;
    text-underline-offset: 4px;
}

.cta {
    color: #ffffff;
    background: #273b4d;
}

.cta .eyebrow,
.cta p {
    color: #dce4e9;
}

.footer {
    color: #dce4e9;
    background: #1c2f40;
    overflow: hidden;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    padding: 64px 0 54px;
    min-width: 0;
}

.footer-logo {
    color: #ffffff;
    font-size: 23px;
    font-weight: 700;
    letter-spacing: 2px;
}

.footer p {
    max-width: 280px;
    margin: 0 0 14px;
    color: #afbfca;
    font-size: 23px;
    line-height: 1.8;
}

.footer h4 {
    margin: 0;
    color: #ffffff;
    font-size: 23px;
}

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
    width: 100%;
    min-width: 0;
}

.developer-partners {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    text-align: center;
}

.developer-logo-viewport {
    width: 100%;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.developer-partners h3 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 23px;
}

.developer-logo-grid {
    display: flex;
    flex-wrap: nowrap;
    width: max-content;
    min-width: 0;
    align-items: center;
    gap: 14px;
    padding: 4px 2px 10px;
    animation: developer-logo-track 18s ease-in-out infinite alternate;
}

.developer-logo-grid img {
    flex: 0 0 clamp(88px, 10vw, 120px);
    width: clamp(88px, 10vw, 120px);
    height: 62px;
    padding: 7px;
    border-radius: 4px;
    background: #ffffff;
    object-fit: contain;
}

@keyframes developer-logo-track {
    from { transform: translateX(0); }
    to { transform: translateX(calc(-1 * var(--logo-distance, 0px))); }
}

@media (prefers-reduced-motion: reduce) {
    .developer-logo-grid { animation: none; }
}

.footer-column > p {
    margin: 0;
}

.footer-column > a {
    display: block;
    width: fit-content;
    margin: 0;
    color: #c8d4dc;
    font-size: 23px;
    line-height: 1.4;
}

.footer-column > a:hover {
    color: #ffffff;
}

.footer-actions > a {
    display: inline-block;
    padding: 11px 16px;
    border-radius: 4px;
    color: #ffffff;
    background: #168b62;
    font-size: 23px;
    font-weight: 700;
}

.footer-actions > a.email-button {
    background: #2d78c8;
}

.contact-icon-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 62px;
    height: 62px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 42px;
    line-height: 1;
}

.email-icon-link {
    background: #2d78c8;
}

.whatsapp-icon-link {
    background: #168b62;
}

.whatsapp-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: currentColor;
}

.whatsapp-symbol svg {
    width: 1em;
    height: 1em;
    fill: currentColor;
}

.whatsapp-nav-link .whatsapp-symbol {
    width: 34px;
    height: 34px;
    padding: 6px;
    border-radius: 50%;
    color: #ffffff;
    background: #168b62;
}

.whatsapp-nav-link:hover .whatsapp-symbol,
.whatsapp-nav-link:focus-visible .whatsapp-symbol,
.whatsapp-nav-link:active .whatsapp-symbol {
    color: #ffffff;
}

.email-nav-button .email-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 6px;
    border-radius: 50%;
    color: #ffffff;
    background: #2d78c8;
}

.email-symbol svg {
    width: 100%;
    height: 100%;
    fill: currentColor;
}

.whatsapp-icon-link .whatsapp-symbol {
    font-size: 42px;
}

.primary-button .whatsapp-symbol {
    font-size: 1.5em;
    vertical-align: middle;
}

.facebook-icon-link {
    background: #1877f2;
    font-family: Arial, sans-serif;
    font-weight: 700;
}

.tiktok-icon-link {
    background: #1877f2;
    font-weight: 700;
}

.contact-icon-link:hover {
    opacity: .82;
}

.contact-icons {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-top: 28px;
}

.floating-whatsapp {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 14px 10px 18px;
    border: 2px solid #ffffff;
    border-radius: 6px;
    color: #ffffff;
    background: #1674d1;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
}

.floating-whatsapp .whatsapp-symbol {
    font-size: 30px;
}

.floating-whatsapp:hover,
.floating-whatsapp:focus-visible {
    color: #ffffff;
    background: #0f5eae;
}

@media (max-width: 600px) {
    .floating-whatsapp {
        right: 14px;
        bottom: 14px;
        padding: 9px 12px 9px 14px;
        font-size: 14px;
    }

    .floating-whatsapp .whatsapp-symbol {
        font-size: 27px;
    }
}

.footer > .container.footer-grid > .footer-column {
    width: 100%;
}

.footer > .container.footer-grid > .footer-column .contact-icons {
    justify-content: center;
}

.footer-contact-row {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
}

.footer-contact-buttons {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
}

.visitor-counter {
    min-width: 108px;
    padding: 11px 12px;
    border: 1px solid rgba(220, 228, 233, .28);
    border-radius: 4px;
    color: #dce4e9;
    text-align: center;
    margin: 0 auto;
}

.visitor-counter strong {
    display: block;
    color: #ffffff;
    font-size: 22px;
    line-height: 1.1;
}

.visitor-counter-label {
    display: block;
    margin-top: 0 !important;
    margin-bottom: 6px;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
}

.footer-bottom {
    border-top: 1px solid rgba(220, 228, 233, .16);
    color: #9fb0bb;
    font-size: 18px;
}

.footer-bottom .container {
    padding: 18px 0;
}

/* Mobile menu and category dropdown */
.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-toggle {
    background: none;
    border: 0;
    color: inherit;
    font: inherit;
    cursor: pointer;
    padding: 6px 0;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    min-width: 180px;
    box-shadow: 0px 8px 16px rgba(0,0,0,0.15);
    border-radius: 6px;
    z-index: 10000;
    flex-direction: column;
}

.dropdown-menu a {
    color: #333333 !important;
    padding: 10px 15px !important;
    border-bottom: 1px solid #f0f0f0 !important;
    display: block;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible,
.dropdown-menu a:active {
    color: var(--gold) !important;
    font-weight: 700;
}

.all-properties-link:hover,
.all-properties-link:focus-visible,
.all-properties-link:active {
    color: #173453 !important;
    background: #d4af37;
}

.dropdown-menu.show {
    display: flex !important;
}

.mobile-menu {
    display: none;
    width: 44px;
    height: 44px;
    padding: 9px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    background: #ffffff;
    cursor: pointer;
    flex-shrink: 0;
}

.mobile-menu span {
    display: block;
    height: 2px;
    margin: 5px 0;
    background: #222222;
    border-radius: 2px;
}

@media (max-width: 900px) {
    .site-header {
        position: sticky !important;
        top: 0 !important;
        z-index: 999999 !important;
    }

    .admin-login-page .site-header,
    .career-page .site-header {
        position: fixed !important;
        left: 0 !important;
        width: 100% !important;
    }

    .admin-login-page,
    .career-page {
        padding-top: 72px;
    }

    .navbar {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }


    .mobile-menu {
        display: block !important;
        position: relative;
        z-index: 1000000;
    }

    .navigation {
        display: none !important;
    }

    .navigation.is-open {
        display: flex !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: #ffffff !important;
        z-index: 999999 !important;
        box-shadow: 0 10px 25px rgba(0,0,0,0.2) !important;
        gap: 4px !important;
        padding: 10px 20px !important;
        flex-direction: column !important;
        align-items: stretch !important;
    }

    .navigation.is-open > a,
    .navigation.is-open .dropdown-toggle {
        padding: 4px 0 !important;
    }

    .dropdown-menu {
        position: static !important;
        box-shadow: none !important;
        background-color: #f8f9fa !important;
        padding-left: 15px !important;
    }

    .container {
        width: min(100% - 32px, var(--container));
    }

    .navbar {
        min-height: 72px;
        gap: 12px;
    }

    .brand {
        gap: 8px;
    }

    .brand img {
        width: 92px;
        height: 52px;
    }

    .brand-name {
        max-width: 190px;
        overflow: hidden;
        font-size: 19px;
        letter-spacing: 1.5px;
        text-overflow: ellipsis;
    }

    .construction-notice {
        padding: 12px 16px;
        font-size: 15px;
    }

    .construction-notice strong {
        display: block;
        margin: 0;
    }

    .hero {
        padding: 48px 0 56px;
    }

    .hero-content,
    .about-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .hero-text {
        padding-top: 0;
    }

    h1 {
        margin: 16px 0 18px;
        font-size: clamp(46px, 12vw, 64px);
    }

    .hero-text p {
        margin-bottom: 28px;
        font-size: 19px;
        line-height: 1.6;
    }

    .navigation {
        font-size: 19px;
    }

    .primary-button,
    .search-button,
    .eyebrow {
        font-size: 19px;
    }

    .search-card {
        padding: 24px;
    }

    .property-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .news-card-featured {
        grid-template-columns: 1fr;
    }

    .news-card-featured img {
        min-height: 250px;
    }

    .section,
    .about,
    .cta {
        padding: 56px 0;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 36px 28px;
        padding: 48px 0 40px;
    }

    .developer-logo-grid {
        gap: 10px;
        padding-left: 0;
        padding-right: 0;
    }

    .developer-logo-grid img {
        flex-basis: clamp(72px, 16vw, 96px);
        width: clamp(72px, 16vw, 96px);
        height: 56px;
    }

    .footer-logo,
    .footer p,
    .footer h4,
    .footer-column > a,
    .footer-actions > a {
        font-size: 19px;
    }

    .footer-bottom {
        font-size: 16px;
    }

    .visitor-counter {
        transform: none;
    }
}

@media (max-width: 560px) {
    .brand-name {
        max-width: 145px;
        font-size: 19px;
    }

    .form-row,
    .property-grid,
    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card-featured {
        grid-column: auto;
    }

    .news-card-content {
        padding: 22px;
    }

    .news-card h2 {
        font-size: 24px;
    }

    .section-header {
        align-items: start;
        flex-direction: column;
    }

    .section-header h2,
    .about h2,
    .cta h2 {
        font-size: 34px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .developer-logo-grid {
        gap: 10px;
    }

    .developer-logo-grid img {
        height: 52px;
        padding: 6px;
    }

    .footer-contact-row {
        align-items: flex-start;
    }

    .visitor-counter {
        transform: none;
    }
}

.about {
    scroll-margin-top: 82px;
    background: #12364e;
}

.hero .eyebrow,
.section .eyebrow,
.about .eyebrow {
    color: #b9cad5;
}

.section-header > a {
    color: #ffffff;
    font-size: 23px;
}