@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,600;1,300;1,400&family=DM+Sans:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

*,*::before,*::after{
    box-sizing:border-box;
    margin:0;
    padding:0
}
:root {
    --charcoal: #0B0E1A;
    --warm-white: #FAF9FB;
    --cream: #F0EDF5;
    --mid: #3A404A;
    --muted: #7C7289;
    --accent: #D50057;
    --accent-light: #D50057;
    --border: rgba(11, 14, 26, 0.1);
    --admin-bg: #0B0E1A;
    --admin-card: #161B2E;
    --admin-border: rgba(255, 255, 255, 0.08);
}

/* ─── TIPOGRAFÍAS ─── */
.inter-font {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    font-style: normal;
}
.montserrat-bold {
    font-family: "Montserrat", sans-serif !important;
    font-weight: bold;
    font-style: normal;
}
.montserrat-semi-bold {
    font-family: "Montserrat", sans-serif !important;
    font-weight: 400;
    font-style: normal;
}

/* ─── NAV ─── */
.nav-bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 3rem;
    background: rgba(250, 250, 247, 0.88);
    backdrop-filter: blur(16px);
    border-bottom: 0.5px solid var(--border);
}
.logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.4rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--charcoal);
    text-decoration: none;
}
.logo span { color: var(--accent); }

.nav-links {
    display: flex;
    gap: 2.5rem;
    list-style: none;
}
.nav-links a {
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mid);
    text-decoration: none;
    transition: color 0.2s;
    font-family: 'DM Sans', sans-serif;
}
.nav-links a:hover,
.nav-links a.active { color: var(--charcoal); }

.nav-right {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}
.nav-cta {
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.6rem 1.5rem;
    border: 0.5px solid var(--charcoal);
    background: transparent;
    color: var(--charcoal);
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    display: inline-block;
}
.nav-cta:hover {
    background: var(--charcoal);
    color: var(--warm-white);
}
.admin-link {
    color: var(--muted);
    opacity: 0.5;
    transition: opacity 0.2s;
    text-decoration: none;
    display: flex;
    align-items: center;
}
.admin-link:hover { opacity: 1; }

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--charcoal);
    padding: 0.25rem;
    line-height: 1;
}

/* Menú mobile desplegable */
.nav-mobile {
    display: none;
    flex-direction: column;
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: rgba(250, 250, 247, 0.98);
    backdrop-filter: blur(16px);
    border-bottom: 0.5px solid var(--border);
    z-index: 99;
    padding: 1.5rem 1.5rem 2rem;
    gap: 1.25rem;
}
.nav-mobile.open { display: flex; }
.nav-mobile a {
    font-size: 0.85rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--mid);
    text-decoration: none;
    font-family: 'DM Sans', sans-serif;
    padding: 0.5rem 0;
    border-bottom: 0.5px solid var(--border);
}
.nav-mobile a:last-child { border-bottom: none; }
.nav-mobile a:hover { color: var(--charcoal); }

/* ─── HERO ─── */
.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 70px;
}
.hero-left {
    padding: 6rem 3rem 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.hero-eyebrow {
    font-size: 0.7rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.hero-eyebrow::before {
    content: '';
    display: inline-block;
    width: 32px;
    height: 0.5px;
    background: var(--accent);
}
.hero h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(2.4rem, 4.5vw, 5.5rem);
    font-weight: 300;
    line-height: 1.05;
    color: var(--charcoal);
    margin-bottom: 1.75rem;
}
.hero h1 em {
    font-style: italic;
    color: var(--accent);
}
.hero-desc {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--mid);
    max-width: 400px;
    margin-bottom: 2.5rem;
}
.hero-actions {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}
.btn-primary {
    padding: 0.85rem 2.25rem;
    background: var(--charcoal);
    color: var(--warm-white);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: all 0.25s;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    display: inline-block;
}
.btn-primary:hover { background: var(--accent); color: var(--warm-white); }

.btn-ghost {
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    color: var(--mid);
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.2s;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}
.btn-ghost:hover { color: var(--charcoal); }

.hero-stats {
    display: flex;
    gap: 3rem;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 0.5px solid var(--border);
    flex-wrap: wrap;
}
.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2.5rem;
    font-weight: 300;
    color: var(--charcoal);
    line-height: 1;
}
.stat-lbl {
    font-size: 0.72rem;
    color: var(--muted);
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
    text-transform: uppercase;
}
.hero-right {
    position: relative;
    overflow: hidden;
    background: var(--cream);
}
.hero-visual {
    width: 100%;
    height: 100%;
    position: relative;
    display: flex;
    align-items: flex-end;
    padding: 2.5rem;
}
.hero-visual img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.hero-visual::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(28,28,26,0.6) 0%, rgba(28,28,26,0.1) 60%, transparent 100%);
    pointer-events: none;
}
.hero-card {
    position: relative;
    z-index: 1;
    background: rgba(250, 250, 247, 0.92);
    backdrop-filter: blur(8px);
    padding: 1.5rem 1.75rem;
    max-width: 280px;
}
.hero-card-tag {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.5rem;
}
.hero-card-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.2rem;
    font-weight: 400;
    margin-bottom: 0.35rem;
}
.hero-card-price {
    font-size: 1.5rem;
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--charcoal);
}
.hero-card-addr {
    font-size: 0.78rem;
    color: var(--muted);
    margin-top: 0.25rem;
}

/* ─── SEARCH ─── */
.search-section {
    background: var(--charcoal);
    padding: 2.5rem 3rem;
}
.search-inner {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    gap: 0;
    flex-wrap: wrap;
}
.search-inner input,
.search-inner select {
    flex: 1;
    min-width: 150px;
    padding: 1rem 1.25rem;
    background: rgba(255,255,255,0.06);
    border: 0.5px solid rgba(255,255,255,0.12);
    border-right: none;
    color: #fff;
    font-size: 0.85rem;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    transition: background 0.2s;
}
.search-inner input::placeholder { color: rgba(255,255,255,0.4); }
.search-inner select { color: rgba(255,255,255,0.7); }
.search-inner select option { background: var(--charcoal); color: #fff; }
.search-inner input:focus,
.search-inner select:focus { background: rgba(255,255,255,0.1); }
.search-btn {
    padding: 1rem 2.5rem;
    background: var(--accent);
    color: var(--warm-white);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-family: 'DM Sans', sans-serif;
    font-weight: 500;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.search-btn:hover { opacity: 0.85; }

/* ─── SECCIONES ─── */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}
.section-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 0.6rem;
}
.section-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3.5vw, 3rem);
    font-weight: 300;
    color: var(--charcoal);
}
.section-link {
    font-size: 0.78rem;
    letter-spacing: 0.06em;
    color: var(--muted);
    text-decoration: none;
    transition: color 0.2s;
    font-family: 'DM Sans', sans-serif;
    white-space: nowrap;
}
.section-link:hover { color: var(--charcoal); }

/* ─── FILTROS ─── */
.filters {
    display: flex;
    gap: 0;
    margin-bottom: 2.5rem;
    flex-wrap: wrap;
}
.filter-btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.72rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 0.5px solid var(--border);
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    transition: all 0.2s;
    margin-right: -0.5px;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
    display: inline-block;
}
.filter-btn.active {
    background: var(--charcoal);
    color: var(--warm-white);
    border-color: var(--charcoal);
    z-index: 1;
}
.filter-btn:hover:not(.active) {
    color: var(--charcoal);
    border-color: var(--charcoal);
    z-index: 1;
}

/* ─── PROPIEDADES ─── */
.props-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}
.prop-card {
    text-decoration: none;
    color: inherit;
    transition: transform 0.3s ease;
    display: block;
}
.prop-card:hover { transform: translateY(-4px); }
.prop-thumb {
    height: 240px;
    position: relative;
    overflow: hidden;
    background: var(--cream);
}
.prop-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.prop-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 1;
    font-size: 0.65rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.3rem 0.8rem;
    font-family: 'DM Sans', sans-serif;
}
.badge-venta { background: var(--charcoal); color: var(--warm-white); }
.badge-nuevo { background: var(--warm-white); color: var(--charcoal); left: auto !important; right: 1rem; }
.badge-alq { background: var(--accent); color: var(--warm-white); }
.prop-body { padding: 1.25rem 0 0; }
.prop-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--charcoal);
    margin-bottom: 0.25rem;
}
.prop-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 300;
    color: var(--charcoal);
    margin-bottom: 0.15rem;
}
.prop-addr {
    font-size: 0.78rem;
    color: var(--muted);
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.75rem;
}
.prop-specs {
    display: flex;
    gap: 1.25rem;
    font-size: 0.75rem;
    color: var(--muted);
    padding-top: 0.75rem;
    border-top: 0.5px solid var(--border);
    flex-wrap: wrap;
}
.prop-spec {
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.no-results {
    color: var(--muted);
    text-align: center;
    padding: 3rem 0;
    grid-column: 1 / -1;
}

/* ─── BANNER ─── */
.banner {
    margin: 0 3rem 6rem;
    background: var(--charcoal);
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}
.banner-left {
    padding: 4rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.banner-eyebrow {
    font-size: 0.68rem;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}
.banner h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 300;
    color: var(--warm-white);
    line-height: 1.15;
    margin-bottom: 1.25rem;
}
.banner h2 em { font-style: italic; }
.banner p {
    font-size: 0.88rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.5);
    margin-bottom: 2rem;
}
.banner-right {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 320px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}
.banner-right img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.35);
}
.banner-pattern {
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(184,50,128,0.05) 20px, rgba(184,50,128,0.05) 21px);
}
.banner-form {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 320px;
}
.banner-form input,
.banner-form select {
    width: 100%;
    padding: 0.85rem 1rem;
    margin-bottom: 0.75rem;
    background: rgba(255,255,255,0.06);
    border: 0.5px solid rgba(255,255,255,0.15);
    color: #fff;
    font-size: 0.85rem;
    font-family: 'DM Sans', sans-serif;
    outline: none;
}
.banner-form input::placeholder { color: rgba(255,255,255,0.35); }

/* ─── AGENTES ─── */
.agents-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2.5rem;
}
.agent-card {
    text-align: center;
    width: 220px;
}
.agent-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    overflow: hidden;
}
.agent-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.agent-name {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--charcoal);
    margin-bottom: 0.2rem;
}
.agent-role {
    font-size: 0.75rem;
    color: var(--muted);
    margin-bottom: 0.75rem;
    letter-spacing: 0.05em;
}
.agent-contact {
    font-size: 0.7rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 0.5px solid var(--accent-light);
    padding-bottom: 2px;
    transition: color 0.2s;
    font-family: 'DM Sans', sans-serif;
}
.agent-contact:hover {
    color: var(--charcoal);
    border-color: var(--charcoal);
}

/* Agente destacado */
.agent-featured {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2.5rem;
    max-width: 800px;
    margin: 0 auto 3rem;
}
.agent-featured-visual { flex-shrink: 0; }
.agent-featured-visual img {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
    border: 2px solid var(--border);
}
.agent-featured-body { text-align: left; }
.agent-featured-body h3 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    font-weight: 300;
    color: var(--charcoal);
    line-height: 1.1;
    margin-bottom: 0.75rem;
}
.agent-featured-body p {
    font-size: 0.85rem;
    line-height: 1.7;
    color: var(--mid);
    max-width: 400px;
}
.agent-featured-line {
    width: 32px;
    height: 0.5px;
    background: var(--accent);
    margin: 1.25rem 0;
}
.agent-featured-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}
.agent-featured-meta span {
    display: flex;
    align-items: center;
    gap: 0.6rem;
    font-size: 0.78rem;
    color: var(--muted);
    font-family: 'DM Sans', sans-serif;
}
.agent-featured-meta svg {
    color: var(--accent);
    flex-shrink: 0;
}
.agent-featured-btn {
    font-size: 0.72rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
    text-decoration: none;
    border-bottom: 0.5px solid var(--accent-light);
    padding-bottom: 2px;
    font-family: 'DM Sans', sans-serif;
    transition: all 0.2s;
}
.agent-featured-btn:hover {
    color: var(--charcoal);
    border-color: var(--charcoal);
}

/* ─── FOOTER ─── */
.site-footer {
    background: var(--charcoal);
    padding: 3rem;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
}
.footer-brand .logo { color: var(--warm-white); }
.footer-desc {
    font-size: 0.82rem;
    line-height: 1.8;
    color: rgba(255,255,255,0.4);
    margin-top: 1rem;
    max-width: 260px;
}
.footer-col h4 {
    font-size: 0.68rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.4);
    margin-bottom: 1.25rem;
}
.footer-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}
.footer-col a {
    font-size: 0.82rem;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    transition: color 0.2s;
}
.footer-col a:hover { color: var(--accent); }
.footer-bottom {
    background: var(--charcoal);
    border-top: 0.5px solid rgba(255,255,255,0.08);
    padding: 1.25rem 3rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.72rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.04em;
}

/* ─── PÁGINAS INTERNAS ─── */
.page-section {
    padding: 8rem 3rem 6rem;
}
.page-content { max-width: 800px; }
.page-content p {
    font-size: 0.95rem;
    line-height: 1.9;
    color: var(--mid);
    margin-bottom: 1.5rem;
}
.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-top: 3rem;
}
.info-box {
    padding: 2rem;
    background: var(--cream);
}
.info-box h4 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.3rem;
    font-weight: 400;
    margin-bottom: 0.75rem;
    color: var(--charcoal);
}
.info-box p {
    font-size: 0.88rem;
    line-height: 1.7;
    color: var(--mid);
}
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}
.contact-item svg {
    color: var(--accent);
    flex-shrink: 0;
    margin-top: 2px;
}
.contact-item p {
    font-size: 0.9rem;
    color: var(--mid);
    line-height: 1.6;
}
.contact-item strong {
    color: var(--charcoal);
    display: block;
    margin-bottom: 0.25rem;
    font-weight: 500;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}
.contact-form input,
.contact-form textarea,
.contact-form select {
    width: 100%;
    padding: 0.85rem 1rem;
    background: var(--cream);
    border: 0.5px solid var(--border);
    color: var(--charcoal);
    font-size: 0.85rem;
    font-family: 'DM Sans', sans-serif;
    outline: none;
    transition: border-color 0.2s;
}
.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--accent); }
.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}

/* ─── DETALLE PROPIEDAD ─── */
.detail-page { padding: 5.5rem 3rem 4rem; }
.detail-back {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: var(--muted);
    text-decoration: none;
    margin-bottom: 2rem;
    font-family: 'DM Sans', sans-serif;
}
.detail-back:hover { color: var(--charcoal); }
.detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 3rem;
}
.detail-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    display: block;
    margin-bottom: 1rem;
}
.detail-gallery {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    padding-bottom: 0.5rem;
}
.detail-gallery img {
    width: 100px;
    height: 75px;
    object-fit: cover;
    cursor: pointer;
    opacity: 0.7;
    transition: opacity 0.2s;
    flex-shrink: 0;
}
.detail-gallery img:hover { opacity: 1; }
.detail-info h1 {
    font-family: 'Cormorant Garamond', serif;
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 300;
    margin-bottom: 0.5rem;
}
.detail-price {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    font-weight: 600;
    color: var(--accent);
    margin-bottom: 1.5rem;
}
.detail-badges {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}
.detail-desc {
    font-size: 0.92rem;
    line-height: 1.8;
    color: var(--mid);
    margin-bottom: 2rem;
    white-space: pre-line;
}
.detail-specs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 2rem;
}
.detail-spec {
    display: flex;
    justify-content: space-between;
    padding: 0.6rem 0;
    border-bottom: 0.5px solid var(--border);
    font-size: 0.85rem;
}
.detail-spec-label { color: var(--muted); }
.detail-spec-value { color: var(--charcoal); font-weight: 400; }
.detail-amenities {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}
.detail-amenity {
    padding: 0.4rem 1rem;
    background: var(--cream);
    font-size: 0.78rem;
    color: var(--mid);
    letter-spacing: 0.04em;
}

/* ─── BOTONES EXTRA ─── */
.btn-accent {
    display: inline-block;
    padding: 0.85rem 2.25rem;
    background: var(--accent);
    color: var(--warm-white);
    font-size: 0.75rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s;
    font-family: 'DM Sans', sans-serif;
    text-decoration: none;
}
.btn-accent:hover { opacity: 0.85; }

/* ─── TOAST ─── */
.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    padding: 0.85rem 1.5rem;
    font-size: 0.85rem;
    border-radius: 4px;
    z-index: 200;
    animation: slideUp .3s ease;
}
.toast-success { background: #10b981; color: #fff; }
.toast-error { background: #ef4444; color: #fff; }

/* ─── ANIMACIONES ─── */
@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
.animate { animation: fadeUp 0.7s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.25s; opacity: 0; }
.delay-3 { animation-delay: 0.4s; opacity: 0; }
.delay-4 { animation-delay: 0.55s; opacity: 0; }


/* ════════════════════════════════════════════
   RESPONSIVE — TABLET GRANDE (max 1200px)
════════════════════════════════════════════ */
@media (max-width: 1200px) {
    .nav-bar { padding: 1.25rem 2rem; }
    .nav-links { gap: 1.75rem; }

    .hero-left { padding: 5rem 2rem 3rem; }

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

    .site-footer {
        grid-template-columns: 1fr 1fr 1fr;
        padding: 2.5rem 2rem;
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-desc { max-width: 100%; }

    .banner { margin: 0 2rem 5rem; }
    .banner-left { padding: 3rem; }

    .page-section,
    .detail-page { padding-left: 2rem; padding-right: 2rem; }
}


/* ════════════════════════════════════════════
   RESPONSIVE — TABLET (max 900px)
════════════════════════════════════════════ */
@media (max-width: 900px) {
    /* Nav */
    .nav-bar { padding: 1rem 1.5rem; }
    .nav-links,
    .nav-cta,
    .admin-link { display: none; }
    .mobile-toggle { display: block; }

    /* Hero */
    .hero {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .hero-left {
        padding: 5rem 1.5rem 3rem;
        order: 1;
    }
    .hero-right {
        min-height: 55vw;
        order: 2;
    }
    .hero-stats {
        gap: 2rem;
        margin-top: 2.5rem;
    }

    /* Search */
    .search-section { padding: 2rem 1.5rem; }
    .search-inner input,
    .search-inner select {
        min-width: 120px;
        border-right: none;
        border-bottom: none;
    }
    .search-inner input:last-of-type,
    .search-inner select:last-of-type {
        border-bottom: 0.5px solid rgba(255,255,255,0.12);
    }
    .search-btn { width: 100%; }

    /* Propiedades */
    .props-grid { grid-template-columns: repeat(2, 1fr); }

    /* Banner */
    .banner {
        margin: 0 1.5rem 4rem;
        grid-template-columns: 1fr;
    }
    .banner-left { padding: 2.5rem 1.5rem; }
    .banner-right { min-height: 260px; padding: 2rem 1.5rem; }

    /* Agentes */
    .agents-grid { gap: 1.25rem; }
    .agent-card { width: calc(50% - 0.75rem); min-width: 160px; }

    .agent-featured {
        flex-direction: column;
        text-align: center;
        gap: 1.5rem;
    }
    .agent-featured-body { text-align: center; }
    .agent-featured-line { margin: 1.25rem auto; }
    .agent-featured-meta { align-items: center; }
    .agent-featured-visual img { width: 160px; height: 160px; }

    /* Footer */
    .site-footer {
        grid-template-columns: 1fr 1fr;
        padding: 2.5rem 1.5rem;
        gap: 2rem;
    }
    .footer-brand { grid-column: 1 / -1; }
    .footer-bottom {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    /* Páginas */
    .page-section,
    .detail-page { padding-left: 1.5rem; padding-right: 1.5rem; }
    .info-grid,
    .contact-grid { grid-template-columns: 1fr; }

    /* Detalle */
    .detail-grid { grid-template-columns: 1fr; }
    .detail-img { height: 280px; }
}


/* ════════════════════════════════════════════
   RESPONSIVE — MOBILE (max 600px)
════════════════════════════════════════════ */
@media (max-width: 600px) {
    /* Nav */
    .nav-bar { padding: 0.9rem 1rem; }
    .logo { font-size: 1.2rem; }

    /* Hero */
    .hero-left { padding: 4.5rem 1rem 2.5rem; }
    .hero h1 { font-size: clamp(2rem, 9vw, 2.8rem); }
    .hero-desc { font-size: 0.88rem; }
    .hero-actions { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .hero-right { min-height: 65vw; }
    .hero-card { max-width: 100%; padding: 1.1rem 1.25rem; }
    .hero-visual { padding: 1.25rem; }
    .hero-stats {
        gap: 1.5rem;
        margin-top: 2rem;
        padding-top: 1.5rem;
    }
    .stat-num { font-size: 2rem; }

    /* Search */
    .search-section { padding: 1.5rem 1rem; }
    .search-inner { flex-direction: column; }
    .search-inner input,
    .search-inner select {
        border-right: 0.5px solid rgba(255,255,255,0.12);
        border-bottom: none;
        min-width: 100%;
    }
    .search-inner > *:last-child {
        border-bottom: 0.5px solid rgba(255,255,255,0.12);
    }
    .search-btn { width: 100%; padding: 1rem; }

    /* Secciones */
    .section-header { flex-direction: column; gap: 0.5rem; }
    .page-section { padding: 5.5rem 1rem 3rem; }
    .detail-page { padding: 4.5rem 1rem 3rem; }

    /* Filtros */
    .filters { gap: 0.5rem; }
    .filter-btn { padding: 0.5rem 1rem; font-size: 0.68rem; margin-right: 0; }

    /* Propiedades */
    .props-grid { grid-template-columns: 1fr; }
    .prop-thumb { height: 200px; }
    .prop-title { font-size: 1.45rem; }

    /* Banner */
    .banner {
        margin: 0 1rem 3rem;
        grid-template-columns: 1fr;
    }
    .banner-left { padding: 2rem 1rem; }
    .banner h2 { font-size: clamp(1.6rem, 6vw, 2rem); }
    .banner-right {
        min-height: 220px;
        padding: 1.5rem 1rem;
    }
    .banner-form { max-width: 100%; }

    /* Agentes */
    .agents-grid { gap: 1rem; }
    .agent-card {
        width: calc(50% - 0.5rem);
        min-width: 130px;
    }
    .agent-avatar { width: 64px; height: 64px; }
    .agent-featured-visual img { width: 130px; height: 130px; }

    /* Footer */
    .site-footer {
        grid-template-columns: 1fr;
        padding: 2rem 1rem;
        gap: 1.75rem;
    }
    .footer-brand { grid-column: auto; }
    .footer-desc { max-width: 100%; }
    .footer-bottom {
        padding: 1rem;
        flex-direction: column;
        gap: 0.4rem;
        text-align: center;
    }

    /* Info / Contacto */
    .info-box { padding: 1.25rem; }
    .contact-grid { gap: 2rem; }

    /* Detalle */
    .detail-img { height: 220px; }
    .detail-specs-grid { grid-template-columns: 1fr; }
    .detail-gallery img { width: 80px; height: 60px; }
    .detail-info h1 { font-size: clamp(1.5rem, 6vw, 2rem); }
    .detail-price { font-size: 1.6rem; }
}


/* ════════════════════════════════════════════
   RESPONSIVE — MOBILE PEQUEÑO (max 380px)
════════════════════════════════════════════ */
@media (max-width: 380px) {
    .hero h1 { font-size: 1.9rem; }
    .agent-card { width: 100%; }
    .agents-grid { flex-direction: column; align-items: center; }
    .hero-stats { flex-direction: column; gap: 1rem; }
    .banner-left { padding: 1.5rem 1rem; }
    .filters { flex-direction: column; }
    .filter-btn { border-right: 0.5px solid var(--border); margin-right: 0; }
}