/* =========================================================
   FLORIDA PROPERTIES CATALOG - ESTILO DELICADO / PREMIUM
========================================================= */

.fpc-section {
    --fpc-bg-1: #050505;
    --fpc-bg-2: #0d0d10;
    --fpc-bg-3: #17171b;

    --fpc-surface-1: rgba(34, 34, 36, 0.94);
    --fpc-surface-2: rgba(18, 18, 20, 0.92);

    --fpc-gold-1: #d4af37;
    --fpc-gold-2: #f3d37a;

    --fpc-text: #ffffff;
    --fpc-text-soft: rgba(255, 255, 255, 0.78);
    --fpc-border: 1px solid rgba(255,255,255,0.07);
    --fpc-shadow: 0 16px 38px rgba(0,0,0,0.34);
    --fpc-shadow-strong: 0 22px 48px rgba(0,0,0,0.42);
}

/* ============================
   SECCIÓN GENERAL
============================ */

.fpc-section {
    background:
        radial-gradient(circle at bottom right, rgba(212, 175, 55, 0.08), transparent 34%),
        linear-gradient(to top, var(--fpc-bg-1) 0%, var(--fpc-bg-2) 52%, var(--fpc-bg-3) 100%);
    color: var(--fpc-text);
    padding: 200px 5%;
    position: relative;
    overflow: hidden;
}

.fpc-section .fp-container {
    max-width: 1180px;
    margin: 0 auto;
}

.fpc-header {
    text-align: center;
    max-width: 860px;
    margin: 0 auto 48px;
}

.fp-title {
    font-size: clamp(2.1rem, 4vw, 3.3rem);
    line-height: 1.08;
    font-weight: 700;
    letter-spacing: 0.15px;
    margin: 0 0 22px;
    color: #ffffff;
}

.fpc-intro-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 28px 28px;
    border-radius: 28px;
    background: linear-gradient(145deg, rgba(36, 36, 38, 0.94), rgba(18, 18, 20, 0.90));
    border: var(--fpc-border);
    box-shadow:
        var(--fpc-shadow),
        inset 0 1px 0 rgba(255,255,255,0.04);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.fp-text {
    margin: 0;
    font-size: 1rem;
    line-height: 1.85;
    color: var(--fpc-text-soft);
}

/* ============================
   GRID
============================ */

.fpc-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
    margin-top: 44px;
}

/* HOME = ocultas por defecto hasta que JS las muestre */
.fpc-section[data-mode="home"] .fpc-item {
    display: none;
}

.fpc-section[data-mode="home"] .fpc-item.is-visible {
    display: block;
}

/* CATÁLOGO = todas visibles */
.fpc-section[data-mode="catalogo"] .fpc-item {
    display: block;
}

/* ============================
   CARD
============================ */

.fpc-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    background: linear-gradient(145deg, var(--fpc-surface-1), var(--fpc-surface-2));
    border: var(--fpc-border);
    border-radius: 24px;
    overflow: hidden;
    box-shadow:
        var(--fpc-shadow),
        inset 0 1px 0 rgba(255,255,255,0.04);
    transition:
        transform 0.32s ease,
        box-shadow 0.32s ease,
        border-color 0.32s ease;
}

.fpc-card:hover {
    transform: translateY(-5px);
    box-shadow:
        var(--fpc-shadow-strong),
        0 0 26px rgba(212,175,55,0.06);
    border-color: rgba(212,175,55,0.14);
}

.fpc-card-main {
    display: flex;
    flex-direction: column;
    height: 100%;
}

/* ============================
   IMAGEN / REEL
============================ */

.fpc-media {
    position: relative;
    aspect-ratio: 5 / 3.6;
    overflow: hidden;
    background: #101010;
}

.fpc-reel {
    position: relative;
    width: 100%;
    height: 100%;
}

.fpc-reel img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 3s ease;
}

.fpc-reel img.active {
    opacity: 1;
}

.fpc-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 7px 12px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18px;
    color: #111111;
    background: linear-gradient(135deg, var(--fpc-gold-1), var(--fpc-gold-2));
    box-shadow:
        0 8px 18px rgba(212, 175, 55, 0.22),
        inset 0 1px 0 rgba(255,255,255,0.35);
    z-index: 2;
}

/* ============================
   CUERPO DE LA CARD
============================ */

.fpc-body {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 18px 18px 14px;
    flex: 1;
}

.fpc-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
}

.fpc-city {
    font-size: 0.84rem;
    font-weight: 600;
    color: rgba(255,255,255,0.62);
    letter-spacing: 0.1px;
}

.fpc-price {
    font-size: 0.96rem;
    font-weight: 700;
    color: #ffffff;
}

.fpc-title-card {
    margin: 0;
    font-size: 1.06rem;
    line-height: 1.32;
    font-weight: 700;
    color: #ffffff;
}

.fpc-desc {
    margin: 0;
    font-size: 0.89rem;
    line-height: 1.65;
    color: var(--fpc-text-soft);
}

.fpc-meta {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 0;
    margin: 2px 0 0;
}

.fpc-meta li {
    padding: 6px 10px;
    border-radius: 999px;
    font-size: 0.74rem;
    color: rgba(255,255,255,0.82);
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.05);
}

/* ============================
   BOTÓN DE CADA CARD
============================ */

.fpc-card-actions {
    display: block;
    padding: 0 18px 18px;
}

.fpc-link-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width:auto;
    min-height: auto;
    padding: 10px 14px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    text-align: center;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        filter 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
}

.fpc-link-primary {
    color: #111111;
    background: linear-gradient(135deg, var(--fpc-gold-1), var(--fpc-gold-2));
    box-shadow:
        0 10px 18px rgba(212, 175, 55, 0.20),
        inset 0 1px 0 rgba(255,255,255,0.35);
}

.fpc-link-primary:hover {
    transform: translateY(-2px);
    box-shadow:
        0 14px 24px rgba(212, 175, 55, 0.28),
        0 0 18px rgba(243, 211, 122, 0.10);
    filter: brightness(1.02);
}

/* ============================
   BOTONES FINALES
============================ */

.fpc-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 42px;
    flex-wrap: wrap;
}

.fpc-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 210px;
    padding: 14px 24px;
    border-radius: 999px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.94rem;
    letter-spacing: 0.25px;
    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease,
        filter 0.3s ease,
        background 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease;
    cursor: pointer;
}

.fpc-btn-primary {
    border: none;
    color: #111111;
    background: linear-gradient(135deg, var(--fpc-gold-1), var(--fpc-gold-2));
    box-shadow:
        0 10px 24px rgba(212, 175, 55, 0.24),
        inset 0 1px 0 rgba(255,255,255,0.35);
}

.fpc-btn-primary:hover {
    transform: translateY(-3px);
    box-shadow:
        0 16px 28px rgba(212, 175, 55, 0.32),
        0 0 20px rgba(243, 211, 122, 0.14);
    filter: brightness(1.03);
}

.fpc-btn-secondary {
    color: #f0cf65;
    background: rgba(255,255,255,0.03);
    border: 1.5px solid rgba(212, 175, 55, 0.45);
    box-shadow: none;
}

.fpc-btn-secondary:hover {
    background: linear-gradient(135deg, var(--fpc-gold-1), var(--fpc-gold-2));
    color: #111111;
    border-color: transparent;
    transform: translateY(-3px);
    box-shadow:
        0 16px 28px rgba(212, 175, 55, 0.24),
        0 0 18px rgba(243, 211, 122, 0.12);
}

.fpc-btn-contact {
    color: #111111;
    background: linear-gradient(135deg, var(--fpc-gold-1), var(--fpc-gold-2));
    box-shadow:
        0 10px 24px rgba(212, 175, 55, 0.24),
        inset 0 1px 0 rgba(255,255,255,0.35);
}

.fpc-btn-contact:hover {
    transform: translateY(-3px);
    box-shadow:
        0 16px 28px rgba(212, 175, 55, 0.32),
        0 0 20px rgba(243, 211, 122, 0.14);
    filter: brightness(1.03);
}

.is-hidden {
    display: none !important;
}

/* ============================
   CABECERA DE catalogo.php
============================ */

.fpc-page-section {
    min-height: 100vh;
}

.fpc-page-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 14px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.fpc-page-back,
.fpc-page-contact {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    padding: 10px 18px;
    border-radius: 999px;
    font-size: 0.92rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
}

.fpc-page-back {
    color: #f0cf65;
    border: 1px solid rgba(212,175,55,0.38);
    background: rgba(255,255,255,0.03);
}

.fpc-page-back:hover {
    background: linear-gradient(135deg, var(--fpc-gold-1), var(--fpc-gold-2));
    color: #111111;
    border-color: transparent;
}

.fpc-page-contact {
    color: #111111;
    background: linear-gradient(135deg, var(--fpc-gold-1), var(--fpc-gold-2));
    box-shadow:
        0 10px 20px rgba(212,175,55,0.22),
        inset 0 1px 0 rgba(255,255,255,0.35);
}

.fpc-page-contact:hover {
    transform: translateY(-2px);
}

/* ============================
   RESPONSIVE
============================ */

@media (max-width: 1024px) {
    .fpc-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .fpc-section {
        padding: 70px 6%;
    }

    .fpc-header {
        margin-bottom: 32px;
    }

    .fpc-intro-card {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .fpc-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-top: 30px;
    }

    .fpc-card {
        border-radius: 18px;
    }

    .fpc-media {
        aspect-ratio: 4 / 3;
    }

    .fpc-body {
        gap: 8px;
        padding: 14px 14px 12px;
    }

    .fpc-topline {
        gap: 8px;
    }

    .fpc-title-card {
        font-size: 1rem;
    }

    .fpc-desc {
        font-size: 0.84rem;
        line-height: 1.55;
    }

    .fpc-meta li {
        font-size: 0.7rem;
        padding: 5px 8px;
    }

    .fpc-card-actions {
        padding: 0 14px 14px;
    }

    .fpc-link-btn {
        min-height: 40px;
        font-size: 0.82rem;
        padding: 10px 12px;
    }

    .fpc-actions {
        margin-top: 28px;
        gap: 10px;
    }

    .fpc-btn {
        width: 100%;
        min-width: unset;
    }

    .fpc-page-top {
        margin-bottom: 24px;
    }
}