/* ============================================
   T3SKY Website - Main Stylesheet
   ============================================ */

*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Colors */
    --color-primary: #531314;
    --color-primary-dark: #3f0001;
    --color-primary-light: #870e10;
    --color-accent: #fcd179;
    --color-accent-light: #d4a84b;
    --color-accent-dark: #b0842f;
    --color-bg-light: #fdf8f3;
    --color-bg-cream: #f5f0eb;
    --color-bg-white: #ffffff;
    --color-text-dark: #2d2d2d;
    --color-text-body: #555555;
    --color-text-muted: #888888;
    --color-text-white: #ffffff;
    --color-text-cream: #f5e6d3;
    --color-border: #e5ddd5;
    --color-card-shadow: rgba(74, 21, 32, 0.08);
    /* Typography */
    --font-heading: "Lexend", sans-serif;
    --font-body: "Source Sans 3", sans-serif;
    --font-text: "Inter", sans-serif;
    /* Spacing */
    --section-padding: clamp(3.5rem, 3rem + 4vw, 7rem);
    --container-max: 1440px;
    --container-padding: clamp(1rem, 1.5vw, 1.5rem);
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-smooth: 400ms cubic-bezier(0.16, 1, 0.3, 1);
    /* Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 28px;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--font-body);
    font-size: clamp(0.938rem, 0.9rem + 0.2vw, 1.063rem);
    line-height: 1.7;
    color: var(--color-text-body);
    /* background-color: var(--color-bg-light); */
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color var(--transition-fast);
}

ul,
ol {
    list-style: none;
}

button {
    border: none;
    background: none;
    cursor: pointer;
    font-family: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    color: var(--color-text-dark);
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

/* --- Utility --- */
.container {
    max-width: var(--container-max);
    margin: 0 auto;
    padding-left: var(--container-padding);
    padding-right: var(--container-padding);
}

.section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 0.813rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--color-accent);
    margin-bottom: 12px;
}

    .section-label::before {
        content: "";
        width: 28px;
        height: 2px;
        background: var(--color-accent);
        border-radius: 1px;
    }

.section-title {
    font-size: clamp(1.625rem, 1.05rem + 2vw, 2.625rem);
    margin-bottom: clamp(12px, 1.4vw, 16px);
}

.section-desc {
    max-width: 600px;
    color: var(--color-text-muted);
    line-height: 1.8;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 0.8vw, 8px);
    padding: clamp(10px, 1vw, 12px) clamp(20px, 2vw, 32px);
    /* border-radius: var(--radius-sm); */
    border-radius: 100px;
    font-family: var(--font-heading);
    /* font-size: 0.938rem; */
    font-size: clamp(1rem, 0.75rem + 0.8vw, 1.25rem);
    font-weight: 600;
    transition: all var(--transition-normal);
    cursor: pointer;
    white-space: nowrap;
}

.btn-primary {
    background: var(--color-accent);
    color: var(--color-primary);
}

    .btn-primary:hover {
        background: var(--color-accent-dark);
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(200, 151, 62, 0.35);
    }

.btn-outline {
    border: 1.5px solid var(--color-accent);
    color: var(--color-accent);
    background: transparent;
}

    .btn-outline:hover {
        background: var(--color-accent);
        color: var(--color-primary);
    }

.btn-white {
    background: var(--color-bg-white);
    color: var(--color-primary);
    font-weight: 600;
}

    .btn-white:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    }

/* --- Dot Pattern Background --- */
.dot-pattern {
    position: relative;
}

    .dot-pattern::before {
        content: "";
        position: absolute;
        inset: 0;
        background-image: radial-gradient( circle, rgba(255, 255, 255, 0.06) 1px, transparent 1px );
        background-size: 24px 24px;
        pointer-events: none;
        z-index: 0;
    }

    .dot-pattern > * {
        /* position: relative; */
        /* z-index: 1; */
    }

/* ============================================
   HEADER / NAVIGATION
   ============================================ */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: transparent;
    transition: background-color var(--transition-normal), box-shadow var(--transition-normal);
}

    .header.scrolled {
        background-color: var(--color-primary);
        box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
        backdrop-filter: blur(10px);
    }

    .header .container {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 72px;
        gap: 24px;
    }

.logo {
    display: flex;
    align-items: center;
    width: 150px;
    height: auto;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-text-white);
    cursor: pointer;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: clamp(20px, 3vw, 56px);
    flex: 1;
    justify-content: center;
}

    .nav-links a {
        font-family: var(--font-heading);
        font-size: 1.125rem;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.75);
        transition: color var(--transition-fast);
        position: relative;
    }

        .nav-links a:hover,
        .nav-links a.active {
            color: var(--color-accent);
        }

        .nav-links a::after {
            content: "";
            position: absolute;
            bottom: -4px;
            left: 0;
            width: 0;
            height: 2px;
            background: var(--color-accent);
            border-radius: 1px;
            transition: width var(--transition-normal);
        }

        .nav-links a:hover::after,
        .nav-links a.active::after {
            width: 100%;
        }

.nav-cta {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-shrink: 0;
}

    .nav-cta .btn {
        padding: 10px 24px;
        font-size: 0.875rem;
    }

.language-switch {
    position: relative;
    font-family: var(--font-text);
    flex-shrink: 0;
}

.language-switch__trigger {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: 98px;
    padding: 6px 10px;
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.06);
    color: var(--color-text-white);
    cursor: pointer;
    transition: background var(--transition-fast), border-color var(--transition-fast);
}

    .language-switch__trigger:hover,
    .language-switch.open .language-switch__trigger {
        background: rgba(255, 255, 255, 0.1);
        border-color: rgba(255, 255, 255, 0.32);
    }

    .language-switch__trigger img {
        width: 20px;
        height: 20px;
        filter: brightness(0) invert(1);
    }

.language-switch__current {
    color: var(--color-text-white);
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.language-switch__chevron {
    width: 8px;
    height: 8px;
    margin-left: auto;
    border-right: 2px solid var(--color-text-white);
    border-bottom: 2px solid var(--color-text-white);
    transform: rotate(45deg) translateY(-3px);
    transition: transform var(--transition-fast);
}

.language-switch.open .language-switch__chevron {
    transform: rotate(225deg) translate(-2px, -1px);
}

.language-switch__menu {
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    display: grid;
    gap: 4px;
    padding: 6px;
    border-radius: 16px;
    background: rgba(58, 15, 24, 0.98);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.24);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-6px);
    transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
    z-index: 120;
}

.language-switch.open .language-switch__menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.language-switch__menu button {
    width: 100%;
    padding: 8px 10px;
    border-radius: 12px;
    color: rgba(255, 255, 255, 0.76);
    font-family: inherit;
    font-size: 0.875rem;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    transition: background var(--transition-fast), color var(--transition-fast);
}

    .language-switch__menu button:hover,
    .language-switch__menu button.active {
        background: rgba(200, 151, 62, 0.18);
        color: var(--color-accent);
    }

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 4px;
    cursor: pointer;
}

    .mobile-toggle span {
        width: 24px;
        height: 2px;
        background: var(--color-text-white);
        border-radius: 2px;
        transition: all var(--transition-normal);
    }

    .mobile-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .mobile-toggle.active span:nth-child(2) {
        opacity: 0;
    }

    .mobile-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }

/* ============================================
   ABOUT PAGE
   ============================================ */
.about-hero {
    padding: calc(72px + clamp(48px, 7vw, 112px)) 0 clamp(48px, 6vw, 80px);
    background: var(--color-primary);
    color: var(--color-text-white);
}

    .about-hero .container {
        display: grid;
        grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
        gap: clamp(32px, 5vw, 72px);
        align-items: center;
    }

.about-hero__eyebrow {
    color: var(--color-accent);
    font-family: var(--font-text);
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 600;
    margin-bottom: 12px;
}

.about-hero__title {
    color: var(--color-accent);
    font-family: var(--font-text);
    font-size: clamp(34px, 4vw, 50px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: clamp(16px, 2vw, 24px);
}

.about-hero__desc {
    max-width: 680px;
    color: #f0f0f0;
    font-family: var(--font-text);
    font-size: clamp(16px, 1.7vw, 24px);
    line-height: 1.5;
}

.about-hero__visual {
    border-radius: clamp(20px, 3vw, 36px);
    overflow: hidden;
}

    .about-hero__visual img {
        width: 100%;
        display: block;
    }

.about-description {
    padding: clamp(48px, 6vw, 80px) 0;
    background: #fafafa;
}

.about-section-title {
    color: var(--color-primary);
    font-family: var(--font-text);
    font-size: clamp(30px, 4vw, 50px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 12px;
}

.about-description__eyebrow {
    color: var(--color-text-dark);
    font-family: var(--font-text);
    font-size: clamp(15px, 1.2vw, 18px);
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 12px;
}

.about-description__content {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.2vw, 16px);
    margin-top: clamp(20px, 3vw, 32px);
}

    .about-description__content p {
        color: #323232;
        font-family: var(--font-text) !important;
        font-size: clamp(16px, 1.4vw, 20px) !important;
        line-height: 1.55 !important;
    }

    .about-description__content h3 {
        color: var(--color-primary);
        font-family: var(--font-heading) !important;
        font-size: clamp(24px, 2.8vw, 36px) !important;
        font-weight: 700 !important;
        line-height: 1.3 !important;
    }

        .about-description__content h3:first-child {
            margin-top: 0;
        }

        .about-description__content h3 * {
            color: inherit !important;
            font: inherit !important;
        }

    .about-description__content span {
        color: inherit;
        font: inherit;
    }

    .about-description__content ul,
    .about-description__content ol {
        display: flex;
        flex-direction: column;
        gap: clamp(6px, 0.8vw, 10px);
        padding-left: clamp(22px, 2.5vw, 32px);
        color: #323232;
        font-family: var(--font-text);
        font-size: clamp(16px, 1.4vw, 20px);
        line-height: 1.6;
        list-style: disc;
    }

    .about-description__content li {
        padding-left: 4px;
        list-style: disc;
    }

        .about-description__content li::marker {
            color: var(--color-primary);
            font-size: 0.85em;
        }

        .about-description__content li > ul {
            margin-top: 8px;
            list-style: circle;
        }

            .about-description__content li > ul li,
            .about-description__content li > ul li::marker {
                list-style: circle;
            }

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background: var(--color-primary-dark);
    padding: 64px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr 1fr;
    gap: 24px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
}

    .footer-brand .logo {
        margin-bottom: 16px;
    }

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 24px;
}

.footer-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--color-text-white);
    font-family: var(--font-text);
    font-size: 18px;
    font-weight: 400;
}

.footer-col h4 {
    color: #fff;
    font-family: var(--font-text);
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    line-height: 1.3;
    margin-bottom: 18px;
    position: relative;
    padding-bottom: 10px;
}

.footer-col h4::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 28px;
    height: 2px;
    background: var(--color-primary, #2563eb);
    border-radius: 2px;
}

.footer-col ul {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

    .footer-col ul li a {
        color: rgba(255, 255, 255, 0.55);
        font-family: var(--font-text);
        font-size: 14px;
        font-weight: 400;
        line-height: 1.7;
        transition: color 0.2s, padding-left 0.2s;
        cursor: pointer;
    }

        .footer-col ul li a:hover {
            color: #fff;
            padding-left: 4px;
        }

.footer-col p {
    color: rgba(255, 255, 255, 0.55);
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 32px;
}

.form-input {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

    .form-input input {
        width: 100%;
        background: transparent;
        border: none;
        border-radius: 8px;
        padding: 8px 0;
        color: #ccc;
        font-family: var(--font-text);
        font-size: 18px;
        font-style: normal;
        font-weight: 400;
        line-height: normal;
    }

        .form-input input:focus-visible {
            outline: none;
        }

        .form-input input::placeholder {
            color: #ccc;
            font-family: var(--font-text);
            font-size: 18px;
            font-style: normal;
            font-weight: 400;
            line-height: normal;
        }

    .form-input img {
        width: 28px;
        height: 28px;
    }

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 24px 0;
    color: var(--color-text-white);
    font-family: var(--font-text);
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 2;
    opacity: 0.8;
}

.footer-service {
    display: flex;
    gap: 12px;
    align-items: center;
}

    .footer-service span:hover {
        color: var(--color-accent);
        text-decoration: underline;
    }

@media (max-width: 1200px) {
    .nav-links {
        gap: clamp(16px, 2vw, 24px);
    }

        .nav-links a {
            font-size: 1rem;
        }
}

@media (max-width: 1024px) {
    .nav-links {
        display: none;
    }

    .language-switch {
        position: relative;
    }

    .language-switch__trigger {
        width: 86px;
        gap: 7px;
        padding: 6px 9px;
    }

        .language-switch__trigger img {
            width: 19px;
            height: 19px;
        }

    .language-switch__current {
        font-size: 14px;
    }

    .language-switch__chevron {
        width: 9px;
        height: 9px;
    }

    .nav-cta .btn-outline {
        display: none;
    }

    .mobile-toggle {
        display: flex;
    }

    /* Mobile Nav */
    .nav-links.mobile-open {
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        position: fixed;
        inset: 72px 0 0;
        min-height: calc(100dvh - 72px);
        max-height: calc(100dvh - 72px);
        background: rgba(58, 15, 24, 0.98);
        backdrop-filter: blur(10px);
        padding: 32px;
        gap: 24px;
        align-items: flex-start;
        overflow-y: auto;
        overscroll-behavior: contain;
        z-index: 101;
        animation: slideDown 0.3s ease;
    }

    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .nav-links.mobile-open a {
        font-size: 1.125rem;
        color: var(--color-text-white);
    }

    .about-hero .container {
        grid-template-columns: 1fr;
    }

    .about-hero {
        text-align: center;
    }

    .about-hero__title {
        font-size: clamp(32px, 7vw, 42px);
    }

    .about-hero__desc {
        margin: 0 auto;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 640px) {
    .header .container {
        gap: 12px;
    }

    .logo {
        width: 128px;
    }

    .nav-cta {
        gap: 8px;
    }

        .nav-cta .btn-primary {
            display: inline-flex;
            padding: 8px 14px;
            font-size: 0.75rem;
            white-space: nowrap;
        }

    .language-switch {
        position: relative;
    }

    .language-switch__trigger {
        gap: 6px;
        padding: 6px 8px;
    }

        .language-switch__trigger img {
            width: 18px;
            height: 18px;
        }

    .language-switch__current {
        font-size: 13px;
    }

    .language-switch__chevron {
        width: 9px;
        height: 9px;
        border-width: 2px;
    }

    .language-switch__menu button {
        font-size: 0.875rem;
    }

    .about-hero,
    .about-description {
        padding-top: 48px;
        padding-bottom: 48px;
    }

    .about-hero {
        padding-top: calc(72px + 32px);
    }

    .about-hero__title {
        font-size: 30px;
        line-height: 1.25;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
        text-align: left;
    }

    .footer-service {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: calc(100vh - 50px);
    min-height: calc(100dvh - 50px);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: url(/assets/images/hero-bg.png) repeat;
}

    .hero > img,
    .pg-projects-hero > img {
        position: absolute;
        z-index: 0;
        left: 25px;
        bottom: 20px;
        width: 40px;
        height: auto;
    }

        .hero > img.hero-boat-decor {
            left: auto;
            top: 0;
            right: 0;
            bottom: auto;
            width: clamp(240px, 36vw, 520px);
            max-width: 40%;
            opacity: 0.7;
            transform: none;
            pointer-events: none;
            user-select: none;
        }

    .hero .container {
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .hero .hero-content {
        width: 50%;
    }

    .hero .hero-visual {
        position: absolute;
        right: 30px;
    }

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px clamp(12px, 1.2vw, 16px);
    background: rgba(200, 151, 62, 0.15);
    border: 1px solid rgba(200, 151, 62, 0.3);
    border-radius: 100px;
    font-family: var(--font-heading);
    font-size: 0.813rem;
    font-weight: 500;
    color: var(--color-accent-light);
    margin-bottom: clamp(16px, 2vw, 24px);
}

.hero-title {
    font-size: clamp(2rem, 1.5rem + 2.5vw, 2.5rem);
    color: var(--color-accent);
    margin-bottom: clamp(14px, 1.8vw, 20px);
    line-height: 1.2;
}

.hero-desc {
    font-size: clamp(0.938rem, 0.9rem + 0.5vw, 1.3rem);
    color: var(--color-text-white);
    font-family: var(--font-text);
    margin-bottom: clamp(24px, 3vw, 36px);
    line-height: 1.5;
}

.hero .line {
    width: clamp(96px, 12vw, 150px);
    height: clamp(3px, 0.5vw, 5px);
    background-color: var(--color-accent);
    margin-bottom: clamp(32px, 5vw, 80px);
    border-radius: 5px;
}

.hero-actions {
    display: flex;
    gap: clamp(10px, 1.3vw, 16px);
    flex-wrap: wrap;
}

.hero-outline-btn {
    border-color: rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.85);
}

.hero-stats {
    display: flex;
    gap: clamp(20px, 3vw, 40px);
    margin-top: clamp(32px, 4vw, 48px);
    padding-top: clamp(24px, 3vw, 32px);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-stat-item {
    width: 180px;
    text-align: center;
    border-right: 1px solid #7c2e30;
}

    .hero-stat-item:last-child {
        border-right: none;
    }

.hero-stat-number {
    font-family: var(--font-text);
    font-size: clamp(2.25rem, 3vw, 3.125rem);
    font-weight: 600;
    color: var(--color-text-white);
    line-height: 1.2;
    margin-bottom: clamp(8px, 1.5vw, 16px);
}

.hero-stat-label {
    color: #f0f0f0;
    font-family: var(--font-text);
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 400;
    line-height: 1.5;
}

.hero-visual {
    height: clamp(360px, 36vw, 520px);
    width: 50%;
    margin-left: auto;
    min-height: calc(100vh - 50px);
    min-height: calc(100dvh - 50px);
}

    .hero-visual .swiper,
    .hero-visual .swiper-slide {
        height: 100%;
    }

    .hero-visual .swiper-slide {
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }

    .hero-visual img {
        display: block;
        height: 100%;
        max-width: 100%;
        object-fit: contain;
        object-position: center bottom;
        position: absolute;
        right: 0;
    }

.hero-swiper-pagination,
.swiper-pagination {
    bottom: 36px !important;
}

    .hero-swiper-pagination .swiper-pagination-bullet,
    .swiper-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: rgba(255, 255, 255, 0.35);
        opacity: 1;
        transition: all var(--transition-normal);
    }

    .hero-swiper-pagination .swiper-pagination-bullet-active,
    .swiper-pagination .swiper-pagination-bullet-active {
        width: 28px;
        border-radius: 999px;
        background: var(--color-accent);
    }

/* ============================================
   PHILOSOPHY SECTION
   ============================================ */
.philosophy {
    padding: var(--section-padding) 0;
    background: var(--color-bg-white);
}

    .philosophy .container {
        text-align: center;
    }

    .philosophy .section-title {
        margin-bottom: clamp(16px, 3vw, 24px);
        color: var(--color-primary);
    }

    .philosophy .line {
        width: clamp(96px, 12vw, 150px);
        height: clamp(3px, 0.5vw, 5px);
        background: var(--color-accent);
        margin: 0 auto;
        border-radius: 5px;
        margin-bottom: clamp(32px, 4vw, 56px);
    }

.philosophy-grid {
    overflow: visible;
    text-align: left;
}

    .philosophy-grid .swiper-wrapper {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: clamp(20px, 3vw, 40px);
        justify-items: center;
        align-items: start;
    }

    .philosophy-grid .swiper-slide {
        width: 100%;
        height: auto;
    }

.philosophy-card {
    --philosophy-card-ratio: 454 / 337;
    position: relative;
    display: grid;
    grid-template-rows: auto minmax(calc(1.4em * 3), auto) auto;
    align-content: space-between;
    gap: clamp(10px, 1.2vw, 14px);
    width: 100%;
    max-width: 454px;
    padding: clamp(18px, 2vw, 24px) clamp(18px, 1.8vw, 22px);
    aspect-ratio: var(--philosophy-card-ratio);
    background-image: url("/assets/images/bg-white-1.png");
    background-size: 100% 100%;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), background-color var(--transition-smooth);
    border-radius: 34px;
    overflow: hidden;
}

    .philosophy-card > * {
        min-width: 0;
    }

    .philosophy-card:hover {
        transform: translateY(-10px) !important;
        box-shadow: 0 28px 70px rgba(0, 0, 0, 0.12);
    }

    .philosophy-card.philosophy-card--2 {
        --philosophy-card-ratio: 454 / 335;
        background-image: url("/assets/images/bg-yellow.png");
    }

    .philosophy-card.philosophy-card--3 {
        --philosophy-card-ratio: 454 / 335;
        background-image: url("/assets/images/bg-white-2.png");
    }

    .philosophy-card h3 {
        font-size: clamp(1.45rem, 1.05rem + 1.25vw, 1.9rem);
        line-height: 1.25;
        margin: 0;
    }

    .philosophy-card p {
        max-width: 90%;
        font-size: clamp(1.02rem, 0.94rem + 0.38vw, 1.14rem);
        color: #323232;
        line-height: 1.4;
        margin: 0;
        min-height: calc(1.4em * 3);
    }

    .philosophy-card.philosophy-card--2 p {
        max-width: 90%;
    }

    .philosophy-card ul {
        margin: 0;
        background-color: #f0f0f0;
        padding: clamp(16px, 1.8vw, 20px) 18px clamp(16px, 1.8vw, 20px) clamp(26px, 2.8vw, 32px);
        border-radius: 20px;
        list-style: disc;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: clamp(6px, 0.7vw, 10px);
    }

    .philosophy-card.philosophy-card--2 ul {
        background-color: #f2c770;
    }

    .philosophy-card ul li {
        color: #323232;
        font-size: clamp(15px, 1.08vw, 17px);
        font-weight: 400;
        line-height: 1.35;
    }

.philosophy-swiper-pagination {
    display: none;
    position: static;
    margin-top: 18px;
}

    .philosophy-swiper-pagination .swiper-pagination-bullet {
        width: 10px;
        height: 10px;
        background: rgba(109, 25, 24, 0.2);
        opacity: 1;
    }

    .philosophy-swiper-pagination .swiper-pagination-bullet-active {
        background: var(--color-accent);
    }

/* ============================================
   SOLUTIONS SECTION
   ============================================ */
.solutions {
    position: relative;
    margin: 0 clamp(24px, 5vw, 80px);
    padding: var(--section-padding) 0;
    background-color: var(--color-primary);
    border-radius: clamp(24px, 3vw, 40px);
}

    .solutions > img {
        position: absolute;
        z-index: 0;
        right: 25px;
        bottom: 20px;
        width: 40px;
        height: auto;
    }

    .solutions .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: clamp(32px, 5vw, 64px);
        align-items: center;
    }

.solutions-intro {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 32px);
}

    .solutions-intro img {
        max-width: clamp(140px, 16vw, 200px);
    }

    .solutions-intro .section-title {
        color: var(--color-accent);
        margin-bottom: 0;
    }

    .solutions-intro .section-desc {
        width: 100%;
        max-width: none;
        font-size: clamp(1rem, 1.3vw, 1.5rem);
        color: #f0f0f0;
        line-height: 1.5;
    }

    .solutions-intro .line {
        width: clamp(96px, 12vw, 150px);
        height: clamp(3px, 0.5vw, 5px);
        background: var(--color-accent);
        border-radius: 5px;
    }

.solutions-buttons {
    display: flex;
    gap: clamp(10px, 1.4vw, 16px);
    flex-wrap: wrap;
    margin-top: clamp(4px, 1.5vw, 18px);
}

.solutions-list {
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 2vw, 24px);
}

.solution-item {
    padding: clamp(12px, 1.4vw, 16px) clamp(16px, 2vw, 24px);
    background-color: #6c191b;
    border-radius: 12px;
    border-left: 5px solid var(--color-accent);
    display: flex;
    gap: clamp(14px, 2vw, 24px);
    align-items: center;
    font-family: var(--font-text);
    font-weight: 400;
    line-height: 1.5;
    transition: transform var(--transition-smooth), background-color var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
    cursor: pointer;
    will-change: transform, box-shadow;
}

    .solution-item:hover {
        transform: translateX(-10px) !important;
        background-color: #7a1f23;
        box-shadow: 0 28px 50px rgba(0, 0, 0, 0.16);
        border-color: #f7d47b;
    }

    .solution-item .solution-order {
        color: var(--color-accent);
        font-size: clamp(42px, 5vw, 70px);
        transition: transform var(--transition-smooth);
    }

    .solution-item .solution-detail {
        color: var(--color-text-white);
        font-size: clamp(16px, 1.7vw, 24px);
    }

/* ============================================
   SERVICES SECTION
   ============================================ */
.services {
    padding: var(--section-padding) 0;
    background: var(--color-bg-white);
}

    .services .section-header {
        text-align: center;
        margin-bottom: clamp(32px, 4vw, 56px);
    }

.section-header .section-title {
    color: var(--color-primary);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: clamp(14px, 2vw, 24px);
}

.services .line {
    width: clamp(96px, 12vw, 150px);
    height: clamp(3px, 0.5vw, 5px);
    background-color: var(--color-accent);
    border-radius: 5px;
    margin: auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(18px, 2.2vw, 28px);
}

.service-card {
    position: relative;
    display: flex;
    flex-direction: column;
    padding: clamp(20px, 2.4vw, 32px);
    background-color: #fafafa;
    border-radius: 25px;
    color: inherit;
    text-decoration: none;
    transition: transform var(--transition-smooth), background-color var(--transition-smooth), box-shadow var(--transition-smooth);
    /* cursor: pointer; */
    will-change: transform, box-shadow;
    overflow: hidden;
}

    .service-card::before {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        width: clamp(140px, 22vw, 240px);
        height: clamp(180px, 28vw, 300px);
        background: url("/assets/images/boat.png") no-repeat left bottom / contain;
        opacity: 0;
        transform: translate(-10%, 10%);
        transition: opacity var(--transition-smooth), transform var(--transition-smooth);
        pointer-events: none;
        z-index: 0;
    }

    .service-card > * {
        position: relative;
        z-index: 1;
    }

.service-card-image {
    position: absolute;
    right: clamp(20px, 2.4vw, 32px);
    top: clamp(20px, 2.4vw, 32px);
    background-color: var(--color-accent);
    width: clamp(40px, 4vw, 48px);
    height: clamp(40px, 4vw, 48px);
    border-radius: 50%;
    overflow: hidden;
}

    .service-card-image img,
    .service-card-image .image-hover {
        position: absolute;
        inset: 0;
        width: clamp(32px, 3.2vw, 40px);
        height: clamp(32px, 3.2vw, 40px);
        margin: auto;
        object-fit: cover;
        transition: opacity var(--transition-smooth), transform var(--transition-smooth);
    }

    .service-card-image .image-hover {
        display: none;
    }

.service-card .line {
    width: 100%;
    max-width: 100%;
    height: 1px;
    background-color: #ccc;
    margin-bottom: clamp(16px, 2vw, 24px);
}

.service-card-title {
    width: 80%;
    font-family: var(--font-text);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: clamp(8px, 1vw, 12px);
    margin-bottom: clamp(36px, 5vw, 75px);
}

    .service-card-title h3 {
        color: #252525;
        font-size: clamp(20px, 2vw, 28px);
        font-weight: 500;
        line-height: 1.25;
    }

    .service-card-title p {
        text-align: justify;
        color: #323232;
        font-size: clamp(14px, 1.2vw, 18px);
        font-weight: 400;
        line-height: 1.5;
    }

.service-card-active {
    background-color: #f4f4f4;
}

    .service-card-active::before {
        opacity: 0.16;
        transform: translate(-4%, 4%);
    }

.service-card:hover {
    transform: rotate(-2deg) !important;
    background-color: var(--color-accent);
    box-shadow: 0 24px 55px rgba(0, 0, 0, 0.12);
}

    .service-card:hover::before {
        opacity: 0.16;
        transform: translate(-4%, 4%);
    }

    .service-card:hover .service-card-image {
        background-color: var(--color-primary);
        transform: translateY(-2px);
    }

    .service-card:hover .line {
        background-color: #b8841b;
    }

    .service-card:hover .service-card-image .image {
        display: none;
    }

    .service-card:hover .service-card-image .image-hover {
        display: block;
    }

/* ============================================
   PROJECTS SECTION
   ============================================ */
.projects {
    padding: var(--section-padding) 0;
    background: var(--color-primary);
}

    .projects .section-header {
        text-align: center;
        margin-bottom: clamp(32px, 4vw, 56px);
        font-family: var(--font-text);
    }

        .projects .section-header .section-title {
            color: var(--color-accent);
            font-size: clamp(28px, 3vw, 42px);
            font-weight: 500;
            line-height: 1.2;
            margin-bottom: 16px;
        }

    .projects .section-desc {
        max-width: 800px;
        margin: 0 auto;
        color: #f0f0f0;
        text-align: center;
        font-size: clamp(16px, 1.7vw, 24px);
        font-weight: 400;
        line-height: 1.5;
    }

.projects-showcase {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(28px, 3vw, 40px);
}

.project-buttons {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    width: fit-content;
    max-width: 100%;
    padding: clamp(6px, 0.8vw, 8px);
    border-radius: 60px;
    background-color: var(--color-primary-dark);
}

    .project-buttons .btn {
        padding: clamp(7px, 0.8vw, 8.5px) clamp(14px, 1.8vw, 24px);
        background-color: transparent;
        color: var(--color-text-white);
        font-size: clamp(14px, 1.2vw, 18px);
        font-family: var(--font-text);
        font-weight: 500;
        line-height: 1.5;
        border: none;
    }

        .project-buttons .btn:hover,
        .project-buttons .btn.active {
            background-color: var(--color-accent);
            color: var(--color-primary);
            font-weight: 600;
        }

.project-list {
    width: 100%;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(18px, 2vw, 24px);
}

.project-card {
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2vw, 24px);
    font-family: var(--font-text);
}

    .project-card:nth-child(2) {
        flex-direction: column-reverse;
    }

    .project-card h3 {
        color: var(--color-text-white);
        font-size: clamp(16px, 1.6vw, 22px);
        font-weight: 600;
        line-height: 1.25;
    }

    .project-card p {
        color: #f0f0f0;
        font-size: clamp(12px, 1vw, 15px);
        font-weight: 400;
        line-height: 1.5;
        overflow: hidden;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        display: -webkit-box;
    }

.project-card-big,
.project-card-small {
    position: relative;
    padding: 0 clamp(72px, 6vw, 96px) clamp(20px, 2.2vw, 28px) clamp(14px, 1.8vw, 24px);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    gap: clamp(6px, 0.8vw, 8px);
    border-radius: clamp(18px, 2vw, 28px);
    overflow: hidden;
    isolation: isolate;
    border: 1px solid rgba(255, 255, 255, 0.24);
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth);
    will-change: transform, box-shadow;
}

    .project-card-big::before,
    .project-card-small::before {
        content: "";
        position: absolute;
        inset: 0;
        z-index: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.12) 45%, rgba(0, 0, 0, 0.48) 72%, rgba(0, 0, 0, 0.72) 100%);
        pointer-events: none;
    }

    .project-card-big::after,
    .project-card-small::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        z-index: 1;
        width: clamp(54px, 4.6vw, 72px);
        height: clamp(54px, 4.6vw, 72px);
        border-top-left-radius: 999px;
        background: #fff;
        pointer-events: none;
    }

.project-card-placeholder::after {
    display: none;
}

.project-card-background {
    position: absolute;
    z-index: -1;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

.project-card-big:hover,
.project-card-small:hover {
    transform: translateY(-10px);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16), 0 32px 70px rgba(0, 0, 0, 0.24);
}

    .project-card-big:hover > img,
    .project-card-small:hover > img {
        transform: scale(1.05);
    }

.project-card-big {
    aspect-ratio: 5/6;
}

.project-card-small {
    aspect-ratio: 5/4;
}

.project-card-placeholder {
    border-style: dashed;
    border-color: rgba(109, 12, 16, 0.24);
    background: #f7eeee;
    align-items: center;
    justify-content: center;
    padding: clamp(18px, 2vw, 28px);
    pointer-events: none;
}

    .project-card-placeholder::before {
        content: "";
        display: block;
        position: absolute;
        inset: clamp(10px, 1.2vw, 14px);
        z-index: 0;
        border: 1px solid rgba(109, 12, 16, 0.12);
        border-radius: calc(clamp(18px, 2vw, 28px) - 10px);
        background: transparent;
    }

    .project-card-placeholder:hover {
        transform: none;
        box-shadow: none;
    }

    .project-card-placeholder span {
        position: relative;
        z-index: 1;
        color: var(--color-primary);
        font-family: var(--font-text);
        font-size: clamp(16px, 1.2vw, 24px);
        font-weight: 500;
        line-height: 1.4;
        text-align: center;
    }

.projects .project-card-placeholder {
    border-color: rgba(255, 255, 255, 0.42);
    background: #edf4f2;
}

    .projects .project-card-placeholder::before {
        border-color: rgba(109, 12, 16, 0.12);
    }

.project-card-text,
.project-card-image {
    position: relative;
    z-index: 1;
}

.project-card-text {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 10px 14px;
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.project-card-text h3 {
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.3);
}

.project-card-text p {
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.2);
}

.project-card-image {
    position: absolute;
    z-index: 2;
    bottom: 0;
    right: 0;
    width: clamp(36px, 3.2vw, 46px);
    height: clamp(36px, 3.2vw, 46px);
    border-radius: 50%;
    background-color: var(--color-accent);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-smooth), background-color var(--transition-smooth);
}

    .project-card-image img {
        width: clamp(20px, 1.9vw, 28px);
        height: clamp(20px, 1.9vw, 28px);
        object-fit: contain;
    }

.project-more .btn-outline {
    gap: 12px;
    border: 1.5px solid var(--color-bg-white);
    color: var(--color-text-white);
    font-weight: 400;
}

    .project-more .btn-outline:hover {
        background: transparent;
    }

/* ============================================
   WHY CHOOSE US
   ============================================ */
.why-us {
    padding: var(--section-padding) 0;
    background: var(--color-bg-white);
}

    .why-us .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: clamp(40px, 7vw, 120px);
        align-items: center;
    }

.why-us-content .section-title {
    color: var(--color-primary);
    font-family: var(--font-text);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: clamp(14px, 1.8vw, 20px);
}

.why-us-content .line {
    width: clamp(96px, 12vw, 150px);
    height: clamp(3px, 0.5vw, 5px);
    background-color: var(--color-accent);
    border-radius: 5px;
}

.why-us-list {
    display: flex;
    flex-direction: column;
    gap: clamp(20px, 3vw, 40px);
    margin: clamp(24px, 3vw, 40px) 0;
}

.why-us-item {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1.4vw, 16px);
    align-items: flex-start;
}

    .why-us-item h4 {
        padding: clamp(8px, 1vw, 10px) clamp(12px, 1.4vw, 16px);
        border-radius: 8px;
        background: linear-gradient(90deg, #f0f0f0 0%, rgba(240, 240, 240, 0) 100%);
        color: #252525;
        font-family: var(--font-text);
        font-size: clamp(1rem, 1.2vw, 1.25rem);
        font-weight: 400;
        line-height: 1.5;
        margin-bottom: 4px;
    }

    .why-us-item p {
        color: #323232;
        font-family: var(--font-text);
        font-size: clamp(1rem, 1.2vw, 1.25rem);
        font-weight: 400;
        line-height: 1.5;
    }

        .why-us-item p img {
            display: inline;
            width: 16px;
            height: 16px;
        }

.why-us-content .section-actions {
    display: flex;
    gap: clamp(10px, 1.4vw, 16px);
    flex-wrap: wrap;
}

    .why-us-content .section-actions .btn-outline {
        color: var(--color-primary);
        border-color: var(--color-primary);
        font-weight: 500;
    }

/* ============================================
   PROCESS SECTION
   ============================================ */
.process {
    padding: var(--section-padding) 0;
    background: var(--color-primary);
}

    .process .section-header {
        text-align: center;
        margin-bottom: clamp(32px, 4vw, 56px);
        font-family: var(--font-text);
    }

        .process .section-header .section-title {
            color: var(--color-accent);
            margin-bottom: 16px;
        }

    .process .section-desc {
        max-width: 800px;
        color: #f0f0f0;
        text-align: center;
        font-size: clamp(16px, 1.7vw, 24px);
        font-weight: 400;
        line-height: 1.5;
        margin: 0 auto clamp(28px, 3vw, 40px);
    }

.process-steps {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: clamp(24px, 4vw, 64px);
    position: relative;
}

    .process-steps::before {
        content: "";
        position: absolute;
        top: 154px;
        left: 8%;
        right: 8%;
        height: 1px;
        background-image: url("/assets/images/dashed.png");
        background-repeat: repeat-x;
        background-position: center;
        background-size: auto 100%;
        z-index: 0;
    }

.process-step {
    text-align: center;
    position: relative;
    z-index: 1;
    transition: transform var(--transition-smooth);
    cursor: pointer;
    will-change: transform;
}

.process-step-number {
    font-family: var(--font-text);
    font-size: clamp(2.75rem, 4.5vw, 4.875rem);
    font-weight: 500;
    color: var(--color-text-white);
    opacity: 0.8;
    line-height: 1.5;
    margin-bottom: clamp(20px, 3vw, 32px);
    transition: transform var(--transition-smooth), opacity var(--transition-smooth), color var(--transition-smooth);
}

.process-step h3,
.process-step p {
    transition: transform var(--transition-smooth), color var(--transition-smooth), opacity var(--transition-smooth);
}

.process-step:hover {
    transform: translateY(-6px);
}

    .process-step:hover .process-step-number {
        opacity: 1;
        color: var(--color-accent);
        transform: translateY(-4px);
    }

    .process-step:hover h3,
    .process-step:hover p {
        transform: translateY(-3px);
        opacity: 0.95;
    }

.process-step-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--color-accent);
    margin: 0 auto clamp(20px, 3vw, 32px);
    position: relative;
    transition: transform var(--transition-smooth), background-color var(--transition-smooth);
}

.process-step:hover .process-step-dot {
    transform: scale(1.15);
    box-shadow: 0 0 0 8px rgba(252, 209, 121, 0.15);
    background-color: #fcd179;
}

.process-step h3 {
    color: var(--color-text-white);
    text-align: center;
    font-family: var(--font-text);
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 8px;
    text-transform: uppercase;
}

.process-step p {
    color: #f0f0f0;
    font-family: var(--font-text);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.4;
    opacity: 0.8;
    text-align: center;
}

/* ============================================
   CTA / CONTACT SECTION
   ============================================ */
.cta-section {
    padding: var(--section-padding) 0;
    background: var(--color-bg-white);
}

    .cta-section .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: clamp(40px, 7vw, 120px);
        align-items: center;
    }

.cta-content .section-title {
    margin-top: clamp(0px, 3vw, 42px);
    color: var(--color-primary);
    font-family: var(--font-text);
    font-size: clamp(28px, 3vw, 42px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 16px;
}

.cta-content .section-desc,
.cta-feature {
    color: #323232;
    font-family: var(--font-text);
    font-size: clamp(16px, 1.7vw, 24px);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: clamp(24px, 3vw, 42px);
}

.cta-features {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 2vw, 24px);
}

.cta-feature {
    display: flex;
    gap: clamp(8px, 1vw, 12px);
    align-items: center;
    margin-bottom: 0;
}

.cta-form-card {
    background: #f0f0f0;
    border-radius: 16px;
    padding: clamp(24px, 3vw, 40px) clamp(20px, 4vw, 56px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

    .cta-form-card h3 {
        font-size: clamp(1.125rem, 1.2vw, 1.25rem);
        margin-bottom: clamp(18px, 2vw, 24px);
        text-align: center;
    }

.contact-form {
    display: flex;
    flex-direction: column;
    gap: clamp(14px, 2vw, 24px);
}

.form-group.error input,
.form-group.error textarea,
.form-group.error select {
    border: 1px solid #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}

.form-group label {
    display: block;
    font-family: var(--font-text);
    font-size: 0.875rem;
    font-weight: 400;
    color: #323232;
    margin-bottom: 8px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: clamp(10px, 1vw, 12px) 16px clamp(10px, 1vw, 12px) clamp(14px, 1.4vw, 20px);
    border: none;
    border-radius: var(--radius-sm);
    background: var(--color-bg-white);
    color: var(--color-text-dark);
    transition: border-color var(--transition-fast);
    outline: none;
}

    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        border-color: var(--color-accent);
        box-shadow: 0 0 0 3px rgba(200, 151, 62, 0.1);
    }

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(12px, 1.4vw, 16px);
}

.form-row--3col {
    grid-template-columns: repeat(3, 1fr);
}

.cta-form-card .btn {
    width: 100%;
    margin-top: clamp(4px, 1.4vw, 16px);
}

#alert-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
}

.custom-alert {
    min-width: 280px;
    margin-bottom: 10px;
    padding: 15px 20px;
    border-radius: 6px;
    color: #fff;
    font-size: 14px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;
    transform: translateX(100%);
    transition: all 0.4s ease;
}

    .custom-alert.show {
        opacity: 1;
        transform: translateX(0);
    }

    .custom-alert.success {
        background-color: #28a745; /* Bootstrap success */
    }

    .custom-alert.danger {
        background-color: #dc3545; /* Bootstrap danger */
    }

/* ============================================
   NEWS / BLOG SECTION
   ============================================ */
.news {
    padding: var(--section-padding) 0;
    background: var(--color-primary);
}

    .news .section-header {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: clamp(10px, 1.4vw, 16px);
        margin-bottom: clamp(28px, 4vw, 48px);
    }

        .news .section-header .section-title {
            margin: 0 auto;
            text-align: center;
            color: var(--color-accent);
            font-family: var(--font-text);
            font-size: clamp(28px, 3vw, 42px);
            font-weight: 700;
            line-height: 1.2;
        }

        .news .section-header .section-desc {
            max-width: 800px;
            color: #f0f0f0;
            text-align: center;
            font-family: var(--font-text);
            font-size: clamp(16px, 1.7vw, 24px);
            font-weight: 400;
            line-height: 1.5;
        }

.news-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
    gap: clamp(24px, 3vw, 40px);
}

.news-card-big {
    transition: transform var(--transition-smooth);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    gap: clamp(16px, 2vw, 24px);
    will-change: transform;
}

    .news-card-big:hover {
        transform: translateY(-10px);
    }

.news-card-image {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.78);
    line-height: 0;
}

    .news-card-image img {
        width: 100%;
        height: 100%;
        aspect-ratio: 4 / 3;
        object-fit: cover;
        object-position: center;
        border-radius: 10px;
        display: block;
        transition: transform var(--transition-smooth);
    }

.news-card-big:hover .news-card-image img {
    transform: scale(1.05);
}

.news-card-body {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1vw, 12px);
    align-items: flex-start;
}

    .news-card-body h3 {
        color: var(--color-text-white);
        font-family: var(--font-text);
        font-size: clamp(20px, 2.1vw, 28px);
        font-weight: 600;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: transform var(--transition-smooth), color var(--transition-smooth);
    }

    .news-card-body p {
        color: #ccc;
        font-family: var(--font-text);
        font-size: clamp(14px, 1.15vw, 16px);
        font-weight: 400;
        line-height: 1.5;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: transform var(--transition-smooth), opacity var(--transition-smooth);
    }

.news-card-big:hover .news-card-body h3 {
    transform: translateY(-3px);
}

.news-card-big:hover .news-card-body p {
    transform: translateY(-2px);
    opacity: 0.95;
}

.news-card-list {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    gap: clamp(16px, 2vw, 24px);
}

    .news-card-list .news-card-small {
        display: flex;
        gap: clamp(12px, 1.4vw, 16px);
        align-items: center;
        transition: transform var(--transition-smooth);
        cursor: pointer;
        will-change: transform;
    }

        .news-card-list .news-card-small:hover {
            transform: translateX(6px);
        }

.news-card-small img {
    max-width: clamp(160px, 16vw, 212px);
    flex-shrink: 0;
    width: 100%;
    height: auto;
    border-radius: 16px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(255, 255, 255, 0.14);
    box-sizing: border-box;
    aspect-ratio: 4/3;
    object-fit: cover;
    object-position: center;
    transition: transform var(--transition-smooth);
}

.news-card-list .news-card-small:hover img {
    transform: scale(1.03);
}

.news-card-list .news-card-small .news-card-body {
    gap: 8px;
    min-width: 0;
}

.news-card-list .news-card-small h3 {
    font-size: clamp(16px, 1.25vw, 18px);
    transition: transform var(--transition-smooth), color var(--transition-smooth);
}

.news-card-list .news-card-small p {
    font-size: clamp(13px, 1vw, 15px);
    -webkit-line-clamp: 2;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

.news-card-list .news-card-small:hover .news-card-body h3 {
    transform: translateX(3px);
}

.news-card-list .news-card-small:hover .news-card-body p {
    transform: translateX(2px);
    opacity: 0.92;
}

/* ============================================
   FAQ SECTION
   ============================================ */
.faq {
    padding: var(--section-padding) 0;
    background: var(--color-bg-white);
}

    .faq .container {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: clamp(40px, 7vw, 120px);
        align-items: center;
    }

    .faq .section-header {
        margin-bottom: clamp(28px, 4vw, 48px);
    }

        .faq .section-header .section-title {
            color: var(--color-primary);
            font-family: var(--font-text);
            font-size: clamp(28px, 3vw, 42px);
            font-style: normal;
            font-weight: 700;
            line-height: 1.2;
            margin-bottom: 12px;
        }

        .faq .section-header .section-desc {
            max-width: 100%;
            color: #323232;
            font-family: var(--font-text);
            font-size: clamp(16px, 1.7vw, 24px);
            font-weight: 400;
            line-height: 1.5;
            margin-bottom: clamp(24px, 3vw, 42px);
        }

.faq-list {
    max-width: 750px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1vw, 12px);
}

.faq-item {
    background: #fafafa;
    border-radius: var(--radius-md);
    border: 1px solid var(--color-border);
    overflow: hidden;
    transition: transform var(--transition-smooth), border-color var(--transition-fast), background-color var(--transition-smooth);
    will-change: transform;
}

    .faq-item:hover {
        transform: translateY(-2px);
        background-color: #fff;
    }

    .faq-item.active {
        border-color: var(--color-accent);
        background-color: #fff;
    }

.faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    padding: clamp(14px, 1.7vw, 20px) clamp(16px, 2vw, 24px);
    text-align: left;
    font-family: var(--font-text);
    font-size: clamp(1rem, 1.2vw, 1.25rem);
    font-weight: 500;
    color: #0c0507;
    cursor: pointer;
    transition: color var(--transition-fast), transform var(--transition-smooth);
}

    .faq-question:hover {
        transform: translateX(2px);
    }

.faq-item.active .faq-question {
    color: var(--color-primary);
}

.faq-question .faq-icon {
    width: clamp(24px, 2.4vw, 28px);
    height: clamp(24px, 2.4vw, 28px);
    border-radius: 50%;
    background: var(--color-bg-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all var(--transition-normal);
}

.faq-item.active .faq-question .faq-icon {
    background: var(--color-accent);
    transform: rotate(180deg);
}

.faq-question .faq-icon svg {
    width: 16px;
    height: 16px;
    color: var(--color-text-muted);
    transition: color var(--transition-fast);
}

.faq-item.active .faq-question .faq-icon svg {
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height var(--transition-smooth), opacity var(--transition-smooth);
}

.faq-item.active .faq-answer {
    max-height: 650px;
    opacity: 1;
}

.faq-answer-inner {
    padding: 0 clamp(16px, 2vw, 24px) clamp(14px, 1.7vw, 20px);
    color: #323232;
    font-family: var(--font-text);
    font-size: clamp(14px, 1.2vw, 18px);
    font-weight: 400;
    line-height: 1.5;
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

    .fade-up.visible {
        opacity: 1;
        transform: translateY(0);
    }

    .fade-up.delay-1 {
        transition-delay: 0.1s;
    }

    .fade-up.delay-2 {
        transition-delay: 0.2s;
    }

    .fade-up.delay-3 {
        transition-delay: 0.3s;
    }

    .fade-up.delay-4 {
        transition-delay: 0.4s;
    }

    .fade-up.delay-5 {
        transition-delay: 0.5s;
    }

    .fade-up.delay-6 {
        transition-delay: 0.6s;
    }

@media (prefers-reduced-motion: reduce) {
    .fade-up {
        opacity: 1;
        transform: none;
        transition: none;
    }
}

/* ============================================
   RESPONSIVE
   ============================================ */

/* Tablet */
@media (max-width: 1024px) {
    .hero {
        padding: calc(72px + 56px) 0 0;
        display: block;
        min-height: 0;
        overflow: visible;
    }

        .hero .container {
            flex-direction: column;
            align-items: stretch;
            justify-content: flex-start;
            text-align: center;
            gap: 40px;
        }

    .hero .hero-content {
        width: 100%;
        max-width: 100%;
    }

    .hero-actions,
    .solutions-buttons {
        justify-content: center;
    }

    .hero .line {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 40px;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero .hero-visual {
        position: relative;
        right: auto;
        width: 100%;
        max-width: 100%;
        margin: 0;
        height: auto;
        min-height: 0;
    }

        .hero .hero-visual .swiper-wrapper,
        .hero .hero-visual .swiper-slide {
            height: auto;
        }

        .hero .hero-visual img {
            position: relative;
            right: auto;
            bottom: 0;
            width: 100%;
            height: auto;
            max-width: 100%;
            display: block;
            object-fit: contain;
            object-position: center bottom;
        }

    .hero-float-card {
        display: none;
    }

    .philosophy-grid {
        overflow: hidden;
    }

        .philosophy-grid .swiper-wrapper {
            display: flex;
            gap: 0;
            justify-items: stretch;
            align-items: stretch;
        }

        .philosophy-grid .swiper-slide {
            display: flex;
            justify-content: center;
            height: auto;
        }

    .philosophy-swiper-pagination {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }

    .philosophy-card {
        padding: 22px 20px 20px;
    }

        .philosophy-card ul {
            padding: 18px 18px 18px 28px;
        }

        .philosophy-card p {
            max-width: min(82%, calc(100% - 76px));
        }

        .philosophy-card.philosophy-card--2 p {
            max-width: min(76%, calc(100% - 88px));
        }

    .solutions {
        margin: 0 24px;
    }

        .solutions .container {
            grid-template-columns: 1fr;
            gap: 40px;
            text-align: center;
        }

    .solutions-intro {
        align-items: center;
    }

    .solution-item {
        text-align: left;
    }

    .services-grid {
        grid-template-columns: 1fr 1fr;
    }

    .service-card {
        padding: 24px;
    }

    .service-card-image {
        right: 24px;
        top: 24px;
        width: 44px;
        height: 44px;
    }

        .service-card-image img {
            width: 36px;
            height: 36px;
        }

    .service-card-title {
        margin-bottom: 48px;
    }

        .service-card-title h3 {
            font-size: 24px;
        }

        .service-card-title p {
            font-size: 16px;
            text-align: left;
        }

    .project-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .project-card.featured {
        grid-row: span 1;
    }

    .why-us .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .why-us-content .section-title,
    .cta-content .section-title {
        margin-top: 0;
    }

    .why-us-visual {
        order: -1;
    }

    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }

    .process-step h3 {
        font-size: 18px;
    }

    .process-step p {
        font-size: 14px;
    }

    .process-steps::before {
        display: none;
    }

    .cta-section .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .cta-content {
        text-align: center;
    }

        .cta-content .section-desc {
            margin-left: auto;
            margin-right: auto;
        }

    .cta-features {
        max-width: 640px;
        margin: 0 auto;
        text-align: left;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card-list {
        flex-direction: row;
        flex-wrap: wrap;
    }

        .news-card-list .news-card-small {
            width: 48%;
            flex-direction: column;
        }

    .news-card-small img {
        max-width: 100%;
    }

    .faq .section-header {
        margin-bottom: 0;
    }

    .faq .container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .faq .section-header {
        text-align: center;
    }

        .faq .section-header .section-desc {
            margin-left: auto;
            margin-right: auto;
        }
}

/* Mobile */
@media (max-width: 640px) {
    .btn {
        width: 100%;
        white-space: normal;
    }

    .hero {
        padding: calc(72px + 32px) 0 48px;
        display: block;
        padding-bottom: 0px;
    }

    .hero-badge {
        margin-bottom: 14px;
    }

    .hero-content {
        max-width: 95%;
        width: 100% !important;
        margin: 0 auto;
    }

    .hero-title {
        font-size: 28px;
        margin-bottom: 14px;
        width: 80%;
        margin-left: auto;
        margin-right: auto;
    }

    .hero-desc {
        margin-bottom: 22px;
    }

    .hero .line {
        width: 88px;
        height: 3px;
        margin-bottom: 28px;
    }

    .hero-actions,
    .solutions-buttons {
        width: 100%;
    }

    .hero-stats {
        flex-direction: column;
        gap: 18px;
        margin-top: 32px;
        padding-top: 24px;
    }

    .hero-stat-item {
        width: 100%;
        border-right: none;
        border-bottom: 1px solid #7c2e30;
        padding-bottom: 16px;
    }

        .hero-stat-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

    .hero-stat-number {
        font-size: 34px;
    }

    .hero-stat-label {
        font-size: 15px;
    }

    .philosophy,
    .services,
    .projects,
    .why-us,
    .process,
    .cta-section,
    .news,
    .faq {
        padding: 48px 0;
    }

        .philosophy .section-title {
            margin-bottom: 24px;
        }

    .philosophy-grid {
        overflow: hidden;
    }

    .philosophy-card {
        max-width: 454px;
        padding: 24px 20px 20px;
        border-radius: 22px;
    }

        .philosophy-card ul {
            padding: 16px 16px 16px 26px;
            border-radius: 18px;
        }

        .philosophy-card p {
            min-height: calc(1.4em * 2);
            font-size: clamp(1rem, 0.95rem + 0.3vw, 1.08rem);
            max-width: min(82%, calc(100% - 72px));
        }

        .philosophy-card.philosophy-card--2 p {
            max-width: min(76%, calc(100% - 84px));
        }

        .philosophy-card ul li {
            font-size: 15px;
        }

        .philosophy-card ul {
            border-radius: 16px;
        }

    .solutions {
        margin: 0;
        border-radius: 0;
    }

        .solutions .container {
            gap: 28px;
        }

    .solutions-intro {
        gap: 18px;
    }

        .solutions-intro img {
            max-width: 132px;
        }

    .projects .section-header {
        margin-bottom: 28px;
    }

    .section-header .section-title {
        font-size: 30px;
    }

    .projects .section-header .section-title {
        font-size: 30px;
    }

    .projects .section-desc {
        font-size: 16px;
    }

    .projects-showcase {
        gap: 24px;
    }

    .project-buttons {
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
        width: fit-content;
        max-width: 100%;
    }

        .project-buttons .btn {
            padding: 6px 10px;
            width: auto;
            white-space: nowrap;
        }

    .project-card-big,
    .project-card-small {
        padding: 0 92px 34px 16px;
        border-bottom-right-radius: var(--radius-md);
    }

        .project-card-big::after,
        .project-card-small::after {
            width: 66px;
            height: 66px;
        }

    .project-card-image {
        bottom: 0;
        right: 0;
        width: 48px;
        height: 48px;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    }

        .project-card-image img {
            width: 28px;
            height: 28px;
        }

    .project-card-placeholder {
        padding: clamp(18px, 2vw, 28px);
    }

    .project-card h3 {
        font-size: 18px;
    }

    .project-card p {
        font-size: 12px;
    }

    .solution-item .solution-detail {
        font-size: 18px;
    }

    .solution-item .solution-order {
        font-size: 40px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .service-card {
        padding: 18px;
        border-radius: 18px;
    }

    .service-card-title {
        width: calc(100% - 52px);
        margin-bottom: 24px;
    }

        .service-card-title h3 {
            font-size: 20px;
        }

        .service-card-title p {
            font-size: 14px;
        }

    .service-card-image {
        right: 16px;
        top: 16px;
    }

    .service-card-more {
        line-height: 1.4;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card-list .news-card-small {
        width: 100%;
        flex-direction: column;
    }

    .why-us-list {
        gap: 24px;
        margin: 24px 0;
    }

    .why-us-item {
        gap: 8px;
    }

        .why-us-item h4,
        .why-us-item p {
            font-size: 1rem;
        }

            .why-us-item p img {
                width: 12px;
                height: 12px;
            }

    .why-us-content .section-title {
        font-size: 30px;
    }

    .why-us-content .section-actions {
        flex-direction: column;
        justify-content: space-between;
    }

        .why-us-content .section-actions .btn {
            font-size: 1rem;
            padding: 10px 24px;
        }

    .process .section-desc {
        font-size: 16px;
    }

    .process .section-header {
        margin-bottom: 28px;
    }

    .process-step-dot {
        margin: 0 auto 20px;
    }

    .process-step-number {
        line-height: 1;
        margin-bottom: 20px;
    }

    .process-steps {
        grid-template-columns: 1fr 1fr;
        gap: 24px 18px;
    }

    .process-step:last-child {
        grid-column: span 2;
    }

    .form-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .cta-section .container {
        gap: 24px;
    }

    .cta-content .section-title {
        font-size: 30px;
    }

    .cta-features {
        gap: 12px;
    }

    .cta-content .section-desc,
    .cta-feature {
        margin-bottom: 24px;
        font-size: 16px;
    }

    .cta-feature {
        margin-bottom: 0;
    }

    .cta-form-card {
        padding: 24px 18px;
    }

    .form-group {
        margin-bottom: 0;
    }

    .cta-form-card .btn {
        margin-top: 0;
    }

    .news .section-header {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-bottom: 28px;
    }

        .news .section-header .section-title {
            font-size: 30px;
        }

        .news .section-header .section-desc {
            font-size: 16px;
        }

    .news-card-body h3 {
        font-size: 20px;
    }

    .news-card-body p {
        font-size: 16px;
    }

    .news-card-list .news-card-small h3,
    .news-card-body p {
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .why-us-content .section-actions .btn {
        font-size: 1rem;
        padding: 10px 16px;
    }

    .faq .container {
        gap: 24px;
    }

    .faq .section-header .section-title {
        font-size: 30px;
    }

    .faq .section-header .section-desc {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .faq-question {
        font-size: 1rem;
        padding: 12px 16px;
    }

    .faq-answer-inner {
        font-size: 14px;
        padding: 0 16px 12px;
    }
}

/* Small mobile */
@media (max-width: 375px) {
    .header .container {
        height: 64px;
        gap: 6px;
        padding-left: 10px;
        padding-right: 10px;
    }

    .logo {
        width: 92px;
    }

    .nav-cta {
        gap: 5px;
    }

        .nav-cta .btn-primary {
            padding: 7px 10px;
            font-size: 0.68rem;
            border-radius: 999px;
        }

    .language-switch__trigger {
        width: 70px;
        gap: 4px;
        padding: 5px 6px;
    }

        .language-switch__trigger img {
            width: 15px;
            height: 15px;
        }

    .language-switch__current {
        font-size: 11px;
    }

    .language-switch__chevron {
        width: 7px;
        height: 7px;
        border-width: 1.5px;
    }

    .mobile-toggle {
        gap: 4px;
        padding: 3px;
    }

        .mobile-toggle span {
            width: 20px;
        }

    .nav-links.mobile-open {
        inset: 64px 0 0;
        min-height: calc(100dvh - 64px);
        max-height: calc(100dvh - 64px);
    }

    .about-hero__title {
        font-size: 28px;
    }

    .hero {
        padding: calc(72px + 24px) 0 40px;
    }

        .hero > img.hero-boat-decor {
            display: none;
        }

    .hero-title {
        font-size: 26px;
    }

    .hero-desc,
    .solutions-intro .section-desc,
    .projects .section-desc,
    .process .section-desc,
    .cta-content .section-desc,
    .cta-feature,
    .news .section-header .section-desc,
    .faq .section-header .section-desc {
        font-size: 15px;
    }

    .philosophy,
    .services,
    .projects,
    .why-us,
    .process,
    .cta-section,
    .news,
    .faq {
        padding: 40px 0;
    }

        .section-header .section-title,
        .projects .section-header .section-title,
        .why-us-content .section-title,
        .cta-content .section-title,
        .news .section-header .section-title,
        .faq .section-header .section-title {
            font-size: 28px;
        }

    .solution-item {
        padding: 12px 14px;
        gap: 12px;
    }

        .solution-item .solution-order {
            font-size: 34px;
        }

        .solution-item .solution-detail {
            font-size: 16px;
        }

    .service-card-title {
        width: 100%;
        padding-right: 48px;
    }

    .project-list {
        grid-template-columns: 1fr;
    }

    .project-card:nth-child(2) {
        flex-direction: column;
    }

    .project-card-big,
    .project-card-small {
        aspect-ratio: 4 / 3;
        padding: 0 74px 26px 16px;
        border-bottom-right-radius: var(--radius-md);
    }

        .project-card-big::after,
        .project-card-small::after {
            width: 54px;
            height: 54px;
        }

    .project-card-image {
        bottom: 0;
        right: 0;
        width: 42px;
        height: 42px;
        box-shadow: 0 8px 18px rgba(0, 0, 0, 0.16);
    }

        .project-card-image img {
            width: 24px;
            height: 24px;
        }

    .project-card-placeholder {
        padding: clamp(18px, 2vw, 28px);
    }

    .process-steps {
        grid-template-columns: 1fr;
    }

    .process-step:last-child {
        grid-column: span 1;
    }

    .process-step-number {
        font-size: 40px;
    }

    .cta-form-card {
        padding: 20px 16px;
    }

    .news-card-list .news-card-small {
        gap: 10px;
    }

    .faq-question {
        gap: 12px;
    }
}

/* ============================================
   PAGE: NEWS LIST
   ============================================ */

/* News Hero Banner */
.news-hero {
    padding: clamp(28px, 3vw, 48px) 0;
    background: #fafafa;
}

.news-hero-intro {
    margin-bottom: clamp(32px, 4vw, 56px);
}

.news-hero-title {
    color: var(--color-primary);
    font-family: var(--font-text);
    font-size: clamp(40px, 4vw, 50px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: clamp(16px, 2vw, 24px);
    text-align: center;
}

.news-hero-line {
    width: clamp(96px, 12vw, 150px);
    height: clamp(3px, 0.5vw, 5px);
    background: var(--color-accent);
    margin: 0 auto;
    border-radius: 5px;
}

.news-hero-content {
    display: grid;
    grid-template-columns: minmax(0, 1.7fr) minmax(280px, 1fr);
    gap: clamp(14px, 1.4vw, 20px);
    align-items: stretch;
    height: clamp(320px, 30vw, 420px);
}

.news-hero-big,
.news-hero-small {
    min-width: 0;
}

    .news-hero-big > a,
    .news-hero-small > a {
        display: block;
        width: 100%;
        height: 100%;
    }

.news-hero-card {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: var(--radius-md);
    cursor: pointer;
    overflow: hidden;
}

    .news-hero-card:hover .news-hero-card-image img {
        transform: scale(1.04);
    }

    .news-hero-card:hover .news-hero-card-overlay {
        transform: translateY(-6px);
    }

.news-hero-small {
    display: grid;
    grid-template-rows: repeat(2, minmax(0, 1fr));
    gap: clamp(12px, 1.2vw, 18px);
    min-height: 0;
}

    .news-hero-small a {
        min-height: 0;
    }

    .news-hero-small .news-hero-card-image {
        aspect-ratio: auto;
    }

.news-hero-card-image {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    overflow: hidden;
}

    .news-hero-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        transition: transform 0.4s ease;
    }

.news-hero-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: clamp(6px, 1vw, 8px);
    padding: clamp(14px, 1.5vw, 20px);
    transition: transform 0.3s ease;
}

.news-hero-card-image::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient( 0deg, #0c0c0c 0%, rgba(12, 12, 12, 0.6) 29.2%, rgba(12, 12, 12, 0) 43.04% );
    pointer-events: none;
}

.news-hero-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.news-hero-card-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-start;
    gap: clamp(6px, 1vw, 8px);
    padding: clamp(14px, 1.5vw, 20px);
}

.news-hero-card-title {
    color: var(--color-text-white);
    font-family: var(--font-text);
    font-size: clamp(18px, 1.5vw, 22px);
    font-weight: 500;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.news-hero-card-desc {
    color: #ccc;
    font-family: var(--font-text);
    font-size: clamp(12px, 0.9vw, 14px);
    font-weight: 400;
    line-height: 1.5;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.news-hero-small .news-hero-card-title {
    font-size: clamp(15px, 1.1vw, 17px);
    font-weight: 400;
    -webkit-line-clamp: 2;
}

/* News Latest */
.news-latest {
    /* padding: clamp(48px, 6vw, 80px) 0; */
    padding: calc(72px + clamp(36px, 4vw, 48px)) 0 clamp(44px, 5vw, 64px);
    /* background: #fafafa; */
}

.news-latest-intro-title {
    color: var(--color-primary);
    font-family: var(--font-text);
    font-size: clamp(40px, 4vw, 50px);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: clamp(16px, 2vw, 24px);
    text-align: center;
}

.news-latest-intro-line {
    width: clamp(96px, 12vw, 150px);
    height: clamp(3px, 0.5vw, 5px);
    background: var(--color-accent);
    margin: 0 auto;
    border-radius: 5px;
}

.news-latest-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(40px, 7vw, 120px);
    background: var(--color-primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    padding: clamp(28px, 3vw, 40px) clamp(24px, 3vw, 40px) clamp(28px, 3vw, 40px) clamp(32px, 4vw, 64px);
    margin-top: clamp(32px, 4vw, 56px);
}

.news-latest-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: clamp(10px, 1.2vw, 14px);
    transition: transform var(--transition-smooth);
}

.news-latest-card:hover .news-latest-content,
.news-latest-card:focus-within .news-latest-content {
    transform: translateX(6px);
}

.news-latest-title {
    color: var(--color-accent);
    font-family: var(--font-text);
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 600;
    line-height: 1.3;
    transition: transform var(--transition-smooth), color var(--transition-smooth);
}

.news-latest-card:hover .news-latest-title,
.news-latest-card:focus-within .news-latest-title {
    transform: translateY(-3px);
    color: #fcd179;
}

.news-latest-date {
    color: #ccc;
    text-align: justify;
    font-family: var(--font-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.news-latest-desc {
    color: var(--color-text-white);
    text-align: justify;
    font-family: var(--font-text);
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    transition: transform var(--transition-smooth), opacity var(--transition-smooth);
}

.news-latest-card:hover .news-latest-desc,
.news-latest-card:focus-within .news-latest-desc {
    transform: translateY(-2px);
    opacity: 0.92;
}

.news-latest-content .btn {
    margin-top: clamp(18px, 2vw, 28px);
    width: fit-content;
    transition: transform var(--transition-smooth), box-shadow var(--transition-smooth), background-color var(--transition-fast);
}

.news-latest-card:hover .news-latest-content .btn,
.news-latest-card:focus-within .news-latest-content .btn {
    transform: translateY(-2px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.18);
}

.news-latest-image {
    overflow: hidden;
    border-radius: calc(var(--radius-lg) - 8px);
    aspect-ratio: 4 /3;
    padding: 4px;
    background: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.78);
    box-shadow: 0 18px 42px rgba(0, 0, 0, 0.22), 0 0 0 1px rgba(255, 255, 255, 0.16);
    line-height: 0;
}

    .news-latest-image img {
        width: 100%;
        height: 100%;
        display: block;
        object-fit: cover;
        object-position: center;
        border-radius: calc(var(--radius-lg) - 8px);
        transition: transform 0.55s ease, filter var(--transition-smooth);
    }

.news-latest-card:hover .news-latest-image img,
.news-latest-card:focus-within .news-latest-image img {
    transform: scale(1.06);
    filter: brightness(1.05) saturate(1.08);
}

/* News All / Filter Tabs */
.news-all {
    padding: clamp(48px, 6vw, 80px) 0;
    background: var(--color-bg-white);
}

.news-all-intro {
    display: flex;
    /* flex-wrap: wrap; */
    gap: clamp(16px, 2vw, 24px);
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(32px, 4vw, 56px);
}

.news-all-intro-title {
    flex: 0 0 auto;
    color: var(--color-primary);
    font-family: var(--font-text);
    font-size: clamp(30px, 4vw, 35px);
    font-weight: 700;
    line-height: 1.2;
}

.news-search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    width: min(100%, 520px);
}

    .news-search-form .btn {
        flex: 0 0 auto;
    }

    .news-search-form .filter-input {
        min-width: 0;
        background: #fff;
        border: 1px solid #d8d8d8;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.04);
        transition: border-color 0.2s ease, box-shadow 0.2s ease;
    }

        .news-search-form .filter-input:focus {
            border-color: var(--color-primary);
            box-shadow: 0 0 0 3px rgba(116, 27, 30, 0.12);
        }

.news-filter-scroll {
    flex: 0 1 auto;
    min-width: 0;
    width: fit-content;
    max-width: min(100%, 698px);
}

.news-filter-tabs {
    display: flex;
    gap: 8px;
    /* flex-wrap: wrap; */

    flex-wrap: nowrap;
    overflow-x: auto;
    width: fit-content;
    max-width: 100%;
    scroll-behavior: smooth;
    scrollbar-width: none;
    -ms-overflow-style: none;
    position: relative;
    cursor: grab;
    user-select: none;
    touch-action: pan-x pan-y;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior-inline: contain;
}

    .news-filter-tabs::-webkit-scrollbar {
        display: none;
        width: 0;
        height: 0;
    }

.news-filter-scroll.is-dragging-tabs .news-filter-tabs {
    cursor: grabbing;
    scroll-behavior: auto;
}

.filter-tab {
    appearance: none;
    flex: 0 0 auto;
    padding: clamp(7px, 0.8vw, 8px) clamp(16px, 1.6vw, 20px);
    border-radius: 100px;
    font-family: var(--font-text);
    font-size: clamp(14px, 1.25vw, 18px);
    font-weight: 500;
    line-height: 1.5;
    color: var(--color-text-muted);
    background: var(--color-bg-light);
    border: 1px solid var(--color-border);
    cursor: pointer;
    text-decoration: none;
    transition: background-color var(--transition-fast), border-color var(--transition-fast), color var(--transition-fast), transform var(--transition-fast), box-shadow var(--transition-fast);
}

[data-news-list].is-loading [data-news-list-fragment] {
    opacity: 0.55;
    pointer-events: none;
    transition: opacity var(--transition-fast);
}

.filter-tab:hover {
    color: var(--color-accent);
    border-color: var(--color-accent);
}

.filter-tab.active {
    background: var(--color-primary);
    color: var(--color-text-white);
    border-color: var(--color-primary);
    box-shadow: 0 10px 24px rgba(76, 12, 26, 0.16);
    transform: translateY(-1px);
}

/* News List page uses 3-column grid */
.news-all .news-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 24px;
    row-gap: 40px;
}

.news-grid .news-card {
    display: flex;
    flex-direction: column;
    gap: clamp(12px, 1.2vw, 16px);
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border-radius: 18px;
    overflow: hidden;
    background-color: #fff;
}

    .news-grid .news-card:hover img {
        transform: scale(1.02);
    }

.news-grid .news-card-body {
    gap: clamp(6px, 0.8vw, 8px);
    margin-bottom: clamp(4px, 0.8vw, 8px);
}

.news-grid .news-card-title {
    color: #252525;
    font-family: var(--font-text);
    font-size: clamp(17px, 1.35vw, 22px);
    font-weight: 600;
    line-height: 1.55;
    min-height: 3.1em;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-grid .news-card-date {
    color: #696969;
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 1.5;
}

.news-grid .news-card-desc {
    color: #323232;
    font-family: var(--font-text);
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 400;
    line-height: 1.5;
    min-height: 3em;
    opacity: 0.6;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ============================================
   PAGE: NEWS DETAILS
   ============================================ */

.breadcrumb-list {
    display: flex;
    align-items: center;
    gap: clamp(6px, 0.8vw, 8px);
    font-family: var(--font-heading);
    font-size: clamp(0.75rem, 0.7rem + 0.2vw, 0.813rem);
    color: rgba(255, 255, 255, 0.5);
}

    .breadcrumb-list a {
        color: rgba(255, 255, 255, 0.5);
        transition: color var(--transition-fast);
        cursor: pointer;
    }

        .breadcrumb-list a:hover {
            color: var(--color-accent-light);
        }

    .breadcrumb-list li + li::before {
        content: ">";
        margin-right: 8px;
        color: rgba(255, 255, 255, 0.3);
    }

    .breadcrumb-list li:last-child {
        color: var(--color-text-white);
    }

/* News Detail Layout */
.news-detail {
    padding: 50px 0;
    background: var(--color-bg-white);
}

.news-detail-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 360px);
    gap: clamp(32px, 4vw, 48px);
    align-items: flex-start;
}

/* Article Content */
.article-intro {
    display: flex;
    flex-direction: column;
    gap: clamp(8px, 1vw, 10px);
    margin-bottom: clamp(18px, 2.4vw, 28px);
}

.article-title {
    color: #252525;
    font-family: var(--font-text);
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 500;
    line-height: 1.3;
}

.article-date {
    color: #696969;
    font-family: var(--font-text);
    font-size: clamp(14px, 1.1vw, 16px);
    font-weight: 400;
    line-height: 1.5;
    padding-bottom: clamp(14px, 1.6vw, 18px);
    border-bottom: 0.5px solid #ccc;
    margin-bottom: clamp(14px, 1.6vw, 18px);
}

.article-subcontent {
    color: #323232;
    font-family: var(--font-text);
    font-size: clamp(17px, 1.45vw, 20px);
    font-weight: 500;
    line-height: 1.6;
}

.article-hero-image {
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: clamp(16px, 2vw, 24px);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.article-image-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.article-body h2 {
    color: #252525;
    font-family: var(--font-text);
    font-size: clamp(24px, 2.4vw, 32px);
    font-weight: 600;
    line-height: 1.5;
    margin: clamp(24px, 3vw, 32px) 0 clamp(12px, 1.4vw, 16px);
}

.article-body p {
    margin-bottom: clamp(14px, 1.6vw, 18px);
    color: #323232;
    font-family: var(--font-text);
    font-size: clamp(15px, 1.3vw, 18px);
    font-weight: 400;
    line-height: 1.5;
}

.article-body img {
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center;
}

/* Article Sidebar */
.article-sidebar {
    position: sticky;
    top: 96px;
    align-self: start;
}

.sidebar-heading {
    color: #0f172a;
    font-family: var(--font-text);
    font-size: clamp(15px, 1.1vw, 17px);
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: clamp(14px, 1.4vw, 18px);
    padding-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

    .sidebar-heading::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -1px;
        width: 44px;
        height: 2px;
        background: var(--color-accent);
        border-radius: 2px;
    }

.sidebar-articles {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.sidebar-article-item {
    display: grid;
    grid-template-columns: 108px minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
    padding: 10px;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 12px;
    text-decoration: none;
    cursor: pointer;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

    .sidebar-article-item:hover {
        border-color: #d8dde5;
        box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
        transform: translateY(-2px);
    }

.sidebar-article-thumb {
    width: 100%;
    aspect-ratio: 4 / 3;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
    background: #f1f5f9;
}

    .sidebar-article-thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        transition: transform 0.4s ease;
    }

.sidebar-article-item:hover .sidebar-article-thumb img {
    transform: scale(1.06);
}

.sidebar-article-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

    .sidebar-article-info .sidebar-article-title {
        color: #1f2937;
        font-family: var(--font-text);
        font-size: 14px;
        font-weight: 600;
        line-height: 1.45;
        margin: 0;
        display: -webkit-box;
        text-overflow: ellipsis;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        transition: color 0.2s ease;
    }

.sidebar-article-item:hover .sidebar-article-info .sidebar-article-title {
    color: var(--color-primary);
}

.sidebar-article-info .sidebar-article-date {
    color: #94a3b8;
    font-family: var(--font-text);
    font-size: 12px;
    font-weight: 500;
    line-height: 1;
    margin: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

    .sidebar-article-info .sidebar-article-date::before {
        content: "";
        display: inline-block;
        width: 4px;
        height: 4px;
        border-radius: 50%;
        background: var(--color-accent);
    }

.sidebar-article-info .sidebar-article-desc {
    color: #64748b;
    font-family: var(--font-text);
    font-size: 12.5px;
    font-weight: 400;
    line-height: 1.5;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* ============================================
   PAGE: SERVICE DETAIL — content + related cards
   ============================================ */

/* Intro chip */
.service-detail__chip {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(252, 209, 121, 0.18);
    color: var(--color-primary);
    border: 1px solid rgba(252, 209, 121, 0.45);
    font-family: var(--font-text);
    font-size: 12px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: clamp(6px, 0.8vw, 10px);
}

/* Service-scoped article tweaks (does not affect News Detail) */
.service-detail .article-intro {
    position: relative;
    padding-left: clamp(14px, 1.6vw, 18px);
    border-left: 3px solid var(--color-accent);
    margin-bottom: clamp(20px, 2.4vw, 28px);
}

.service-detail .article-title {
    color: var(--color-primary);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.service-detail .article-subcontent {
    color: #475569;
    font-weight: 400;
    line-height: 1.65;
}

.service-detail .article-hero-image {
    aspect-ratio: 16 / 9;
    border-radius: 16px;
    box-shadow: 0 18px 36px rgba(15, 23, 42, 0.1);
    margin-bottom: clamp(22px, 2.8vw, 34px);
}

.service-detail .article-body {
    color: #334155;
}

    .service-detail .article-body h2 {
        position: relative;
        padding-left: 16px;
        color: #0f172a;
        font-weight: 700;
        line-height: 1.3;
    }

        .service-detail .article-body h2::before {
            content: "";
            position: absolute;
            left: 0;
            top: 0.18em;
            bottom: 0.22em;
            width: 4px;
            background: var(--color-accent);
            border-radius: 2px;
        }

    .service-detail .article-body p {
        color: #475569;
        line-height: 1.75;
    }

    .service-detail .article-body ul,
    .service-detail .article-body ol {
        margin: 0 0 clamp(14px, 1.6vw, 18px);
        padding-left: 22px;
        color: #475569;
        line-height: 1.75;
    }

    .service-detail .article-body li {
        margin-bottom: 6px;
    }

        .service-detail .article-body ul li::marker {
            color: var(--color-accent);
        }

    .service-detail .article-body img {
        border-radius: 12px;
        margin: clamp(14px, 1.8vw, 22px) 0;
    }

    .service-detail .article-body blockquote {
        margin: clamp(20px, 2.5vw, 28px) 0;
        padding: clamp(16px, 2vw, 22px) clamp(18px, 2.4vw, 26px);
        border-radius: 12px;
        background: linear-gradient(135deg, #fffaf0 0%, #fef6e1 100%);
        border-left: 4px solid var(--color-accent);
        color: #3a0a0b;
        font-size: clamp(15px, 1.2vw, 17px);
        font-weight: 500;
        line-height: 1.65;
        font-style: italic;
    }

/* ============================================
   SERVICE RELATED — card list dưới content
   ============================================ */
.service-related {
    padding: clamp(40px, 5vw, 72px) 0;
    background: linear-gradient(180deg, #fafafa 0%, #fff 100%);
}

.service-related__head {
    text-align: center;
    max-width: 720px;
    margin: 0 auto clamp(28px, 3.4vw, 44px);
}

.service-related__eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(252, 209, 121, 0.2);
    color: var(--color-primary);
    border: 1px solid rgba(252, 209, 121, 0.5);
    font-family: var(--font-text);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: clamp(10px, 1.2vw, 14px);
}

.service-related__title {
    color: var(--color-primary);
    font-family: var(--font-text);
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 clamp(8px, 1vw, 12px);
    letter-spacing: -0.5px;
}

.service-related__desc {
    color: #64748b;
    font-family: var(--font-text);
    font-size: clamp(14px, 1.05vw, 16px);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

.service-related__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 28px);
}

.service-related__card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 16px;
    text-decoration: none;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

    .service-related__card:hover {
        border-color: #d8dde5;
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
        transform: translateY(-4px);
    }

.service-related__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f5f9;
}

    .service-related__thumb::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 60%, rgba(0, 0, 0, 0.45) 100%);
        pointer-events: none;
    }

    .service-related__thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.5s ease;
    }

.service-related__card:hover .service-related__thumb img {
    transform: scale(1.06);
}

.service-related__chip {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: var(--color-primary);
    font-family: var(--font-text);
    font-size: 11px;
    font-weight: 700;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.service-related__body {
    flex: 1;
    padding: clamp(16px, 1.8vw, 22px);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-related__name {
    color: #1e293b;
    font-family: var(--font-text);
    font-size: clamp(16px, 1.3vw, 19px);
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.service-related__card:hover .service-related__name {
    color: var(--color-primary);
}

.service-related__excerpt {
    color: #64748b;
    font-family: var(--font-text);
    font-size: clamp(13px, 1vw, 14.5px);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.service-related__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-family: var(--font-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    margin-top: 6px;
    transition: gap 0.2s ease, color 0.2s ease;
}

    .service-related__cta svg {
        transition: transform 0.2s ease;
    }

.service-related__card:hover .service-related__cta {
    gap: 10px;
    color: #7c2e30;
}

    .service-related__card:hover .service-related__cta svg {
        transform: translateX(2px);
    }

.service-related__footer {
    text-align: center;
    margin-top: clamp(28px, 3vw, 40px);
}

.service-related__viewall {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-accent);
    text-decoration: none;
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 700;
    transition: gap 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .service-related__viewall:hover {
        gap: 12px;
        transform: translateY(-2px);
        background: #7c2e30;
        box-shadow: 0 10px 22px rgba(83, 19, 20, 0.3);
    }

@media (max-width: 1024px) {
    .service-related__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .service-related {
        padding: 36px 0;
    }

    .service-related__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-related__title {
        font-size: 24px;
    }

    .service-related__viewall {
        padding: 11px 22px;
        font-size: 13px;
    }
}

/* ============================================
   SERVICE PRODUCTS — sản phẩm thuộc dịch vụ
   ============================================ */
.service-products {
    padding: clamp(40px, 5vw, 72px) 0;
    background: linear-gradient(180deg, #fff 0%, #fafafa 100%);
    position: relative;
}

.service-products__head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto clamp(28px, 3.4vw, 44px);
}

.service-products__eyebrow {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 999px;
    background: var(--color-primary);
    color: var(--color-accent);
    font-family: var(--font-text);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: clamp(10px, 1.2vw, 14px);
}

.service-products__title {
    color: var(--color-primary);
    font-family: var(--font-text);
    font-size: clamp(26px, 2.6vw, 36px);
    font-weight: 700;
    line-height: 1.25;
    margin: 0 0 clamp(8px, 1vw, 12px);
    letter-spacing: -0.5px;
}

.service-products__desc {
    color: #64748b;
    font-family: var(--font-text);
    font-size: clamp(14px, 1.05vw, 16px);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
}

.service-products__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(18px, 2vw, 28px);
}

.service-products__card {
    position: relative;
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #eef0f3;
    border-radius: 16px;
    text-decoration: none;
    overflow: hidden;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

    .service-products__card:hover {
        border-color: #d8dde5;
        box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
        transform: translateY(-4px);
    }

.service-products__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f5f9;
}

    .service-products__thumb::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.55) 100%);
        pointer-events: none;
    }

    .service-products__thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.5s ease;
    }

.service-products__card:hover .service-products__thumb img {
    transform: scale(1.06);
}

.service-products__tags {
    position: absolute;
    bottom: 12px;
    left: 12px;
    z-index: 2;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

    .service-products__tags span {
        font-family: var(--font-text);
        font-size: 11px;
        font-weight: 600;
        color: #fff;
        background: rgba(255, 255, 255, 0.16);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.3);
        padding: 4px 10px;
        border-radius: 999px;
        line-height: 1.3;
    }

.service-products__body {
    flex: 1;
    padding: clamp(16px, 1.8vw, 22px);
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.service-products__client {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-text);
    font-size: 12px;
    font-weight: 500;
    color: #94a3b8;
    line-height: 1;
}

    .service-products__client svg {
        color: var(--color-primary);
        flex-shrink: 0;
        opacity: 0.85;
    }

.service-products__name {
    color: #1e293b;
    font-family: var(--font-text);
    font-size: clamp(16px, 1.3vw, 19px);
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.service-products__card:hover .service-products__name {
    color: var(--color-primary);
}

.service-products__excerpt {
    color: #64748b;
    font-family: var(--font-text);
    font-size: clamp(13px, 1vw, 14.5px);
    font-weight: 400;
    line-height: 1.6;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.service-products__cta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--color-primary);
    font-family: var(--font-text);
    font-size: 13px;
    font-weight: 700;
    line-height: 1;
    margin-top: 4px;
    transition: gap 0.2s ease, color 0.2s ease;
}

    .service-products__cta svg {
        transition: transform 0.2s ease;
    }

.service-products__card:hover .service-products__cta {
    gap: 10px;
    color: #7c2e30;
}

    .service-products__card:hover .service-products__cta svg {
        transform: translateX(2px);
    }

.service-products__footer {
    text-align: center;
    margin-top: clamp(28px, 3vw, 40px);
}

.service-products__viewall {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 26px;
    border-radius: 999px;
    background: transparent;
    color: var(--color-primary);
    border: 1.5px solid var(--color-primary);
    text-decoration: none;
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 700;
    transition: gap 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease;
}

    .service-products__viewall:hover {
        gap: 12px;
        transform: translateY(-2px);
        background: var(--color-primary);
        color: var(--color-accent);
        box-shadow: 0 10px 22px rgba(83, 19, 20, 0.25);
    }

@media (max-width: 1024px) {
    .service-products__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 640px) {
    .service-products {
        padding: 36px 0;
    }

    .service-products__grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .service-products__title {
        font-size: 24px;
    }

    .service-products__viewall {
        padding: 11px 22px;
        font-size: 13px;
    }
}

/* ============================================
   PAGE: PROJECT LIST
   ============================================ */

/* Projects Hero */
.pg-projects-hero {
    min-height: calc(100vh - 50px);
    min-height: calc(100dvh - 50px);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    overflow: hidden;
    background: url(/assets/images/hero-bg.png) repeat;
}

    .pg-projects-hero .container {
        z-index: 2;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

.pg-projects-hero__title {
    font-size: clamp(2rem, 1.5rem + 2.5vw, 2.5rem);
    color: var(--color-accent);
    margin-bottom: clamp(14px, 1.8vw, 20px);
    line-height: 1.2;
}

.pg-projects-hero__desc {
    font-size: clamp(0.938rem, 0.9rem + 0.5vw, 1.3rem);
    color: var(--color-text-white);
    font-family: var(--font-text);
    margin-bottom: clamp(24px, 3vw, 36px);
    line-height: 1.5;
}

.pg-projects-hero__content {
    width: 50%;
}

    .pg-projects-hero__content .line {
        width: clamp(96px, 12vw, 150px);
        height: clamp(3px, 0.5vw, 5px);
        background-color: var(--color-accent);
        border-radius: 5px;
        margin-bottom: clamp(28px, 4vw, 60px);
    }

.pg-projects-hero__stats {
    display: flex;
    gap: clamp(20px, 3vw, 40px);
}

.pg-projects-hero__visual {
    height: clamp(360px, 36vw, 520px);
    width: 50%;
    margin-left: auto;
    min-height: calc(100vh - 50px);
    min-height: calc(100dvh - 50px);
    position: absolute;
    right: 30px;
    overflow: hidden;
}

    .pg-projects-hero__visual img {
        display: block;
        height: 100%;
        max-width: 100%;
        object-fit: contain;
        object-position: center bottom;
        position: absolute;
        right: 0;
    }

.pg-projects-hero__mockup {
    width: min(100%, 640px);
    min-width: 0;
    margin-inline: auto;
}

.pg-projects-hero__banner {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

    .pg-projects-hero__banner.swiper,
    .projects-hero-swiper.swiper {
        width: 100%;
    }

        .pg-projects-hero__banner.swiper .swiper-slide,
        .projects-hero-swiper.swiper .swiper-slide {
            display: flex;
            justify-content: center;
        }

            .pg-projects-hero__banner.swiper .swiper-slide img,
            .projects-hero-swiper.swiper .swiper-slide img {
                width: 100%;
                height: auto;
                max-width: 100%;
                display: block;
            }

.project-filter-box {
    position: absolute;
    bottom: clamp(-112px, -8vw, -80px);
    left: 0;
    right: 0;
    width: 100%;
    background: #f0f0f0;
    padding: clamp(24px, 3vw, 40px) clamp(20px, 2.4vw, 32px);
    border-radius: 12px;
}

/* ROW */
.filter-row {
    display: flex;
    gap: clamp(12px, 1.4vw, 16px);
    width: 100%;
}

.filter-row-top {
    margin-bottom: clamp(14px, 1.8vw, 20px);
}

.filter-row-bottom {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr)) max-content;
    align-items: center;
}

/* INPUT */
.filter-input {
    flex: 1;
    height: clamp(44px, 4vw, 48px);
    border-radius: 48px;
    border: none;
    padding: 0 clamp(16px, 1.6vw, 20px);
    font-size: clamp(15px, 1.3vw, 18px);
    color: #0c0507;
    outline: none;
}

    .filter-input::placeholder {
        color: #696969;
    }

/* SELECT */
.filter-select {
    flex: 1;
    min-width: min(180px, 100%);
    height: clamp(44px, 4vw, 48px);
    border-radius: 48px;
    border: none;
    padding: 0 clamp(16px, 1.6vw, 20px);
    padding-right: 44px;
    font-size: clamp(15px, 1.3vw, 18px);
    color: #696969;
    appearance: none;
    background: white url("/assets/icons/arrow-down.svg") no-repeat right 16px center;
    background-size: 16px;
    cursor: pointer;
}

.ts-wrapper.filter-select {
    height: auto;
    padding: 0;
    border-radius: 0;
    background: none !important;
    background-image: none !important;
}

.form-group .filter-select {
    width: 100%;
    border-radius: var(--radius-sm);
    /* padding-right: 4px; */
}

/* BUTTON */
.filter-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: clamp(132px, 10vw, 160px);
    background: var(--color-accent);
    color: var(--color-primary);
    font-weight: 700;
    font-size: clamp(16px, 1.4vw, 20px);
    border: none;
    border-radius: 100px;
    padding: 0 clamp(24px, 3vw, 40px);
    height: clamp(44px, 4vw, 48px);
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .filter-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
    }

#service-filter-form {
    display: grid;
    grid-template-columns: minmax(240px, 1fr) minmax(200px, 320px) max-content;
    gap: clamp(12px, 1.4vw, 16px);
    align-items: center;
    margin: 0;
}

    #service-filter-form .filter-row {
        display: contents;
    }

    #service-filter-form .filter-row-top {
        margin-bottom: 0;
    }

    #service-filter-form .filter-input,
    #service-filter-form .filter-select,
    #service-filter-form .filter-btn {
        width: 100%;
    }

/* ===== TomSelect Wrapper ===== */
.ts-wrapper {
    flex: 1;
}

/* ===== Control (main box) ===== */
.ts-control {
    height: clamp(44px, 4vw, 48px);
    border-radius: 48px !important;
    border: none !important;
    padding-left: 20px;
    font-size: clamp(15px, 1.3vw, 18px);
    color: #0c0507;
    background: #fff;
    box-shadow: none !important;
    display: flex;
    align-items: center;
    min-width: 0;
}

    .ts-wrapper.focus .ts-control,
    .ts-wrapper.input-active .ts-control,
    .ts-control:focus,
    .ts-control:focus-within {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }

.form-group .ts-control {
    /* padding: 8px 0 !important; */
    border-radius: var(--radius-sm) !important;
    flex-wrap: nowrap;
    /* white-space: nowrap;
  min-width: 0; */
}

/* Placeholder */
.ts-control .item,
.ts-control input {
    font-size: clamp(15px, 1.3vw, 18px);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}

.ts-control .item {
    display: inline-block;
    max-width: 100%;
}

.form-group .ts-control .item {
    /* display: inline-flex;
  flex: 1 1 auto;
  min-width: 0;
  max-width: calc(100% - 40px); */
    max-width: 100%;
}

.form-group .ts-control input {
    /* flex: 0 1 auto;
  max-width: 40px !important; */
    flex: 1;
    min-width: 40px;
}

.ts-wrapper .ts-control input {
    margin-right: 32px !important;
}

.form-group .ts-control input {
    /* width: auto; */
}

.ts-control input::placeholder {
    color: #696969;
}

/* ===== Arrow custom ===== */
.ts-wrapper.single .ts-control::after {
    border: none !important;
    content: "";
    position: absolute;
    right: 16px;
    width: 18px;
    height: 18px;
    background: url("/assets/icons/arrow-down.svg") no-repeat center;
    background-size: contain;
    opacity: 0.7;
}

/* Rotate when open */
.ts-wrapper.single.dropdown-active .ts-control::after {
    transform: rotate(180deg);
}

/* ===== Dropdown ===== */
.ts-dropdown {
    border-radius: 16px;
    border: none;
    margin-top: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

    /* Option */
    .ts-dropdown .option {
        padding: 12px 20px;
        font-size: 16px;
    }

        /* Hover option */
        .ts-dropdown .option:hover {
            background: #fcd179;
            color: #531314;
        }

    /* Active option */
    .ts-dropdown .active {
        background: #fcd179;
        color: #531314;
    }

/* ===== Clear button (nếu dùng plugin) ===== */
.ts-control .clear-button {
    right: 40px !important;
}

.form-group .ts-control .clear-button {
    right: 20px !important;
}

/* Featured Carousel */
.featured-carousel {
    padding: calc(42px + clamp(48px, 6vw, 80px)) 0 clamp(48px, 6vw, 80px);
    background: var(--color-bg-white);
    /* text-align: center; */
}

    .featured-carousel .section-title {
        margin-bottom: clamp(14px, 2vw, 24px);
        color: var(--color-primary);
        font-family: var(--font-text);
        font-size: clamp(28px, 3vw, 42px);
        font-style: normal;
        font-weight: 700;
        line-height: 1.2;
        text-align: center;
    }

    .featured-carousel .line {
        width: clamp(96px, 12vw, 150px);
        height: clamp(3px, 0.5vw, 5px);
        background-color: var(--color-accent);
        border-radius: 5px;
        margin: auto;
        margin-bottom: clamp(32px, 4vw, 56px);
    }

/* Latest Projects */
.latest-projects {
    padding: clamp(48px, 6vw, 80px) 0;
    background: var(--color-primary);
    overflow: hidden;
}

    .latest-projects .section-title {
        color: var(--color-accent);
        font-family: var(--font-text);
        font-size: clamp(28px, 3vw, 42px);
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 0;
    }

/* TITLE */
.latest-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: clamp(24px, 3vw, 32px);
}

/* NAV */
.latest-nav {
    display: flex;
    gap: clamp(10px, 1.4vw, 16px);
}

.latest-prev,
.latest-next {
    width: clamp(40px, 4vw, 56px);
    height: clamp(40px, 4vw, 56px);
    border-radius: 50%;
    border: 1px solid var(--color-bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
}

    .latest-prev:hover,
    .latest-next:hover {
        background: #fcd179;
    }

/* CARD */
.latest-card {
    background: #fff;
    border-radius: clamp(14px, 1.4vw, 16px);
    padding: clamp(10px, 1.1vw, 14px);
    display: flex;
    gap: clamp(12px, 1.4vw, 18px);
    height: 100%;
    align-items: stretch;
    min-height: clamp(184px, 15vw, 216px);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.latest-swiper .swiper-slide > a:hover .latest-card {
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
}

/* IMAGE */
.latest-img {
    width: clamp(200px, 18vw, 260px);
    height: auto;
    aspect-ratio: 1.42;
    border-radius: clamp(10px, 1vw, 12px);
    overflow: hidden;
    flex-shrink: 0;
}

    .latest-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.3s ease;
    }

.latest-swiper .swiper-slide > a:hover .latest-img img {
    transform: scale(1.05);
}

.latest-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* CONTENT */
.latest-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: clamp(8px, 1vw, 12px);
    min-width: 0;
    transition: transform 0.3s ease;
}

    .latest-content h3,
    .latest-content p,
    .latest-link {
        transition: transform 0.3s ease, opacity 0.3s ease;
    }

.latest-swiper .swiper-slide > a:hover .latest-content {
    transform: translateY(-2px);
}

.latest-swiper .swiper-slide > a:hover .latest-link {
    transform: translateX(4px);
    opacity: 0.95;
}

.latest-tags {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

    .latest-tags::-webkit-scrollbar {
        display: none;
    }

    .latest-tags span {
        flex: 0 0 auto;
        background: #f0f0f0;
        padding: 4px clamp(10px, 1vw, 14px);
        color: #323232;
        font-family: var(--font-text);
        font-size: 12px;
        font-weight: 500;
        line-height: 18px;
        border-radius: 100px;
    }

/* TITLE */
.latest-content h3 {
    color: #151515;
    font-family: var(--font-text);
    font-size: clamp(18px, 1.35vw, 22px);
    font-weight: 600;
    line-height: 1.32;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

/* DESC */
.latest-content p {
    opacity: 0.6;
    color: #000;
    text-overflow: ellipsis;
    font-family: var(--font-text);
    font-size: clamp(13px, 0.95vw, 15px);
    font-weight: 400;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    align-self: stretch;
    overflow: hidden;
    margin: 0;
}

/* LINK */
.latest-link {
    color: var(--color-primary);
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: clamp(8px, 1vw, 12px);
}

    .latest-link img {
        width: 20px;
        height: auto;
    }

/* SWIPER */
.latest-swiper {
    /* overflow: visible; */
    overflow: hidden;
}

    .latest-swiper .swiper-slide {
        height: auto;
        display: flex;
        justify-content: center;
    }

        .latest-swiper .swiper-slide > a {
            display: block;
            width: 100%;
        }

.latest-swiper--static .swiper-wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr));
    gap: 24px;
}

.latest-swiper--static .swiper-slide {
    width: auto;
}

.latest-project-placeholder {
    position: relative;
    display: flex;
    border: 1px dashed rgba(109, 12, 16, 0.24);
    border-radius: clamp(14px, 1.4vw, 16px);
    min-height: clamp(220px, 22vw, 280px);
    width: 100%;
}

@media (min-width: 768px) and (max-width: 1199px) {
    .latest-header {
        gap: 24px;
        align-items: flex-start;
    }

    .latest-nav {
        flex-shrink: 0;
    }

    .latest-card {
        display: grid;
        grid-template-columns: minmax(190px, 42%) minmax(0, 1fr);
        gap: 16px;
        padding: 14px;
        border-radius: 16px;
        min-height: 190px;
    }

    .latest-img {
        width: 100%;
        aspect-ratio: 1.35;
    }

    .latest-content {
        gap: 14px;
        align-content: center;
    }

    .latest-tags {
        flex-wrap: nowrap;
    }

        .latest-tags span {
            padding: 5px 14px;
            font-size: 12px;
        }

    .latest-content h3 {
        font-size: clamp(1.125rem, 1rem + 0.45vw, 1.375rem);
        line-height: 1.3;
    }

    .latest-content p {
        font-size: 14px;
        line-height: 1.45;
        -webkit-line-clamp: 3;
    }

    .latest-link {
        font-size: 14px;
        margin-top: auto;
    }
}

@media (max-width: 767px) {
    .latest-card {
        flex-direction: column;
        min-height: 0;
        padding: 12px;
        gap: 12px;
    }

    .latest-img {
        width: 100%;
        aspect-ratio: 16 / 10;
    }

    .latest-content h3 {
        font-size: 18px;
    }

    .latest-content p {
        -webkit-line-clamp: 2;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    .latest-projects .section-title {
        font-size: 32px;
    }

    .latest-prev,
    .latest-next {
        width: 44px;
        height: 44px;
    }

    .latest-card {
        /* grid-template-columns: 1fr; */
    }

    .latest-img {
        min-height: 0;
        aspect-ratio: 16 / 9;
    }
}

/* Projects CTA */
.projects-cta {
    background: url(/assets/images/contact-bg.png) repeat;
    padding: clamp(40px, 6vw, 80px) 0;
    position: relative;
    overflow: hidden;
}

.projects-cta__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(20px, 3vw, 32px);
}

.projects-cta__content {
    flex: 1 1 auto;
    min-width: 0;
    max-width: 560px;
    z-index: 1;
}

    .projects-cta__content img {
        width: clamp(28px, 3vw, 36px);
        height: clamp(28px, 3vw, 36px);
        margin-bottom: clamp(8px, 1vw, 12px);
    }

.projects-cta__title {
    color: var(--color-primary);
    font-family: var(--font-text);
    font-size: clamp(18px, 2.4vw + 0.4rem, 28px);
    font-weight: 700;
    line-height: 1.35;
    margin-bottom: clamp(4px, 0.6vw, 8px);
    word-break: break-word;
}

.projects-cta__desc {
    color: #475569;
    font-family: var(--font-text);
    font-size: clamp(13.5px, 1.4vw + 0.3rem, 16px);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: clamp(14px, 1.6vw, 20px);
}

.projects-cta .btn {
    border: 1.5px solid var(--color-primary);
    font-family: var(--font-text);
    font-size: clamp(13.5px, 1.2vw + 0.2rem, 16px);
    font-weight: 500;
    line-height: 1.5;
    padding: clamp(9px, 1vw, 11px) clamp(18px, 2vw, 28px);
}

.projects-cta__banner {
    flex: 0 0 auto;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    max-width: 50%;
}

    .projects-cta__banner img {
        width: auto;
        max-width: 100%;
        max-height: clamp(220px, 28vw, 360px);
        object-fit: contain;
        object-position: bottom right;
        vertical-align: bottom;
        transition: transform 0.4s ease;
    }

    .projects-cta__banner:hover img {
        transform: translateY(-4px);
    }

@media (max-width: 768px) {
    .projects-cta__inner {
        flex-direction: column;
        align-items: stretch;
    }

    .projects-cta__content {
        max-width: none;
    }

    .projects-cta__banner {
        display: none;
    }

    .projects-cta .btn {
        width: 100%;
    }
}

/* All Projects Grid */
.all-projects {
    padding: clamp(48px, 6vw, 80px) 0;
    background: var(--color-bg-white);
    text-align: center;
}

    .all-projects .section-title {
        margin-bottom: clamp(14px, 2vw, 24px);
        color: var(--color-primary);
        font-family: var(--font-text);
        font-size: clamp(28px, 3vw, 42px);
        font-weight: 700;
        line-height: 1.2;
    }

    .all-projects .line {
        width: clamp(96px, 12vw, 150px);
        height: clamp(3px, 0.5vw, 5px);
        background-color: var(--color-accent);
        border-radius: 5px;
        margin: auto;
        margin-bottom: clamp(32px, 4vw, 56px);
    }

.all-projects__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(24px, 3vw, 40px);
    text-align: left;
}

.project-grid-card {
    background: var(--color-bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all var(--transition-smooth);
    cursor: pointer;
}

    .project-grid-card:hover {
        transform: translateY(-4px);
    }

.project-grid-card__image {
    width: 100%;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-radius: var(--radius-md);
}

    .project-grid-card__image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
        transition: transform var(--transition-smooth);
    }

.project-grid-card:hover .project-grid-card__image img {
    transform: scale(1.04);
}

.project-grid-card__body {
    padding-top: clamp(12px, 1.4vw, 16px);
}

.tag-results-empty {
    color: #323232;
    font-family: var(--font-text);
    font-size: clamp(16px, 1.3vw, 18px);
    font-weight: 400;
    line-height: 1.6;
    margin-top: clamp(24px, 3vw, 36px);
    text-align: center;
}

.tag-result-type,
.tag-result-date {
    color: #696969;
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.tag-result-type {
    color: var(--color-primary);
    margin-bottom: 4px;
}

.tag-result-date {
    margin-bottom: 8px;
}

.project-grid-card__title {
    color: #252525;
    font-family: var(--font-text);
    font-size: clamp(17px, 1.35vw, 22px);
    font-weight: 600;
    line-height: 1.55;
    min-height: 3.1em;
    margin-bottom: clamp(6px, 0.8vw, 8px);
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
}

.project-grid-card__desc {
    color: #323232;
    font-family: var(--font-text);
    font-size: clamp(13px, 1vw, 15px);
    font-weight: 400;
    line-height: 1.5;
    min-height: 3em;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    opacity: 0.6;
}

.not-found-page {
    min-height: 70vh;
    display: flex;
    align-items: center;
    padding: calc(72px + clamp(48px, 7vw, 96px)) 0 clamp(64px, 8vw, 112px);
    background: var(--color-bg-white);
    text-align: center;
}

.not-found-page__inner {
    max-width: 720px;
    margin: 0 auto;
}

.not-found-page__code {
    color: var(--color-primary);
    font-family: var(--font-title);
    font-size: clamp(72px, 12vw, 144px);
    font-weight: 700;
    line-height: 0.95;
    margin-bottom: clamp(16px, 2vw, 24px);
}

.not-found-page__title {
    color: var(--color-text-dark);
    font-family: var(--font-title);
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: clamp(12px, 1.6vw, 18px);
}

.not-found-page__desc {
    color: #4f4f4f;
    font-family: var(--font-text);
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 400;
    line-height: 1.6;
    margin: 0 auto clamp(24px, 3vw, 36px);
    max-width: 560px;
}

.not-found-page__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 0 24px;
    border-radius: 4px;
    background: var(--color-accent);
    color: var(--color-primary);
    font-family: var(--font-text);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.4;
    text-decoration: none;
    transition: background-color var(--transition-smooth), transform var(--transition-smooth);
}

    .not-found-page__link:hover {
        transform: translateY(-2px);
    }

/* ============================================
   PAGE: 404 NOT FOUND (modern redesign)
   namespace .err-404 — không ghi đè .project-hero-banner / .not-found-page
   ============================================ */
.err-404 {
    position: relative;
    min-height: clamp(560px, 82vh, 780px);
    padding: calc(72px + clamp(40px, 6vw, 80px)) 0 clamp(56px, 7vw, 96px);
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        radial-gradient(circle at 88% 12%, rgba(252, 209, 121, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 8% 88%, rgba(83, 19, 20, 0.10) 0%, transparent 50%),
        #fff;
}

.err-404__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.err-404__grid {
    position: absolute;
    inset: 0;
    background-image:
        radial-gradient(rgba(83, 19, 20, 0.08) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
    -webkit-mask-image: radial-gradient(ellipse at center, #000 30%, transparent 70%);
    opacity: 0.6;
}

.err-404__orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(8px);
    animation: err404Float 12s ease-in-out infinite;
    will-change: transform;
}

.err-404__orb--1 {
    width: clamp(160px, 22vw, 260px);
    height: clamp(160px, 22vw, 260px);
    top: 8%;
    left: 6%;
    background: radial-gradient(circle, rgba(252, 209, 121, 0.5) 0%, transparent 70%);
    animation-delay: 0s;
}

.err-404__orb--2 {
    width: clamp(220px, 28vw, 360px);
    height: clamp(220px, 28vw, 360px);
    top: 22%;
    right: 4%;
    background: radial-gradient(circle, rgba(83, 19, 20, 0.18) 0%, transparent 70%);
    animation-delay: -4s;
}

.err-404__orb--3 {
    width: clamp(140px, 18vw, 220px);
    height: clamp(140px, 18vw, 220px);
    bottom: 6%;
    left: 36%;
    background: radial-gradient(circle, rgba(252, 209, 121, 0.36) 0%, transparent 70%);
    animation-delay: -8s;
}

@keyframes err404Float {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(0, -22px, 0) scale(1.05); }
}

.err-404__inner {
    position: relative;
    z-index: 1;
    max-width: 760px;
    margin: 0 auto;
    text-align: center;
}

/* Visual 4-0-4 */
.err-404__visual {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 1.4vw, 18px);
    margin-bottom: clamp(20px, 2.4vw, 32px);
    line-height: 1;
}

.err-404__digit {
    font-family: var(--font-text);
    font-size: clamp(110px, 18vw, 220px);
    font-weight: 800;
    line-height: 0.9;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, var(--color-primary) 0%, #7c2e30 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    transition: transform 0.4s ease;
}

.err-404__digit--left { transform: rotate(-6deg); }
.err-404__digit--right { transform: rotate(6deg); }

.err-404__visual:hover .err-404__digit--left { transform: rotate(-10deg) translateY(-4px); }
.err-404__visual:hover .err-404__digit--right { transform: rotate(10deg) translateY(-4px); }

.err-404__zero {
    position: relative;
    width: clamp(124px, 18vw, 220px);
    height: clamp(124px, 18vw, 220px);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.err-404__zero-ring {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    color: var(--color-accent);
    animation: err404Spin 18s linear infinite;
    transform-origin: center;
}

@keyframes err404Spin {
    to { transform: rotate(360deg); }
}

.err-404__zero-glyph {
    position: relative;
    font-family: var(--font-text);
    font-size: clamp(80px, 13vw, 160px);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    background: linear-gradient(180deg, var(--color-primary) 0%, #7c2e30 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

/* Chip */
.err-404__chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 14px;
    border-radius: 999px;
    background: rgba(252, 209, 121, 0.22);
    border: 1px solid rgba(252, 209, 121, 0.55);
    color: var(--color-primary);
    font-family: var(--font-text);
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    margin-bottom: clamp(12px, 1.6vw, 18px);
}

.err-404__title {
    color: #1f2937;
    font-family: var(--font-text);
    font-size: clamp(28px, 3.4vw, 44px);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
    margin: 0 0 clamp(12px, 1.6vw, 18px);
}

.err-404__desc {
    color: #64748b;
    font-family: var(--font-text);
    font-size: clamp(15px, 1.15vw, 17px);
    font-weight: 400;
    line-height: 1.65;
    margin: 0 auto clamp(24px, 3vw, 36px);
    max-width: 560px;
}

/* Action buttons */
.err-404__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: clamp(28px, 3.4vw, 44px);
}

.err-404__btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 999px;
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
    border: 1.5px solid transparent;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}

.err-404__btn--primary {
    background: var(--color-primary);
    color: var(--color-accent);
    border-color: var(--color-primary);
}

    .err-404__btn--primary:hover {
        transform: translateY(-2px);
        background: #7c2e30;
        border-color: #7c2e30;
        box-shadow: 0 12px 26px rgba(83, 19, 20, 0.3);
    }

.err-404__btn--ghost {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
}

    .err-404__btn--ghost:hover {
        transform: translateY(-2px);
        background: var(--color-primary);
        color: var(--color-accent);
    }

/* Quick links */
.err-404__quick {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    padding: clamp(16px, 1.8vw, 22px) clamp(20px, 2.2vw, 28px);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.7);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid #eef0f3;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
}

.err-404__quick-label {
    color: #94a3b8;
    font-family: var(--font-text);
    font-size: 12.5px;
    font-weight: 500;
    letter-spacing: 0.2px;
}

.err-404__quick-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

    .err-404__quick-links a {
        display: inline-flex;
        align-items: center;
        padding: 8px 16px;
        border-radius: 999px;
        background: #f8fafc;
        color: #1f2937;
        text-decoration: none;
        font-family: var(--font-text);
        font-size: 13px;
        font-weight: 600;
        border: 1px solid transparent;
        transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease, border-color 0.2s ease;
    }

        .err-404__quick-links a:hover {
            background: var(--color-primary);
            color: var(--color-accent);
            transform: translateY(-2px);
            border-color: var(--color-primary);
        }

@media (prefers-reduced-motion: reduce) {
    .err-404__orb,
    .err-404__zero-ring,
    .err-404__digit {
        animation: none;
        transition: none;
    }
}

@media (max-width: 768px) {
    .err-404 {
        padding-top: calc(72px + 36px);
        padding-bottom: 56px;
    }

    .err-404__visual {
        gap: 4px;
    }

    .err-404__digit {
        font-size: 96px;
    }

    .err-404__zero {
        width: 104px;
        height: 104px;
    }

    .err-404__zero-glyph {
        font-size: 72px;
    }
}

@media (max-width: 480px) {
    .err-404 {
        min-height: auto;
    }

    .err-404__digit {
        font-size: 80px;
    }

    .err-404__zero {
        width: 86px;
        height: 86px;
    }

    .err-404__zero-glyph {
        font-size: 60px;
    }

    .err-404__actions {
        flex-direction: column;
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
    }

    .err-404__btn {
        width: 100%;
        justify-content: center;
    }
}

/* ── Legal Hero ── */
.legal-hero {
    position: relative;
    background: linear-gradient(135deg, var(--color-primary-dark) 0%, var(--color-primary) 50%, var(--color-primary-light) 100%);
    padding: clamp(100px, 12vw, 160px) 0 clamp(48px, 6vw, 72px);
    overflow: hidden;
}

.legal-hero__overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 50% at 80% 20%, rgba(255,255,255,0.06) 0%, transparent 70%),
        radial-gradient(ellipse 40% 60% at 10% 80%, rgba(255,255,255,0.04) 0%, transparent 60%);
    pointer-events: none;
}

.legal-hero .container {
    position: relative;
    z-index: 1;
}

.legal-hero__breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.65);
    margin-bottom: clamp(16px, 2vw, 24px);
}

.legal-hero__breadcrumb a {
    color: rgba(255,255,255,0.65);
    text-decoration: none;
    transition: color 0.2s;
}

.legal-hero__breadcrumb a:hover {
    color: #fff;
}

.legal-hero__breadcrumb .current {
    color: rgba(255,255,255,0.9);
}

.legal-hero__sep {
    opacity: 0.4;
}

.legal-hero__title {
    color: #fff;
    font-family: var(--font-heading);
    font-size: clamp(28px, 4vw, 48px);
    font-weight: 700;
    line-height: 1.2;
    margin: 0;
}

.legal-hero__desc {
    color: rgba(255,255,255,0.75);
    font-size: clamp(15px, 1.3vw, 18px);
    line-height: 1.6;
    margin-top: clamp(12px, 1.5vw, 20px);
    max-width: 640px;
}

/* ── Legal Page Content ── */
.legal-page {
    padding: clamp(40px, 5vw, 72px) 0 clamp(56px, 7vw, 96px);
    background: #f8f8fa;
}

.legal-page__content {
    max-width: 860px;
    margin: 0 auto;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 2px 24px rgba(0,0,0,0.06);
    padding: clamp(32px, 4vw, 56px) clamp(24px, 4vw, 56px);
    color: #3a3a3a;
    font-family: var(--font-text);
    position: relative;
}

.legal-page__icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-light) 100%);
    color: #fff;
    margin: 0 auto clamp(24px, 3vw, 36px);
    box-shadow: 0 6px 20px rgba(83,19,20,0.2);
}

.legal-page__content h1 {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: clamp(26px, 3vw, 36px);
    font-weight: 700;
    line-height: 1.25;
    margin-bottom: clamp(16px, 2vw, 24px);
    padding-bottom: clamp(12px, 1.5vw, 18px);
    border-bottom: 2px solid rgba(83,19,20,0.1);
}

.legal-page__content h2 {
    color: var(--color-primary);
    font-family: var(--font-heading);
    font-size: clamp(19px, 1.8vw, 24px);
    font-weight: 600;
    line-height: 1.35;
    margin: clamp(28px, 3vw, 40px) 0 clamp(10px, 1.2vw, 14px);
    padding-left: 14px;
    border-left: 3px solid var(--color-primary);
}

.legal-page__content h3 {
    color: #2a2a2a;
    font-family: var(--font-heading);
    font-size: clamp(17px, 1.5vw, 20px);
    font-weight: 600;
    line-height: 1.35;
    margin: clamp(20px, 2vw, 28px) 0 clamp(6px, 0.8vw, 10px);
}

.legal-page__content p {
    font-size: clamp(15px, 1.15vw, 16.5px);
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: clamp(10px, 1.2vw, 14px);
    color: #4a4a4a;
}

.legal-page__desc {
    font-size: clamp(15px, 1.2vw, 17px);
    color: #666;
    line-height: 1.7;
    margin-bottom: clamp(20px, 2.5vw, 32px);
    font-style: italic;
}

.legal-page__body ul,
.legal-page__body ol {
    margin: 0 0 clamp(12px, 1.5vw, 16px);
    padding-left: 1.6em;
}

.legal-page__body ul {
    list-style: none;
}

.legal-page__body ul li::before {
    content: "";
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--color-primary);
    margin-right: 10px;
    margin-left: -1.2em;
    vertical-align: middle;
}

.legal-page__body ol {
    list-style: decimal;
}

.legal-page__body ol li::marker {
    color: var(--color-primary);
    font-weight: 600;
}

.legal-page__body li {
    font-size: clamp(15px, 1.15vw, 16.5px);
    font-weight: 400;
    line-height: 1.8;
    margin-bottom: 8px;
    color: #4a4a4a;
}

.legal-page__body strong,
.legal-page__body b {
    color: #2a2a2a;
    font-weight: 600;
}

.legal-page__body a {
    color: var(--color-primary);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: opacity 0.2s;
}

.legal-page__body a:hover {
    opacity: 0.75;
}

.legal-page__body blockquote {
    border-left: 3px solid var(--color-primary);
    background: rgba(83,19,20,0.03);
    margin: clamp(16px, 2vw, 24px) 0;
    padding: clamp(14px, 1.5vw, 20px) clamp(16px, 2vw, 24px);
    border-radius: 0 8px 8px 0;
    font-style: italic;
    color: #555;
}

.legal-page__body table {
    width: 100%;
    border-collapse: collapse;
    margin: clamp(16px, 2vw, 24px) 0;
    font-size: clamp(14px, 1.1vw, 15.5px);
}

.legal-page__body table th,
.legal-page__body table td {
    border: 1px solid #e5e5e5;
    padding: 10px 14px;
    text-align: left;
}

.legal-page__body table th {
    background: rgba(83,19,20,0.06);
    color: var(--color-primary);
    font-weight: 600;
}

.legal-page__body table tr:nth-child(even) td {
    background: #fafafa;
}

@media (max-width: 768px) {
    .legal-page__content {
        border-radius: 12px;
        padding: 24px 18px;
    }

    .legal-page__icon {
        width: 56px;
        height: 56px;
        border-radius: 12px;
    }

    .legal-page__icon svg {
        width: 28px;
        height: 28px;
    }
}

/* Project List Pagination */
.all-projects-news__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: clamp(8px, 1.4vw, 16px);
    margin-top: clamp(28px, 4vw, 40px);
}

.pagination__btn {
    width: clamp(38px, 4vw, 48px);
    height: clamp(38px, 4vw, 48px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #323232;
    font-family: var(--font-text);
    font-size: clamp(14px, 1.2vw, 16px);
    font-weight: 500;
    line-height: 1.5;
    background: #f0f0f0;
    cursor: pointer;
    transition: all var(--transition-fast);
}

    .pagination__btn:hover {
        background: var(--color-accent);
        color: var(--color-primary);
    }

.pagination__btn--active {
    background: var(--color-accent);
    color: var(--color-primary);
}

.pagination__btn--next,
.pagination__btn--prev {
    background: #f0f0f0;
}

/* ============================================
   PAGE: PROJECT DETAIL — HERO BANNER
   ============================================ */

.project-hero-banner {
    position: relative;
    width: 100%;
    min-height: clamp(280px, 36vw, 370px);
    background: url(/assets/images/project-hero-bg.png) center center / cover no-repeat;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding-top: 88px;
}

.project-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 15, 40, 0.5) 0%,
        rgba(0, 15, 40, 0.18) 45%,
        rgba(0, 15, 40, 0.06) 100%
    );
}

.project-hero-banner .container {
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.project-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    margin: 0 auto;
}

.project-hero-breadcrumb {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 6px 8px;
    font-size: 14px;
    margin-bottom: clamp(12px, 2vw, 20px);
    line-height: 1.5;
}

.project-hero-breadcrumb a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.2s;
    white-space: nowrap;
}

.project-hero-breadcrumb a:hover {
    color: #fff;
}

.project-hero-breadcrumb span {
    color: rgba(255, 255, 255, 0.5);
}

.project-hero-breadcrumb .current {
    color: #fff;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.project-hero-title {
    font-family: var(--font-text);
    color: #fff;
    font-size: clamp(28px, 4vw, 2.5rem);
    font-weight: 600;
    line-height: 1.25;
    margin: 0 0 clamp(8px, 1.2vw, 14px);
}

.project-hero-subtitle {
    color: rgba(255, 255, 255, 0.85);
    font-size: clamp(15px, 1.3vw, 18px);
    font-family: var(--font-text);
    line-height: 1.6;
    max-width: 640px;
    margin: 0;
}

/* ============================================
   PROJECT GALLERY SLIDER
   ============================================ */

.prj-gallery {
    margin-bottom: clamp(24px, 3vw, 36px);
}

.prj-gallery__main {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: #f1f5f9;
}

.prj-gallery__swiper {
    width: 100%;
}

.prj-gallery__slide {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f1f5f9;
    max-height: 360px;
    min-height: 200px;
}

.prj-gallery__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
    max-height: 360px;
}

/* Nav buttons */
.prj-gallery__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #334155;
    font-size: 14px;
    transition: background 0.2s, box-shadow 0.2s;
    backdrop-filter: blur(4px);
}

.prj-gallery__nav:hover {
    background: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.prj-gallery__prev {
    left: 12px;
}

.prj-gallery__next {
    right: 12px;
}

/* Counter */
.prj-gallery__counter {
    position: absolute;
    bottom: 12px;
    right: 16px;
    z-index: 10;
    background: rgba(0, 0, 0, 0.55);
    color: #fff;
    font-size: 13px;
    font-weight: 500;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    backdrop-filter: blur(4px);
}

/* Thumbs row */
.prj-gallery__thumbs {
    margin-top: 10px;
}

.prj-gallery__thumbs .swiper-wrapper {
    display: flex;
    gap: 0;
}

.prj-gallery__thumb {
    width: 80px !important;
    height: 56px;
    flex-shrink: 0;
    border-radius: 8px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.55;
    transition: opacity 0.2s, border-color 0.2s;
    margin-right: 8px;
}

.prj-gallery__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.prj-gallery__thumb:hover {
    opacity: 0.85;
}

.prj-gallery__thumbs .swiper-slide-thumb-active {
    opacity: 1;
    border-color: var(--color-primary, #2563eb);
}

/* Responsive */
@media (max-width: 768px) {
    .prj-gallery__slide {
        max-height: 260px;
        min-height: 160px;
    }

    .prj-gallery__slide img {
        max-height: 260px;
    }

    .prj-gallery__nav {
        width: 32px;
        height: 32px;
        font-size: 12px;
    }

    .prj-gallery__prev { left: 8px; }
    .prj-gallery__next { right: 8px; }

    .prj-gallery__thumb {
        width: 60px !important;
        height: 42px;
    }
}

@media (max-width: 480px) {
    .prj-gallery__slide {
        max-height: 200px;
        min-height: 120px;
    }

    .prj-gallery__slide img {
        max-height: 200px;
    }

    .prj-gallery__thumb {
        width: 50px !important;
        height: 36px;
        border-radius: 6px;
    }

    .prj-gallery__counter {
        font-size: 11px;
        padding: 3px 10px;
    }
}

/* ============================================
   PAGE: PROJECT DETAIL
   ============================================ */

.project-detail-main {
    padding: clamp(32px, 5vw, 64px) 0 clamp(48px, 6vw, 80px);
    background: var(--color-bg-white);
}

.project-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 340px);
    gap: clamp(32px, 4vw, 48px);
    align-items: flex-start;
}

/* SECTION */
.project-detail-header {
    border-radius: 16px;
    background-color: #fafafa;
    padding: clamp(20px, 2.4vw, 24px) clamp(20px, 3vw, 32px);
    margin-bottom: clamp(24px, 3vw, 32px);
}

/* TITLE */
.project-detail-title {
    font-family: var(--font-text);
    color: #252525;
    font-size: clamp(32px, 4vw, 50px);
    font-weight: 500;
    line-height: 1.3;
    margin-bottom: clamp(8px, 1vw, 10px);
}

/* INTRO */
.project-detail-intro {
    color: #323232;
    font-size: clamp(16px, 1.3vw, 18px);
    font-family: var(--font-text);
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: clamp(14px, 1.6vw, 18px);
}

/* DIVIDER */
.project-detail-divider {
    height: 0.5px;
    background: #ccc;
    margin-bottom: clamp(14px, 1.6vw, 18px);
}

/* INFO LIST */
.project-detail-info {
    display: flex;
    flex-direction: column;
    gap: clamp(10px, 1.4vw, 16px);
}

/* ROW */
.project-detail-row {
    color: #323232;
    font-family: var(--font-text);
    font-size: clamp(15px, 1.3vw, 18px);
    font-style: normal;
    line-height: 1.5;
}

    /* LABEL */
    .project-detail-row .label {
        font-weight: 500;
        margin-right: 6px;
    }

    /* VALUE */
    .project-detail-row .value {
        font-weight: 400;
    }

/* Project Section */
/* Rich content inside project body — fixed font sizes, override editor inline styles */
.project-section {
    margin-bottom: 28px;
    font-family: var(--font-text);
    font-size: 16px;
    color: #334155;
    line-height: 1.7;
    word-break: break-word;
}

    /* Headings */
    .project-section h1 {
        font-size: 32px !important;
        font-weight: 700;
        color: #0f172a;
        line-height: 1.3;
        margin: 36px 0 12px;
    }

    .project-section h2 {
        font-size: 26px !important;
        font-weight: 600;
        color: #1e293b;
        line-height: 1.35;
        margin: 28px 0 10px;
    }

    .project-section h3 {
        font-size: 22px !important;
        font-weight: 600;
        color: #1e293b;
        line-height: 1.4;
        margin: 24px 0 8px;
    }

    .project-section h4 {
        font-size: 19px !important;
        font-weight: 600;
        color: #334155;
        line-height: 1.4;
        margin: 20px 0 8px;
    }

    .project-section h5 {
        font-size: 17px !important;
        font-weight: 600;
        color: #334155;
        line-height: 1.4;
        margin: 18px 0 6px;
    }

    .project-section h6 {
        font-size: 15px !important;
        font-weight: 600;
        color: #475569;
        line-height: 1.4;
        margin: 16px 0 6px;
    }

    /* Body text — override editor inline font-size */
    .project-section p,
    .project-section a,
    .project-section span,
    .project-section strong,
    .project-section b,
    .project-section em,
    .project-section i,
    .project-section u {
        font-size: 16px !important;
    }

    /* Paragraphs */
    .project-section p {
        color: #475569;
        line-height: 1.7;
        margin: 0 0 14px;
    }

    /* Links */
    .project-section a {
        color: var(--color-primary, #2563eb);
        text-decoration: none;
        font-weight: 500;
        border-bottom: 1px solid transparent;
        transition: border-color 0.2s, color 0.2s;
    }

    .project-section a:hover {
        color: #1d4ed8;
        border-bottom-color: currentColor;
    }

    /* Strong / Bold */
    .project-section strong,
    .project-section b {
        font-weight: 600;
        color: #1e293b;
    }

    /* Lists */
    .project-section ul,
    .project-section ol {
        list-style: none;
        padding-left: 0;
        margin: 0 0 16px;
    }

    .project-section ul li,
    .project-section ol li {
        position: relative;
        padding-left: 20px;
        margin-bottom: 4px;
        font-size: 16px !important;
        line-height: 1.7;
        color: #475569;
    }

    .project-section ul li:last-child,
    .project-section ol li:last-child {
        margin-bottom: 0;
    }

    .project-section ul li p,
    .project-section ol li p {
        margin: 0;
    }

    .project-section ul li::before,
    .project-section ol li::before {
        content: "";
        position: absolute;
        left: 0;
        top: 10px;
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--color-primary, #2563eb);
    }

    /* Images */
    .project-section img {
        max-width: 100%;
        height: auto;
        border-radius: 10px;
        margin: 16px 0;
        display: block;
        transition: transform 0.3s, box-shadow 0.3s;
    }

    .project-section img:hover {
        transform: scale(1.01);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    }

    /* Blockquote */
    .project-section blockquote {
        margin: 20px 0;
        padding: 16px 20px;
        border-left: 3px solid var(--color-primary, #2563eb);
        background: #f8fafc;
        border-radius: 0 8px 8px 0;
        color: #475569;
        font-size: 16px !important;
        font-style: italic;
    }

    /* Tables */
    .project-section table {
        width: 100%;
        border-collapse: collapse;
        margin: 16px 0;
        font-size: 15px !important;
    }

    .project-section th,
    .project-section td {
        padding: 10px 14px;
        border: 1px solid #e2e8f0;
        text-align: left;
        font-size: 15px !important;
    }

    .project-section th {
        background: #f1f5f9;
        font-weight: 600;
        color: #1e293b;
    }

    .project-section tr:hover td {
        background: #f8fafc;
    }

    /* Code */
    .project-section code {
        background: #f1f5f9;
        padding: 2px 6px;
        border-radius: 4px;
        font-size: 14px !important;
        color: #e11d48;
    }

    .project-section pre {
        background: #1e293b;
        color: #e2e8f0;
        padding: 16px 20px;
        border-radius: 8px;
        overflow-x: auto;
        margin: 16px 0;
        font-size: 14px !important;
        line-height: 1.6;
    }

    .project-section pre code {
        background: none;
        color: inherit;
        padding: 0;
    }

    /* Divider */
    .project-section hr {
        border: none;
        height: 1px;
        background: #e2e8f0;
        margin: 28px 0;
    }

.project-content-divider {
    height: 1px;
    background: #ccc;
    margin-bottom: clamp(24px, 3vw, 32px);
}

/* Tech & Feature Lists */
.tech-list,
.feature-list,
.feature-category,
.feature-category ul {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

    .tech-list li,
    .feature-list li {
        display: flex;
        align-items: center;
        gap: clamp(8px, 1vw, 10px);
        color: #323232;
        text-align: justify;
        font-family: var(--font-text);
        font-size: clamp(15px, 1.3vw, 18px);
        font-weight: 400;
        line-height: 1.4;
    }

        .tech-list li::before,
        .feature-list li::before {
            content: "";
            width: 6px;
            height: 6px;
            border-radius: 50%;
            background: #323232;
            flex-shrink: 0;
        }

.feature-list {
    gap: clamp(24px, 3vw, 40px);
}

    .feature-list li {
        margin-left: 12px;
    }

/* Process Timeline */
.process-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
    padding-left: clamp(16px, 2vw, 20px);
    border-left: 2px solid var(--color-border);
}

.timeline-step {
    display: flex;
    gap: clamp(12px, 1.4vw, 16px);
    padding-bottom: clamp(14px, 1.6vw, 16px);
    position: relative;
}

.timeline-marker {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-accent);
    border: 3px solid var(--color-bg-white);
    position: absolute;
    left: -28px;
    top: 4px;
    flex-shrink: 0;
}

.timeline-content h3 {
    font-size: clamp(18px, 1.8vw, 24px);
    font-family: var(--font-text);
    margin-bottom: 4px;
}

.timeline-content p {
    color: #323232;
    text-align: justify;
    font-family: var(--font-text);
    font-size: clamp(15px, 1.3vw, 18px);
    font-weight: 400;
    line-height: 1.4;
    opacity: 0.6;
    margin: 8px 0 12px;
}

/* Result Metrics */
.result-metrics {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: clamp(14px, 2vw, 20px);
    margin: clamp(18px, 2vw, 24px) 0;
}

.result-metric {
    text-align: center;
    display: flex;
    flex-direction: column;
    gap: 4px;
    align-items: center;
    padding: clamp(12px, 1.6vw, 16px);
    border-radius: 12px;
    background: #fafafa;
}

.result-metric-value {
    color: var(--color-primary);
    font-family: var(--font-text);
    font-size: clamp(30px, 3vw, 40px);
    font-weight: 700;
    line-height: 1.5;
}

.result-metric-label {
    color: #323232;
    font-family: var(--font-text);
    font-size: clamp(15px, 1.4vw, 20px);
    font-weight: 500;
    line-height: 1.5;
}

/* Testimonial */
.project-testimonial {
    padding: clamp(20px, 2.4vw, 24px) clamp(20px, 3vw, 32px);
    border-radius: 8px;
    background-color: #fafafa;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: clamp(20px, 3vw, 32px);
    align-items: center;
    justify-items: center;
}

.testimonial-card {
    position: relative;
}

    .testimonial-card .testimonial-quote-icon {
        position: absolute;
        z-index: -1;
        top: -12px;
        left: clamp(-40px, -4vw, -56px);
        width: clamp(70px, 8vw, 103px);
        height: auto;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .testimonial-card blockquote {
        font-style: italic;
        line-height: 1.8;
        color: var(--color-text-body);
        margin-bottom: clamp(12px, 1.4vw, 16px);
    }

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 12px;
}

.testimonial-avatar {
    width: clamp(40px, 4vw, 48px);
    height: clamp(40px, 4vw, 48px);
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

    .testimonial-avatar img {
        width: 100%;
        height: 100%;
        margin: 0;
        object-fit: cover;
        object-position: center;
        display: block;
        aspect-ratio: 1/1;
    }

.testimonial-author .testimonial-name {
    color: #000;
    font-family: var(--font-text);
    font-size: clamp(16px, 1.3vw, 18px);
    font-weight: 700;
    line-height: 1.5;
    margin-bottom: 2px;
}

.testimonial-author .testimonial-position {
    color: #323232;
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    margin-bottom: 0;
}

/* WRAPPER */
.project-news-detail-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: clamp(24px, 3vw, 32px);
    flex-wrap: wrap;
    gap: 16px;
}

/* TAGS */
.project-news-detail-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

/* TAG */
.project-news-detail-tag {
    background-color: #f0f0f0;
    font-family: var(--font-text);
    font-size: 14px;
    font-weight: 500;
    line-height: 20px;
    padding: 4px clamp(12px, 1.4vw, 18px);
    border-radius: 100px;
    white-space: nowrap;
}

    .project-news-detail-tag:hover {
        background-color: var(--color-accent);
        color: var(--color-primary);
    }

/* NEXT LINK */
.project-news-detail-next {
    color: var(--color-primary);
    font-family: var(--font-text);
    font-size: clamp(16px, 1.4vw, 20px);
    font-weight: 500;
    line-height: 1.5;
    display: flex;
    align-items: center;
    gap: clamp(8px, 1vw, 12px);
    transition: all 0.25s ease;
}

/* Project CTA Banner */
.project-cta-banner {
    margin-top: clamp(40px, 5vw, 64px);
    background-color: var(--color-accent);
    padding: clamp(24px, 4vw, 40px);
    border-radius: 16px;
}

    .project-cta-banner .container {
        padding: 0;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: clamp(20px, 3vw, 24px);
    }

    .project-cta-banner .project-cta-text {
        display: flex;
        flex-direction: column;
        gap: 4px;
    }

        .project-cta-banner .project-cta-text h2 {
            color: var(--color-primary);
            font-family: var(--font-text);
            font-size: clamp(24px, 2.4vw, 32px);
            font-weight: 600;
            line-height: 1.5;
        }

        .project-cta-banner .project-cta-text p {
            color: #323232;
            font-family: var(--font-text);
            font-size: clamp(15px, 1.4vw, 20px);
            font-weight: 400;
            line-height: 1.5;
        }

    .project-cta-banner .btn-primary {
        border: 1.5px solid var(--color-primary);
    }

/* ============================================
   PROJECT DETAIL — SIDEBAR (redesign)
   ============================================ */

.prj-sidebar {
    position: sticky;
    top: 96px;
}

/* Header */
.prj-sidebar__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: clamp(14px, 1.6vw, 18px);
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

    .prj-sidebar__header::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: -1px;
        width: 44px;
        height: 2px;
        background: var(--color-accent);
        border-radius: 2px;
    }

.prj-sidebar__title {
    font-family: var(--font-text);
    font-size: clamp(15px, 1.1vw, 17px);
    font-weight: 700;
    color: #0f172a;
    margin: 0;
    line-height: 1.3;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.prj-sidebar__viewall {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 12px;
    font-weight: 600;
    color: var(--color-primary);
    text-decoration: none;
    transition: gap 0.2s ease, color 0.2s ease;
    white-space: nowrap;
}

    .prj-sidebar__viewall:hover {
        gap: 8px;
        color: #7c2e30;
    }

/* Card list */
.prj-sidebar__list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

/* Card — vertical layout, ảnh to trên + info dưới */
.prj-sidebar__card {
    position: relative;
    display: flex;
    flex-direction: column;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #eef0f3;
    text-decoration: none;
    overflow: hidden;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

    .prj-sidebar__card:hover {
        border-color: #d8dde5;
        box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
        transform: translateY(-3px);
    }

/* Thumb — ảnh lớn, ratio 16:10 */
.prj-sidebar__thumb {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #f1f5f9;
}

    .prj-sidebar__thumb::after {
        content: "";
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0) 45%, rgba(0, 0, 0, 0.55) 100%);
        pointer-events: none;
    }

    .prj-sidebar__thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.5s ease;
    }

.prj-sidebar__card:hover .prj-sidebar__thumb img {
    transform: scale(1.06);
}

/* Tags overlay trên ảnh */
.prj-sidebar__tags-overlay {
    position: absolute;
    bottom: 10px;
    left: 10px;
    z-index: 2;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

    .prj-sidebar__tags-overlay span {
        font-family: var(--font-text);
        font-size: 11px;
        font-weight: 600;
        color: #fff;
        background: rgba(255, 255, 255, 0.16);
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        border: 1px solid rgba(255, 255, 255, 0.28);
        padding: 4px 10px;
        border-radius: 999px;
        line-height: 1.3;
    }

/* Body */
.prj-sidebar__body {
    flex: 1;
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

/* Name */
.prj-sidebar__name {
    font-family: var(--font-text);
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.45;
    margin: 0;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    transition: color 0.2s ease;
}

.prj-sidebar__card:hover .prj-sidebar__name {
    color: var(--color-primary);
}

/* Client meta */
.prj-sidebar__meta {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: #64748b;
    line-height: 1;
}

    .prj-sidebar__meta svg {
        color: #94a3b8;
        flex-shrink: 0;
    }

/* Arrow — floating badge ở góc trên ảnh, chỉ hiện khi hover */
.prj-sidebar__arrow {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 3;
    width: 32px;
    height: 32px;
    padding: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.94);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    color: var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: translateX(-6px);
    transition: opacity 0.25s ease, transform 0.25s ease, background 0.2s ease, color 0.2s ease;
}

.prj-sidebar__card:hover .prj-sidebar__arrow {
    opacity: 1;
    transform: translateX(0);
    background: var(--color-primary);
    color: var(--color-accent);
}

/* CTA box — gradient maroon với highlight gold, button accent */
.prj-sidebar__cta {
    margin-top: 18px;
    padding: 22px 18px;
    border-radius: 14px;
    background: linear-gradient(135deg, #531314 0%, #3a0a0b 100%);
    color: #fff;
    text-align: center;
    position: relative;
    overflow: hidden;
}

    .prj-sidebar__cta::before {
        content: "";
        position: absolute;
        top: -50px;
        right: -50px;
        width: 160px;
        height: 160px;
        background: radial-gradient(circle, rgba(252, 209, 121, 0.28) 0%, transparent 70%);
        pointer-events: none;
    }

    .prj-sidebar__cta > * {
        position: relative;
        z-index: 1;
    }

.prj-sidebar__cta-icon {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(252, 209, 121, 0.16);
    color: var(--color-accent);
    border: 1px solid rgba(252, 209, 121, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
}

.prj-sidebar__cta-text {
    font-family: var(--font-text);
    font-size: 13.5px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.55;
    margin: 0 0 16px;
}

.prj-sidebar__cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 24px;
    font-size: 13px;
    font-weight: 700;
    color: var(--color-primary);
    background: var(--color-accent);
    border-radius: 999px;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

    .prj-sidebar__cta-btn:hover {
        background: #fde0a0;
        transform: translateY(-2px);
        box-shadow: 0 8px 20px rgba(252, 209, 121, 0.45);
    }
/*
.project-detail-form-section {
  margin-top: 32px;
  padding: 32px 20px 40px 20px;
  display: flex;
  gap: 60px;
  align-items: center;
  border-radius: 16px;
  background-color: var(--color-primary);
}

.project-detail-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
  align-items: center;
}

.project-detail-form-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.project-detail-form-title {
  color: var(--color-accent);
  font-family: var(--font-text);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.5;
}

.project-detail-form-desc {
  text-align: center;
  color: var(--color-text-white);
  font-family: var(--font-text);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
}

.project-detail-form-box {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  align-self: stretch;
  margin-bottom: 0;
}

.project-detail-form-box label {
  color: #f0f0f0;
  font-family: var(--font-text);
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  margin-bottom: 0;
}

.project-detail-form-box input {
  width: 100%;
  border: none;
  border-radius: 48px;
  background: var(--color-bg-white);
  padding: 11px 12px 11px 20px;
  font-size: 16px;
  outline: none;
}

.project-detail-form-btn {
  width: 100%;
  margin-top: 16px;
  background: var(--color-accent);
  color: var(--color-primary);
  font-family: var(--font-text);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  border: none;
  border-radius: 100px;
  padding: 8.5px 20px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.project-detail-form-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
} */

/* ============================================
   RESPONSIVE - INNER PAGES
   ============================================ */
@media (max-width: 1024px) {
    .hero::after {
        display: none;
    }

    .hero > img.hero-boat-decor {
        top: 0;
        right: 0;
        bottom: auto;
        width: clamp(200px, 38vw, 360px);
        max-width: 40%;
        opacity: 0.35;
    }

    .news-hero {
        padding: 40px 0;
    }

    .news-hero-intro {
        margin-bottom: 28px;
    }

    .news-hero-title {
        font-size: clamp(2.5rem, 2vw, 3.5rem);
    }

    .news-hero-content {
        display: grid;
        grid-template-columns: 1fr;
        gap: 18px;
        height: auto;
    }

    .news-hero-card {
        min-height: auto;
    }

    .news-hero-card-image {
        min-height: 260px;
    }

    .news-hero-card-overlay {
        padding: 16px;
    }

    .news-hero-small {
        display: grid;
        grid-template-columns: 1fr 1fr;
        grid-template-rows: none;
        gap: 14px;
    }

        .news-hero-small .news-hero-card-image {
            aspect-ratio: 16 / 9;
            min-height: 0;
        }

    .news-latest {
        /* padding: 64px 0; */
        padding: calc(72px + 40px) 0 48px;
    }

    .news-latest-card {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 36px;
    }

    .news-latest-title {
        font-size: 34px;
    }

    .news-all {
        padding: 64px 0;
    }

        .news-all .news-grid {
            column-gap: 20px;
            row-gap: 32px;
        }

    .news-all-intro {
        gap: 20px;
        margin-bottom: 44px;
    }

    .news-all-intro-title {
        font-size: clamp(40px, 4vw, 50px);
    }

    .news-filter-tabs {
        overflow-x: auto;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 4px;
    }

    .news-grid .news-card-title {
        font-size: 20px;
    }

    .news-grid .news-card-desc {
        font-size: 14px;
    }

    .news-detail-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .article-sidebar {
        position: static;
        top: auto;
    }

    .news-detail {
        padding: calc(72px + 64px) 0 64px;
    }

    .article-title {
        font-size: 42px;
    }

    .sidebar-articles {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .sidebar-article-item {
        grid-template-columns: 100px minmax(0, 1fr);
        gap: 12px;
        padding: 10px;
    }

    .sidebar-article-info .sidebar-article-title {
        font-size: 14px;
        -webkit-line-clamp: 2;
    }

    .sidebar-article-info .sidebar-article-desc {
        font-size: 12.5px;
    }

    .pg-projects-hero .container {
        grid-template-columns: 1fr;
        gap: 32px;
        text-align: center;
    }

    .pg-projects-hero__content .line {
        margin-left: auto;
        margin-right: auto;
    }

    .pg-projects-hero__stats {
        justify-content: center;
    }

    .pg-projects-hero__visual {
        /* order: -1; */
        justify-content: center;
    }

    .pg-projects-hero__mockup {
        width: min(100%, 560px);
    }

    .pg-projects-hero {
        padding: calc(72px + 56px) 0 56px;
    }

    /* === Project Index hero: ép __content + __visual stack trên/dưới full width (override flex desktop) === */
    .pg-projects-hero .container {
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        width: 100%;
        max-width: 100%;
        flex: 1 1 auto;
        min-width: 0;
    }

    .pg-projects-hero__content {
        width: 100%;
        max-width: 100%;
    }

    .pg-projects-hero__visual {
        position: relative;
        right: auto;
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
        min-height: 0;
        height: auto;
    }

        .pg-projects-hero__visual .swiper-slide {
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .pg-projects-hero__visual img {
            position: relative;
            right: auto;
            width: 100%;
            height: auto;
            max-width: 100%;
            margin: 0 auto;
            display: block;
            object-fit: contain;
            object-position: center;
        }

    .project-filter-box {
        position: static;
        bottom: auto;
        left: auto;
        right: auto;
        margin-top: 8px;
        padding: 28px 24px;
    }

    .filter-input {
        flex: auto;
    }

    #service-filter-form {
        grid-template-columns: minmax(0, 1fr) minmax(180px, 260px) max-content;
    }

    .filter-row-bottom {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .featured-carousel {
        padding: 64px 0;
    }

    .latest-projects,
    .all-projects {
        padding: 64px 0;
    }

    .featured-carousel__track {
        grid-template-columns: repeat(3, 1fr);
    }

    .latest-projects__grid {
        grid-template-columns: 1fr;
    }

    .all-projects__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 28px 24px;
    }

    .project-detail-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .prj-sidebar {
        position: static;
        top: auto;
    }

    .project-hero-banner {
        min-height: 260px;
    }

    .project-detail-main {
        padding: 40px 0 64px;
    }

    .project-detail-header {
        padding: 24px;
    }

    .result-metrics {
        grid-template-columns: repeat(3, 1fr);
    }

    .prj-sidebar__list {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    /* === Project Detail responsive bổ sung — tablet === */
    .project-hero-banner {
        padding-top: 80px;
    }

    .prj-gallery__slide {
        max-height: 320px;
    }

        .prj-gallery__slide img {
            max-height: 320px;
        }

    .project-cta-banner .container {
        gap: 16px;
    }

    .prj-sidebar__cta {
        margin-top: 24px;
    }

    /* === FIX overflow .project-detail-content khi grid stack === */
    .project-detail-content {
        min-width: 0;
        width: 100%;
    }

        .project-detail-content > * {
            max-width: 100%;
        }

    .prj-gallery,
    .prj-gallery__main,
    .prj-gallery__swiper {
        width: 100%;
        max-width: 100%;
    }

    .project-section iframe,
    .project-section video,
    .project-section embed,
    .project-section object {
        max-width: 100%;
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
        border: 0;
        border-radius: 12px;
    }

    .project-section table {
        display: block;
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media (max-width: 768px) {
    .pg-projects-hero {
        padding: calc(72px + 40px) 0 40px;
    }

        .pg-projects-hero .container {
            gap: 28px;
        }

    .pg-projects-hero__title {
        font-size: clamp(32px, 7vw, 42px);
    }

    .news-hero {
        padding: 32px 0;
    }

    .news-hero-intro {
        margin-bottom: 22px;
    }

    .news-hero-title {
        font-size: clamp(2rem, 6vw, 3rem);
        margin-bottom: 14px;
    }

    .news-hero-card-image {
        min-height: 220px;
    }

    .news-hero-card-overlay {
        padding: 14px;
    }

    .news-hero-small {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 12px;
    }

        .news-hero-small .news-hero-card-image {
            aspect-ratio: 16 / 9;
            min-height: 0;
        }

    .news-hero-card-title {
        font-size: 17px;
        line-height: 1.5;
    }

    .news-hero-small .news-hero-card-title {
        font-size: 16px;
        line-height: 1.45;
    }

    .news-hero-card-desc {
        font-size: 13px;
    }

    .news-latest {
        /* padding: 56px 0; */
        padding: calc(72px + 32px) 0 40px;
    }

    .news-latest-intro-title {
        font-size: clamp(32px, 7vw, 42px);
        margin-bottom: 14px;
    }

    .news-latest-card {
        gap: 28px;
        padding: 28px;
        margin-top: 32px;
    }

    .news-latest-title {
        font-size: clamp(26px, 5vw, 32px);
    }

    .news-latest-desc {
        text-align: left;
    }

    .news-latest-content .btn {
        margin-top: 14px;
    }

    .news-all {
        padding: 56px 0;
    }

    .news-all-intro {
        flex-direction: column;
        align-items: flex-start;
        gap: 18px;
        margin-bottom: 36px;
    }

    .news-all-intro-title {
        width: 100%;
        font-size: clamp(32px, 7vw, 42px);
    }

    .news-search-form {
        width: 100%;
    }

    .news-filter-scroll,
    .news-filter-tabs {
        width: 100%;
        max-width: 100%;
    }

    .news-all .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 18px;
        row-gap: 28px;
    }

    .news-grid .news-card {
        gap: 12px;
    }

    .news-grid .news-card-title {
        font-size: 18px;
        line-height: 1.55;
        min-height: 3.1em;
        -webkit-line-clamp: 2;
    }

    .news-grid .news-card-date {
        font-size: 13px;
    }

    .news-grid .news-card-desc {
        font-size: 13px;
        line-height: 1.45;
    }

    .all-projects-news__pagination {
        margin-top: 32px;
    }

    .news-detail {
        padding: calc(72px + 48px) 0 56px;
    }

    .article-title {
        font-size: 36px;
        line-height: 1.25;
    }

    .article-body p {
        font-size: 16px;
    }

    .article-body h2 {
        font-size: 26px;
        line-height: 1.35;
    }

    .sidebar-articles {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .pg-projects-hero__desc {
        font-size: clamp(1rem, 0.9rem + 1vw, 1.25rem);
        margin-bottom: 24px;
    }

    .pg-projects-hero__stats {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 16px;
    }

    .pg-projects-hero__content .line {
        margin-bottom: 24px;
    }

    .project-filter-box {
        padding: 24px 20px;
    }

    .filter-row,
    .filter-row-bottom {
        gap: 12px;
    }

    .filter-row-bottom {
        grid-template-columns: 1fr;
    }

    #service-filter-form {
        grid-template-columns: minmax(0, 1fr) max-content;
    }

        #service-filter-form .filter-row-top {
            grid-column: 1 / -1;
        }

    .hero-stat-item {
        width: auto;
        border-right: none;
        padding-right: 0;
    }

    .featured-carousel,
    .latest-projects,
    .all-projects {
        padding: 56px 0;
    }

        .featured-carousel .line,
        .all-projects .line {
            margin-bottom: 36px;
        }

    .latest-header {
        gap: 18px;
    }

    .latest-card {
        gap: 18px;
        padding: 14px;
    }

    .latest-img {
        width: 250px;
        height: auto;
        aspect-ratio: 4 / 3;
    }

    .latest-tags span {
        padding: 4px 14px;
        font-size: 12px;
    }

    .latest-content h3 {
        font-size: clamp(1.1rem, 0.95rem + 0.65vw, 1.35rem);
        line-height: 1.3;
    }

    .latest-content p {
        font-size: 14px;
        line-height: 1.5;
        -webkit-line-clamp: 3;
    }

    .featured-carousel .section-title,
    .latest-projects .section-title,
    .all-projects .section-title {
        font-size: 30px;
    }

    .latest-prev,
    .latest-next {
        width: 36px;
        height: 36px;
    }

    .filter-btn {
        width: 100%;
    }

    .project-detail-title {
        font-size: 36px;
    }

    .project-detail-intro {
        font-size: 16px;
    }

    .project-detail-row {
        font-size: 16px;
    }

    .project-hero-banner {
        min-height: 220px;
    }

    .project-hero-title {
        font-size: clamp(22px, 5vw, 32px);
    }

    .project-detail-main {
        padding: 32px 0 56px;
    }

    .project-detail-header {
        padding: 22px 20px;
        margin-bottom: 28px;
    }

    .tech-list li,
    .feature-list li,
    .timeline-content p {
        font-size: 16px;
    }

    .result-metrics {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 12px;
    }

    .result-metric {
        padding: 14px 10px;
    }

    .result-metric-value {
        font-size: 28px;
    }

    .result-metric-label {
        font-size: 14px;
    }

    .project-testimonial {
        grid-template-columns: 1fr;
        text-align: left;
    }

    .project-cta-banner .container {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-cta-banner .btn-primary {
        width: 100%;
    }

    .prj-sidebar__list {
        grid-template-columns: 1fr;
    }

    .project-news-detail-footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .project-news-detail-next {
        margin-top: 8px;
    }

    /* === Project Detail responsive bổ sung — phone landscape / tablet nhỏ === */
    .project-hero-banner {
        padding-top: 80px;
    }

    .prj-gallery {
        margin-bottom: 24px;
    }

    .project-news-detail-next {
        font-size: 15px;
    }

    .prj-sidebar__header {
        padding-bottom: 10px;
    }

    .project-cta-banner .container {
        gap: 14px;
    }

    /* === Defensive: chống nội dung body HTML đẩy article tràn === */
    .project-detail-content {
        overflow-x: clip;
    }

    .project-news-detail-tags {
        width: 100%;
    }

    .project-news-detail-tag {
        white-space: normal;
        word-break: break-word;
    }
}

@media (max-width: 640px) {
    .news-detail {
        padding: 20px 0 0 0;
    }

    .news-detail-grid {
        gap: 32px;
    }

    .article-title {
        font-size: 30px;
    }

    .article-body h2 {
        font-size: 24px;
    }

    .article-body p {
        text-align: left;
    }

    .sidebar-heading {
        font-size: 14px;
    }

    .sidebar-articles {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sidebar-article-item {
        grid-template-columns: 96px minmax(0, 1fr);
        gap: 12px;
        padding: 10px;
    }

    .sidebar-article-info .sidebar-article-title {
        font-size: 14px;
    }

    .project-hero-banner {
        min-height: 200px;
    }

    .project-hero-breadcrumb {
        font-size: 12px;
        gap: 6px;
    }

    .project-detail-main {
        padding: 28px 0 48px;
    }

    .project-detail-layout {
        gap: 32px;
    }

    .project-detail-header {
        padding: 18px;
        border-radius: 14px;
        margin-bottom: 24px;
    }

    .project-detail-title {
        font-size: 30px;
        line-height: 1.25;
    }

    .project-detail-info {
        gap: 10px;
    }

    .project-detail-row {
        display: flex;
        gap: 2px;
    }

    .project-section {
        margin-bottom: 24px;
    }

        .project-section p {
            text-align: left;
        }

    .project-content-divider {
        margin-bottom: 24px;
    }

    .feature-list {
        gap: 20px;
    }

    .timeline-content h3 {
        font-size: 18px;
    }

    .result-metrics {
        grid-template-columns: 1fr;
    }

    .result-metric-value {
        font-size: 30px;
    }

    .project-testimonial {
        padding: 18px;
    }

    .testimonial-card .testimonial-quote-icon {
        left: 0;
        top: -20px;
        opacity: 0.25;
    }

    .testimonial-author {
        align-items: flex-start;
    }

    .project-news-detail-footer {
        gap: 14px;
    }

    .project-news-detail-tags {
        gap: 6px;
    }

    .project-news-detail-tag {
        font-size: 13px;
        padding: 4px 12px;
    }

    .project-cta-banner {
        margin-top: 40px;
        padding: 22px 18px;
    }

        .project-cta-banner .project-cta-text h2 {
            font-size: 24px;
            line-height: 1.35;
        }

        .project-cta-banner .project-cta-text p {
            font-size: 15px;
        }

    .prj-sidebar__list {
        gap: 16px;
    }

    .prj-sidebar__name {
        font-size: 14px;
    }

    .pg-projects-hero {
        padding: calc(72px + 32px) 0 40px;
    }

    .pg-projects-hero__title {
        font-size: 30px;
    }

    .pg-projects-hero__desc {
        font-size: 15px;
    }

    .pg-projects-hero__content .line {
        width: 88px;
        height: 3px;
        margin-bottom: 24px;
    }

    .pg-projects-hero__mockup {
        width: min(100%, 420px);
    }

    .project-filter-box {
        padding: 20px 16px;
        border-radius: 14px;
    }

    .filter-row,
    .filter-row-top,
    .filter-row-bottom {
        flex-direction: column;
    }

    .filter-input,
    .filter-select,
    .ts-control,
    .filter-btn {
        height: 42px;
        font-size: 15px;
    }

    #service-filter-form {
        grid-template-columns: 1fr;
    }

        #service-filter-form .filter-row-top {
            grid-column: auto;
        }

    .ts-wrapper {
        width: 100%;
    }

    .news-hero {
        padding: 28px 0;
    }

    .news-hero-intro {
        margin-bottom: 20px;
    }

    .news-hero-title {
        font-size: 32px;
    }

    .news-hero-line,
    .news-latest-intro-line {
        width: 88px;
        height: 3px;
    }

    .news-hero-card-image {
        min-height: 200px;
    }

    .news-hero-card-overlay {
        padding: 12px;
    }

    .news-hero-card-title,
    .news-hero-small .news-hero-card-title {
        font-size: 16px;
    }

    .news-hero-card-desc {
        font-size: 12px;
        -webkit-line-clamp: 2;
    }

    .news-latest {
        /* padding: 48px 0; */
        padding: calc(72px + 24px) 0 32px;
    }

    .news-latest-intro-title {
        font-size: 32px;
    }

    .news-latest-card {
        gap: 22px;
        padding: 22px;
        border-radius: 18px;
    }

    .news-latest-content {
        gap: 10px;
    }

    .news-latest-title {
        font-size: 24px;
    }

    .news-latest-date,
    .news-latest-desc {
        font-size: 14px;
    }

    .news-all {
        padding: 48px 0;
    }

    .latest-nav {
        gap: 10px;
    }

    .latest-prev,
    .latest-next {
        width: 40px;
        height: 40px;
    }

    .latest-card {
        flex-direction: column;
        gap: 16px;
        padding: 12px;
    }

    .latest-img {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .latest-content {
        gap: 12px;
    }

        .latest-content h3 {
            font-size: 18px;
        }

        .latest-content p {
            font-size: 13px;
            -webkit-line-clamp: 4;
        }

    .pg-projects-hero__stats {
        grid-template-columns: 1fr;
    }

    .hero-stat-item {
        border-right: none;
        border-bottom: 1px solid #7c2e30;
        padding-bottom: 16px;
    }

        .hero-stat-item:last-child {
            border-bottom: none;
            padding-bottom: 0;
        }

    /* === Override: giữ 3 box stat trên 1 dòng ở phone === */
    .pg-projects-hero__stats {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 10px;
    }

    .hero-stat-item {
        border-bottom: none;
        padding-bottom: 0;
    }

    .hero-stat-number {
        font-size: 24px;
        margin-bottom: 4px;
    }

    .hero-stat-label {
        font-size: 13px;
        line-height: 1.35;
    }

    .news-hero-small {
        display: grid;
        grid-template-columns: 1fr;
        grid-template-rows: none;
        gap: 16px;
    }

    .project-list {
        grid-template-columns: 1fr;
    }

    .featured-carousel,
    .latest-projects,
    .all-projects {
        padding: 48px 0;
    }

        .featured-carousel .section-title,
        .latest-projects .section-title,
        .all-projects .section-title {
            font-size: 30px;
        }

        .featured-carousel .line,
        .all-projects .line {
            width: 88px;
            height: 3px;
            margin-bottom: 28px;
        }

    .latest-header {
        align-items: flex-start;
        gap: 16px;
    }

    .news-all .news-grid {
        column-gap: 14px;
        row-gap: 24px;
    }

    .news-all-intro {
        gap: 16px;
        margin-bottom: 28px;
    }

    .news-all-intro-title {
        font-size: clamp(28px, 8vw, 36px);
    }

    .news-search-form {
        flex-direction: column;
        align-items: stretch;
    }

        .news-search-form .btn {
            width: 100%;
        }

    .news-filter-scroll,
    .news-filter-tabs {
        gap: 6px;
        margin-right: calc(var(--container-padding) * -1);
        max-width: calc(100% + var(--container-padding));
    }

    .filter-tab {
        padding: 7px 16px;
        font-size: 14px;
        white-space: nowrap;
    }

    .news-grid .news-card {
        border-radius: 14px;
    }

    .news-grid .news-card-title {
        font-size: 15px;
    }

    .news-grid .news-card-desc {
        font-size: 12px;
    }

    .all-projects-news__pagination {
        gap: 8px;
        margin-top: 28px;
    }

    .pagination__btn {
        width: 38px;
        height: 38px;
        font-size: 14px;
    }

    .featured-carousel__track {
        grid-template-columns: repeat(2, 1fr);
    }

    .all-projects__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .project-grid-card__title {
        font-size: 15px;
    }

    .project-grid-card__desc {
        font-size: 12px;
    }

    .result-metrics {
        grid-template-columns: 1fr;
    }

    /* === Project Detail responsive bổ sung — phone === */
    .project-hero-banner {
        padding-top: 76px;
    }

    .prj-gallery__main {
        border-radius: 10px;
    }

    /* === Co text + word-break cho HTML body bất định ở phone === */
    .project-section,
    .project-section p,
    .project-section li {
        word-break: break-word;
        overflow-wrap: anywhere;
    }

    .project-section blockquote {
        padding: 12px 14px;
    }

    .prj-gallery__counter {
        bottom: 8px;
        right: 10px;
        font-size: 11px;
        padding: 3px 10px;
    }

    .project-news-detail-footer {
        margin-top: 24px;
    }

    .project-news-detail-next {
        font-size: 14px;
        gap: 6px;
    }

    .prj-sidebar__title {
        font-size: 13px;
    }

    .prj-sidebar__viewall {
        font-size: 11px;
    }

    .project-cta-banner .container {
        align-items: stretch;
    }

    .prj-sidebar__cta {
        margin-top: 20px;
        padding: 18px 16px;
    }

    .prj-sidebar__cta-text {
        font-size: 13px;
    }
}

@media (max-width: 375px) {
    .news-detail {
        padding: calc(72px + 24px) 0 40px;
    }

    .article-title {
        font-size: 28px;
    }

    .article-body p {
        font-size: 15px;
    }

    .article-body h2 {
        font-size: 22px;
    }

    .sidebar-article-info .sidebar-article-title {
        font-size: 13.5px;
    }

    .project-hero-banner {
        min-height: 180px;
        margin-top: 0;
        padding-top: 76px;
    }

    .project-hero-title {
        font-size: clamp(20px, 5vw, 28px);
    }

    .project-hero-subtitle {
        font-size: 14px;
    }

    .project-detail-main {
        padding: 24px 0 40px;
    }

    .project-detail-header {
        padding: 16px;
    }

    .project-detail-title {
        font-size: 28px;
    }

    .project-detail-intro,
    .project-detail-row,
    .tech-list li,
    .feature-list li,
    .timeline-content p {
        font-size: 15px;
    }

    .process-timeline {
        padding-left: 14px;
    }

    .timeline-marker {
        left: -22px;
    }

    .project-testimonial {
        padding: 16px;
    }

    .project-cta-banner {
        padding: 20px 16px;
    }

        .project-cta-banner .project-cta-text h2 {
            font-size: 22px;
        }

    .prj-sidebar__name {
        font-size: 13px;
    }

    .pg-projects-hero {
        padding: calc(72px + 24px) 0 36px;
    }

    .pg-projects-hero__title,
    .featured-carousel .section-title,
    .latest-projects .section-title,
    .all-projects .section-title {
        font-size: 28px;
    }

    /* === Stats co lại cho phone nhỏ (vẫn giữ 3 box/1 dòng từ 640) === */
    .pg-projects-hero__stats {
        gap: 8px;
    }

    .hero-stat-number {
        font-size: 20px;
    }

    .hero-stat-label {
        font-size: 11px;
    }

    .project-filter-box {
        padding: 18px 14px;
    }

    .filter-input,
    .filter-select,
    .ts-control,
    .filter-btn {
        height: 40px;
        font-size: 14px;
    }

    .featured-carousel,
    .latest-projects,
    .all-projects {
        padding: 40px 0;
    }

    .latest-header {
        flex-direction: column;
    }

    .latest-nav {
        width: 100%;
        justify-content: flex-end;
    }

    .latest-card {
        padding: 10px;
    }

    .latest-content h3 {
        font-size: 17px;
    }

    .latest-content p {
        font-size: 13px;
    }

    .latest-tags span {
        padding: 3px 10px;
        font-size: 12px;
    }

    .project-grid-card__title {
        font-size: 16px;
    }

    /* .news-hero {
    padding: calc(72px + 20px) 0 28px;
  } */

    .news-latest {
        padding: calc(72px + 20px) 0 28px;
    }

    .news-hero-title,
    .news-latest-intro-title {
        font-size: 28px;
    }

    .news-hero-card-image {
        min-height: 200px;
    }

    .news-hero-card-title,
    .news-hero-small .news-hero-card-title {
        font-size: 16px;
    }

    .news-latest,
    .news-all {
        padding: 40px 0;
    }

    .news-latest-card {
        padding: 18px;
        margin-top: 28px;
    }

    .news-latest-title {
        font-size: 22px;
    }

    .news-all-intro-title {
        font-size: 28px;
    }

    .filter-tab {
        padding: 6px 14px;
        font-size: 13px;
    }

    .news-all .news-grid {
        grid-template-columns: 1fr;
        row-gap: 24px;
    }

    .news-grid .news-card-title {
        font-size: 16px;
    }

    .news-grid .news-card-desc {
        font-size: 13px;
    }

    .pagination__btn {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }

    /* === Project Detail responsive bổ sung — phone nhỏ === */
    .project-hero-banner {
        padding-top: 72px;
    }

    .project-hero-breadcrumb {
        gap: 4px;
    }

    .prj-gallery__nav {
        width: 28px;
        height: 28px;
    }

    .prj-gallery__counter {
        font-size: 10px;
        padding: 2px 8px;
    }

    .project-news-detail-tag {
        font-size: 12px;
        padding: 3px 10px;
    }

    .project-news-detail-next {
        font-size: 13px;
    }

    .project-cta-banner .project-cta-text p {
        font-size: 14px;
    }

    .prj-sidebar__title {
        font-size: 12.5px;
    }

    .prj-sidebar__cta {
        padding: 16px 14px;
    }

    .prj-sidebar__cta-icon {
        width: 38px;
        height: 38px;
    }
}

/* ============================================
   SOLUTIONS LIST — SLIDE-EXPAND FROM LEFT
   ============================================ */
.solution-item.fade-up {
    opacity: 0;
    transform: translateX(-48px) scaleX(0.6);
    transform-origin: left center;
    transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1), background-color var(--transition-smooth), box-shadow var(--transition-smooth), border-color var(--transition-smooth);
}

    .solution-item.fade-up.visible {
        opacity: 1;
        transform: translateX(0) scaleX(1);
    }

/* ============================================
   CUSTOM SCROLLBAR
   ============================================ */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-cream);
}

::-webkit-scrollbar-thumb {
    background: rgb(108, 25, 27);
    border-radius: 4px;
}

    ::-webkit-scrollbar-thumb:hover {
        background: var(--color-primary-light);
    }

* {
    scrollbar-width: thin;
    scrollbar-color: rgb(108, 25, 27) var(--color-bg-cream);
}

/* ============================================
   NEXT ARTICLE HOVER
   ============================================ */
.project-news-detail-next:hover {
    color: var(--color-primary-light);
}

/* ============================================
   FOOTER LOGO (larger, independent of header)
   ============================================ */
.footer-brand .logo {
    width: 275px;
}

/* ============================================
   CONTACT POPUP
   ============================================ */
.contact-popup {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: none;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
    padding: 16px;
}

    .contact-popup.is-open {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 100dvh;
    }

.contact-popup__backdrop {
    position: fixed;
    inset: 0;
    background: rgba(10, 14, 23, 0.6);
    backdrop-filter: blur(4px);
    animation: contactPopupFadeIn 0.2s ease-out;
}

.contact-popup__dialog {
    position: relative;
    background: #f0f0f0;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
    padding: clamp(20px, 2.5vw, 32px) clamp(20px, 3vw, 36px);
    width: min(600px, 100%);
    margin: auto;
    animation: contactPopupSlideUp 0.25s ease-out;
}

.contact-popup__close {
    position: absolute;
    top: 12px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: none;
    border-radius: 50%;
    background: transparent;
    color: #323232;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
    transition: background 0.15s ease;
}

    .contact-popup__close:hover {
        background: rgba(0, 0, 0, 0.06);
    }

.contact-popup__header {
    text-align: center;
    margin-bottom: clamp(10px, 1.5vw, 16px);
}

    .contact-popup__header img {
        width: 36px;
        height: 36px;
        margin-bottom: 6px;
    }

.contact-popup__title {
    font-size: clamp(1.1rem, 1.4vw, 1.3rem);
    font-weight: 600;
    margin: 0 0 4px;
    color: var(--color-text-dark, #0a0e17);
}

.contact-popup__desc {
    margin: 0;
    color: #555;
    font-size: 13px;
    line-height: 1.4;
}

/* Compact form inside popup */
.contact-popup .contact-form {
    gap: clamp(10px, 1.4vw, 14px);
}

.contact-popup .form-group label {
    font-size: 13px;
    margin-bottom: 4px;
}

.contact-popup .form-group input,
.contact-popup .form-group select {
    padding: 9px 14px;
    font-size: 14px;
}

.contact-popup .form-group textarea {
    padding: 9px 14px;
    font-size: 14px;
    min-height: 72px;
    max-height: 100px;
}

.contact-popup .form-row {
    gap: clamp(8px, 1vw, 12px);
}

.contact-popup .btn-consult {
    padding: 10px 24px;
    font-size: 14px;
}

body.contact-popup-open {
    overflow: hidden;
}

@keyframes contactPopupFadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes contactPopupSlideUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 640px) {
    .contact-popup__dialog {
        padding: 20px 16px;
    }

    .contact-popup .form-row,
    .contact-popup .form-row--3col {
        grid-template-columns: 1fr;
    }

    .contact-popup__header img {
        width: 28px;
        height: 28px;
    }

    .contact-popup__title {
        font-size: 1.05rem;
    }
}

/* ============================================
   LATEST NEWS SLIDER (HOME)
   ============================================ */
.latest-news-slider {
    padding: 30px;
    background-color: var(--color-bg-light);
}

.latest-news-slider__viewport {
    position: relative;
}

.latest-news-slider__swiper {
    overflow: hidden;
}

    .latest-news-slider__swiper .swiper-slide {
        height: auto;
        display: flex;
    }

.latest-news-slider__btn {
    position: absolute;
    top: 50%;
    z-index: 5;
    width: clamp(40px, 4vw, 48px);
    height: clamp(40px, 4vw, 48px);
    border-radius: 50%;
    border: 1px solid var(--color-border);
    background-color: var(--color-bg-white);
    color: var(--color-primary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transform: translateY(-50%);
    transition: var(--transition-normal);
    box-shadow: 0 6px 16px rgba(74, 21, 32, 0.12);
}

    .latest-news-slider__btn:hover {
        background-color: var(--color-primary);
        color: var(--color-text-white);
        border-color: var(--color-primary);
    }

    .latest-news-slider__btn.swiper-button-disabled {
        opacity: 0.4;
        cursor: not-allowed;
    }

.latest-news-slider__btn--prev {
    left: clamp(-1.25rem, -1vw, -0.5rem);
}

.latest-news-slider__btn--next {
    right: clamp(-1.25rem, -1vw, -0.5rem);
}

.latest-news-card {
    background: var(--color-bg-white);
    border-radius: clamp(14px, 1.4vw, 16px);
    padding: clamp(10px, 1.1vw, 14px);
    display: flex;
    gap: clamp(12px, 1.4vw, 18px);
    width: 100%;
    height: 100%;
    align-items: stretch;
    color: var(--color-text-dark);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

    .latest-news-card:hover {
        box-shadow: 0 20px 45px rgba(0, 0, 0, 0.08);
        transform: translateY(-2px);
    }

.latest-news-card__thumb {
    flex: 0 0 40%;
    max-width: 40%;
    border-radius: clamp(10px, 1vw, 12px);
    overflow: hidden;
    background-color: var(--color-bg-cream);
    align-self: stretch;
}

    .latest-news-card__thumb img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        transition: transform 0.3s ease;
    }

.latest-news-card:hover .latest-news-card__thumb img {
    transform: scale(1.05);
}

.latest-news-card__body {
    flex: 1 1 60%;
    display: flex;
    flex-direction: column;
    gap: 6px;
    min-width: 0;
}

.latest-news-card__title {
    color: #151515;
    font-family: var(--font-text);
    font-size: clamp(18px, 1.35vw, 22px);
    font-weight: 600;
    line-height: 1.32;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    display: -webkit-box;
    transition: color 0.3s ease;
}

.latest-news-card:hover .latest-news-card__title {
    color: var(--color-primary);
}

.latest-news-card__desc {
    opacity: 0.6;
    color: #000;
    font-family: var(--font-text);
    font-size: clamp(13px, 0.95vw, 15px);
    font-weight: 400;
    line-height: 1.45;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    text-overflow: ellipsis;
    margin: 0;
}

.latest-news-card__tags {
    display: flex;
    gap: 6px 8px;
    flex-wrap: wrap;
    max-height: calc(2 * 26px + 6px);
    overflow: hidden;
}

.latest-news-card__tag {
    flex: 0 0 auto;
    background: #f0f0f0;
    padding: 4px clamp(10px, 1vw, 14px);
    color: #323232;
    font-family: var(--font-text);
    font-size: 12px;
    font-weight: 500;
    line-height: 18px;
    border-radius: 100px;
    white-space: nowrap;
}

@media (max-width: 1024px) {
    .latest-news-card {
        gap: 12px;
        padding: 12px;
    }

    .latest-news-card__thumb {
        flex-basis: 40%;
        max-width: 40%;
    }
}

@media (max-width: 640px) {
    .latest-news-slider {
        padding: 10px 5px;
    }

    .latest-news-slider .container {
        padding-left: 12px;
        padding-right: 12px;
    }

    .latest-news-slider__btn {
        display: none;
    }

    .latest-news-card {
        gap: 10px;
        padding: 10px;
        min-height: 0;
    }

    .latest-news-card__thumb {
        flex-basis: 40%;
        max-width: 40%;
    }

    .latest-news-card__title {
        font-size: 15px;
    }

    .latest-news-card__desc {
        font-size: 13px;
        -webkit-line-clamp: 2;
    }

    .latest-news-card__tags {
        max-height: calc(2 * 22px + 6px);
    }

    .latest-news-card__tag {
        font-size: 11px;
        padding: 3px 10px;
        line-height: 16px;
    }
}

@media (max-width: 420px) {
    .latest-news-card__desc {
        display: none;
    }

    .latest-news-card__thumb {
        flex-basis: 40%;
        max-width: 40%;
    }
}
