/* ============================================
   LIÊN HỆ F168 - LIENHE.CSS (OPTIMIZED)
   Mobile-first, Performance
   ============================================ */

/* =========================
   HERO
   ========================= */

.lh-hero {
    position: relative;
    padding: 60px 40px;
    margin: 5% 0 32px 0;
    border-radius: 28px;
    overflow: hidden;
    background: rgba(255, 255, 255, .66);
    border: 1px solid rgba(255, 255, 255, .58);
    box-shadow: var(--shadow);
    backdrop-filter: blur(3px) saturate(155%);
    -webkit-backdrop-filter: blur(28px) saturate(145%);
}

.lh-hero .eyebrow {
    animation: badgeFloat 3s ease-in-out infinite, badgeGlow 2.5s ease-in-out infinite alternate, lhFadeIn .7s ease both;
}

.lh-hero h1 {
    max-width: 820px;
    margin: 16px 0 0;
    font-size: clamp(1.8rem, 4vw, 3.2rem);
    line-height: 1.12;
    letter-spacing: -.04em;
    color: var(--ink);
    opacity: 0;
    animation: lhFadeUp .8s ease .1s forwards;
}

.lh-hero p.lead {
    max-width: 720px;
    margin: 18px 0 0;
    color: var(--muted);
    font-size: clamp(.9rem, 1.1vw, 1.06rem);
    line-height: 1.7;
    opacity: 0;
    animation: lhFadeUp .8s ease .25s forwards;
}

/* =========================
   BLOCK / SECTION
   ========================= */

.lh-block {
    padding: 48px 40px;
}

.lh-block .section-head {
    max-width: 780px;
    margin-bottom: 30px;
}

.lh-reveal {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity .7s ease, transform .7s ease;
}

.lh-reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================
   KÊNH HỖ TRỢ
   ========================= */

.channel-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.channel-card {
    padding: 24px 20px;
    border-radius: 20px;
    background: rgba(255, 255, 255, .52);
    border: 1px solid rgba(255, 255, 255, .72);
    transition: transform .35s ease, background .35s ease, box-shadow .35s ease;
    opacity: 0;
    transform: translateY(20px) scale(.98);
}

.channel-card.is-visible {
    animation: lhCardIn .6s cubic-bezier(.2, .8, .2, 1) forwards;
}

.channel-card:hover {
    transform: translateY(-6px);
    background: rgba(255, 255, 255, .8);
    box-shadow: 0 22px 45px rgba(14, 29, 72, .16);
}

.channel-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 14px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #fb8c00, #ffc107);
    color: #fff;
    font-size: 1.3rem;
    box-shadow: 0 12px 26px rgba(251, 140, 0, .28);
    transition: transform .35s ease;
}

.channel-card:hover .channel-icon {
    transform: rotate(-6deg) scale(1.08);
}

.channel-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    color: var(--ink);
}

.channel-card p {
    margin: 0;
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.65;
}

.channel-grid .channel-card:nth-child(1) {
    animation-delay: .05s;
}

.channel-grid .channel-card:nth-child(2) {
    animation-delay: .18s;
}

.channel-grid .channel-card:nth-child(3) {
    animation-delay: .31s;
}

/* =========================
   DỊCH VỤ CSKH
   ========================= */

.care-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.care-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    padding: 20px;
    border-radius: 18px;
    background: rgba(255, 255, 255, .5);
    border: 1px solid rgba(255, 255, 255, .7);
    transition: transform .3s ease, background .3s ease, box-shadow .3s ease;
    opacity: 0;
    transform: translateY(18px);
}

.care-item.is-visible {
    animation: lhFadeUp .6s ease forwards;
}

.care-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, .75);
    box-shadow: 0 16px 34px rgba(14, 29, 72, .12);
}

.care-icon {
    flex-shrink: 0;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #5d72ff, #20b9e8);
    color: #fff;
    font-size: 1.05rem;
    font-weight: 800;
    box-shadow: 0 10px 22px rgba(93, 114, 255, .28);
}

.care-text h4 {
    margin: 0 0 5px;
    font-size: .95rem;
    color: var(--ink);
}

.care-text p {
    margin: 0;
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.6;
}

.care-grid .care-item:nth-child(1) {
    animation-delay: .05s;
}

.care-grid .care-item:nth-child(2) {
    animation-delay: .14s;
}

.care-grid .care-item:nth-child(3) {
    animation-delay: .23s;
}

.care-grid .care-item:nth-child(4) {
    animation-delay: .32s;
}

/* =========================
   ƯU ĐIỂM VƯỢT TRỘI
   ========================= */

.highlight-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 16px;
    justify-content: center;
}

.highlight-card {
    padding: 26px 22px;
    border-radius: 20px;
    text-align: center;
    background: linear-gradient(150deg, rgba(255, 255, 255, .62), rgba(255, 255, 255, .42));
    border: 1px solid rgba(255, 255, 255, .75);
    transition: transform .35s ease, box-shadow .35s ease;
    opacity: 0;
    transform: translateY(18px);
}

.highlight-card.is-visible {
    animation: lhFadeUp .6s ease forwards;
}

.highlight-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 42px rgba(14, 29, 72, .14);
}

.highlight-icon {
    width: 52px;
    height: 52px;
    margin: 0 auto 14px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: linear-gradient(135deg, #fb8c00, #ffc107);
    color: #fff;
    font-size: 1.4rem;
    box-shadow: 0 12px 26px rgba(251, 140, 0, .28);
}

.highlight-card h3 {
    margin: 0 0 8px;
    font-size: 1.05rem;
    color: var(--ink);
}

.highlight-card p {
    margin: 0;
    color: var(--muted);
    font-size: .85rem;
    line-height: 1.65;
}

.highlight-grid .highlight-card:nth-child(1) {
    animation-delay: .05s;
}

.highlight-grid .highlight-card:nth-child(2) {
    animation-delay: .16s;
}

.highlight-grid .highlight-card:nth-child(3) {
    animation-delay: .27s;
}

/* =========================
   KẾT BÀI / CTA
   ========================= */

.lh-conclusion {
    padding: 50px 36px;
    text-align: center;
}

.lh-conclusion h2 {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    letter-spacing: -.04em;
    margin: 0 0 14px;
    color: var(--ink);
}

.lh-conclusion p {
    max-width: 600px;
    margin: 0 auto 24px;
    color: var(--muted);
    font-size: clamp(.9rem, 1vw, 1rem);
    line-height: 1.7;
}

/* =========================
   FORM LIÊN HỆ (NEW)
   ========================= */

.contact-form-section {
    padding: 40px;
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: .85rem;
    font-weight: 600;
    color: var(--ink);
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 12px 16px;
    border-radius: 12px;
    border: 1px solid rgba(16, 32, 58, .15);
    background: rgba(255, 255, 255, .7);
    font-family: inherit;
    font-size: .9rem;
    color: var(--ink);
    transition: border-color .2s, box-shadow .2s;
    min-height: var(--touch-min);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #fb8c00;
    box-shadow: 0 0 0 3px rgba(251, 140, 0, .15);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.form-submit {
    width: 100%;
    padding: 14px;
    font-size: 1rem;
    font-weight: 800;
}

/* =========================
   ANIMATIONS
   ========================= */

@keyframes lhFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes lhFadeUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lhCardIn {
    from {
        opacity: 0;
        transform: translateY(20px) scale(.98);
    }

    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* =========================
   RESPONSIVE
   ========================= */

@media (max-width: 900px) {

    .lh-hero,
    .lh-block,
    .lh-conclusion,
    .contact-form-section {
        padding: 36px 24px;
        margin: 3% 0 24px 0;
    }

    .channel-grid {
        grid-template-columns: 1fr;
    }

    .care-grid {
        grid-template-columns: 1fr;
    }

    .highlight-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {

    .lh-hero,
    .lh-block,
    .lh-conclusion,
    .contact-form-section {
        padding: 28px 16px;
        border-radius: 20px;
    }

    .channel-card,
    .care-item,
    .highlight-card {
        padding: 20px 16px;
    }

    .care-item {
        flex-direction: column;
        gap: 10px;
    }

    .care-icon {
        width: 40px;
        height: 40px;
    }
}