/*
Theme Name: Flatsome Child
Description: Flatsome Child Theme - Dien Cong Nghiep Lien Thanh
Author: UX Themes
Template: flatsome
Version: 3.2
*/

/* ========================================
   01. LIEN THANH - BRAND TOKENS
======================================== */

:root {
    --lt-primary: #073B73;
    --lt-primary-hover: #062B52;
    --lt-navy: #062B52;
    --lt-blue: #0066B3;

    --lt-secondary: #FF7900;
    --lt-secondary-hover: #E86600;

    --lt-heading: #092D57;
    --lt-text: #334155;
    --lt-muted: #64748B;

    --lt-white: #FFFFFF;
    --lt-bg-light: #EEF5FC;
    --lt-bg-soft: #F8FAFC;
    --lt-border: #DFE6EE;

    --lt-success: #16845B;
    --lt-danger: #D92D20;

    --lt-radius: 10px;
    --lt-radius-lg: 14px;

    --lt-shadow:
        0 4px 18px rgba(6, 43, 82, .07);

    --lt-shadow-hover:
        0 10px 28px rgba(6, 43, 82, .13);
}

/* ========================================
   02. GENERAL UTILITIES
   Không ghi đè class hệ thống Flatsome
======================================== */

.lt-text-primary {
    color: var(--lt-primary) !important;
}

.lt-text-orange {
    color: var(--lt-secondary) !important;
}

.lt-bg-light {
    background-color: var(--lt-bg-light);
}

.lt-bg-navy {
    background-color: var(--lt-navy);
    color: var(--lt-white);
}

.lt-text-center {
    text-align: center;
}

/* ========================================
   03. HOTLINE
======================================== */

.lt-hotline,
.hot-line {
    color: var(--lt-secondary);
    font-size: 28px;
    font-weight: 700;
    line-height: 1.25;
    font-variant-numeric: tabular-nums;
}

.lt-hotline a,
.lt-hotline a:visited,
.hot-line a,
.hot-line a:visited {
    color: inherit;
    text-decoration: none;
}

.lt-hotline a:hover,
.lt-hotline a:focus-visible,
.hot-line a:hover,
.hot-line a:focus-visible {
    color: var(--lt-secondary-hover);
}

/* ========================================
   04. SECTION HEADING
======================================== */

.lt-section-heading {
    position: relative;
    margin: 0 0 22px;
    padding-left: 16px;

    color: var(--lt-heading);
    font-size: clamp(22px, 2.4vw, 30px);
    font-weight: 700;
    line-height: 1.3;
}

.lt-section-heading::before {
    content: "";
    position: absolute;
    left: 0;
    top: .12em;
    bottom: .12em;

    width: 5px;
    border-radius: 5px;
    background: var(--lt-secondary);
}

.lt-heading-center {
    text-align: center;
    padding-left: 0;
}

.lt-heading-center::before {
    top: auto;
    bottom: -12px;
    left: 50%;

    width: 52px;
    height: 4px;
    transform: translateX(-50%);
}

/* ========================================
   05. BUTTONS
   Chỉ áp dụng cho class riêng lt-*
======================================== */

.lt-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;

    padding: 12px 22px;
    min-height: 44px;

    border: 1px solid transparent;
    border-radius: 8px;

    font-size: 15px;
    font-weight: 700;
    line-height: 1.4;
    text-align: center;
    text-decoration: none;

    white-space: normal;
    cursor: pointer;

    transition:
        background-color .2s ease,
        border-color .2s ease,
        color .2s ease,
        transform .2s ease;
}

.lt-btn-primary,
.lt-btn-primary:visited {
    background: var(--lt-secondary);
    color: #171717;
}

.lt-btn-primary:hover,
.lt-btn-primary:focus-visible {
    background: var(--lt-secondary-hover);
    color: var(--lt-white);
}

.lt-btn-navy,
.lt-btn-navy:visited {
    background: var(--lt-primary);
    color: var(--lt-white);
}

.lt-btn-navy:hover,
.lt-btn-navy:focus-visible {
    background: var(--lt-primary-hover);
    color: var(--lt-white);
}

.lt-btn-outline,
.lt-btn-outline:visited {
    background: transparent;
    border-color: var(--lt-primary);
    color: var(--lt-primary);
}

.lt-btn-outline:hover,
.lt-btn-outline:focus-visible {
    background: var(--lt-primary);
    color: var(--lt-white);
}

/* ========================================
   06. SERVICE CARDS
======================================== */

.lt-service-card {
    background: var(--lt-white);
    border: 1px solid var(--lt-border);
    border-radius: var(--lt-radius);

    overflow: hidden;
    height: 100%;

    box-shadow: var(--lt-shadow);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.lt-service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--lt-shadow-hover);
    border-color: #B7CCE2;
}

.lt-service-card img {
    display: block;
    width: 100%;
    height: auto;
}

.lt-service-card__body {
    padding: 18px;
}

.lt-service-card__title {
    margin: 0 0 10px;
    color: var(--lt-heading);
    font-size: 18px;
    font-weight: 700;
    line-height: 1.4;
}

.lt-service-card__desc {
    margin: 0;
    color: var(--lt-text);
    font-size: 14px;
    line-height: 1.7;
}

/* ========================================
   07. IMAGE FRAME
======================================== */

.lt-image-frame {
    overflow: hidden;
    border-radius: var(--lt-radius-lg);
    border: 1px solid var(--lt-border);
    background: var(--lt-bg-soft);
}

.lt-image-frame img {
    display: block;
    width: 100%;
    height: auto;
}

/* ========================================
   08. FEATURE / BENEFIT BOX
======================================== */

.lt-feature-box {
    height: 100%;
    padding: 20px;

    background: var(--lt-bg-light);
    border: 1px solid var(--lt-border);
    border-radius: var(--lt-radius);
}

.lt-feature-box__title {
    margin: 0 0 8px;
    color: var(--lt-heading);
    font-size: 17px;
    font-weight: 700;
}

.lt-feature-box__desc {
    margin: 0;
    color: var(--lt-text);
    font-size: 14px;
    line-height: 1.7;
}

/* ========================================
   09. CONTENT LINKS
======================================== */

.lt-content a {
    color: var(--lt-blue);
    text-decoration: none;
}

.lt-content a:hover,
.lt-content a:focus-visible {
    color: var(--lt-secondary-hover);
    text-decoration: underline;
}

/* ========================================
   10. INTRO / TEXT
======================================== */

.lt-intro-text {
    color: var(--lt-text);
    font-size: 16px;
    line-height: 1.8;
}

.lt-intro-text p {
    margin-bottom: 1em;
}

/* ========================================
   11. CONTACT INFO
======================================== */

.lt-contact-info {
    background: var(--lt-bg-light);
    border: 1px solid var(--lt-border);
    border-radius: var(--lt-radius-lg);
    padding: 22px;
}

.lt-contact-info__title {
    color: var(--lt-heading);
    font-weight: 700;
    margin-bottom: 12px;
}

.lt-contact-info__item {
    padding: 12px 0;
    border-bottom: 1px solid var(--lt-border);
}

.lt-contact-info__item:last-child {
    border-bottom: none;
}

/* ========================================
   12. ACCESSIBILITY
======================================== */

.lt-btn:focus-visible,
.lt-content a:focus-visible {
    outline: 2px solid var(--lt-blue);
    outline-offset: 3px;
}

/* ========================================
   13. RESPONSIVE
======================================== */

/* Tablet */
@media (max-width: 849px) {

    .lt-hotline,
    .hot-line {
        font-size: 24px;
    }

    .lt-service-card__body {
        padding: 15px;
    }

    .lt-section-heading {
        font-size: 24px;
    }
}

/* Mobile */
@media (max-width: 549px) {

    .lt-hotline,
    .hot-line {
        font-size: 21px;
    }

    .lt-section-heading {
        font-size: 22px;
        padding-left: 13px;
    }

    .lt-heading-center {
        padding-left: 0;
    }

    .lt-btn {
        padding: 11px 16px;
        font-size: 14px;
    }

    .lt-service-card__title {
        font-size: 16px;
    }

    .lt-service-card__body {
        padding: 14px;
    }

    .lt-feature-box,
    .lt-contact-info {
        padding: 16px;
    }

    .lt-intro-text {
        font-size: 15px;
    }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
    .lt-btn,
    .lt-service-card {
        transition: none;
    }

    .lt-service-card:hover {
        transform: none;
    }
}

/* =========================================================
   DIEN CONG NGHIEP LIEN THANH - HERO GRADIENT REUSABLE V1
   Code Snippets > CSS snippet > Frontend, Head
   Only active on elements carrying .lt-hero-fade-left
   Compatible with existing lt-home and lt-about CSS
   ========================================================= */

/* Fade applied to the photo side only, never the text column. */
.lt-home .lt-home-hero__media.lt-hero-fade-left,
.lt-about .lt-about-p1__hero-photo.lt-hero-fade-left {
    position: relative !important;
    overflow: hidden !important;
    isolation: isolate;
    background-color: var(--lt-navy, #062B52) !important;
}

.lt-home .lt-home-hero__media.lt-hero-fade-left > img,
.lt-about .lt-about-p1__hero-photo.lt-hero-fade-left > img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    object-fit: cover !important;
}

.lt-home .lt-home-hero__media.lt-hero-fade-left::after,
.lt-about .lt-about-p1__hero-photo.lt-hero-fade-left::after {
    content: "";
    position: absolute !important;
    inset: 0 auto 0 0 !important;
    z-index: 1 !important;
    width: min(42%, 220px) !important;
    height: 100% !important;
    background: linear-gradient(90deg,
      var(--lt-navy, #062B52) 0%,
      rgba(6,43,82,.94) 12%,
      rgba(6,43,82,.64) 46%,
      rgba(6,43,82,.22) 78%,
      rgba(6,43,82,0) 100%) !important;
    pointer-events: none !important;
}

@media screen and (min-width: 550px) and (max-width: 849px) {
    .lt-home .lt-home-hero__media.lt-hero-fade-left::after,
    .lt-about .lt-about-p1__hero-photo.lt-hero-fade-left::after {
        width: min(44%, 130px) !important;
    }
}

/* Mobile: photo stacks below text, so blend from navy at its top. */
@media screen and (max-width: 549px) {
    .lt-home .lt-home-hero__media.lt-hero-fade-left::after,
    .lt-about .lt-about-p1__hero-photo.lt-hero-fade-left::after {
        inset: 0 0 auto 0 !important;
        width: 100% !important;
        height: 88px !important;
        background: linear-gradient(180deg,
          var(--lt-navy, #062B52) 0%,
          rgba(6,43,82,.70) 35%,
          rgba(6,43,82,.30) 68%,
          rgba(6,43,82,0) 100%) !important;
    }
}
