/* --- [แก้ไขจุดนี้] เริ่มต้น GLOBAL STYLE --- */

        :root {
            --brand-yellow: #ffd400;
            --brand-yellow-soft: #fff5b8;
            --brand-black: #111318;
            --brand-dark: #171a21;
            --brand-red: #c9282d;
            --page-bg: #f5f6f8;
            --surface: #ffffff;
            --surface-soft: #f9fafb;
            --text-main: #16181d;
            --text-muted: #626874;
            --line: #e5e7eb;
            --success: #137a4d;
            --shadow-sm: 0 0.5rem 1.5rem rgba(17, 19, 24, 0.08);
            --shadow-lg: 0 1.5rem 4rem rgba(17, 19, 24, 0.14);
            --container: 1180px;
            --radius-sm: 0.9rem;
            --radius-md: 1.3rem;
            --radius-lg: 2rem;
        }

        * {
            box-sizing: border-box;
        }

        html {
            scroll-behavior: smooth;
            font-size: 100%;
        }

        body {
            margin: 0;
            min-width: 320px;
            overflow-x: hidden;
            font-family:
                "Noto Sans Thai",
                "Leelawadee UI",
                Tahoma,
                Arial,
                sans-serif;
            color: var(--text-main);
            background: var(--page-bg);
        }

        img,
        svg {
            display: block;
            max-width: 100%;
        }

        a {
            color: inherit;
        }

        button,
        input,
        textarea,
        select {
            font: inherit;
        }

        .container {
            width: min(calc(100% - clamp(2rem, 7vw, 5rem)), var(--container));
            margin-inline: auto;
        }

        .section {
            padding-block: clamp(3.75rem, 8vw, 7rem);
        }

        .section-heading {
            max-width: 760px;
            margin-bottom: clamp(1.75rem, 4vw, 3rem);
        }

        .eyebrow {
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            margin-bottom: 0.8rem;
            font-size: clamp(0.78rem, 1.5vw, 0.95rem);
            font-weight: 900;
            letter-spacing: 0.06em;
            color: var(--brand-red);
            text-transform: uppercase;
        }

        h1,
        h2,
        h3,
        p {
            margin-top: 0;
        }

        h1 {
            margin-bottom: clamp(1rem, 2vw, 1.4rem);
            font-size: clamp(2.15rem, 6.5vw, 5rem);
            line-height: 1.08;
            letter-spacing: -0.035em;
        }

        h2 {
            margin-bottom: clamp(0.8rem, 2vw, 1.2rem);
            font-size: clamp(1.8rem, 4.5vw, 3.2rem);
            line-height: 1.16;
            letter-spacing: -0.025em;
        }

        h3 {
            margin-bottom: 0.55rem;
            font-size: clamp(1.1rem, 2.5vw, 1.45rem);
            line-height: 1.35;
        }

        p {
            font-size: clamp(0.98rem, 2vw, 1.12rem);
            line-height: 1.8;
            color: var(--text-muted);
        }

        .text-accent {
            color: var(--brand-red);
        }

        .button {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: 0.65rem;
            min-height: clamp(48px, 7vw, 56px);
            padding: 0.85rem clamp(1rem, 3vw, 1.5rem);
            border: 1px solid transparent;
            border-radius: 999px;
            text-decoration: none;
            font-size: clamp(0.92rem, 2vw, 1.02rem);
            font-weight: 900;
            transition:
                transform 0.2s ease,
                box-shadow 0.2s ease,
                background 0.2s ease;
        }

        .button:hover {
            transform: translateY(-2px);
        }

        .button-primary {
            color: var(--brand-black);
            background: var(--brand-yellow);
            box-shadow: 0 0.7rem 1.8rem rgba(255, 212, 0, 0.28);
        }

        .button-dark {
            color: #ffffff;
            background: var(--brand-black);
            box-shadow: var(--shadow-sm);
        }

        .button-outline {
            border-color: rgba(255, 255, 255, 0.35);
            color: #ffffff;
            background: rgba(255, 255, 255, 0.08);
        }

        .button-light {
            border-color: var(--line);
            color: var(--text-main);
            background: #ffffff;
        }

        .icon-box {
            display: inline-grid;
            width: clamp(2.7rem, 6vw, 3.2rem);
            aspect-ratio: 1;
            place-items: center;
            flex: 0 0 auto;
            border-radius: 1rem;
            font-size: clamp(1.15rem, 3vw, 1.45rem);
            color: var(--brand-black);
            background: var(--brand-yellow);
        }

        /* --- [แก้ไขจุดนี้] สิ้นสุด GLOBAL STYLE --- */


        /* --- [แก้ไขจุดนี้] เริ่มต้น HEADER --- */

        .site-header {
            position: sticky;
            top: 0;
            z-index: 1000;
            border-bottom: 1px solid rgba(229, 231, 235, 0.8);
            background: rgba(255, 255, 255, 0.92);
            backdrop-filter: blur(16px);
        }

        .nav-wrap {
            display: flex;
            min-height: clamp(68px, 8vw, 82px);
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
        }

        .brand {
            display: inline-flex;
            min-width: 0;
            align-items: center;
            gap: 0.75rem;
            text-decoration: none;
        }

        .brand-mark {
            display: grid;
            width: clamp(2.75rem, 6vw, 3.4rem);
            aspect-ratio: 1;
            place-items: center;
            flex: 0 0 auto;
            border: 0.22rem solid var(--brand-black);
            border-radius: 50%;
            font-size: clamp(0.72rem, 1.5vw, 0.9rem);
            font-weight: 1000;
            color: var(--brand-black);
            background: var(--brand-yellow);
        }

        .brand-copy {
            min-width: 0;
        }

        .brand-name {
            display: block;
            overflow: hidden;
            font-size: clamp(0.95rem, 2vw, 1.2rem);
            font-weight: 1000;
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .brand-sub {
            display: block;
            overflow: hidden;
            margin-top: 0.1rem;
            font-size: clamp(0.7rem, 1.4vw, 0.82rem);
            color: var(--text-muted);
            white-space: nowrap;
            text-overflow: ellipsis;
        }

        .desktop-nav {
            display: flex;
            align-items: center;
            gap: clamp(0.6rem, 2vw, 1.35rem);
        }

        .desktop-nav a:not(.button) {
            text-decoration: none;
            font-size: clamp(0.86rem, 1.5vw, 0.98rem);
            font-weight: 800;
            color: #353943;
        }

        .menu-toggle {
            display: none;
            width: 46px;
            height: 46px;
            place-items: center;
            border: 1px solid var(--line);
            border-radius: 0.9rem;
            color: var(--text-main);
            background: #ffffff;
            cursor: pointer;
        }

        .mobile-nav {
            display: none;
            padding-bottom: 1rem;
        }

        .mobile-nav.is-open {
            display: grid;
            gap: 0.45rem;
        }

        .mobile-nav a {
            padding: 0.85rem 1rem;
            border-radius: 0.85rem;
            text-decoration: none;
            font-weight: 800;
            background: var(--surface-soft);
        }

        /* --- [แก้ไขจุดนี้] สิ้นสุด HEADER --- */


        /* --- [แก้ไขจุดนี้] เริ่มต้น HERO --- */

        .hero {
            position: relative;
            isolation: isolate;
            overflow: hidden;
            color: #ffffff;
            background:
                radial-gradient(
                    circle at 85% 20%,
                    rgba(255, 212, 0, 0.28),
                    transparent 30%
                ),
                linear-gradient(135deg, #0d0f14 0%, #1a1d25 60%, #232734 100%);
        }

        .hero::before {
            position: absolute;
            z-index: -1;
            inset: 0;
            content: "";
            opacity: 0.25;
            background-image:
                linear-gradient(
                    rgba(255, 255, 255, 0.04) 1px,
                    transparent 1px
                ),
                linear-gradient(
                    90deg,
                    rgba(255, 255, 255, 0.04) 1px,
                    transparent 1px
                );
            background-size: 44px 44px;
        }

        .hero-grid {
            display: grid;
            min-height: clamp(650px, 84vh, 860px);
            grid-template-columns: minmax(0, 1.12fr) minmax(320px, 0.88fr);
            align-items: center;
            gap: clamp(2rem, 6vw, 5rem);
            padding-block: clamp(4rem, 8vw, 7rem);
        }

        .hero-copy p {
            max-width: 700px;
            margin-bottom: clamp(1.4rem, 3vw, 2rem);
            font-size: clamp(1.02rem, 2.4vw, 1.28rem);
            color: rgba(255, 255, 255, 0.76);
        }

        .hero-kicker {
            display: inline-flex;
            align-items: center;
            gap: 0.55rem;
            margin-bottom: clamp(1rem, 2vw, 1.35rem);
            padding: 0.55rem 0.9rem;
            border: 1px solid rgba(255, 212, 0, 0.34);
            border-radius: 999px;
            font-size: clamp(0.78rem, 1.6vw, 0.95rem);
            font-weight: 900;
            color: var(--brand-yellow);
            background: rgba(255, 212, 0, 0.08);
        }

        .hero-actions {
            display: flex;
            flex-wrap: wrap;
            gap: 0.85rem;
        }

        .trust-row {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: clamp(0.7rem, 2vw, 1rem);
            margin-top: clamp(2rem, 5vw, 3.4rem);
        }

        .trust-item {
            padding: clamp(0.9rem, 2vw, 1.15rem);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 1rem;
            background: rgba(255, 255, 255, 0.05);
        }

        .trust-item strong {
            display: block;
            margin-bottom: 0.25rem;
            font-size: clamp(0.95rem, 2vw, 1.12rem);
        }

        .trust-item span {
            display: block;
            font-size: clamp(0.78rem, 1.7vw, 0.9rem);
            line-height: 1.5;
            color: rgba(255, 255, 255, 0.62);
        }

        .hero-panel {
            position: relative;
            padding: clamp(1.2rem, 4vw, 2rem);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: var(--radius-lg);
            background:
                linear-gradient(
                    145deg,
                    rgba(255, 255, 255, 0.13),
                    rgba(255, 255, 255, 0.05)
                );
            box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.28);
            backdrop-filter: blur(18px);
        }

        .panel-top {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1rem;
            margin-bottom: 1rem;
        }

        .panel-chip {
            padding: 0.45rem 0.75rem;
            border-radius: 999px;
            font-size: clamp(0.72rem, 1.6vw, 0.86rem);
            font-weight: 900;
            color: var(--brand-black);
            background: var(--brand-yellow);
        }

        .panel-status {
            display: inline-flex;
            align-items: center;
            gap: 0.4rem;
            font-size: clamp(0.72rem, 1.5vw, 0.85rem);
            color: #d1fae5;
        }

        .panel-status::before {
            width: 0.55rem;
            aspect-ratio: 1;
            border-radius: 50%;
            content: "";
            background: #34d399;
            box-shadow: 0 0 0 0.3rem rgba(52, 211, 153, 0.12);
        }

        .diagnostic-screen {
            position: relative;
            min-height: clamp(330px, 45vw, 520px);
            overflow: hidden;
            border-radius: 1.4rem;
            background:
                radial-gradient(
                    circle at 65% 25%,
                    rgba(255, 212, 0, 0.18),
                    transparent 24%
                ),
                linear-gradient(160deg, #272b36, #111318);
        }

        .car-silhouette {
            position: absolute;
            inset: auto 7% 10%;
            height: 52%;
            border: 2px solid rgba(255, 255, 255, 0.32);
            border-radius: 48% 52% 20% 20% / 42% 42% 28% 28%;
            transform: perspective(700px) rotateX(6deg);
        }

        .car-silhouette::before,
        .car-silhouette::after {
            position: absolute;
            bottom: -8%;
            width: 16%;
            aspect-ratio: 1;
            border: 0.5rem solid #0b0d11;
            border-radius: 50%;
            content: "";
            background: #2c303a;
        }

        .car-silhouette::before {
            left: 11%;
        }

        .car-silhouette::after {
            right: 11%;
        }

        .scan-card {
            position: absolute;
            width: min(72%, 310px);
            padding: 0.85rem 1rem;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 1rem;
            background: rgba(16, 18, 24, 0.78);
            box-shadow: var(--shadow-sm);
        }

        .scan-card strong {
            display: block;
            margin-bottom: 0.25rem;
            font-size: clamp(0.86rem, 2vw, 1rem);
        }

        .scan-card span {
            font-size: clamp(0.72rem, 1.6vw, 0.86rem);
            color: rgba(255, 255, 255, 0.64);
        }

        .scan-card.one {
            top: 9%;
            left: 6%;
        }

        .scan-card.two {
            top: 35%;
            right: 5%;
        }

        .scan-card.three {
            bottom: 8%;
            left: 9%;
        }

        .scan-line {
            position: absolute;
            top: 0;
            bottom: 0;
            left: 50%;
            width: 2px;
            opacity: 0.7;
            background: linear-gradient(
                transparent,
                var(--brand-yellow),
                transparent
            );
            animation: scan 3.5s linear infinite;
        }

        @keyframes scan {
            0% {
                transform: translateX(-160px);
            }

            50% {
                transform: translateX(160px);
            }

            100% {
                transform: translateX(-160px);
            }
        }

        /* --- [แก้ไขจุดนี้] สิ้นสุด HERO --- */


        /* --- [แก้ไขจุดนี้] เริ่มต้น SERVICE SECTION --- */

        .service-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: clamp(1rem, 2.5vw, 1.5rem);
        }

        .service-card {
            position: relative;
            overflow: hidden;
            padding: clamp(1.25rem, 3vw, 1.8rem);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            background: var(--surface);
            box-shadow: var(--shadow-sm);
            transition:
                transform 0.22s ease,
                box-shadow 0.22s ease;
        }

        .service-card:hover {
            transform: translateY(-5px);
            box-shadow: var(--shadow-lg);
        }

        .service-card::after {
            position: absolute;
            top: 0;
            right: 0;
            width: 5rem;
            aspect-ratio: 1;
            border-radius: 0 0 0 100%;
            content: "";
            background: var(--brand-yellow-soft);
        }

        .service-card .icon-box {
            position: relative;
            z-index: 1;
            margin-bottom: 1rem;
        }

        .service-card p {
            margin-bottom: 0;
            font-size: clamp(0.9rem, 1.8vw, 1rem);
        }

        /* --- [แก้ไขจุดนี้] สิ้นสุด SERVICE SECTION --- */


        /* --- [แก้ไขจุดนี้] เริ่มต้น EXPERT SECTION --- */

        .expert-section {
            color: #ffffff;
            background: var(--brand-dark);
        }

        .expert-grid {
            display: grid;
            grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
            align-items: center;
            gap: clamp(2rem, 6vw, 5rem);
        }

        .expert-visual {
            position: relative;
            min-height: clamp(420px, 52vw, 620px);
            overflow: hidden;
            border-radius: var(--radius-lg);
            background:
                linear-gradient(
                    145deg,
                    rgba(255, 212, 0, 0.16),
                    transparent 45%
                ),
                #0d0f14;
        }

        .expert-visual::before {
            position: absolute;
            inset: 8%;
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 1.5rem;
            content: "";
        }

        .engine-orbit {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 54%;
            aspect-ratio: 1;
            border: 1px dashed rgba(255, 212, 0, 0.46);
            border-radius: 50%;
            transform: translate(-50%, -50%);
        }

        .engine-center {
            position: absolute;
            top: 50%;
            left: 50%;
            display: grid;
            width: 34%;
            aspect-ratio: 1;
            place-items: center;
            border: 0.75rem solid rgba(255, 255, 255, 0.1);
            border-radius: 2rem;
            font-size: clamp(2.8rem, 8vw, 5rem);
            background: linear-gradient(145deg, #2d323e, #161920);
            transform: translate(-50%, -50%) rotate(8deg);
            box-shadow: 0 2rem 4rem rgba(0, 0, 0, 0.35);
        }

        .orbit-dot {
            position: absolute;
            display: grid;
            width: clamp(3.2rem, 8vw, 4.8rem);
            aspect-ratio: 1;
            place-items: center;
            border-radius: 1.2rem;
            font-weight: 1000;
            color: var(--brand-black);
            background: var(--brand-yellow);
            box-shadow: 0 1rem 2rem rgba(255, 212, 0, 0.2);
        }

        .orbit-dot.a {
            top: 13%;
            left: 10%;
        }

        .orbit-dot.b {
            top: 12%;
            right: 11%;
        }

        .orbit-dot.c {
            right: 10%;
            bottom: 14%;
        }

        .orbit-dot.d {
            bottom: 12%;
            left: 12%;
        }

        .expert-copy p {
            color: rgba(255, 255, 255, 0.7);
        }

        .feature-list {
            display: grid;
            gap: 0.8rem;
            margin: clamp(1.5rem, 3vw, 2rem) 0 0;
            padding: 0;
            list-style: none;
        }

        .feature-list li {
            display: flex;
            align-items: flex-start;
            gap: 0.8rem;
            padding: 0.95rem 1rem;
            border: 1px solid rgba(255, 255, 255, 0.09);
            border-radius: 1rem;
            color: rgba(255, 255, 255, 0.9);
            background: rgba(255, 255, 255, 0.04);
        }

        .feature-list li::before {
            display: grid;
            width: 1.7rem;
            aspect-ratio: 1;
            place-items: center;
            flex: 0 0 auto;
            border-radius: 50%;
            content: "✓";
            font-size: 0.85rem;
            font-weight: 1000;
            color: var(--brand-black);
            background: var(--brand-yellow);
        }

        /* --- [แก้ไขจุดนี้] สิ้นสุด EXPERT SECTION --- */


        /* --- [แก้ไขจุดนี้] เริ่มต้น MODEL SECTION --- */

        .model-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: clamp(0.8rem, 2vw, 1.15rem);
        }

        .model-card {
            display: flex;
            min-height: clamp(150px, 18vw, 210px);
            flex-direction: column;
            justify-content: space-between;
            padding: clamp(1rem, 2.5vw, 1.4rem);
            border: 1px solid var(--line);
            border-radius: 1.2rem;
            text-decoration: none;
            background:
                linear-gradient(145deg, #ffffff, #f3f4f6);
            transition:
                transform 0.2s ease,
                border-color 0.2s ease;
        }

        .model-card:hover {
            border-color: var(--brand-yellow);
            transform: translateY(-4px);
        }

        .model-card span {
            font-size: clamp(2.3rem, 7vw, 4rem);
        }

        .model-card strong {
            font-size: clamp(1rem, 2.2vw, 1.25rem);
        }

        /* --- [แก้ไขจุดนี้] สิ้นสุด MODEL SECTION --- */


        /* --- [แก้ไขจุดนี้] เริ่มต้น PROCESS SECTION --- */

        .process-grid {
            display: grid;
            grid-template-columns: repeat(4, minmax(0, 1fr));
            gap: clamp(1rem, 2.5vw, 1.4rem);
            counter-reset: process;
        }

        .process-card {
            position: relative;
            padding: clamp(1.2rem, 3vw, 1.7rem);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            background: var(--surface);
            counter-increment: process;
        }

        .process-card::before {
            display: grid;
            width: clamp(2.6rem, 6vw, 3.2rem);
            aspect-ratio: 1;
            place-items: center;
            margin-bottom: 1rem;
            border-radius: 1rem;
            content: counter(process, decimal-leading-zero);
            font-size: clamp(0.9rem, 2vw, 1.05rem);
            font-weight: 1000;
            color: var(--brand-black);
            background: var(--brand-yellow);
        }

        .process-card p {
            margin-bottom: 0;
            font-size: clamp(0.88rem, 1.8vw, 0.98rem);
        }

        /* --- [แก้ไขจุดนี้] สิ้นสุด PROCESS SECTION --- */


        /* --- [แก้ไขจุดนี้] เริ่มต้น CASE SECTION --- */

        .case-section {
            background: #eceff3;
        }

        .case-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: clamp(1rem, 2.5vw, 1.5rem);
        }

        .case-card {
            overflow: hidden;
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            background: var(--surface);
            box-shadow: var(--shadow-sm);
        }

        .case-cover {
            position: relative;
            display: grid;
            min-height: clamp(190px, 25vw, 260px);
            place-items: center;
            overflow: hidden;
            font-size: clamp(3.5rem, 10vw, 6rem);
            background:
                radial-gradient(
                    circle at 70% 20%,
                    rgba(255, 212, 0, 0.55),
                    transparent 28%
                ),
                linear-gradient(145deg, #1b1e26, #303642);
        }

        .case-cover::after {
            position: absolute;
            inset: 0;
            content: "";
            opacity: 0.22;
            background-image:
                linear-gradient(
                    45deg,
                    transparent 46%,
                    rgba(255, 255, 255, 0.1) 47%,
                    transparent 48%
                );
            background-size: 22px 22px;
        }

        .case-content {
            padding: clamp(1.1rem, 3vw, 1.5rem);
        }

        .case-tag {
            display: inline-flex;
            margin-bottom: 0.75rem;
            padding: 0.35rem 0.65rem;
            border-radius: 999px;
            font-size: 0.78rem;
            font-weight: 900;
            color: var(--brand-red);
            background: #fff1f2;
        }

        .case-content p {
            margin-bottom: 1rem;
            font-size: clamp(0.88rem, 1.8vw, 0.98rem);
        }

        .case-link {
            text-decoration: none;
            font-weight: 900;
            color: var(--brand-red);
        }

        /* --- [แก้ไขจุดนี้] สิ้นสุด CASE SECTION --- */


        /* --- [แก้ไขจุดนี้] เริ่มต้น REVIEW SECTION --- */

        .review-grid {
            display: grid;
            grid-template-columns: repeat(3, minmax(0, 1fr));
            gap: clamp(1rem, 2.5vw, 1.5rem);
        }

        .review-card {
            padding: clamp(1.2rem, 3vw, 1.7rem);
            border: 1px solid var(--line);
            border-radius: var(--radius-md);
            background: var(--surface);
        }

        .stars {
            margin-bottom: 0.8rem;
            letter-spacing: 0.14em;
            color: #f7b500;
        }

        .review-card blockquote {
            margin: 0 0 1rem;
            font-size: clamp(0.95rem, 2vw, 1.08rem);
            line-height: 1.75;
            color: #343842;
        }

        .review-meta {
            display: flex;
            align-items: center;
            gap: 0.8rem;
        }

        .review-avatar {
            display: grid;
            width: 2.8rem;
            aspect-ratio: 1;
            place-items: center;
            border-radius: 50%;
            font-weight: 1000;
            background: var(--brand-yellow);
        }

        .review-meta strong {
            display: block;
            font-size: 0.95rem;
        }

        .review-meta span {
            display: block;
            margin-top: 0.15rem;
            font-size: 0.82rem;
            color: var(--text-muted);
        }

        /* --- [แก้ไขจุดนี้] สิ้นสุด REVIEW SECTION --- */


        /* --- [แก้ไขจุดนี้] เริ่มต้น CTA / CONTACT --- */

        .cta-wrap {
            display: grid;
            grid-template-columns: minmax(0, 1.15fr) minmax(280px, 0.85fr);
            align-items: center;
            gap: clamp(1.5rem, 5vw, 4rem);
            padding: clamp(1.5rem, 5vw, 3.5rem);
            border-radius: var(--radius-lg);
            color: #ffffff;
            background:
                radial-gradient(
                    circle at 85% 15%,
                    rgba(255, 212, 0, 0.28),
                    transparent 28%
                ),
                linear-gradient(135deg, #111318, #262b35);
            box-shadow: var(--shadow-lg);
        }

        .cta-wrap p {
            color: rgba(255, 255, 255, 0.68);
        }

        .contact-card {
            display: grid;
            gap: 0.75rem;
            padding: clamp(1rem, 3vw, 1.4rem);
            border: 1px solid rgba(255, 255, 255, 0.12);
            border-radius: 1.25rem;
            background: rgba(255, 255, 255, 0.06);
        }

        .contact-line {
            display: flex;
            align-items: flex-start;
            gap: 0.8rem;
            padding: 0.8rem;
            border-radius: 1rem;
            background: rgba(255, 255, 255, 0.05);
        }

        .contact-line strong {
            display: block;
            margin-bottom: 0.2rem;
            font-size: 0.9rem;
        }

        .contact-line span,
        .contact-line a {
            display: block;
            text-decoration: none;
            font-size: 0.9rem;
            line-height: 1.55;
            color: rgba(255, 255, 255, 0.68);
        }

        .map-card {
            overflow: hidden;
            margin-top: clamp(1.5rem, 4vw, 2.5rem);
            border: 1px solid var(--line);
            border-radius: var(--radius-lg);
            background: var(--surface);
            box-shadow: var(--shadow-sm);
        }

        .map-placeholder {
            display: grid;
            min-height: clamp(280px, 42vw, 450px);
            place-items: center;
            padding: 2rem;
            text-align: center;
            background:
                linear-gradient(rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.82)),
                radial-gradient(circle at 30% 35%, #d1d5db 0 7%, transparent 8%),
                radial-gradient(circle at 70% 65%, #cbd5e1 0 6%, transparent 7%),
                repeating-linear-gradient(
                    35deg,
                    #eef0f3 0 18px,
                    #e5e7eb 19px 21px
                );
        }

        .map-pin {
            display: grid;
            width: clamp(4rem, 10vw, 5.5rem);
            aspect-ratio: 1;
            place-items: center;
            margin: 0 auto 1rem;
            border-radius: 50% 50% 50% 0;
            font-size: clamp(1.8rem, 5vw, 2.5rem);
            background: var(--brand-yellow);
            transform: rotate(-45deg);
            box-shadow: var(--shadow-lg);
        }

        .map-pin span {
            transform: rotate(45deg);
        }

        /* --- [แก้ไขจุดนี้] สิ้นสุด CTA / CONTACT --- */


        /* --- [แก้ไขจุดนี้] เริ่มต้น FOOTER --- */

        .site-footer {
            padding-block: clamp(2rem, 5vw, 3.5rem);
            color: rgba(255, 255, 255, 0.76);
            background: #0b0d11;
        }

        .footer-grid {
            display: grid;
            grid-template-columns: minmax(0, 1.2fr) repeat(2, minmax(160px, 0.4fr));
            gap: clamp(1.5rem, 4vw, 3rem);
        }

        .footer-title {
            margin-bottom: 0.7rem;
            font-size: clamp(1rem, 2vw, 1.15rem);
            font-weight: 1000;
            color: #ffffff;
        }

        .footer-copy {
            max-width: 560px;
            margin-bottom: 0;
            font-size: clamp(0.85rem, 1.7vw, 0.95rem);
            color: rgba(255, 255, 255, 0.56);
        }

        .footer-links {
            display: grid;
            gap: 0.55rem;
        }

        .footer-links a {
            text-decoration: none;
            font-size: 0.9rem;
            color: rgba(255, 255, 255, 0.62);
        }

        .copyright {
            margin-top: clamp(1.5rem, 4vw, 2.5rem);
            padding-top: 1.2rem;
            border-top: 1px solid rgba(255, 255, 255, 0.09);
            font-size: 0.82rem;
            color: rgba(255, 255, 255, 0.42);
        }

        /* --- [แก้ไขจุดนี้] สิ้นสุด FOOTER --- */


        /* --- [แก้ไขจุดนี้] เริ่มต้น FLOATING ACTIONS --- */

        .floating-actions {
            position: fixed;
            z-index: 900;
            right: clamp(0.75rem, 2vw, 1.25rem);
            bottom: clamp(0.75rem, 2vw, 1.25rem);
            display: grid;
            gap: 0.65rem;
        }

        .floating-button {
            display: grid;
            width: clamp(3.1rem, 9vw, 3.8rem);
            aspect-ratio: 1;
            place-items: center;
            border-radius: 50%;
            text-decoration: none;
            font-size: clamp(1.15rem, 3vw, 1.45rem);
            box-shadow: 0 0.9rem 2rem rgba(17, 19, 24, 0.24);
        }

        .floating-button.call {
            color: #ffffff;
            background: var(--brand-red);
        }

        .floating-button.line {
            color: #ffffff;
            background: #06c755;
        }

        /* --- [แก้ไขจุดนี้] สิ้นสุด FLOATING ACTIONS --- */


        /* --- [แก้ไขจุดนี้] เริ่มต้น PLACEHOLDER PAGE --- */

        .placeholder-page {
            min-height: 70vh;
            padding-block: clamp(5rem, 10vw, 8rem);
        }

        .placeholder-card {
            max-width: 820px;
            margin-inline: auto;
            padding: clamp(1.5rem, 5vw, 3rem);
            border: 1px solid var(--line);
            border-radius: var(--radius-lg);
            text-align: center;
            background: var(--surface);
            box-shadow: var(--shadow-lg);
        }

        /* --- [แก้ไขจุดนี้] สิ้นสุด PLACEHOLDER PAGE --- */


        /* --- [แก้ไขจุดนี้] เริ่มต้น RESPONSIVE --- */

        @media (max-width: 980px) {
            .desktop-nav {
                display: none;
            }

            .menu-toggle {
                display: grid;
            }

            .hero-grid,
            .expert-grid,
            .cta-wrap {
                grid-template-columns: 1fr;
            }

            .hero-grid {
                min-height: auto;
            }

            .service-grid,
            .case-grid,
            .review-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .model-grid,
            .process-grid {
                grid-template-columns: repeat(2, minmax(0, 1fr));
            }

            .footer-grid {
                grid-template-columns: 1fr 1fr;
            }

            .footer-grid > :first-child {
                grid-column: 1 / -1;
            }
        }

        @media (max-width: 640px) {
            .container {
                width: min(calc(100% - 1.25rem), var(--container));
            }

            .hero-grid {
                gap: 2.25rem;
                padding-block: 3rem;
            }

            .hero-actions,
            .action-row {
                display: grid;
                grid-template-columns: 1fr;
            }

            .hero-actions .button,
            .action-row .button {
                width: 100%;
            }

            .trust-row,
            .service-grid,
            .model-grid,
            .process-grid,
            .case-grid,
            .review-grid,
            .footer-grid {
                grid-template-columns: 1fr;
            }

            .footer-grid > :first-child {
                grid-column: auto;
            }

            .hero-panel {
                padding: 0.9rem;
            }

            .diagnostic-screen {
                min-height: 340px;
            }

            .scan-card {
                width: 78%;
            }

            .cta-wrap {
                padding: 1.15rem;
            }
        }

        @media (prefers-reduced-motion: reduce) {
            *,
            *::before,
            *::after {
                scroll-behavior: auto !important;
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
            }
        }

        /* --- [แก้ไขจุดนี้] สิ้นสุด RESPONSIVE --- */

/* ==========================================================================
   [แก้ไขจุดนี้] ส่วนเสริมสำหรับ SEO Dynamic Public View
   ========================================================================== */

/* --- ACCESSIBILITY / BASE IMPROVEMENTS --- */

:focus-visible {
    outline: 3px solid var(--brand-yellow);
    outline-offset: 3px;
}

.skip-link {
    position: fixed;
    top: 0.75rem;
    left: 0.75rem;
    z-index: 9999;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    color: var(--brand-black);
    background: var(--brand-yellow);
    font-weight: 900;
    text-decoration: none;
    transform: translateY(-180%);
    transition: transform 0.2s ease;
}

.skip-link:focus {
    transform: translateY(0);
}

body.menu-open {
    overflow: hidden;
}

main {
    display: block;
}

.desktop-nav a.is-current {
    color: var(--brand-red);
}

.desktop-nav a.is-current::after {
    display: block;
    width: 100%;
    height: 2px;
    margin-top: 0.25rem;
    border-radius: 999px;
    content: "";
    background: var(--brand-yellow);
}

.mobile-call-link {
    color: var(--brand-black) !important;
    background: var(--brand-yellow) !important;
}

.button:focus-visible,
.menu-toggle:focus-visible,
.mobile-nav a:focus-visible {
    outline: 3px solid var(--brand-yellow);
    outline-offset: 3px;
}

/* --- HEADER MOBILE NAV FIX --- */

.mobile-nav[hidden] {
    display: none !important;
}

.mobile-nav.is-open,
.mobile-nav:not([hidden]) {
    display: grid;
}

.site-header.is-scrolled {
    box-shadow: 0 0.7rem 2rem rgba(17, 19, 24, 0.08);
}

/* --- HERO IMAGE MODE --- */

.hero-description p:last-child {
    margin-bottom: 0;
}

.hero-media {
    margin: 0;
    overflow: hidden;
    border-radius: clamp(1rem, 2vw, 1.5rem);
    background: #0d0f14;
}

.hero-media img {
    width: 100%;
    height: clamp(340px, 48vw, 620px);
    object-fit: cover;
    object-position: center;
}

.hero-panel:has(.hero-media) {
    padding: 0;
    overflow: hidden;
}

.hero-panel:has(.hero-media) .hero-media {
    border-radius: inherit;
}

.hero-copy h1 {
    max-width: 14ch;
}

.hero-copy .hero-description {
    max-width: 720px;
}

/* --- DYNAMIC CONTENT LAYOUT --- */

.content-layout {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(300px, 0.95fr);
    align-items: center;
    gap: clamp(1.5rem, 5vw, 4rem);
}

.content-panel {
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.content-panel p:last-child {
    margin-bottom: 0;
}

.content-panel .button {
    margin-top: 1rem;
}

.content-media {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--surface-soft);
    box-shadow: var(--shadow-lg);
}

.content-media img {
    width: 100%;
    height: clamp(280px, 42vw, 560px);
    object-fit: cover;
    object-position: center;
}

.expert-image {
    width: 100%;
    height: 100%;
    min-height: inherit;
    object-fit: cover;
    object-position: center;
}

/* --- CTA BANNER --- */

.cta-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: clamp(1rem, 4vw, 2rem);
    padding: clamp(1.4rem, 4vw, 2.6rem);
    border-radius: var(--radius-lg);
    color: #ffffff;
    background:
        radial-gradient(
            circle at 85% 20%,
            rgba(255, 212, 0, 0.32),
            transparent 30%
        ),
        linear-gradient(135deg, #111318, #292f3b);
    box-shadow: var(--shadow-lg);
}

.cta-banner p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, 0.72);
}

.cta-banner .button {
    flex: 0 0 auto;
}

/* --- PROCESS NUMBER FROM DYNAMIC VIEW --- */

.process-number {
    display: grid;
    width: clamp(2.6rem, 6vw, 3.2rem);
    aspect-ratio: 1;
    place-items: center;
    margin-bottom: 1rem;
    border-radius: 1rem;
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    font-weight: 1000;
    color: var(--brand-black);
    background: var(--brand-yellow);
}

.process-card:has(.process-number)::before {
    display: none;
}

/* --- MODEL / CARD IMPROVEMENTS --- */

.model-card small {
    display: block;
    margin-top: 0.5rem;
    font-size: clamp(0.78rem, 1.6vw, 0.9rem);
    line-height: 1.55;
    color: var(--text-muted);
}

.model-card[href="#"] {
    cursor: default;
}

.service-card .case-link {
    display: inline-flex;
    margin-top: 0.8rem;
}

/* --- SECTION TYPE VISUAL RHYTHM --- */

.section:nth-of-type(even):not(.hero):not(.expert-section) {
    background: rgba(255, 255, 255, 0.45);
}

.section-services,
.section-models,
.section-cases,
.section-reviews,
.section-contact {
    scroll-margin-top: 100px;
}

/* --- ARTICLE / CASE LISTS --- */

.article-grid,
.repair-case-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1rem, 2.5vw, 1.5rem);
}

.article-card,
.repair-case-card {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
    transition:
        transform 0.2s ease,
        box-shadow 0.2s ease;
}

.article-card:hover,
.repair-case-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}


.article-card__body,
.repair-case-card__body {
    padding: clamp(1rem, 2.5vw, 1.4rem);
}

.article-card__meta,
.repair-case-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.7rem;
    font-size: 0.8rem;
    color: var(--text-muted);
}

.article-card__title,
.repair-case-card__title {
    margin-bottom: 0.65rem;
}

.article-card__title a,
.repair-case-card__title a {
    text-decoration: none;
}

.article-card__excerpt,
.repair-case-card__excerpt {
    margin-bottom: 1rem;
    font-size: clamp(0.88rem, 1.8vw, 0.98rem);
}

/* --- ARTICLE / CASE DETAIL --- */

.detail-hero {
    padding-block: clamp(3rem, 8vw, 6rem);
    background:
        radial-gradient(
            circle at 85% 15%,
            rgba(255, 212, 0, 0.2),
            transparent 28%
        ),
        linear-gradient(135deg, #111318, #282e39);
    color: #ffffff;
}

.detail-hero .eyebrow {
    color: var(--brand-yellow);
}

.detail-hero p {
    color: rgba(255, 255, 255, 0.72);
}

.detail-cover {
    margin: clamp(1.5rem, 4vw, 2.5rem) 0 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: #0d0f14;
    box-shadow: var(--shadow-lg);
}

.detail-cover img {
    width: 100%;
    max-height: min(70vh, 760px);
    object-fit: cover;
}

.detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(260px, 340px);
    gap: clamp(1.5rem, 5vw, 3rem);
    align-items: start;
}

.detail-content {
    min-width: 0;
    padding: clamp(1.25rem, 3vw, 2rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.detail-content p,
.detail-content li {
    font-size: clamp(0.98rem, 2vw, 1.1rem);
    line-height: 1.9;
}

.detail-content img {
    border-radius: 1rem;
}

.detail-sidebar {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 1rem;
}

.detail-box {
    padding: 1rem;
    border: 1px solid var(--line);
    border-radius: 1rem;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.detail-box strong {
    display: block;
    margin-bottom: 0.35rem;
}

.detail-box p:last-child {
    margin-bottom: 0;
}

/* --- BREADCRUMBS --- */

.breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: 0.4rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.68);
}

.breadcrumbs a {
    color: inherit;
    text-decoration: none;
}

.breadcrumbs span[aria-hidden="true"] {
    opacity: 0.6;
}

/* --- EMPTY / ERROR STATE --- */

.empty-state,
.error-state {
    max-width: 760px;
    margin-inline: auto;
    padding: clamp(1.5rem, 5vw, 3rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-lg);
    text-align: center;
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.empty-state p,
.error-state p {
    margin-bottom: 1.2rem;
}

/* --- IMAGES / PERFORMANCE --- */

img {
    height: auto;
}

img[loading="lazy"] {
    content-visibility: auto;
}

.hero-media img,
.content-media img,
.expert-image,
.article-card__media img,
.repair-case-card__media img {
    background: #e5e7eb;
}

/* --- TABLES / LONG CONTENT --- */

.detail-content table,
.content-panel table {
    width: 100%;
    border-collapse: collapse;
    margin-block: 1.25rem;
}

.detail-content th,
.detail-content td,
.content-panel th,
.content-panel td {
    padding: 0.75rem;
    border: 1px solid var(--line);
    text-align: left;
    vertical-align: top;
}

.detail-content th,
.content-panel th {
    background: var(--surface-soft);
}

.table-scroll {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

/* --- RESPONSIVE EXTENSIONS --- */

@media (max-width: 980px) {
    .content-layout,
    .detail-layout {
        grid-template-columns: 1fr;
    }

    .detail-sidebar {
        position: static;
    }

    .article-grid,
    .repair-case-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-banner {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 640px) {
    .hero-copy h1 {
        max-width: none;
    }

    .hero-media img {
        height: clamp(280px, 88vw, 430px);
    }

    .content-media img {
        height: clamp(240px, 78vw, 420px);
    }

    .article-grid,
    .repair-case-grid {
        grid-template-columns: 1fr;
    }

    .cta-banner {
        padding: 1.15rem;
    }

    .cta-banner .button {
        width: 100%;
    }

    .detail-content {
        padding: 1rem;
    }
}

@media (hover: none) {
    .button:hover,
    .service-card:hover,
    .model-card:hover,
    .article-card:hover,
    .repair-case-card:hover {
        transform: none;
    }
}

/* --- PRINT --- */

@media print {
    .site-header,
    .site-footer,
    .floating-actions,
    .menu-toggle,
    .button,
    .mobile-nav {
        display: none !important;
    }

    body {
        background: #ffffff;
    }

    .section,
    .detail-hero {
        padding-block: 1.5rem;
    }

    .detail-content,
    .content-panel,
    .article-card,
    .repair-case-card {
        box-shadow: none;
    }
}

/* ==========================================================================
   [แก้ไขจุดนี้] สิ้นสุดส่วนเสริมสำหรับ SEO Dynamic Public View
   ========================================================================== */

/* --- [แก้ไขจุดนี้] เริ่มต้น CSS สำหรับ Article / Repair Case Views --- */

.category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    margin-bottom: clamp(1.5rem, 4vw, 2.5rem);
}

.category-chip {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0.55rem 0.9rem;
    border: 1px solid var(--line);
    border-radius: 999px;
    text-decoration: none;
    font-size: clamp(0.8rem, 1.8vw, 0.92rem);
    font-weight: 800;
    color: var(--text-main);
    background: var(--surface);
}

.category-chip.is-active {
    color: var(--brand-black);
    border-color: var(--brand-yellow);
    background: var(--brand-yellow);
}

.detail-meta {
    margin-top: 1rem;
    font-size: clamp(0.82rem, 1.8vw, 0.95rem);
    color: rgba(255, 255, 255, 0.7);
}

.case-facts {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    margin-top: 1rem;
}

.case-facts span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 0.45rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 999px;
    font-size: clamp(0.78rem, 1.7vw, 0.9rem);
    font-weight: 800;
    color: rgba(255, 255, 255, 0.88);
    background: rgba(255, 255, 255, 0.06);
}

.repair-detail-content {
    display: grid;
    gap: clamp(1.25rem, 3vw, 2rem);
}

.repair-detail-section {
    padding-bottom: clamp(1rem, 3vw, 1.5rem);
    border-bottom: 1px solid var(--line);
}

.repair-detail-section:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.repair-detail-heading {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.75rem;
}

.repair-detail-heading > span {
    display: grid;
    width: clamp(2.6rem, 6vw, 3rem);
    aspect-ratio: 1;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 0.9rem;
    font-size: clamp(1.1rem, 3vw, 1.35rem);
    background: var(--brand-yellow);
}

.repair-detail-heading h2 {
    margin: 0;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
}

@media (max-width: 640px) {
    .category-filter {
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 0.25rem;
        scrollbar-width: thin;
    }

    .category-chip {
        flex: 0 0 auto;
    }
}

/* --- [แก้ไขจุดนี้] สิ้นสุด CSS สำหรับ Article / Repair Case Views --- */
/* --- [แก้ไขจุดนี้] เริ่มต้น CSS หน้า Contact --- */

.contact-page-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(280px, 380px);
    gap: clamp(1.5rem, 5vw, 3rem);
    align-items: start;
}

.contact-main {
    display: grid;
    gap: clamp(1rem, 3vw, 1.5rem);
}

.contact-intro-card,
.contact-extra-section,
.contact-info-card,
.contact-quick-actions {
    padding: clamp(1.2rem, 3vw, 1.8rem);
    border: 1px solid var(--line);
    border-radius: var(--radius-md);
    background: var(--surface);
    box-shadow: var(--shadow-sm);
}

.contact-checklist {
    display: grid;
    gap: 0.7rem;
    margin: 1rem 0 0;
    padding: 0;
    list-style: none;
}

.contact-checklist li {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    color: var(--text-main);
}

.contact-checklist li::before {
    display: grid;
    width: 1.6rem;
    aspect-ratio: 1;
    place-items: center;
    flex: 0 0 auto;
    border-radius: 50%;
    content: "✓";
    font-size: 0.8rem;
    font-weight: 1000;
    background: var(--brand-yellow);
}

.contact-image-card,
.contact-extra-image {
    margin: 0;
    overflow: hidden;
    border-radius: var(--radius-lg);
    background: var(--surface-soft);
    box-shadow: var(--shadow-lg);
}

.contact-image-card img,
.contact-extra-image img {
    width: 100%;
    max-height: min(65vh, 620px);
    object-fit: cover;
    object-position: center;
}

.contact-sidebar {
    position: sticky;
    top: 100px;
    display: grid;
    gap: 1rem;
}

.contact-info-card {
    display: grid;
    gap: 0.8rem;
}

.contact-info-row {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    padding: 0.85rem;
    border-radius: 1rem;
    background: var(--surface-soft);
}

.contact-info-row strong {
    display: block;
    margin-bottom: 0.2rem;
}

.contact-info-row p,
.contact-info-row a {
    margin: 0;
    text-decoration: none;
    font-size: clamp(0.85rem, 1.8vw, 0.95rem);
    line-height: 1.6;
    color: var(--text-muted);
}

.contact-quick-actions {
    display: grid;
    gap: 0.75rem;
}

.contact-quick-actions .button {
    width: 100%;
}

.contact-map-section {
    padding-top: 0;
}

.contact-cta-section {
    padding-top: 0;
}

@media (max-width: 980px) {
    .contact-page-grid {
        grid-template-columns: 1fr;
    }

    .contact-sidebar {
        position: static;
    }
}

@media (max-width: 640px) {
    .contact-intro-card,
    .contact-extra-section,
    .contact-info-card,
    .contact-quick-actions {
        padding: 1rem;
    }
}

/* --- [แก้ไขจุดนี้] สิ้นสุด CSS หน้า Contact --- */
/* --- [แก้ไขจุดนี้] เริ่มต้นโลโก้ Navbar --- */

.brand-logo {
    display: grid;
    width: clamp(3rem, 7vw, 4rem);
    aspect-ratio: 1;
    place-items: center;
    flex: 0 0 auto;
    overflow: hidden;
    border-radius: 50%;
    background: transparent;
}

.brand-logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

/* ซ่อนรูปแบบตัว W เดิม หากยังหลงเหลือในหน้า */
.brand-mark {
    display: none;
}

@media (max-width: 640px) {
    .brand-logo {
        width: clamp(2.75rem, 12vw, 3.4rem);
    }
}

/* --- [แก้ไขจุดนี้] สิ้นสุดโลโก้ Navbar --- */
/* --- [แก้ไขจุดนี้] เริ่มต้นแก้ปัญหารูปภาพถูกตัด --- */

/*
|--------------------------------------------------------------------------
| ภาพหลักและภาพเนื้อหา
|--------------------------------------------------------------------------
| ใช้ contain เพื่อให้เห็นภาพครบทั้งใบ
| และใช้ height:auto เพื่อไม่บังคับตัดภาพ
|--------------------------------------------------------------------------
*/

.hero-media img,
.content-media img,
.expert-image,
.contact-image-card img,
.contact-extra-image img,
.detail-cover img {
    width: 100%;
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center !important;
    background: #ffffff;
}

/*
|--------------------------------------------------------------------------
| กรอบภาพ
|--------------------------------------------------------------------------
| ป้องกันกรอบบังคับความสูงจนรูปถูกตัด
|--------------------------------------------------------------------------
*/

.hero-media,
.content-media,
.contact-image-card,
.contact-extra-image,
.detail-cover {
    display: block;
    height: auto;
    min-height: 0;
    overflow: hidden;
}

/*
|--------------------------------------------------------------------------
| ภาพใน Expert Section
|--------------------------------------------------------------------------
| ถ้ารูปอยู่ในกรอบที่มี min-height เดิม ให้ยกเลิกการบังคับความสูง
|--------------------------------------------------------------------------
*/

.expert-visual:has(.expert-image) {
    min-height: 0;
    height: auto;
}

.expert-image {
    display: block;
    min-height: 0 !important;
}

/*
|--------------------------------------------------------------------------
| รูป Thumbnail ในการ์ด
|--------------------------------------------------------------------------
| คง cover ไว้เพื่อรักษารูปแบบการ์ดให้เท่ากัน
|--------------------------------------------------------------------------
*/

.article-card__media img,
.repair-case-card__media img,
.case-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 640px) {
    .hero-media img,
    .content-media img,
    .contact-image-card img,
    .contact-extra-image img,
    .detail-cover img {
        width: 100%;
        height: auto !important;
        max-height: none !important;
    }
}

/* --- [แก้ไขจุดนี้] สิ้นสุดแก้ปัญหารูปภาพถูกตัด --- */
/* --- [แก้ไขจุดนี้] เริ่มต้นบังคับรูปบทความและเคสแสดงเต็มใบ --- */

.detail-hero
.detail-cover.detail-cover--full
img.detail-cover__image-full {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    margin: 0 auto !important;
}

/* ป้องกันกฎเก่าของ detail-cover เข้ามาตัดภาพ */
.detail-cover--full img {
    height: auto !important;
    max-height: none !important;
    object-fit: contain !important;
}

/* --- [แก้ไขจุดนี้] สิ้นสุดบังคับรูปบทความและเคสแสดงเต็มใบ --- */

/* --- [แก้ไขจุดนี้] เริ่มต้นบังคับรูป Detail แสดงเต็มใบ --- */

.detail-hero .detail-cover.detail-cover--full {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    overflow: visible !important;
    aspect-ratio: auto !important;
    background: #ffffff !important;
}

.detail-hero .detail-cover.detail-cover--full img.detail-cover__image-full {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
}

/* --- [แก้ไขจุดนี้] สิ้นสุดบังคับรูป Detail แสดงเต็มใบ --- */
/* --- [แก้ไขจุดนี้] เริ่มต้นแก้รูปการ์ดบทความและเคสให้แสดงเต็มใบ --- */

/*
|--------------------------------------------------------------------------
| ยกเลิกการบังคับสัดส่วน 16:9
|--------------------------------------------------------------------------
| เดิมใช้ aspect-ratio + cover ทำให้รูปถูกครอป
|--------------------------------------------------------------------------
*/

.article-card__media,
.repair-case-card__media {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    aspect-ratio: auto !important;
    overflow: hidden !important;
    background: #ffffff !important;
}

/*
|--------------------------------------------------------------------------
| แสดงรูปเต็มใบ
|--------------------------------------------------------------------------
*/

.article-card__media img,
.repair-case-card__media img {
    display: block !important;
    width: 100% !important;
    height: auto !important;
    min-height: 0 !important;
    max-height: none !important;
    aspect-ratio: auto !important;
    object-fit: contain !important;
    object-position: center center !important;
    transform: none !important;
    background: #ffffff !important;
}

/*
|--------------------------------------------------------------------------
| ปิดเอฟเฟกต์ซูมเมื่อ Hover
|--------------------------------------------------------------------------
| ป้องกันรูปดูเหมือนถูกตัดตอนชี้เมาส์
|--------------------------------------------------------------------------
*/

.article-card:hover .article-card__media img,
.repair-case-card:hover .repair-case-card__media img {
    transform: none !important;
}

/*
|--------------------------------------------------------------------------
| Mobile
|--------------------------------------------------------------------------
*/

@media (max-width: 640px) {
    .article-card__media,
    .repair-case-card__media {
        aspect-ratio: auto !important;
    }

    .article-card__media img,
    .repair-case-card__media img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
    }
}

/* --- [แก้ไขจุดนี้] สิ้นสุดแก้รูปการ์ดบทความและเคสให้แสดงเต็มใบ --- */