/* =============================================================
   ARMI REAL ESTATE — Hero Section
   Archivo: armi-hero.css
   Añadir en: child-theme/assets/css/armi-hero.css
   y encolar en functions.php con wp_enqueue_style()
   ============================================================= */

/* ── Base ── */
.armi-hero {
    position: relative;
    width: 100%;
    min-height: 92vh;
    background-image: url('https://armirealestate.com/wp-content/uploads/2026/06/Serenity_penthouse-terrace-sunset.jpg-scaled.jpeg');
    background-size: cover;
    background-position: center 30%;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

/* ── Overlay degradado oscuro para legibilidad ── */
.armi-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to bottom,
        rgba(0, 10, 20, 0.55) 0%,
        rgba(0, 20, 40, 0.70) 50%,
        rgba(0, 10, 20, 0.85) 100%
    );
    z-index: 1;
}

/* ── Contenido ── */
.armi-hero__content {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 820px;
    margin: 0 auto;
    padding: 80px 24px 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

/* ── Badge ── */
.armi-hero__badge {
    display: inline-block;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 3px;
    padding: 0;
    margin-bottom: 22px;
}

/* ── Título ── */
.armi-hero__title {
    font-size: clamp(28px, 4.5vw, 46px);
    font-weight: 700;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 14px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.4);
}

.armi-hero__title em {
    font-style: normal;
    color: #00aeff;
}

/* ── Subtítulo ── */
.armi-hero__sub {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.65);
    margin-bottom: 36px;
    letter-spacing: 0.01em;
}

/* ── Buscador ── */
.armi-hero__search {
    width: 100%;
    max-width: 780px;
    background: rgba(255, 255, 255, 0.97);
    border-radius: 14px;
    padding: 18px 20px;
    display: flex;
    gap: 12px;
    align-items: flex-end;
    flex-wrap: wrap;
    margin-bottom: 28px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.25);
}

.armi-hero__field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    flex: 1;
    min-width: 130px;
}

.armi-hero__field label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #004274;
    padding-left: 2px;
}

.armi-hero__field select {
    border: 1.5px solid #e0e8f0;
    border-radius: 8px;
    padding: 0 12px;
    font-size: 13px;
    color: #1a2a3a;
    background: #fff;
    appearance: none;
    -webkit-appearance: none;
    outline: none;
    height: 42px;
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23004274' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    padding-right: 30px;
    cursor: pointer;
    transition: border-color 0.2s;
}

.armi-hero__field select:focus,
.armi-hero__field select:hover {
    border-color: #00aeff;
}

/* ── Botón buscar ── */
.armi-hero__btn {
    background: #00aeff;
    color: #ffffff;
    border: none;
    border-radius: 8px;
    padding: 0 26px;
    height: 42px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Plus Jakarta Sans', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: background 0.2s, transform 0.1s;
    flex-shrink: 0;
}

.armi-hero__btn:hover {
    background: #0095d9;
}

.armi-hero__btn:active {
    transform: scale(0.98);
}

/* ── Stats ── */
.armi-hero__stats {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
    justify-content: center;
}

.armi-hero__stat {
    text-align: center;
}

.armi-hero__stat strong {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    line-height: 1.2;
}

.armi-hero__stat span {
    font-size: 11px;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.armi-hero__divider {
    width: 1px;
    height: 32px;
    background: rgba(255, 255, 255, 0.18);
}

/* ── Destinos ── */
.armi-hero__dest-label {
    font-size: 10px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.4);
    margin-bottom: 12px;
    text-align: center;
}

.armi-hero__dest-grid {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

.armi-hero__dest-card {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 12px;
    padding: 12px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    text-decoration: none;
    min-width: 100px;
    transition: background 0.2s, border-color 0.2s, transform 0.15s;
}

.armi-hero__dest-card:hover {
    background: rgba(0, 174, 255, 0.18);
    border-color: rgba(0, 174, 255, 0.45);
    transform: translateY(-2px);
    text-decoration: none;
}

.armi-hero__dest-icon {
    font-size: 22px;
    line-height: 1;
}

.armi-hero__dest-name {
    font-size: 12px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    white-space: nowrap;
}

.armi-hero__dest-sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.4);
    white-space: nowrap;
}

/* ── Responsive ── */
@media (max-width: 768px) {
    .armi-hero {
        min-height: 100svh;
        background-position: center center;
    }

    .armi-hero__content {
        padding: 60px 16px 40px;
    }

    .armi-hero__search {
        flex-direction: column;
        gap: 10px;
    }

    .armi-hero__field {
        min-width: 100%;
    }

    .armi-hero__btn {
        width: 100%;
        justify-content: center;
        height: 48px;
        font-size: 15px;
    }

    .armi-hero__stats {
        gap: 14px;
    }

    .armi-hero__divider {
        display: none;
    }

    .armi-hero__dest-card {
        min-width: 85px;
        padding: 10px 12px;
    }
}

@media (max-width: 480px) {
    .armi-hero__title {
        font-size: 26px;
    }

    .armi-hero__dest-grid {
        gap: 8px;
    }
}

/* ── Accesibilidad: respeta preferencia de movimiento reducido ── */
@media (prefers-reduced-motion: reduce) {
    .armi-hero__dest-card,
    .armi-hero__btn {
        transition: none;
    }
}
