/* ==========================================================================
   HỒ GƯƠM 88 – WHY US & LOCATION SECTIONS
   ========================================================================== */

/* --------------------------------------------------------------------------
   Why Choose Us
   -------------------------------------------------------------------------- */
.why-us-section {
    padding: 76px 0;
    background-color: var(--ivory);
    position: relative;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
    margin-top: 36px;
}

.why-card {
    background: var(--bg-surface);
    padding: 32px 22px 28px;
    border-radius: 20px;
    border: 1px solid rgba(22, 20, 16, 0.08);
    box-shadow: 0 12px 30px rgba(7, 9, 15, 0.05);
    transition: transform 0.4s var(--ease-antigravity), box-shadow 0.4s var(--ease-antigravity), border-color 0.35s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.why-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle 260px at var(--mouse-x, 50%) var(--mouse-y, 50%), rgba(201, 164, 90, 0.16), transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.why-card:hover::before {
    opacity: 1;
}

.why-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 24px 50px rgba(7, 9, 15, 0.1), 0 0 22px rgba(201, 164, 90, 0.15);
    border-color: rgba(201, 164, 90, 0.45);
}

.why-index {
    position: absolute;
    top: 14px;
    right: 18px;
    font-family: var(--font-display);
    font-size: 2.2rem;
    font-weight: 700;
    color: rgba(201, 164, 90, 0.2);
    line-height: 1;
    pointer-events: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

.why-card:hover .why-index {
    color: rgba(201, 164, 90, 0.45);
    transform: scale(1.1);
}

.highlight-card {
    background: linear-gradient(150deg, #07090F 0%, #162033 100%);
    color: #FFFFFF;
    border-color: rgba(201, 164, 90, 0.4);
}

.highlight-card p {
    color: rgba(246, 241, 232, 0.78);
}

.why-icon-box {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-full);
    background-color: rgba(201, 164, 90, 0.14);
    color: var(--gold-deep);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin: 0 auto 16px;
    border: 1px solid rgba(201, 164, 90, 0.28);
    transition: transform 0.35s var(--ease-spring);
}

.highlight-card .why-icon-box {
    background-color: rgba(31, 107, 82, 0.35);
    color: var(--gold-bright);
    border-color: rgba(201, 164, 90, 0.45);
}

.why-card:hover .why-icon-box {
    transform: scale(1.12) rotate(6deg);
}

.why-card h3 {
    font-family: var(--font-heading);
    font-size: 1.18rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ink);
}

.highlight-card h3 {
    color: #FFFFFF;
}

.why-card p {
    font-size: 0.88rem;
    color: var(--text-soft);
    line-height: 1.6;
}

/* --------------------------------------------------------------------------
   Location & Contact Section
   -------------------------------------------------------------------------- */
.location-section {
    padding: 80px 0;
    background:
        radial-gradient(ellipse at top right, rgba(201, 164, 90, 0.1), transparent 35%),
        linear-gradient(180deg, var(--parchment) 0%, var(--ivory) 100%);
    position: relative;
}

/* Live Status Pill (global) */
.live-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(31, 107, 82, 0.12);
    color: var(--emerald);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    margin-left: 8px;
    vertical-align: middle;
}

.live-status-pill .badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald);
    box-shadow: 0 0 8px var(--emerald);
    animation: pulseGlow 2s infinite ease-in-out;
    flex-shrink: 0;
}

.location-container {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
    align-items: center;
}

.location-desc {
    font-size: 0.96rem;
    color: var(--text-soft);
    margin-bottom: 6px;
}

.branch-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 26px 0 20px;
}

.branch-card {
    position: relative;
    background: var(--bg-surface);
    border: 1px solid rgba(201, 164, 90, 0.22);
    border-radius: 20px;
    padding: 20px 18px 18px;
    box-shadow: 0 16px 36px rgba(7, 9, 15, 0.06);
    transition: transform 0.4s var(--ease-antigravity), box-shadow 0.4s var(--ease-antigravity), border-color 0.35s ease;
    overflow: hidden;
}

.branch-card::before {
    content: "";
    position: absolute;
    inset: 0 auto auto 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold) 0%, var(--emerald) 100%);
}

.branch-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 45px rgba(7, 9, 15, 0.12);
    border-color: rgba(201, 164, 90, 0.5);
}

.branch-card-primary {
    background: linear-gradient(180deg, var(--bg-surface) 0%, #FAF6EE 100%);
}

.branch-card-accent {
    background: linear-gradient(180deg, var(--bg-surface) 0%, #F5F7F5 100%);
}

.branch-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(201, 164, 90, 0.15);
    color: var(--gold-deep);
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.branch-badge-alt {
    background: rgba(31, 107, 82, 0.15);
    color: var(--emerald);
}

.branch-card h3 {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--ink);
}

.branch-card p {
    font-size: 0.82rem;
    line-height: 1.6;
    color: var(--text-soft);
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.branch-card p i {
    color: var(--emerald);
    margin-top: 3px;
}

.branch-choice-btn {
    margin-top: 14px;
    width: 100%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: 12px;
    padding: 10px 14px;
    background: var(--navy);
    color: var(--gold-bright);
    font-weight: 700;
    font-size: 0.82rem;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    border: 1px solid rgba(201, 164, 90, 0.35);
    cursor: pointer;
}

.branch-choice-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 22px rgba(7, 9, 15, 0.25);
    border-color: var(--gold);
}

.branch-choice-btn.is-selected {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-deep) 100%);
    color: var(--ink);
    border-color: var(--gold-bright);
    box-shadow: 0 10px 22px rgba(201, 164, 90, 0.35);
}

.branch-card.is-active {
    border-color: var(--gold);
    box-shadow: 0 20px 40px rgba(7, 9, 15, 0.12), 0 0 20px rgba(201, 164, 90, 0.15);
}

.info-list {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.info-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.info-item i {
    font-size: 1.2rem;
    color: var(--primary-blue);
    margin-top: 2px;
}

.info-item strong {
    font-size: 0.88rem;
    display: block;
    margin-bottom: 2px;
}

.info-item p {
    font-size: 0.85rem;
    color: var(--text-secondary);
}

.location-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.map-wrapper {
    width: 100%;
}

.map-card {
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--bg-surface);
    position: relative;
}

.map-label {
    position: absolute;
    top: 14px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    background: rgba(7, 9, 15, 0.86);
    color: var(--gold-bright);
    font-size: 0.76rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    padding: 6px 14px;
    border-radius: var(--radius-full);
    border: 1px solid rgba(201, 164, 90, 0.4);
    backdrop-filter: blur(10px);
    white-space: nowrap;
    pointer-events: none;
}

.branch-meta {
    font-size: 0.82rem;
    color: var(--text-soft);
    margin-top: 4px !important;
}

.branch-card-actions {
    display: flex;
    gap: 8px;
    margin-top: 14px;
    flex-wrap: wrap;
}

.branch-order-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 10px;
    padding: 9px 12px;
    background: var(--emerald);
    color: #fff;
    font-weight: 700;
    font-size: 0.8rem;
    transition: transform 0.25s ease, background 0.25s ease, box-shadow 0.25s ease;
    border: none;
    cursor: pointer;
}

.branch-order-btn:hover {
    background: var(--accent-green-hover);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(31, 107, 82, 0.3);
}


/* --------------------------------------------------------------------------
   Google Maps Review Card (Location Section)
   -------------------------------------------------------------------------- */
.gmaps-review-card {
    margin-top: 22px;
    padding: 14px 18px;
    background: #FFFFFF;
    border: 1px solid rgba(10, 57, 119, 0.12);
    border-left: 4px solid var(--accent-gold);
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(10, 57, 119, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    flex-wrap: wrap;
    transition: all 0.3s ease;
}

.gmaps-review-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(10, 57, 119, 0.1);
    border-color: rgba(212, 175, 55, 0.4);
}

.gmaps-review-left {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
    min-width: 200px;
}

.gmaps-icon-badge {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #F8FAFC;
    border: 1px solid #E2E8F0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.15rem;
    color: #4285F4;
    flex-shrink: 0;
}

.gmaps-review-info {
    flex: 1;
}

.gmaps-review-head {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.gmaps-review-head strong {
    font-size: 0.92rem;
    color: var(--primary-blue);
    font-weight: 700;
}

.stars-gold {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: #F59E0B;
    font-size: 0.75rem;
}

.stars-gold b {
    color: #0F172A;
    font-size: 0.82rem;
    margin-left: 3px;
}

.gmaps-review-sub {
    font-size: 0.8rem;
    color: #64748B;
    margin: 2px 0 0 0;
}

.btn-gmaps-review {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 16px;
    background: linear-gradient(135deg, #0A3977 0%, #082C5D 100%);
    color: #FFFFFF;
    font-size: 0.82rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    border: 1px solid rgba(212, 175, 55, 0.3);
    flex-shrink: 0;
}

.btn-gmaps-review i {
    color: var(--accent-gold);
}

.btn-gmaps-review:hover {
    background: linear-gradient(135deg, #D4AF37 0%, #B89225 100%);
    color: #0A3977;
    box-shadow: 0 4px 14px rgba(212, 175, 55, 0.35);
}

.btn-gmaps-review:hover i {
    color: #0A3977;
}

/* --------------------------------------------------------------------------
   Responsive – Why Us & Location
   -------------------------------------------------------------------------- */
@media (max-width: 1024px) {
    .location-container { grid-template-columns: 1fr; gap: 28px; }
}

@media (max-width: 768px) {
    .why-us-section { padding: 32px 0; }
    .location-section { padding: 32px 0; }

    /* Why-Grid Mobile: 1 Khung 2x2 & NHẤN MẠNH "NGUYÊN LIỆU TƯƠI SẠCH" */
    .why-grid {
        background: var(--bg-surface);
        border-radius: var(--radius-md);
        border: 1px solid var(--border-color);
        box-shadow: var(--shadow-sm);
        overflow: hidden;
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0;
        margin-top: 20px;
    }

    .why-card {
        border: none;
        border-bottom: 1px solid var(--border-color);
        border-right: 1px solid var(--border-color);
        padding: 14px 10px;
        border-radius: 0;
        box-shadow: none;
        position: relative;
    }

    .why-card:nth-child(2n) { border-right: none; }
    .why-card:nth-child(3), .why-card:nth-child(4) { border-bottom: none; }

    /* Nhấn Mạnh Ô "Nguyên Liệu Tươi Sạch" Nổi Bật Đặc Biệt Trên Mobile */
    .why-card.highlight-card {
        background: linear-gradient(135deg, #07090F 0%, #1F6B52 100%) !important;
        color: #FFFFFF !important;
        border: 2px solid var(--gold) !important;
        box-shadow: inset 0 0 15px rgba(201, 164, 90, 0.4);
        z-index: 5;
    }

    .why-card.highlight-card h3 {
        color: var(--gold-bright) !important;
        font-weight: 800;
    }

    .why-card.highlight-card p {
        color: rgba(246, 241, 232, 0.9) !important;
        font-weight: 600;
    }

    .why-card.highlight-card .why-icon-box {
        background-color: var(--gold) !important;
        color: var(--ink) !important;
        box-shadow: 0 0 10px rgba(201, 164, 90, 0.6);
    }

    .why-icon-box {
        width: 40px;
        height: 40px;
        font-size: 1.15rem;
        margin-bottom: 8px;
    }

    .why-card h3 {
        font-size: 0.88rem;
        margin-bottom: 4px;
    }

    .why-card p {
        font-size: 0.74rem;
        line-height: 1.35;
    }
}

@media (max-width: 600px) {
    .gmaps-review-card {
        padding: 12px 14px;
        flex-direction: column;
        align-items: stretch;
        gap: 10px;
    }

    .btn-gmaps-review {
        justify-content: center;
        width: 100%;
        padding: 10px;
    }
}
