/* =====================================================
   SafetyRent Front Home · Premium isolated skin
   Archivo exclusivo para resources/views/front/home.blade.php
===================================================== */

.srh-page {
    --srh-ink: #07111f;
    --srh-ink-soft: #132238;
    --srh-muted: #64748b;
    --srh-line: #dbe3ef;
    --srh-soft: #f8fafc;
    --srh-soft-2: #eef2f7;
    --srh-blue: #1d4ed8;
    --srh-blue-soft: #dbeafe;
    --srh-gold: #d6a135;
    --srh-gold-soft: #fff7df;
    --srh-green: #15803d;
    --srh-green-soft: #dcfce7;
    --srh-red: #b91c1c;
    --srh-red-soft: #fee2e2;
    --srh-purple: #6d28d9;
    --srh-purple-soft: #ede9fe;

    color: var(--srh-ink);
    background:
        radial-gradient(circle at top left, rgba(29, 78, 216, 0.08), transparent 34rem),
        linear-gradient(180deg, #f8fafc 0%, #ffffff 38%, #f8fafc 100%);
    padding-bottom: 64px;
}

.srh-page * {
    box-sizing: border-box;
}

.srh-hero,
.srh-section {
    max-width: 1180px;
    margin: 0 auto;
    padding: 54px 20px;
}

.srh-hero__inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 430px;
    gap: 34px;
    align-items: center;
}

.srh-eyebrow {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin-bottom: 18px;
    padding: 8px 12px;
    border: 1px solid rgba(203, 213, 225, 0.9);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.76);
    color: var(--srh-muted);
    font-size: 0.82rem;
    font-weight: 850;
    letter-spacing: 0.01em;
}

.srh-hero__title {
    margin: 0;
    max-width: 720px;
    color: var(--srh-ink);
    font-size: clamp(2.8rem, 6vw, 5.8rem);
    line-height: 0.9;
    letter-spacing: -0.075em;
    font-weight: 950;
}

.srh-hero__subtitle {
    max-width: 620px;
    margin: 24px 0 0;
    color: #334155;
    font-size: clamp(1.05rem, 1.7vw, 1.35rem);
    line-height: 1.48;
    font-weight: 620;
}

.srh-hero__proof {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 26px;
}

.srh-hero__proof span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.9);
    box-shadow: 0 12px 24px rgba(15, 23, 42, 0.05);
    color: #334155;
    font-size: 0.87rem;
    font-weight: 850;
}

.srh-search-box {
    border: 1px solid rgba(203, 213, 225, 0.95);
    border-radius: 30px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96));
    box-shadow: 0 24px 65px rgba(15, 23, 42, 0.1);
    padding: 24px;
}

.srh-label {
    display: block;
    margin-bottom: 10px;
    color: #334155;
    font-size: 0.9rem;
    font-weight: 900;
}

.srh-budget__row {
    display: flex;
    align-items: center;
    gap: 10px;
    border: 1px solid #cbd5e1;
    border-radius: 20px;
    background: #ffffff;
    padding: 12px 14px;
}

.srh-budget__input {
    min-width: 0;
    width: 100%;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--srh-ink);
    font-size: 2.3rem;
    line-height: 1;
    font-weight: 950;
    letter-spacing: -0.06em;
}

.srh-budget__suffix {
    color: var(--srh-ink-soft);
    font-size: 1.25rem;
    font-weight: 950;
}

.srh-budget__hint,
.srh-hero__micro,
.srh-filter-panel__note {
    margin-top: 10px;
    color: var(--srh-muted);
    font-size: 0.86rem;
    line-height: 1.35;
    font-weight: 650;
}

.srh-tabs {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    margin-top: 18px;
}

.srh-tab {
    border: 1px solid #cbd5e1;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    padding: 11px 10px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.18s ease;
}

.srh-tab:hover {
    transform: translateY(-1px);
    border-color: #94a3b8;
}

.srh-tab.is-active {
    border-color: var(--srh-ink);
    background: var(--srh-ink);
    color: #ffffff;
}

.srh-filter-panel {
    margin-top: 18px;
    padding: 16px;
    border-radius: 22px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.srh-filter-panel__head {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    color: #334155;
}

.srh-filter-panel__head strong {
    font-size: 0.95rem;
    font-weight: 950;
}

.srh-filter-panel__head span {
    color: var(--srh-muted);
    font-size: 0.78rem;
    font-weight: 850;
}

.srh-filter-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.srh-filter-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    background: #ffffff;
    color: #334155;
    padding: 9px 11px;
    cursor: pointer;
    font-size: 0.84rem;
    font-weight: 900;
    transition: 0.18s ease;
    user-select: none;
}

.srh-filter-chip input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.srh-filter-chip:hover {
    transform: translateY(-1px);
    border-color: #94a3b8;
}

.srh-filter-chip.is-active {
    border-color: rgba(29, 78, 216, 0.3);
    background: var(--srh-blue-soft);
    color: #1e3a8a;
}

.srh-filter-chip__emoji {
    font-size: 0.95rem;
}

.srh-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    border: 0;
    border-radius: 999px;
    padding: 13px 18px;
    text-decoration: none;
    font-weight: 950;
    cursor: pointer;
    transition: 0.18s ease;
}

.srh-btn--primary {
    width: 100%;
    margin-top: 18px;
    background: linear-gradient(135deg, #07111f 0%, #132238 100%);
    color: #ffffff;
    box-shadow: 0 18px 35px rgba(7, 17, 31, 0.18);
}

.srh-btn--primary:hover,
.srh-btn--ghost:hover {
    transform: translateY(-1px);
}

.srh-btn--ghost {
    background: #ffffff;
    color: var(--srh-ink);
    border: 1px solid #cbd5e1;
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
}

.srh-section {
    padding-top: 34px;
}

.srh-section--soft {
    max-width: none;
    margin-top: 20px;
    padding: 64px 20px;
    background:
        linear-gradient(180deg, rgba(248, 250, 252, 0), #f1f5f9 18%, #f8fafc 100%);
}

.srh-section--soft>* {
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

.srh-section__head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 24px;
}

.srh-h2 {
    margin: 0;
    color: var(--srh-ink);
    font-size: clamp(1.8rem, 3vw, 3rem);
    line-height: 1;
    letter-spacing: -0.055em;
    font-weight: 950;
}

.srh-muted {
    margin: 10px 0 0;
    color: var(--srh-muted);
    font-size: 1rem;
    line-height: 1.45;
    font-weight: 650;
}

.srh-results-pill {
    flex: 0 0 auto;
    border: 1px solid #dbe3ef;
    border-radius: 999px;
    background: #ffffff;
    padding: 9px 13px;
    color: #334155;
    font-size: 0.85rem;
    font-weight: 900;
    box-shadow: 0 12px 26px rgba(15, 23, 42, 0.05);
}

.srh-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
    gap: 22px;
    align-items: stretch;
}

.srh-offer-card {
    display: grid;
    grid-template-columns: 48% 52%;
    min-height: 250px;
    overflow: hidden;
    border-radius: 28px;
    background: #ffffff;
    border: 1px solid rgba(203, 213, 225, 0.92);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.08);
    color: inherit;
    text-decoration: none;
    transition: 0.2s ease;
}

.srh-offer-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 26px 60px rgba(15, 23, 42, 0.12);
}

.srh-offer-card[hidden] {
    display: none !important;
}

.srh-offer-card__media {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-width: 0;
    padding: 14px;
    background: linear-gradient(180deg, #f8fafc 0%, #eef2f7 100%);
    border-right: 1px solid #e2e8f0;
}

.srh-offer-card__image {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 170px;
    min-height: 170px;
    overflow: hidden;
    border-radius: 18px;
    background: #f8fafc;
    box-shadow: inset 0 0 0 1px rgba(203, 213, 225, 0.55);
}

.srh-offer-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    border-radius: 18px;
    transition: 0.25s ease;
}

.srh-offer-card:hover .srh-offer-card__image img {
    transform: scale(1.035);
}

.srh-offer-card__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 170px;
    color: #94a3b8;
    font-size: 2rem;
    font-weight: 950;
}

.srh-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-top: 12px;
}

.srh-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 0.75rem;
    font-weight: 900;
    line-height: 1;
    white-space: nowrap;
}

.srh-badge-featured {
    background: var(--srh-gold-soft);
    color: #8a5a00;
    border: 1px solid rgba(214, 161, 53, 0.45);
}

.srh-badge-month {
    background: var(--srh-red-soft);
    color: #991b1b;
    border: 1px solid #fecaca;
}

.srh-badge-fast {
    background: var(--srh-blue-soft);
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

.srh-badge-recommended {
    background: var(--srh-green-soft);
    color: #166534;
    border: 1px solid #bbf7d0;
}

.srh-badge-highlight {
    background: var(--srh-purple-soft);
    color: #5b21b6;
    border: 1px solid #ddd6fe;
}

.srh-offer-card__body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-width: 0;
    padding: 18px 18px 20px;
}

.srh-offer-card__title {
    margin-bottom: 14px;
    min-width: 0;
}

.srh-offer-card__title strong {
    display: block;
    color: var(--srh-ink);
    font-size: 1.03rem;
    line-height: 1.15;
    letter-spacing: -0.02em;
    font-weight: 950;
    overflow-wrap: anywhere;
}

.srh-offer-card__title span {
    display: block;
    margin-top: 6px;
    color: #475569;
    font-size: 0.9rem;
    line-height: 1.22;
    font-weight: 750;
    overflow-wrap: anywhere;
}

.srh-price {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 6px;
    color: var(--srh-ink);
}

.srh-price span {
    color: var(--srh-ink-soft);
    font-size: 0.92rem;
    font-weight: 900;
}

.srh-price strong {
    color: var(--srh-ink);
    font-size: 2rem;
    line-height: 0.95;
    letter-spacing: -0.055em;
    font-weight: 950;
}

.srh-card-link {
    margin-top: 14px;
    color: var(--srh-muted);
    font-size: 0.9rem;
    font-weight: 900;
}

.srh-empty {
    grid-column: 1 / -1;
    border: 1px dashed #cbd5e1;
    border-radius: 28px;
    background: #ffffff;
    padding: 34px;
    color: var(--srh-muted);
    text-align: center;
    font-weight: 750;
}

.srh-empty--filtered {
    margin-top: 22px;
}

.srh-empty__icon {
    margin-bottom: 10px;
    font-size: 2.4rem;
}

.srh-empty h3 {
    margin: 0;
    color: var(--srh-ink);
    font-size: 1.3rem;
    letter-spacing: -0.03em;
}

.srh-empty p {
    margin: 8px 0 0;
}

.srh-steps {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 24px;
}

.srh-step {
    border: 1px solid rgba(203, 213, 225, 0.95);
    border-radius: 28px;
    background: #ffffff;
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.07);
    padding: 24px;
}

.srh-step__num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin-bottom: 18px;
    border-radius: 15px;
    background: var(--srh-ink);
    color: #ffffff;
    font-weight: 950;
}

.srh-step__title {
    color: var(--srh-ink);
    font-size: 1.05rem;
    font-weight: 950;
    letter-spacing: -0.025em;
}

.srh-step__text {
    margin-top: 8px;
    color: var(--srh-muted);
    line-height: 1.45;
    font-weight: 650;
}

.srh-analysis {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    border: 1px solid rgba(203, 213, 225, 0.95);
    border-radius: 32px;
    background:
        radial-gradient(circle at top right, rgba(214, 161, 53, 0.18), transparent 22rem),
        #ffffff;
    box-shadow: 0 24px 65px rgba(15, 23, 42, 0.08);
    padding: 30px;
}

/* Responsive */
@media (max-width: 980px) {
    .srh-hero__inner {
        grid-template-columns: 1fr;
    }

    .srh-search-box {
        max-width: 620px;
    }

    .srh-steps {
        grid-template-columns: 1fr;
    }

    .srh-analysis {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 760px) {

    .srh-hero,
    .srh-section {
        padding-left: 16px;
        padding-right: 16px;
    }

    .srh-hero {
        padding-top: 34px;
    }

    .srh-hero__title {
        font-size: clamp(2.55rem, 14vw, 4rem);
    }

    .srh-search-box {
        padding: 18px;
        border-radius: 26px;
    }

    .srh-section__head {
        align-items: flex-start;
        flex-direction: column;
    }

    .srh-grid {
        grid-template-columns: 1fr;
    }

    .srh-offer-card {
        grid-template-columns: 1fr;
    }

    .srh-offer-card__media {
        border-right: 0;
        border-bottom: 1px solid #e2e8f0;
    }

    .srh-offer-card__image,
    .srh-offer-card__placeholder {
        height: 210px;
        min-height: 210px;
    }

    .srh-tabs {
        grid-template-columns: 1fr;
    }
}