

/** { outline: 1px solid rgba(255,0,0,.1); }*/

.landing-hero-blurb {
    margin: 2% auto 5%;       /* centra horizontal */
    max-width: 70ch;         /* ancho óptimo de lectura */
    padding: 2rem 0 1rem;
    line-height: 1.6;
    font-size: clamp(1rem, 1.5vw, 1.125rem);
    color: #2d3748;
    text-align: center;
    text-align: -webkit-center;
    text-align: -moz-center;
}

/* ===========================
   CTA SECTION (HOME)
=========================== */
.cta-section {
    display: flex;
    justify-content: center;
    padding: 4rem 2rem;
    background: #fff;
}

.cta-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 10%;                     /* separación horizontal entre las dos cards */
    width: 100%;
    max-width: 1200px;
    flex-wrap: wrap;              /* permite que las cards bajen en móvil */
}

/* ===========================
   CTA CARDS
=========================== */
.cta-card {
    flex: 0 0 30%;                /* ocupa el 20% del ancho */
}

.cta-card a {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    border-radius: 1.5rem;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
    background: #fff;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    color: inherit;               /* hereda el color del texto */
    height: 340px;
}

.cta-card a:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
}

.cta-card img {
    display: block;               /* elimina espacio “fantasma” bajo la imagen */
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.cta-text {
    padding: 1.5rem;
    text-align: center;
}

.cta-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: #111;
}

.cta-text p {
    font-size: 0.95rem;
    color: #555;
}


/* ===========================
   Resultados de búsqueda THP
=========================== */

.thp-results {
    max-width: 960px;
    margin: 2rem auto 3rem;
    padding: 0 1.5rem;
}

.thp-results__title {
    font-size: 1.4rem;
    margin: 0 0 1rem;
    text-align: left;
}

.thp-results__grid {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

@media (min-width: 768px) {
    .thp-results__grid {
        flex-direction: row;
        flex-wrap: wrap;
    }
    .thp-card {
        flex: 1 1 calc(50% - 0.75rem);
    }
}

.thp-card {
    border: 1px solid #e2e8f0;
    border-radius: 0.75rem;
    padding: 1rem 1.25rem;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(15, 23, 42, 0.06);
}

.thp-card__header {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    align-items: flex-start;
    margin-bottom: 0.25rem;
}

.thp-card__title {
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.thp-card__price {
    font-size: 0.95rem;
    font-weight: 600;
    white-space: nowrap;
    margin: 0;
}

.thp-card__location,
.thp-card__meta {
    margin: 0.15rem 0;
    font-size: 0.9rem;
    color: #4a5568;
}

.thp-card__actions {
    margin-top: 0.75rem;
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.thp-card__cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    background: #2b6cb0;
    color: #ffffff;
    font-size: 0.9rem;
    text-decoration: none;
}

.thp-card__cta:hover {
    background: #2c5282;
}

.thp-card__link {
    font-size: 0.85rem;
    text-decoration: underline;
    color: #4a5568;
}

.thp-results__loading,
.thp-results__empty,
.thp-results__error {
    font-size: 0.95rem;
    color: #4a5568;
    padding: 0.5rem 0;
}

.thp-results__error {
    color: #c53030;
}


/* ===========================
   RESPONSIVE (MOBILE)
=========================== */
@media (max-width: 768px) {
    .cta-container {
        flex-direction: column;
        align-items: center;
        gap: 2rem;                  /* separación vertical entre cards */
    }

    .cta-card a {
        height: auto;               /* libera altura en móvil */
    }

    .cta-card img {
        height: 200px;
    }
}