/* Variables - Corporate Navy & Gold (Nexus Luxo) */
:root {
    --navy-principal: #0B1F3A;
    --navy-secundario: #132840;
    --gold-principal: #C9A84C;
    --gold-claro: #E2C270;
    --pale-gold: #F5EDD4;
    --creme: #F7F4EE;
    --white: #FFFFFF;
    --gray-light: #EBEBEB;
    --gray-dark: #666666;
    --overlay-dark: rgba(11, 31, 58, 0.85);
    --glass-bg: rgba(19, 40, 64, 0.75);
    --glass-border: rgba(201, 168, 76, 0.25);
    --shadow-premium: 0 15px 35px rgba(0, 0, 0, 0.3);
    
    --font-titles: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;
}

/* Reset & Global */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--navy-principal);
    color: var(--pale-gold);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-titles);
    font-weight: 600;
}

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

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 0px;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    cursor: pointer;
    border: 1px solid transparent;
}

.btn-gold {
    background-color: var(--gold-principal);
    color: var(--navy-principal);
}

.btn-gold:hover {
    background-color: var(--gold-claro);
    color: var(--navy-principal);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 168, 76, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--gold-principal);
    color: var(--gold-claro);
}

.btn-outline:hover {
    background-color: var(--gold-principal);
    color: var(--navy-principal);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(201, 168, 76, 0.2);
}

.btn-clear {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: transparent;
    border: none;
    color: var(--pale-gold);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.btn-clear:hover {
    opacity: 1;
    color: var(--gold-claro);
    transform: scale(1.02);
}

/* Header */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(11, 31, 58, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    transition: background-color 0.3s ease;
}

.header-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1.25rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-img {
    width: 320px;
    height: auto;
    display: block;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-weight: 400;
    color: var(--pale-gold);
    transition: color 0.3s ease;
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background-color: var(--gold-principal);
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--gold-claro);
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-toggle {
    display: none;
    background: transparent;
    border: none;
    color: var(--gold-principal);
    cursor: pointer;
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background-color: var(--navy-principal);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    transform: translateZ(0);
    will-change: opacity, transform;
}

.mobile-nav-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: transparent;
    border: none;
    color: var(--gold-principal);
    cursor: pointer;
}

.mobile-nav-links {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    text-align: center;
}

.mobile-link {
    font-family: var(--font-titles);
    font-size: 2rem;
    color: var(--pale-gold);
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--gold-claro);
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 85vh;
    min-height: 85dvh;
    display: flex;
    align-items: center;
    padding: 9.5rem 2rem 4rem;
    background-image: linear-gradient(135deg, #0b1f3a 0%, #132840 100%);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

/* Animated decorative background grid/shapes */
.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 80% 20%, rgba(201, 168, 76, 0.08) 0%, transparent 50%),
                radial-gradient(circle at 10% 80%, rgba(19, 40, 64, 0.9) 0%, transparent 60%);
    z-index: 1;
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 700px;
}

.hero-tag {
    display: inline-block;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.3em;
    color: var(--gold-principal);
    margin-bottom: 1rem;
    font-weight: 600;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.2rem);
    line-height: 1.1;
    color: var(--white);
    margin-bottom: 1.5rem;
}

.text-gold {
    color: var(--gold-principal);
    background: linear-gradient(120deg, var(--gold-principal) 0%, var(--gold-claro) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.15rem;
    color: var(--pale-gold);
    opacity: 0.85;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Filters Section - Glassmorphism */
.filters-section {
    position: relative;
    z-index: 10;
    margin-top: -3.5rem;
    padding: 0 2rem;
}

.section-container {
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.filters-wrapper {
    background-color: var(--glass-bg);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    box-shadow: var(--shadow-premium);
    position: relative;
    transform: translateZ(0);
    will-change: transform;
}

.filters-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, var(--gold-principal), var(--gold-claro));
}

.filters-header {
    margin-bottom: 2rem;
}

.filters-title {
    font-size: 1.6rem;
    color: var(--white);
    font-weight: 600;
}

.filters-subtitle {
    font-size: 0.85rem;
    color: var(--pale-gold);
    opacity: 0.7;
    margin-top: 0.25rem;
}

.filters-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.col-span-2 {
    grid-column: span 2;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-claro);
    font-weight: 600;
}

.input-with-icon {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 1rem;
    width: 18px;
    height: 18px;
    color: var(--gold-principal);
    pointer-events: none;
}

.filter-input {
    width: 100%;
    background-color: rgba(11, 31, 58, 0.6);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--white);
    padding: 0.85rem 1rem 0.85rem 2.8rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-input:focus {
    outline: none;
    border-color: var(--gold-principal);
    box-shadow: 0 0 10px rgba(201, 168, 76, 0.15);
    background-color: rgba(11, 31, 58, 0.8);
}

.filter-select {
    width: 100%;
    background-color: rgba(11, 31, 58, 0.6);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--white);
    padding: 0.85rem 1rem;
    font-family: var(--font-body);
    font-size: 0.9rem;
    transition: all 0.3s ease;
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23C9A84C' stroke-width='2'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1.2em;
}

.filter-select:focus {
    outline: none;
    border-color: var(--gold-principal);
    background-color: rgba(11, 31, 58, 0.8);
}

.filter-select option {
    background-color: var(--navy-secundario);
    color: var(--white);
}

.filters-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
}

.results-count {
    font-size: 0.9rem;
    color: var(--pale-gold);
    font-style: italic;
    opacity: 0.85;
}

/* Property Sections */
.properties-section {
    padding: 6rem 2rem;
}

.bg-creme {
    background-color: var(--creme);
    color: var(--navy-principal);
}

.bg-creme .section-title {
    color: var(--navy-principal);
}

.bg-creme .section-tag {
    color: var(--gold-principal);
}

.bg-creme .section-divider {
    background-color: rgba(11, 31, 58, 0.15);
}

.section-header {
    margin-bottom: 3.5rem;
    text-align: center;
}

.section-tag {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--gold-principal);
    font-weight: 600;
}

.section-title {
    font-size: 2.5rem;
    color: var(--white);
    margin-top: 0.5rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.section-divider {
    width: 60px;
    height: 2px;
    background-color: var(--gold-principal);
    margin: 0 auto;
}

/* Card Grids */
.properties-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2.5rem;
}

/* Luxury Property Cards */
.prop-card {
    background-color: var(--navy-secundario);
    border: 1px solid rgba(201, 168, 76, 0.15);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.4s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.prop-card:hover {
    transform: translateY(-8px);
    border-color: var(--gold-principal);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), 0 0 15px rgba(201, 168, 76, 0.1);
}

.bg-creme .prop-card {
    background-color: var(--white);
    border-color: rgba(11, 31, 58, 0.08);
}

.bg-creme .prop-card:hover {
    border-color: var(--gold-principal);
}

/* Card Visual Header */
.prop-visual {
    height: 180px;
    position: relative;
    background: linear-gradient(135deg, var(--navy-secundario) 0%, var(--navy-principal) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Elegant geometric abstract backdrop inside card */
.prop-visual::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.12) 0%, transparent 60%);
    transform: rotate(30deg);
}

.bg-creme .prop-visual {
    background: linear-gradient(135deg, var(--navy-principal) 0%, var(--navy-secundario) 100%);
}

.prop-badge-id {
    position: absolute;
    top: 1.25rem;
    left: 1.25rem;
    background-color: rgba(11, 31, 58, 0.85);
    color: var(--gold-claro);
    padding: 0.35rem 0.75rem;
    font-size: 0.65rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
    border: 1px solid rgba(201, 168, 76, 0.3);
    z-index: 2;
}

.prop-type-badge {
    position: absolute;
    bottom: 1.25rem;
    left: 1.25rem;
    background-color: var(--gold-principal);
    color: var(--navy-principal);
    padding: 0.35rem 0.85rem;
    font-size: 0.7rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    font-weight: 600;
    z-index: 2;
}

/* Card Content */
.prop-info {
    padding: 2rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.prop-loc-top {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--gold-claro);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
    font-weight: 500;
}

.bg-creme .prop-loc-top {
    color: var(--gold-principal);
}

.prop-title {
    font-size: 1.45rem;
    line-height: 1.25;
    margin-bottom: 1rem;
    font-weight: 600;
    color: var(--white);
}

.bg-creme .prop-title {
    color: var(--navy-principal);
}

.prop-attributes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.1);
}

.bg-creme .prop-attributes {
    border-bottom-color: rgba(11, 31, 58, 0.06);
}

.prop-attr-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: var(--pale-gold);
    opacity: 0.85;
}

.bg-creme .prop-attr-item {
    color: var(--navy-principal);
    opacity: 0.8;
}

.prop-attr-item i {
    width: 16px;
    height: 16px;
    color: var(--gold-principal);
}

.prop-potencial-snippet {
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 1.5rem;
    color: var(--pale-gold);
    opacity: 0.75;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bg-creme .prop-potencial-snippet {
    color: var(--navy-principal);
    opacity: 0.7;
}

.prop-footer {
    margin-top: auto;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    padding-top: 1rem;
}

.prop-price-container {
    display: flex;
    flex-direction: column;
}

.prop-price-lbl {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gold-claro);
    opacity: 0.8;
}

.bg-creme .prop-price-lbl {
    color: var(--navy-secundario);
}

.prop-price-val {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--white);
}

.bg-creme .prop-price-val {
    color: var(--navy-principal);
}

.price-kz-sub {
    font-size: 0.75rem;
    color: var(--pale-gold);
    opacity: 0.7;
}

.bg-creme .price-kz-sub {
    color: var(--navy-principal);
    opacity: 0.6;
}

.prop-card-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-card-details {
    background: transparent;
    border: 1px solid var(--gold-principal);
    color: var(--gold-claro);
    padding: 0.6rem 1rem;
    font-size: 0.75rem;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-card-details:hover {
    background-color: var(--gold-principal);
    color: var(--navy-principal);
}

.btn-card-wa {
    background-color: #25D366;
    border: 1px solid #25D366;
    color: var(--white);
    padding: 0.6rem 0.85rem;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-card-wa:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    transform: translateY(-1px);
}

.btn-card-email {
    background-color: transparent;
    border: 1px solid var(--gold-principal);
    color: var(--gold-claro);
    padding: 0.6rem 0.85rem;
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-card-email:hover {
    background-color: var(--gold-principal);
    color: var(--navy-principal);
    transform: translateY(-1px);
}

.tipologias-snippet {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
    vertical-align: middle;
}

/* About Section */
.about-section {
    padding: 8rem 2rem;
    background-color: var(--navy-secundario);
}

.about-grid {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.about-title {
    font-size: 2.8rem;
    color: var(--white);
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.about-text {
    font-size: 1.05rem;
    color: var(--pale-gold);
    opacity: 0.85;
    margin-bottom: 1.5rem;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    padding-top: 2rem;
}

.metric-card {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-family: var(--font-titles);
    font-size: 3rem;
    color: var(--gold-principal);
    font-weight: 700;
    line-height: 1;
}

.metric-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    color: var(--pale-gold);
    opacity: 0.7;
    margin-top: 0.5rem;
    letter-spacing: 0.05em;
}

.about-visual {
    position: relative;
    height: 450px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.visual-card-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.visual-card {
    position: absolute;
    width: 80%;
    height: 220px;
    background-color: var(--navy-principal);
    border: 1px solid var(--gold-principal);
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    box-shadow: var(--shadow-premium);
    overflow: hidden;
    transition: transform 0.4s ease;
}

.visual-card:nth-child(1) {
    top: 0;
    left: 0;
    z-index: 2;
}

.visual-card:nth-child(2) {
    bottom: 0;
    right: 0;
    z-index: 1;
    border-color: rgba(201, 168, 76, 0.4);
}

.visual-card:hover {
    transform: scale(1.03);
    z-index: 3;
}

.visual-card-bg {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(201, 168, 76, 0.06) 0%, transparent 60%);
    pointer-events: none;
}

.visual-content {
    position: relative;
    z-index: 2;
}

.visual-title {
    font-size: 1.5rem;
    color: var(--gold-claro);
    margin-bottom: 0.5rem;
}

.visual-desc {
    font-size: 0.85rem;
    color: var(--pale-gold);
    opacity: 0.8;
}

/* Modal - Ficha Técnica de Luxo */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    height: 100dvh;
    background-color: rgba(11, 31, 58, 0.85);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 2rem;
    transform: translateZ(0);
    will-change: opacity, transform;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-container {
    background-color: var(--navy-secundario);
    border: 1px solid var(--gold-principal);
    width: 100%;
    max-width: 950px;
    max-height: 90vh;
    max-height: 90dvh;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    position: relative;
    overflow-y: auto;
    opacity: 0;
    transform: translateY(30px) translateZ(0);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.modal-overlay.active .modal-container {
    opacity: 1;
    transform: translateY(0) translateZ(0);
}

.modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: rgba(11, 31, 58, 0.6);
    border: 1px solid rgba(201, 168, 76, 0.3);
    color: var(--gold-principal);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background-color: var(--gold-principal);
    color: var(--navy-principal);
    transform: rotate(90deg);
}

.modal-content-wrapper {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    min-height: 550px;
}

/* Modal Visual Side */
.modal-visual-side {
    position: relative;
    background: linear-gradient(135deg, var(--navy-principal) 0%, #061121 100%);
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border-right: 1px solid rgba(201, 168, 76, 0.15);
}

.modal-img-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(201, 168, 76, 0.15), transparent 70%),
                radial-gradient(circle at bottom left, rgba(19, 40, 64, 0.8), transparent 70%);
}

.modal-quick-meta {
    position: relative;
    z-index: 2;
}

.modal-badge-id {
    display: inline-block;
    background-color: var(--gold-principal);
    color: var(--navy-principal);
    padding: 0.25rem 0.6rem;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.modal-visual-title {
    font-size: 2rem;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 0.5rem;
}

.modal-visual-sub {
    font-size: 0.85rem;
    color: var(--gold-claro);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Modal Details Side */
.modal-details-side {
    padding: 3.5rem 3rem;
}

.modal-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gold-principal);
    font-weight: 600;
    display: block;
    margin-bottom: 0.5rem;
}

.modal-title {
    font-size: 2.2rem;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 0.75rem;
}

.modal-location {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    color: var(--pale-gold);
    opacity: 0.8;
    margin-bottom: 2rem;
}

.modal-location i {
    color: var(--gold-principal);
    width: 18px;
    height: 18px;
}

/* Modal Price Box */
.modal-price-box {
    display: flex;
    gap: 3rem;
    background-color: var(--navy-principal);
    border: 1px solid rgba(201, 168, 76, 0.2);
    padding: 1.5rem 2rem;
    margin-bottom: 2.5rem;
}

.price-item {
    display: flex;
    flex-direction: column;
}

.price-label {
    font-size: 0.65rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--pale-gold);
    opacity: 0.6;
    margin-bottom: 0.25rem;
}

.price-value {
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--white);
}

.price-value.text-gold {
    color: var(--gold-principal);
}

/* Technical Details Grid */
.technical-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.tech-title {
    font-size: 1.25rem;
    color: var(--white);
    font-weight: 600;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(201, 168, 76, 0.15);
}

.tech-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.tech-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background-color: rgba(11, 31, 58, 0.4);
    padding: 1rem;
    border-left: 3px solid var(--gold-principal);
}

.tech-card i {
    color: var(--gold-principal);
    width: 20px;
    height: 20px;
    margin-top: 0.2rem;
}

.tech-text {
    display: flex;
    flex-direction: column;
}

.tech-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--gold-claro);
    font-weight: 600;
}

.tech-val {
    font-size: 0.95rem;
    color: var(--white);
    font-weight: 500;
    word-break: break-all;
}

.tech-section {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tech-subtitle {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gold-claro);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tech-subtitle i {
    width: 16px;
    height: 16px;
    color: var(--gold-principal);
}

.tech-desc {
    font-size: 0.9rem;
    color: var(--pale-gold);
    opacity: 0.85;
    line-height: 1.6;
}

/* Envolvente List Tags */
.envolvente-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    list-style: none;
    margin-top: 0.25rem;
}

.envolvente-tag {
    background-color: rgba(201, 168, 76, 0.08);
    border: 1px solid rgba(201, 168, 76, 0.2);
    color: var(--pale-gold);
    padding: 0.35rem 0.75rem;
    font-size: 0.75rem;
    font-weight: 500;
}

.modal-actions {
    margin-top: 1.5rem;
}

#modalWhatsappBtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    background-color: #25D366;
    border-color: #25D366;
    color: var(--white);
    width: 100%;
    padding: 1.1rem;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

#modalWhatsappBtn:hover {
    background-color: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.2);
}

/* Footer Section */
.main-footer {
    background-color: #061121;
    border-top: 1px solid rgba(201, 168, 76, 0.15);
    padding: 5rem 2rem 2rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo-link {
    display: inline-block;
    margin-bottom: 0.75rem;
}

.footer-logo-img {
    width: 300px;
    height: auto;
    display: block;
    transition: opacity 0.3s ease;
}

.footer-logo-link:hover .footer-logo-img {
    opacity: 0.85;
}

.footer-slogan {
    font-size: 0.9rem;
    color: var(--pale-gold);
    opacity: 0.7;
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(201, 168, 76, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-principal);
    transition: all 0.3s ease;
}

.social-link:hover {
    background-color: var(--gold-principal);
    color: var(--navy-principal);
    border-color: var(--gold-principal);
}

.social-link svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: block;
}

.footer-links-title {
    font-family: var(--font-body);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--gold-claro);
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
}

.footer-link {
    font-size: 0.9rem;
    color: var(--pale-gold);
    opacity: 0.8;
    transition: color 0.3s ease, padding-left 0.3s ease;
}

.footer-link:hover {
    color: var(--gold-claro);
    padding-left: 4px;
}

.footer-contact-item {
    font-size: 0.9rem;
    color: var(--pale-gold);
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact-item a {
    transition: color 0.3s ease, opacity 0.3s ease;
}

.footer-contact-item a:hover {
    color: var(--gold-claro);
    opacity: 1;
}

.footer-contact-item i {
    width: 16px;
    height: 16px;
    color: var(--gold-principal);
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(201, 168, 76, 0.08);
    text-align: center;
    font-size: 0.75rem;
    color: var(--pale-gold);
    opacity: 0.5;
}

/* Scrollbar Customization - Elegant & Thin */
::-webkit-scrollbar {
    width: 6px;
    height: 6px;
}

::-webkit-scrollbar-track {
    background-color: var(--navy-principal);
}

::-webkit-scrollbar-thumb {
    background-color: var(--gold-principal);
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--gold-claro);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .logo-img {
        width: 250px;
    }
    
    .footer-logo-img {
        width: 230px;
    }

    .header-container {
        padding: 1.25rem 1.5rem;
    }
    
    .nav-menu {
        display: none;
    }
    
    .mobile-toggle {
        display: block;
    }
    
    .hero-section {
        min-height: 70vh;
        min-height: 70dvh;
        padding-top: 10rem;
    }
    
    .filters-section {
        margin-top: -2rem;
        padding: 0 1.5rem;
    }
    
    .filters-wrapper {
        padding: 1.75rem;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-visual {
        height: 350px;
    }
    
    .modal-content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .modal-visual-side {
        padding: 4rem 2rem 2rem;
        border-right: none;
        border-bottom: 1px solid rgba(201, 168, 76, 0.15);
    }
    
    .modal-details-side {
        padding: 2.5rem 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
        gap: 2.5rem;
}

@media (min-width: 992px) {
    .logo-img {
        width: 410px; /* ~28% increase from 320px */
    }
    
    .footer-logo-img {
        width: 380px; /* ~27% increase from 300px */
    }
}

@media (max-width: 768px) {
    .filters-grid {
        grid-template-columns: 1fr;
    }
    
    .col-span-2 {
        grid-column: span 1;
    }
    
    .properties-grid {
        grid-template-columns: 1fr;
    }
    
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .modal-overlay {
        padding: 1rem 0.5rem;
    }
    
    .modal-price-box {
        flex-direction: column;
        gap: 1rem;
        padding: 1.25rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
}

/* Portfolio Tabs & New Luxury Badges (Phase 2) */
.portfolio-tabs {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3.5rem;
    flex-wrap: wrap;
    position: relative;
    z-index: 5;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.9rem 1.6rem;
    background-color: rgba(19, 40, 64, 0.45);
    border: 1px solid rgba(201, 168, 76, 0.15);
    color: var(--pale-gold);
    font-family: var(--font-body);
    font-size: 0.85rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.tab-btn i {
    width: 16px;
    height: 16px;
}

.tab-btn:hover {
    border-color: var(--gold-principal);
    background-color: rgba(19, 40, 64, 0.85);
    transform: translateY(-2px);
    color: var(--gold-claro);
}

.tab-btn.active {
    background-color: var(--gold-principal);
    color: var(--navy-principal);
    border-color: var(--gold-principal);
    font-weight: 600;
    box-shadow: 0 8px 25px rgba(201, 168, 76, 0.3);
}

/* Custom Badges by Segment and Category */
.prop-badge-terreno {
    background-color: #3b5f3d !important; /* Elegant Forest Green for land/terrains */
    color: #e6ffec !important;
    border: 1px solid rgba(110, 190, 115, 0.4) !important;
}

.prop-badge-complexo {
    background-color: #4a5568 !important; /* Steel grey for complex/industrial */
    color: #e2e8f0 !important;
    border: 1px solid rgba(203, 213, 224, 0.4) !important;
}

.bg-creme .tab-btn {
    background-color: var(--white);
    border-color: rgba(11, 31, 58, 0.1);
    color: var(--navy-principal);
}

.bg-creme .tab-btn:hover {
    border-color: var(--gold-principal);
    background-color: var(--creme);
}

.bg-creme .tab-btn.active {
    background-color: var(--gold-principal);
    color: var(--navy-principal);
}

/* Skeleton Loading - Liquid Glass Animation */
.skeleton-element {
    background: linear-gradient(90deg, 
        rgba(19, 40, 64, 0.4) 25%, 
        rgba(201, 168, 76, 0.15) 37%, 
        rgba(19, 40, 64, 0.4) 63%
    );
    background-size: 400% 100%;
    animation: liquid-glass 1.4s ease infinite;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(201, 168, 76, 0.1);
}

@keyframes liquid-glass {
    0% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.skeleton-card {
    pointer-events: none;
}

.skeleton-visual {
    width: 100%;
    height: 180px;
    border: none;
    border-radius: 0;
}

.skeleton-badge {
    width: 80px;
    height: 16px;
    margin-bottom: 0.75rem;
}

.skeleton-title {
    width: 70%;
    height: 24px;
    margin-bottom: 1.5rem;
}

.skeleton-attr {
    width: 80%;
    height: 14px;
}

.skeleton-text {
    width: 100%;
    height: 32px;
    margin-bottom: 1.5rem;
}

.skeleton-price {
    width: 100px;
    height: 22px;
}

.skeleton-btn {
    width: 80px;
    height: 32px;
}
