/* ==========================================================================
   HOME – các section trang chủ (front-page)
   Số đo gốc lấy ở viewport 1280px.
   ========================================================================== */

/* ---------- HERO (Type A – continuous visual, slider 4 ảnh) ---------- */
.hero {
    position: relative;
    isolation: isolate;
    height: clamp(420px, 33.3334vw, 620px);   /* tỷ lệ ảnh gốc 3:1 */
    overflow: hidden;
    background: #0b0b0c;
    color: #fff;
}

.hero__media,
.hero__slide {
    position: absolute;
    inset: 0;
}

.hero__media {
    z-index: -2;
}

.hero__slide {
    opacity: 0;
    transition: opacity 1s ease;
}

.hero__slide.is-active {
    opacity: 1;
}

.hero__slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 70% 50%;
}

/* Gradient trái → phải cho chữ dễ đọc, không tạo mép cắt */
.hero__overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.32) 32%, rgba(0, 0, 0, 0) 62%);
    pointer-events: none;
}

.hero__inner {
    position: relative;
    height: 100%;
    padding-top: clamp(48px, 5.625vw, 108px);   /* 72px @1280 */
}

.hero__content {
    max-width: 640px;
}

.hero__eyebrow {
    color: var(--color-primary);
    font-size: 1.3125rem;          /* 21px */
    font-weight: 800;
    letter-spacing: 0.12em;
    line-height: 1.3;
    text-transform: uppercase;
}

.hero__title {
    margin-top: 10px;
    color: #fff;
    font-size: var(--fs-hero-title);
    font-weight: 800;
    line-height: 1.09;
    letter-spacing: -0.005em;
    text-transform: uppercase;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.35);
}

.hero__title span {
    display: block;
}

.hero__subtitle {
    margin-top: 0;
    color: #f2f2f2;
    font-size: var(--fs-hero-sub);
    line-height: 1.35;
    text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-top: 26px;
}

.hero__actions .btn--primary {
    min-width: 250px;
}

.hero__actions .btn--ghost-light {
    min-width: 197px;
}

.hero__dots {
    position: absolute;
    left: var(--container-inset);
    bottom: 41px;
    display: flex;
    gap: 13px;
}

.hero__dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    transition: background-color var(--duration) var(--ease), transform var(--duration) var(--ease);
}

.hero__dot:hover {
    transform: scale(1.3);
}

.hero__dot.is-active {
    background: var(--color-primary);
}

/* ---------- ĐIỂM MẠNH (4 cột, gạch đỏ ngăn cách) ---------- */
.features {
    background: #fdfdfd;
}

.features__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    min-height: 141px;
}

.feature {
    position: relative;
    padding: 16px 12px 14px;
    text-align: center;
}

.feature + .feature::before {
    content: '';
    position: absolute;
    left: 0;
    top: 29px;
    height: 93px;
    width: 2px;
    background: var(--color-primary);
}

.feature__icon {
    width: 45px;
    height: 45px;
    margin-inline: auto;
    color: var(--color-primary);
}

.feature__title {
    margin-top: 8px;
    font-size: var(--fs-20);
    font-weight: 600;
    line-height: 1.3;
}

.feature__desc {
    margin-top: 3px;
    font-size: var(--fs-17);
    line-height: 1.45;
    color: var(--color-muted);
}

/* ---------- VỀ CHÚNG TÔI ---------- */
.about {
    padding-block: 19px 18px;
}

.about__grid {
    display: grid;
    grid-template-columns: 646px minmax(0, 1fr);
    gap: 44px;
    align-items: start;
}

.about__media {
    aspect-ratio: 646 / 343;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.about__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 70%;
}

.about__content {
    padding-top: 9px;
}

.about__title {
    margin-top: 15px;
    font-size: var(--fs-h2-large);
    font-weight: 700;
    line-height: 1.22;
    letter-spacing: -0.01em;
}

.about__text {
    max-width: 504px;
    margin-top: 9px;
    font-size: var(--fs-lead);
    line-height: 1.35;
    color: #4d5259;
}

.about__checks {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    margin-top: 22px;
}

.about__actions {
    margin-top: 32px;
}

.about__actions .btn {
    min-width: 276px;
}

/* ---------- DỊCH VỤ ---------- */
.services {
    padding-block: 17px 25px;
}

.services__grid {
    margin-top: 20px;
}

/* ---------- CÔNG TRÌNH (nền tối, full-width) ---------- */
.projects {
    isolation: isolate;
    padding-block: 12px 14px;
    overflow: hidden;
}

/* Hoạ tiết ảnh KTV rất mờ phía sau */
.projects::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(180deg, rgba(27, 31, 35, 0.9) 0%, rgba(27, 31, 35, 0.94) 100%),
        url('../images/hero-02.webp') center / cover no-repeat;
    filter: blur(2px) grayscale(0.4);
}

.projects .section-title {
    color: #fff;
}

.projects__grid {
    margin-top: 8px;
    gap: 13px 18px;
}

.projects__actions {
    display: flex;
    justify-content: center;
    margin-top: 11px;
}

.projects__actions .btn {
    min-width: 295px;
    min-height: 40px;
    font-size: var(--fs-15);
    font-weight: 500;
}

/* ---------- NĂNG LỰC SẢN XUẤT ---------- */
.capability {
    padding-top: 13px;
}

.capability__grid {
    display: grid;
    grid-template-columns: 550px minmax(0, 1fr) 365px;
    gap: 30px;
    align-items: start;
}

.capability__media {
    margin-top: 11px;
    aspect-ratio: 550 / 277;
    border-radius: var(--radius-md);
    overflow: hidden;
}

.capability__media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.capability__intro {
    padding-top: 8px;
    padding-left: 10px;
}

.capability__title {
    margin-top: 16px;
    font-size: 2.5rem;             /* 40px */
    font-weight: 700;
    line-height: 1.12;
    letter-spacing: -0.02em;
}

.capability__title span {
    display: block;
}

.capability__list {
    display: grid;
    gap: 10px;
}

.capability-item {
    display: flex;
    align-items: center;
    gap: 16px;
    min-height: 68px;
    padding: 8px 16px 8px 20px;
    border: 1px solid #edeff2;
    border-radius: var(--radius-md);
    background: #fff;
    box-shadow: 0 1px 6px rgba(17, 24, 39, 0.035);
}

.capability-item__icon {
    width: 42px;
    height: 42px;
    color: var(--color-primary);
}

.capability-item__title {
    font-size: var(--fs-15);
    font-weight: 600;
    line-height: 1.35;
}

.capability-item__desc {
    margin-top: 2px;
    font-size: 0.78125rem;         /* 12.5px */
    font-stretch: 85%;
    line-height: 1.4;
    color: var(--color-muted);
}

.capability__badge {
    display: flex;
    align-items: center;
    gap: 12px;
    min-height: 45px;
    margin-top: 18px;
    padding: 6px 14px;
    border: 1.5px solid #f7a4a4;
    border-radius: var(--radius-md);
    font-size: var(--fs-13);
    font-stretch: var(--font-stretch);
    white-space: nowrap;
    color: #5b6068;
}

.capability__badge .icon {
    width: 24px;
    height: 24px;
    color: var(--color-primary);
}

/* ---------- QUY TRÌNH ---------- */
.process {
    padding-block: 12px 18px;
}

.process__head {
    padding-bottom: 4px;
    border-bottom: 1px solid #ffcfcc;
}

.process__steps {
    display: flex;
    align-items: center;
    margin-top: 13px;
}

.process-step {
    display: flex;
    align-items: center;
    flex: 1 1 0;
}

.process-step:last-child {
    flex: 0 0 auto;
}

/* Mũi tên giữa các bước (mask để ăn màu currentColor) */
.process-step:not(:last-child)::after {
    content: '';
    width: 26px;
    height: 20px;
    margin-inline: auto;
    background: var(--color-primary);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 20' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 10h21M16 3l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 26 20' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 10h21M16 3l7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat;
}

.process-step__icon {
    display: grid;
    place-items: center;
    flex: 0 0 62px;
    height: 62px;
    border: 2px solid var(--color-primary);
    border-radius: 50%;
    color: var(--color-primary);
    background: #fff;
}

.process-step__icon .icon {
    width: 30px;
    height: 30px;
}

.process-step__text {
    display: flex;
    flex-direction: column;
    margin-left: 13px;
}

.process-step__num {
    font-family: var(--font-display);
    font-size: 1.6875rem;          /* 27px */
    font-weight: 600;
    font-stretch: 100%;
    line-height: 1.1;
    color: var(--color-primary);
}

.process-step__label {
    font-size: var(--fs-18);
    line-height: 1.35;
    color: #4d525a;
    white-space: nowrap;
}

/* ---------- TIN TỨC / GÓC CHUYÊN MÔN ---------- */
.news {
    padding-block: 13px 12px;
}

/* .news__head / .news__title / .news__grid: xem components.css (dùng chung với trang con) */
