/* ═══════════════════════════════════════════════
   GlobalVisa Way — Home Page CSS
   Consolidated from:
   - old public/css/home.css
   - inline home.blade.php styles
   - home-destinations.css
   - home-sections-polish.css final sections only

   Keep shared files separate:
   _variables.css, _base.css, _header.css, _hero-visual.css, _footer.css
═══════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════
   Home hero content and shared homepage section primitives
═══════════════════════════════════════════════ */

/* ═══════════════════════════════════════════════
   Home base sections, hero content, service base, trust/blog base
═══════════════════════════════════════════════ */
/* ── Hero eyebrow tag ── */
.hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: var(--gold-a08);
    border: 1px solid var(--gold-a25);
    color: var(--gold);
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 20px;
    margin-bottom: 26px;
    animation: fadeUp 0.7s ease both 0.1s;
}

.eyebrow-dot {
    width: 5px;
    height: 5px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: .35;
        transform: scale(.65);
    }
}

/* ── Headline ── */
.hero-headline {
    font-size: clamp(34px, 4vw, 58px);
    font-weight: 900;
    line-height: 1.06;
    margin-bottom: 22px;
    color: var(--white);
    animation: fadeUp 0.7s ease both 0.22s;
}

.hero-headline .glow {
    color: var(--gold);
    text-shadow: 0 0 60px var(--gold-a35), 0 0 120px var(--gold-a15);
}

/* ── Sub-text ── */
.hero-sub {
    font-size: 15.5px;
    color: var(--tl);
    line-height: 1.78;
    margin-bottom: 36px;
    max-width: 480px;
    animation: fadeUp 0.7s ease both 0.34s;
}

.hero-sub.ar {
    font-family: var(--ar);
    direction: rtl;
    text-align: right;
    font-size: 15px;
    line-height: 2.0;
}

/* ── Visa Finder widget ── */
.search-box {
    background: var(--surface-3);
    border: 1px solid var(--border-med);
    border-radius: 16px;
    padding: 20px 22px;
    backdrop-filter: blur(16px);
    animation: fadeUp 0.7s ease both 0.46s;
    position: relative;
    overflow: hidden;
}

.search-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-a30), transparent);
}

.search-label {
    font-size: 10px;
    font-weight: 700;
    color: var(--gold);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.search-label::before {
    content: '';
    display: block;
    width: 16px;
    height: 1.5px;
    background: var(--gold);
    border-radius: 1px;
}

.search-row {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
    gap: 10px;
    align-items: end;
}

.sf label {
    font-size: 9.5px;
    color: var(--tm);
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    display: block;
    margin-bottom: 7px;
}

.sf select {
    width: 100%;
    background: var(--surface-input);
    border: 1px solid var(--border-strong);
    color: var(--text-body);
    font-size: 13px;
    padding: 11px 14px;
    border-radius: 9px;
    font-family: var(--en);
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
    outline: none;
    transition: border 0.2s;
}

.sf select:hover,
.sf select:focus {
    border-color: var(--gold-a40);
    background: var(--input-hover);
}

.sf select option,
.sf select optgroup {
    background: var(--n750);
    color: #fff;
}

.btn-search {
    background: var(--gold);
    color: var(--n900);
    border: none;
    font-size: 12.5px;
    font-weight: 800;
    padding: 12px 22px;
    border-radius: 9px;
    cursor: pointer;
    font-family: var(--en);
    letter-spacing: 0.03em;
    transition: background 0.2s ease, transform 0.2s ease;
    white-space: nowrap;
    height: 44px;
}

.btn-search:hover {
    background: var(--gold-l);
    transform: translateY(-1px);
}

/* ── Trust badge pills ── */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 18px;
    animation: fadeUp 0.7s ease both 0.58s;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: var(--surface-4);
    border: 1px solid var(--border-bold);
    border-radius: 20px;
    padding: 4px 12px;
    font-size: 10px;
    font-weight: 600;
    color: var(--text-faint);
    letter-spacing: 0.05em;
    white-space: nowrap;
}

.hero-badge .badge-dot {
    width: 4px;
    height: 4px;
    background: var(--gold);
    border-radius: 50%;
    flex-shrink: 0;
}

@media (max-width: 640px) {
    .search-row {
        grid-template-columns: 1fr;
    }
}


/* ══════════════════════════════════════════
       HOMEPAGE SECTIONS — Shared Layout
    ══════════════════════════════════════════ */
.hp-section {
    padding: 96px 0;
    position: relative;
}

.hp-section--alt {
    background: var(--section-alt);
}

.hp-section+.hp-section::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold-a15), transparent);
}

.section-head {
    text-align: center;
    margin-bottom: 48px;
}

.section-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: var(--gold);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    margin-bottom: 14px;
}

.section-eyebrow::before,
.section-eyebrow::after {
    content: '';
    display: block;
    width: 28px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--gold));
    opacity: 0.5;
}

.section-eyebrow::after {
    background: linear-gradient(90deg, var(--gold), transparent);
}

.section-title {
    font-size: clamp(26px, 3vw, 38px);
    font-weight: 900;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 12px;
}

.section-title .gold {
    color: var(--gold);
}

.section-desc {
    font-size: 14.5px;
    color: var(--tl);
    line-height: 1.8;
    max-width: 520px;
    margin: 0 auto;
}

.section-cta {
    text-align: center;
    margin-top: 44px;
}

/* ══════════════════════════════════════════
       RESPONSIVE
    ══════════════════════════════════════════ */
@media (max-width: 900px) {
    .hp-section {
        padding: 72px 0;
    }
}

@media (max-width: 520px) {
    .hp-section {
        padding: 56px 0;
    }
}

/* ═══════════════════════════════════════════════
   LARGE-SCREEN HOMEPAGE SCALE
   Deliberately more restrained than SuperDream: wider layout first,
   moderate typography second. Existing sizing below 1440px is untouched.
═══════════════════════════════════════════════ */
@media (min-width: 1440px) {
    .hero-headline {
        font-size: clamp(60px, calc(42px + 1.25vw), 66px);
    }

    .hero-sub {
        max-width: 640px;
        font-size: clamp(16px, calc(13px + 0.22vw), 17.5px);
        line-height: 1.72;
    }

    .search-box {
        max-width: 720px;
    }

    .section-head {
        margin-bottom: clamp(48px, 3vw, 58px);
    }

    .section-title {
        font-size: clamp(42px, calc(24px + 1.25vw), 48px);
    }

    .section-desc {
        max-width: 760px;
        font-size: clamp(15.5px, calc(11px + 0.3125vw), 17px);
        line-height: 1.7;
    }
}
