/* ================================
   buscador del hero
================================ */

/* posición del buscador sobre el hero */
.hero-search-wrap {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 125px;
    z-index: 20;
    padding: 0 24px;
}

.hero-search {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    background: rgba(255, 255, 255, .96);
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 22px 60px rgba(0, 0, 0, .22);
}

/* Tabs */
.hero-search-tabs {
    display: flex;
    gap: 56px;
    align-items: flex-end;
    padding: 22px 40px 0 40px;
}

.hero-tab {
    appearance: none;
    border: 0;
    background: transparent;
    cursor: pointer;
    padding: 0 0 14px 0;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: .08em;
    color: #6b7280;
    text-transform: uppercase;
}

.hero-tab:hover {
    color: #111827;
}



/* Subrayado al hover  */
.hero-tab:hover {
    border-bottom: 2px solid #111;
}


.hero-search-divider {
    height: 1px;
    background: #e5e7eb;
    margin: 0 40px;
}

/* Form layout (desktop) */
.hero-search-form {
    display: grid;
    grid-template-columns: 1.05fr 1.25fr 1.05fr 220px;
    /* Tipo, Ubicación, Barrio, Botón */
    gap: 28px;
    align-items: end;
    padding: 26px 40px 34px 40px;
}

/* Field */
.hero-field {
    min-width: 0;
}

.hero-label {
    display: block;
    margin-bottom: 10px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .18em;
    color: #4b5563;
    text-transform: uppercase;
}

.hero-control {
    position: relative;
}

.hero-input {
    width: 100%;
    height: 58px;
    border-radius: 18px;
    border: 1px solid #e5e7eb;
    background: #fff;
    padding: 0 18px;
    font-size: 18px;
    color: #374151;
    outline: none;
}

.hero-input::placeholder {
    color: #9ca3af;
}

.hero-input:focus {
    border-color: #d1d5db;
    box-shadow: 0 0 0 4px rgba(59, 130, 246, .10);
}

/* Select */
.hero-control-select .hero-select {
    padding-right: 44px;
    appearance: none;
}

.hero-select-chevron {
    position: absolute;
    right: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    color: #6b7280;
    pointer-events: none;
}

/* Button */
.hero-action {
    display: flex;
    justify-content: flex-end;
}

.hero-btn {
    width: 100%;
    height: 58px;
    border: 0;
    border-radius: 18px;
    background: #1e95c9;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    cursor: pointer;
    transition: background .2s ease, transform .05s ease, box-shadow .2s ease;
    box-shadow: 0 10px 22px rgba(30, 149, 201, .22);
}

.hero-btn:hover {
    background: #187fb0;
}

.hero-btn:active {
    transform: translateY(1px);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-search-wrap {
        bottom: 10px;
    }

    .hero-search {
        border-radius: 22px;
    }

    .hero-search-tabs {
        gap: 28px;
        padding: 18px 20px 0 20px;
    }

    .hero-search-divider {
        margin: 0 20px;
    }

    .hero-search-form {
        grid-template-columns: 1fr;
        gap: 16px;
        padding: 18px 20px 22px 20px;
    }

    .hero-action {
        justify-content: stretch;
    }

    .hero-input,
    .hero-btn {
        height: 54px;
        border-radius: 16px;
        font-size: 16px;
    }
}

/* ===========================
   HERO
=========================== */

.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    padding-top: 3rem;

}

/* Fondo */
.hero__media {
    position: absolute;
    inset: 0;
}

.hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay lavado */
.hero__wash {
    position: absolute;
    inset: 0;
    background: rgba(34, 31, 31, 0.35);
}

/* Gradiente inferior */
.hero__grad {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0) 40%,
            rgba(0, 0, 0, 0.25) 100%);
}

/* Contenido */
.hero__content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    padding: 2rem 1.5rem 0;
    margin-left: 6rem;
}

/* NORDELTA & PUERTOS */
.hero__kicker {
    font-size: 0.75rem;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    color: #ffffff;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

/* Título principal */
.hero__title {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: clamp(3rem, 8vw, 6.5rem);
    font-weight: 300;
    line-height: 0.95;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

/* Subtítulo */
.hero__subtitle {
    max-width: 520px;
    font-size: 1.05rem;
    line-height: 1.6;
    color: #ffffff;
}


/* =========================
   Featured Properties
========================= */
.featured {
    padding: 120px 0;
    background: #fff;
}

.featured__container {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 32px;
}

.featured__header {
    text-align: center;
    margin-bottom: 64px;
}

.featured__kicker {
    margin: 0 0 14px;
    font-size: 12px;
    letter-spacing: .2em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, .45);
}

.featured__title {
    margin: 0 0 10px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 300;
    letter-spacing: -0.02em;
    font-size: clamp(2.2rem, 4.5vw, 4rem);
}

.featured__subtitle {
    max-width: 720px;
    margin: 0 auto;
    font-size: 17px;
    line-height: 1.7;
    color: #666;
}

/* Grid */
.featured__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 28px;
}

@media (min-width: 768px) {
    .featured__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1100px) {
    .featured__grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 34px;
    }
}

/* Card */
.pcard {
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .06);
    transition: transform .25s ease, box-shadow .25s ease;
}

.pcard__link {
    display: block;
    color: inherit;
    text-decoration: none;
}

.pcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 18px 50px rgba(0, 0, 0, .10);
}

.pcard__media {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.pcard__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transform: scale(1);
    transition: transform .7s ease;
}

.pcard:hover .pcard__media img {
    transform: scale(1.04);
}

.pcard__body {
    padding: 22px 22px 20px;
}

.pcard__title {
    margin: 0 0 6px;
    font-family: Georgia, "Times New Roman", serif;
    font-weight: 400;
    font-size: 20px;
    letter-spacing: -0.01em;
}

.pcard__price {
    margin: 0 0 12px;
    font-size: 14px;
    letter-spacing: .02em;
    color: #111;
}

.pcard__desc {
    margin: 0 0 16px;
    font-size: 13px;
    line-height: 1.7;
    color: #4a4a4a;
}

.pcard__divider {
    height: 1px;
    background: rgba(0, 0, 0, .08);
    margin: 14px 0 14px;
}

.pcard__meta {
    display: flex;
    gap: 18px;
    align-items: center;
    color: rgba(0, 0, 0, .65);
    font-size: 12.5px;
}

.pcard__metaItem {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.pcard__metaItem svg {
    width: 16px;
    height: 16px;
    color: rgba(0, 0, 0, .45);
}

/* CTA */
.featured__cta {
    text-align: center;
    margin-top: 64px;
}

.featured__btn {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 14px 26px;
    border: 1px solid rgba(0, 0, 0, .20);
    color: rgba(0, 0, 0, .75);
    text-decoration: none;
    letter-spacing: .05em;
    font-size: 14px;
    transition: border-color .25s ease, color .25s ease, transform .25s ease;
}

.featured__btn:hover {
    border-color: rgba(0, 0, 0, .40);
    color: rgba(0, 0, 0, .92);
}

.featured__arrow {
    display: inline-block;
    transition: transform .25s ease;
}

.featured__btn:hover .featured__arrow {
    transform: translateX(3px);
}

@media (max-width: 540px) {
    .featured {
        padding: 90px 0;
    }

    .featured__container {
        padding: 0 18px;
    }
}