/* DEYVI & MENCHU — Web pública premium */
:root {
    --gold: #c9a962;
    --gold-light: #e8d5a3;
    --gold-dark: #a68b4b;
    --black: #0a0a0a;
    --black-soft: #141414;
    --white: #ffffff;
    --gray-100: #f7f7f5;
    --gray-200: #e8e8e6;
    --gray-600: #6b6b6b;
    --font-display: 'Cormorant Garamond', Georgia, serif;
    --font-body: 'Inter', system-ui, sans-serif;
}

.web-body {
    font-family: var(--font-body);
    color: var(--black);
    background: var(--white);
}

.skip-link {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2000;
    padding: 0.75rem 1rem;
    background: var(--gold);
    color: var(--black);
    font-weight: 600;
    transform: translateY(-120%);
    transition: transform 0.2s;
}
.skip-link:focus { transform: translateY(0); }

/* Header */
.web-header {
    position: sticky;
    top: 0;
    z-index: 1030;
    background: var(--black);
    border-bottom: 1px solid rgba(201, 169, 98, 0.25);
}

.web-navbar {
    padding: 0.85rem 0;
}

.web-navbar .navbar-brand {
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
    margin-right: 1rem;
}

.web-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
    font-weight: 500;
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem !important;
    border-radius: 0.35rem;
    transition: color 0.2s, background 0.2s;
}

.web-navbar .nav-link:hover,
.web-navbar .nav-link.active {
    color: var(--gold-light) !important;
    background: rgba(201, 169, 98, 0.12);
}

.brand-logo-link {
    text-decoration: none;
    line-height: 0;
}

.brand-logo-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    background: transparent;
}

.brand-logo-img,
.web-logo,
.footer-logo {
    object-fit: contain;
    background: transparent;
    mix-blend-mode: lighten;
    filter: saturate(1.1) brightness(1.04);
}

.web-logo,
.footer-logo {
    display: block;
    width: auto;
    height: 52px;
    max-height: 52px;
    max-width: min(300px, 42vw);
    object-fit: contain;
    object-position: left center;
}

.footer-logo {
    max-width: min(300px, 100%);
}

.navbar-toggler {
    border-color: rgba(255, 255, 255, 0.3);
}

.btn-gold {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border: none;
    color: var(--black);
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
}
.btn-gold:hover {
    background: var(--gold-light);
    color: var(--black);
}

.btn-white {
    background: #fff;
    border: none;
    color: var(--black);
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    border-radius: 2rem;
    box-shadow: 0 2px 14px rgba(0, 0, 0, 0.2);
}
.btn-white:hover {
    background: #f3f3f3;
    color: var(--black);
    box-shadow: 0 4px 18px rgba(0, 0, 0, 0.25);
}

.btn-outline-gold {
    border: 2px solid var(--gold);
    color: var(--black);
    font-weight: 600;
}
.btn-outline-gold:hover {
    background: var(--gold);
    color: var(--black);
}

/* Hero con imagen Parque del Retiro */
.web-hero {
    position: relative;
    min-height: clamp(520px, 92dvh, 900px);
    display: flex;
    align-items: center;
    color: var(--white);
    overflow: hidden;
    background-color: var(--black);
}

.inmueble-hero-img {
    max-height: 520px;
    object-fit: cover;
    width: 100%;
}

/* Hero con imagen de interior (opciones 1–3 en /assets/img/) */
.web-hero-img {
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: scroll;
    background-color: #1a1a1a;
}

.web-hero-img--1 {
    background-image:
        linear-gradient(105deg, rgba(10, 10, 10, 0.78) 0%, rgba(10, 10, 10, 0.35) 42%, rgba(10, 10, 10, 0.5) 100%),
        url('../img/hero-opcion-1.jpg');
    background-position: center 38%;
}

.web-hero-img--2 {
    background-image:
        linear-gradient(105deg, rgba(10, 10, 10, 0.82) 0%, rgba(10, 10, 10, 0.4) 45%, rgba(10, 10, 10, 0.55) 100%),
        url('../img/hero-opcion-2.jpg');
    background-position: center 42%;
}

.web-hero-img--3 {
    background-image:
        linear-gradient(105deg, rgba(10, 10, 10, 0.8) 0%, rgba(10, 10, 10, 0.38) 48%, rgba(10, 10, 10, 0.52) 100%),
        url('../img/hero-opcion-3.jpg');
    background-position: 55% center;
}

.web-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(10, 10, 10, 0.72) 0%,
        rgba(10, 10, 10, 0.45) 45%,
        rgba(10, 10, 10, 0.65) 100%
    );
    z-index: 0;
}

.web-hero-eyebrow {
    letter-spacing: 0.2em;
    color: var(--gold-light);
    font-size: 0.8rem;
    font-weight: 600;
}

.web-hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 180px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.15) 35%,
        rgba(255, 255, 255, 0.85) 72%,
        var(--white) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.web-hero-content {
    position: relative;
    z-index: 1;
    max-width: 720px;
}

.web-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.web-hero h1 span {
    color: var(--gold);
}

.web-hero-lead {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 2rem;
}

.web-search-box {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.25rem;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
}

.web-search-box .form-label {
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-600);
}

/* Sections */
.section-title {
    font-family: var(--font-display);
    font-size: clamp(1.75rem, 4vw, 2.25rem);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    color: var(--gray-600);
    margin-bottom: 2.5rem;
}

.bg-cream { background: var(--gray-100); }
.bg-dark-premium { background: var(--black); color: var(--white); }

/* Property cards premium */
.inmueble-card-premium {
    border: none;
    border-radius: 0.75rem;
    overflow: hidden;
    background: var(--white);
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.06);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    height: 100%;
}

.inmueble-card-premium:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.12);
}

.inmueble-card-premium .card-img-wrap {
    position: relative;
    overflow: hidden;
}

.inmueble-card-premium .card-img-top {
    height: 240px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.inmueble-card-premium:hover .card-img-top {
    transform: scale(1.05);
}

.inmueble-card-premium .price-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: var(--black);
    color: var(--gold-light);
    font-weight: 700;
    font-size: 1.1rem;
    padding: 0.4rem 0.85rem;
    border-radius: 0.35rem;
}

.inmueble-card-premium .op-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--gold);
    color: var(--black);
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.6rem;
    border-radius: 0.25rem;
}

.inmueble-card-premium .card-body {
    padding: 1.25rem;
}

.inmueble-card-premium .card-title-price {
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--black);
    margin-bottom: 0.35rem;
}

.inmueble-card-premium .card-meta {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.btn-info-gold {
    background: transparent;
    border: 2px solid var(--black);
    color: var(--black);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 0.5rem 1rem;
    border-radius: 0.25rem;
    width: 100%;
    margin-top: 0.75rem;
}
.btn-info-gold:hover {
    background: var(--black);
    color: var(--gold-light);
}

/* Page headers */
.page-hero {
    background: var(--black);
    color: var(--white);
    padding: 4rem 0 3rem;
    text-align: center;
}
.page-hero h1 {
    font-family: var(--font-display);
    font-size: 2.75rem;
    margin-bottom: 0.5rem;
}
.page-hero p { opacity: 0.85; max-width: 560px; margin: 0 auto; }

/* Contact */
.contact-card {
    border: 1px solid var(--gray-200);
    border-radius: 1rem;
    padding: 2rem;
    background: var(--white);
}
.contact-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(201, 169, 98, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-dark);
    font-size: 1.25rem;
}

/* Footer */
.web-footer {
    background: var(--black);
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0;
}

.footer-heading {
    color: var(--gold);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links a {
    color: rgba(255, 255, 255, 0.75);
    text-decoration: none;
    font-size: 0.9rem;
    line-height: 2;
}
.footer-links a:hover { color: var(--gold-light); }

.footer-contact li {
    margin-bottom: 0.65rem;
    font-size: 0.9rem;
}
.footer-contact a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.footer-contact a:hover { color: var(--gold-light); }
.footer-contact i { color: var(--gold); margin-right: 0.5rem; }

.footer-social {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(201, 169, 98, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 1.1rem;
    transition: background 0.2s, color 0.2s;
}
.footer-social a:hover {
    background: var(--gold);
    color: var(--black);
}

.footer-divider { border-color: rgba(255, 255, 255, 0.1); margin: 0; }
.footer-legal a { color: rgba(255, 255, 255, 0.6); text-decoration: none; }
.footer-legal a:hover { color: var(--gold-light); }
.footer-copy { color: rgba(255, 255, 255, 0.5); }
.footer-legal-name {
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    line-height: 1.4;
    margin-bottom: 0.5rem;
    max-width: 280px;
}

.footer-legal-name a {
    color: var(--gold-light);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-legal-name a:hover {
    color: #fff;
    text-decoration: underline;
}
.footer-text { font-size: 0.9rem; line-height: 1.6; opacity: 0.8; }

/* Stats strip */
.stats-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    padding: 2rem 0;
}
.stat-item { text-align: center; }
.stat-item .num {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--gold);
    line-height: 1;
}
.stat-item .lbl { font-size: 0.85rem; opacity: 0.8; }

/* Filters bar */
.filters-premium {
    background: var(--white);
    border-radius: 1rem;
    padding: 1.5rem;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
    margin-top: -3rem;
    position: relative;
    z-index: 2;
    margin-bottom: 2rem;
}

@media (max-width: 991.98px) {
    .web-hero {
        min-height: auto;
        padding: 4rem 0 5rem;
    }

    .web-hero-content {
        max-width: 100%;
    }

    .web-search-box {
        padding: 1rem;
    }
}

/* Legal pages */
.legal-content {
    max-width: 860px;
    margin: 0 auto;
    line-height: 1.7;
    color: var(--gray-800, #333);
}
.legal-content h2,
.legal-content h3 {
    font-family: var(--font-display);
    color: var(--black);
}
.legal-content .legal-dl dt {
    font-weight: 600;
    color: var(--gray-700);
}
.legal-content .legal-table {
    font-size: 0.9rem;
}
.legal-content .legal-identidad {
    border-left: 4px solid var(--gold, #c9a962);
}
