/* ===================== S Tech Control ===================== */
:root {
  --green: #0f8a3c;
  --green-2: #16a34a;
  --green-d: #0b4f2a;
  --green-dd: #05301a;
  --orange: #f47a1f;
  --orange-d: #e0650d;
  --ink: #141d24;
  --text: #36414b;
  --muted: #66727d;
  --line: #e5e9ec;
  --soft: #f4f6f5;
  --r: 12px;
  --shadow: 0 10px 30px rgba(15, 30, 22, .08);
  --shadow-lg: 0 24px 50px rgba(10, 30, 20, .16);
  --head: 'Prompt', system-ui, sans-serif;
  --body: 'Anuphan', system-ui, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body { margin: 0; font: 400 16px/1.7 var(--body); color: var(--text); background: #fff; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; color: inherit; }
h1, h2, h3, h4 { font-family: var(--head); line-height: 1.25; margin: 0; color: var(--ink); }
p { margin: 0; }
.container { width: min(1240px, 100% - 48px); margin-inline: auto; }
.i { display: inline-grid; place-items: center; width: 1.15em; height: 1.15em; flex: none; container-type: size; font-style: normal; }
.i::before { font-size: 100cqh; line-height: 1; }
.muted { color: var(--muted); }
.small { font-size: .9rem; margin-top: 18px; }
.lead { font-size: 1.1rem; color: var(--ink); margin: 14px 0 12px; }
.link { color: var(--orange); font-weight: 600; }

.section { padding: 84px 0; }
.section--tight { padding: 56px 0; }
.section--soft { background: var(--soft); }
.head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; margin-bottom: 30px; }
.head--center { flex-direction: column; align-items: center; text-align: center; }
.head__note { margin-bottom: 4px; }
.h2 { font-size: clamp(1.55rem, 2.5vw, 2.1rem); font-weight: 600; position: relative; padding-bottom: 14px; }
.h2::after { content: ''; position: absolute; left: 0; bottom: 0; width: 46px; height: 4px; border-radius: 4px; background: var(--orange); }
.h2--light { color: #fff; }
.h2--center::after { left: 50%; translate: -50% 0; }
.eyebrow { display: inline-block; font: 600 .8rem var(--head); letter-spacing: .12em; text-transform: uppercase; color: var(--green); margin-bottom: 8px; }
.eyebrow--orange { color: var(--orange-d); }
.more { display: inline-flex; align-items: center; gap: 8px; font: 500 .95rem var(--head); color: var(--green); }
.more:hover { color: var(--orange); }
.more .i, .btn .i { transition: transform .2s; }
.more:hover .i, .btn:hover .i { transform: translateX(4px); }
.tag { display: inline-block; font: 500 .75rem var(--head); color: var(--green); background: #e3f3e8; padding: 2px 10px; border-radius: 99px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 13px 28px; border-radius: 99px; font: 500 1rem var(--head); border: 2px solid transparent; transition: background .2s, color .2s, box-shadow .2s; white-space: nowrap; }
.btn--orange { background: linear-gradient(180deg, #ff8a2e, var(--orange-d)); color: #fff; box-shadow: 0 10px 22px rgba(244, 122, 31, .35); }
.btn--orange:hover { box-shadow: 0 12px 26px rgba(244, 122, 31, .5); }
.btn--green { background: linear-gradient(180deg, var(--green-2), var(--green)); color: #fff; box-shadow: 0 10px 22px rgba(15, 138, 60, .28); }
.btn--outline { border-color: var(--green); color: var(--green-d); background: rgba(255, 255, 255, .85); }
.btn--outline:hover { background: var(--green); color: #fff; }

/* ===================== Split (intro + grid) ===================== */
.split { display: grid; grid-template-columns: 330px 1fr; gap: 44px; align-items: center; }
.split__intro p { margin: 18px 0 28px; color: var(--muted); }
.split > * { min-width: 0; }

/* Product cards */
.products { background: linear-gradient(180deg, #fff 0%, var(--soft) 100%); }
.pgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.pgrid--5 { grid-template-columns: repeat(5, 1fr); }
.pcard { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border-radius: var(--r); padding: 10px 10px 16px; box-shadow: 0 4px 16px rgba(0, 0, 0, .06); border: 1px solid #edf0f2; transition: transform .25s, box-shadow .25s, border-color .25s; }
.pcard__img { width: 100%; height: 140px; display: grid; place-items: center; border-radius: 9px; background: radial-gradient(circle at 50% 40%, #fff 0%, #f1f3f4 75%); margin-bottom: 12px; overflow: hidden; }
.pcard__img img { max-height: 124px; width: auto; max-width: 92%; object-fit: contain; mix-blend-mode: multiply; transition: transform .35s; }
.pcard b { font: 600 .9rem/1.3 var(--head); color: var(--ink); }
.pcard small { font-size: .74rem; color: var(--muted); line-height: 1.35; margin-top: 2px; }
.pcard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(15, 138, 60, .35); }
.pcard:hover .pcard__img img { transform: scale(1.06); }

/* ===================== Services band ===================== */
.services { position: relative; overflow: hidden; padding: 70px 0; background: linear-gradient(105deg, #04140c 0%, var(--green-dd) 38%, var(--green-d) 70%, #0f7a37 100%); color: #fff; clip-path: polygon(0 0, 100% 3%, 100% 100%, 0 97%); }
.services__bg { position: absolute; inset: 0; background: center/cover no-repeat; opacity: .16; mix-blend-mode: luminosity; }
.services .split { position: relative; }
.services .split__intro p { color: rgba(255, 255, 255, .82); }
.sgrid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.scard { background: #fff; border-radius: var(--r); padding: 28px 16px 24px; text-align: center; color: var(--text); transition: transform .25s, box-shadow .25s; }
.scard .i { width: 56px; height: 56px; color: var(--green); margin: 0 auto 14px; }
.scard h3 { font-size: 1.08rem; font-weight: 600; margin-bottom: 8px; }
.scard p { font-size: .84rem; color: var(--muted); line-height: 1.5; }
.scard:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(0, 0, 0, .35); }

/* Process */
.steps { list-style: none; margin: 32px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 42px; }
.steps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 26px 14px 22px; border-radius: var(--r); background: linear-gradient(160deg, #fff 40%, #eef3f0); border: 1px solid #edf1ef; }
.steps li:not(:last-child)::after { content: ''; position: absolute; right: -32px; top: 50%; width: 22px; height: 22px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6' fill='none' stroke='%23a9b3ba' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/contain no-repeat; translate: 0 -50%; }
.steps__n { position: absolute; left: 18px; top: 18px; width: 34px; height: 34px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(180deg, #ff8a2e, var(--orange-d)); color: #fff; font: 600 1rem var(--head); box-shadow: 0 6px 14px rgba(244, 122, 31, .35); }
.steps .i { width: 52px; height: 52px; color: var(--green); margin-bottom: 12px; }
.steps p { font: 500 .95rem/1.45 var(--head); color: var(--ink); }

/* ===================== Works ===================== */
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery--row { grid-template-columns: repeat(5, 1fr); }
.work { position: relative; border: 0; padding: 0; border-radius: 10px; overflow: hidden; aspect-ratio: 4/3.6; background: #dde3e0; }
.work img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.work::before { content: ''; position: absolute; left: 0; top: 0; z-index: 1; width: 36px; height: 4px; background: var(--orange); }
.work span { position: absolute; inset: auto 0 0; padding: 30px 12px 10px; font: 500 .82rem/1.35 var(--head); color: #fff; text-align: left; background: linear-gradient(transparent, rgba(0, 0, 0, .78)); opacity: 0; translate: 0 8px; transition: .3s; }
.work:hover img { transform: scale(1.07); }
.work:hover span, .gallery:not(.gallery--row) .work span { opacity: 1; translate: 0; }
.filters, .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips { margin-bottom: 24px; }
.filters button, .chips button { border: 1px solid var(--line); background: #fff; padding: 7px 16px; border-radius: 99px; font: 500 .88rem var(--head); color: var(--text); transition: .15s; }
.filters button:hover, .chips button:hover { border-color: var(--green); color: var(--green); }
.filters button.is-active, .chips button.is-active { background: var(--green); border-color: var(--green); color: #fff; }

/* News */
.ngrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ncard { display: grid; grid-template-columns: 44% 1fr; text-align: left; padding: 0; border: 0; border-radius: var(--r); background: var(--soft); overflow: hidden; transition: transform .25s, box-shadow .25s; }
.section--soft .ncard { background: #fff; }
.ncard__img { overflow: hidden; }
.ncard__img img { width: 100%; height: 100%; min-height: 140px; object-fit: cover; transition: transform .5s; }
.ncard__body { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; padding: 16px; }
.ncard b { font: 600 .98rem/1.4 var(--head); color: var(--ink); }
.ncard__more { margin-top: auto; display: inline-flex; align-items: center; gap: 6px; font: 500 .85rem var(--head); color: var(--orange); }
.ncard:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.ncard:hover img { transform: scale(1.06); }

/* ===================== CTA ===================== */
.cta { position: relative; overflow: hidden; color: #fff; padding: 64px 0; background: linear-gradient(100deg, var(--green-dd) 0%, var(--green-d) 45%, #0e7d38 100%); }
.cta::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='60' height='60'%3E%3Cpath d='M0 60L60 0' stroke='white' stroke-opacity='.04' stroke-width='14'/%3E%3C/svg%3E"); }
.cta__photo { position: absolute; right: 0; top: 0; height: 100%; width: 40%; object-fit: cover; object-position: center 30%; mask-image: linear-gradient(90deg, transparent, #000 40%); }
.cta__inner { position: relative; }
.cta h2 { color: #fff; font-size: clamp(1.4rem, 2.6vw, 2.05rem); font-weight: 600; max-width: 720px; }
.cta h2 span { font-size: 1.3em; font-weight: 700; }
.cta p { margin: 10px 0 26px; color: rgba(255, 255, 255, .85); }
.cta__row { display: flex; align-items: center; gap: 34px; flex-wrap: wrap; }
.cta__item { display: flex; align-items: center; gap: 12px; font: 500 1.15rem/1.2 var(--head); }
.cta__item small { display: block; font-size: .72rem; opacity: .7; }
.cta__item .i { width: 42px; height: 42px; padding: 10px; border-radius: 50%; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .3); }
.cta__item:hover .i { background: var(--orange); border-color: var(--orange); }

/* ===================== Footer ===================== */
.footer { background: #0d1316; color: #b8c1c7; font-size: .92rem; padding-top: 58px; border-top: 4px solid var(--green); }
.footer__grid { display: grid; grid-template-columns: 1.5fr .8fr .9fr 1.35fr .7fr; gap: 32px; }
.footer__brand p { margin-top: 18px; max-width: 300px; }
.footer__logo { display: inline-block; background: #fff; border-radius: 14px; padding: 10px 16px; }
.footer__logo img { height: 74px; width: auto; }
.footer h4 { color: #fff; font-size: 1.02rem; font-weight: 500; margin-bottom: 14px; }
.footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; }
.footer a:hover { color: var(--orange); }
.footer__contact li { display: flex; gap: 10px; align-items: flex-start; }
.footer__contact .i { color: #fff; margin-top: 5px; }
.footer__qr { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer__qr img { width: 124px; border-radius: 10px; background: #fff; padding: 6px; }
.pill-line { background: #06c755; color: #fff; font: 500 .82rem var(--head); padding: 5px 14px; border-radius: 99px; }
.footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; border-top: 1px solid #1f2a2f; margin-top: 44px; padding: 18px 0; font-size: .82rem; color: #7f8a91; }

/* ===================== Inner pages ===================== */
.banner { position: relative; overflow: hidden; color: #fff; background: var(--green-dd); }
.banner__photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; }
.banner::before { content: ''; position: absolute; inset: 0; z-index: 1; background: linear-gradient(95deg, rgba(4, 25, 13, .95) 0%, rgba(8, 64, 34, .85) 45%, rgba(8, 64, 34, .2) 100%); }
.banner::after { content: ''; position: absolute; left: 0; bottom: 0; z-index: 1; width: 38%; height: 6px; background: linear-gradient(90deg, var(--orange), transparent); }
.banner__inner { position: relative; z-index: 2; padding: 78px 0 70px; }
.banner h1 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); font-weight: 700; margin: 6px 0 8px; }
.banner p { color: rgba(255, 255, 255, .85); max-width: 640px; }
.crumb { font: 400 .88rem var(--head); }
.crumb a { color: #ffb57a; }
.subnav { position: relative; z-index: 2; display: flex; gap: 6px; flex-wrap: wrap; padding-bottom: 22px; }
.subnav a { font: 500 .88rem var(--head); padding: 6px 16px; border-radius: 99px; background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .25); }
.subnav a:hover { background: var(--orange); border-color: var(--orange); }

.checklist { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 10px; }
.checklist--2 { grid-template-columns: 1fr 1fr; gap: 10px 22px; }
.checklist li { position: relative; padding-left: 30px; font: 500 .98rem var(--head); color: var(--ink); }
.checklist li::before { content: ''; position: absolute; left: 0; top: 3px; width: 20px; height: 20px; border-radius: 50%; background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12l4 4 8-8' fill='none' stroke='white' stroke-width='3' stroke-linecap='round'/%3E%3C/svg%3E") center/12px no-repeat; }

/* About page */
.intro { display: grid; grid-template-columns: 1fr 1.05fr; gap: 64px; align-items: center; }
.intro__media { position: relative; padding: 0 60px 70px 0; }
.intro__main { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-lg); }
.intro__sub { position: absolute; right: 0; bottom: 0; width: 44%; aspect-ratio: 3/4; object-fit: cover; border-radius: 14px; border: 6px solid #fff; box-shadow: var(--shadow-lg); }
.intro__badge { position: absolute; left: -18px; bottom: 30px; display: flex; align-items: center; gap: 12px; padding: 16px 22px; border-radius: 14px; background: linear-gradient(135deg, var(--green-d), var(--green)); color: #fff; box-shadow: var(--shadow-lg); font: 500 .85rem/1.3 var(--head); }
.intro__badge b { font-size: 2.2rem; line-height: 1; }
.why { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.why article { background: #fff; border-radius: 14px; padding: 30px 24px; border-bottom: 4px solid transparent; box-shadow: 0 4px 16px rgba(0, 0, 0, .05); transition: .25s; }
.why article:hover { border-color: var(--orange); transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.why .i { width: 54px; height: 54px; color: var(--green); padding: 12px; border-radius: 14px; background: #e6f4ea; margin-bottom: 16px; }
.why h3 { font-size: 1.12rem; margin-bottom: 8px; }
.why p { font-size: .92rem; color: var(--muted); }
.mosaic { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-template-rows: 220px 220px; gap: 14px; }
.mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }
.mosaic img:first-child { grid-row: span 2; }

/* Products page */
.feature { display: grid; grid-template-columns: 1fr 1.1fr; gap: 60px; align-items: center; }
.feature--rev .feature__media { order: 2; }
.feature__media img { width: 100%; aspect-ratio: 4/3.4; object-fit: cover; border-radius: 16px; box-shadow: var(--shadow-lg); }
.feature__media--contain img { aspect-ratio: auto; object-fit: contain; background: #fff; }
.repairs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; margin: 20px 0 28px; }
.repairs span { display: flex; align-items: center; gap: 8px; padding: 12px 14px; border-radius: 10px; background: #fff; font: 500 .92rem var(--head); color: var(--ink); box-shadow: 0 2px 10px rgba(0, 0, 0, .05); }
.repairs .i { color: var(--orange); }
.search { display: flex; align-items: center; gap: 8px; border: 1px solid var(--line); border-radius: 99px; padding: 9px 18px; width: min(380px, 100%); background: #fff; }
.search input { border: 0; outline: 0; font: inherit; width: 100%; background: none; }
.search:focus-within { border-color: var(--green); box-shadow: 0 0 0 3px rgba(15, 138, 60, .12); }
.bgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(340px, 100%), 1fr)); gap: 18px; }
.bcard { background: #fff; border: 1px solid var(--line); border-top: 4px solid var(--bc); border-radius: var(--r); padding: 20px 22px; transition: box-shadow .2s; }
.bcard:hover { box-shadow: var(--shadow); }
.bcard h3 { font-size: 1.15rem; color: var(--bc); margin-bottom: 12px; }
.bcard dl { margin: 0; display: grid; grid-template-columns: 96px 1fr; gap: 8px 12px; font-size: .9rem; }
.bcard dt { font: 600 .78rem var(--head); color: var(--green-d); background: #eaf5ee; border-radius: 6px; padding: 3px 8px; align-self: start; text-align: center; }
.bcard dd { margin: 0; overflow-wrap: anywhere; }
.empty { grid-column: 1/-1; text-align: center; padding: 40px; color: var(--muted); }
.empty a { color: var(--orange); font-weight: 600; }
.dl { display: grid; grid-template-columns: 240px 1fr; gap: 40px; align-items: center; padding: 34px 44px; border-radius: 20px; background: linear-gradient(115deg, #e9f6ee, #fff6ee); }
.dl > img { background: #fff; border-radius: 12px; padding: 12px; box-shadow: var(--shadow); }
.dl p { margin: 12px 0 22px; }

/* Contact page */
.ccards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.ccard { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 6px; padding: 30px 20px; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: 0 4px 16px rgba(0, 0, 0, .04); transition: .25s; }
.ccard .i { width: 58px; height: 58px; padding: 15px; border-radius: 50%; color: #fff; background: linear-gradient(135deg, var(--green-2), var(--green-d)); margin-bottom: 8px; }
.ccard h3 { font-size: 1.05rem; }
.ccard p { color: var(--muted); font-weight: 500; overflow-wrap: anywhere; }
a.ccard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); border-color: rgba(15, 138, 60, .3); }
.ccard--line img { width: 96px; border-radius: 8px; margin-bottom: 4px; }
.contact { display: grid; grid-template-columns: 1.3fr 1fr; gap: 40px; align-items: start; }
.qform { background: #fff; border-radius: 18px; padding: 36px; box-shadow: var(--shadow); display: grid; gap: 14px; }
.qform .h2 { margin-bottom: 4px; }
.qform__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.qform label { display: grid; gap: 6px; font: 500 .9rem var(--head); color: var(--ink); }
.qform input, .qform select, .qform textarea { width: 100%; border: 1px solid var(--line); border-radius: 10px; padding: 11px 14px; font: 400 .98rem var(--body); background: #fafbfb; color: var(--ink); }
.qform :is(input, select, textarea):focus { outline: 0; border-color: var(--green); background: #fff; box-shadow: 0 0 0 3px rgba(15, 138, 60, .12); }
.qform .btn { justify-self: start; margin-top: 6px; }
.contact__side { display: grid; gap: 0; border-radius: 18px; overflow: hidden; box-shadow: var(--shadow); background: #fff; }
.contact__side > img { aspect-ratio: 16/10; object-fit: cover; width: 100%; }
.contact__box { padding: 26px 28px 30px; }
.contact__box ul { list-style: none; margin: 18px 0 0; padding: 0; display: grid; gap: 12px; }
.contact__box li { display: flex; align-items: center; gap: 12px; font: 500 1rem var(--head); color: var(--ink); }
.contact__box .i { width: 36px; height: 36px; padding: 9px; border-radius: 50%; background: #fff1e6; color: var(--orange); }
.contact__box a:hover { color: var(--orange); }

/* ===================== Overlays ===================== */
[hidden] { display: none !important; }
.lightbox, .modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 20px; background: rgba(4, 12, 8, .92); }
.lightbox figure { margin: 0; text-align: center; }
.lightbox img { max-height: 82vh; max-width: 82vw; border-radius: 10px; margin: auto; }
.lightbox figcaption { color: #fff; margin-top: 12px; font-family: var(--head); }
.lightbox__close, .modal__close { position: absolute; top: 12px; right: 18px; z-index: 2; border: 0; background: none; color: #fff; font-size: 2.4rem; line-height: 1; text-shadow: 0 1px 6px #000; }
.lightbox__nav { flex: none; display: grid; place-items: center; width: 52px; height: 52px; margin: 0 12px; border: 0; border-radius: 50%; background: rgba(255, 255, 255, .12); color: #fff; }
.lightbox__nav .i { width: 24px; height: 24px; }
.lightbox__nav:hover { background: var(--orange); }
.modal__card { position: relative; width: min(720px, 100%); max-height: 90vh; overflow: auto; border-radius: 18px; background: #fff; }
.modal__card > img { width: 100%; height: 260px; object-fit: cover; }
.modal__body { padding: 26px 30px 30px; display: grid; gap: 12px; justify-items: start; }
.modal__body h3 { font-size: 1.4rem; }

.fab { position: fixed; right: 18px; bottom: 18px; z-index: 40; display: none; place-items: center; width: 56px; height: 56px; border-radius: 50%; color: #fff; background: linear-gradient(180deg, #ff8a2e, var(--orange-d)); box-shadow: 0 10px 24px rgba(0, 0, 0, .25); }
.fab .i { width: 24px; height: 24px; }

.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .logos__rail { animation: none; flex-wrap: wrap; width: auto; }
}

/* ===================== Responsive ===================== */
@media (max-width: 1240px) {
  .pgrid--5 { grid-template-columns: repeat(4, 1fr); }
  .footer__grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
@media (max-width: 1060px) {
    .split, .intro, .feature, .contact { grid-template-columns: 1fr; }
  .feature--rev .feature__media { order: 0; }
    .ngrid { grid-template-columns: 1fr; }
  .why, .ccards { grid-template-columns: repeat(2, 1fr); }
  .gallery { grid-template-columns: repeat(3, 1fr); }
  .cta__photo { opacity: .3; width: 60%; }
  .fab { display: grid; }
}
@media (max-width: 720px) {
  .container { width: calc(100% - 36px); }
  .section { padding: 60px 0; }
  .pgrid, .pgrid--5, .sgrid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .pcard__img { height: 110px; }
  .pcard__img img { max-height: 96px; }
  .services { clip-path: none; }
  .steps { grid-template-columns: 1fr 1fr; gap: 14px; }
  .steps li::after { display: none; }
  .gallery { grid-template-columns: repeat(2, 1fr); gap: 10px; }
  .work span { opacity: 1; translate: 0; font-size: .74rem; }
  .ncard { grid-template-columns: 120px 1fr; }
  .cta__row { gap: 18px; }
  .cta__photo { width: 100%; opacity: .15; }
  .footer__grid { grid-template-columns: 1fr 1fr; }
  .footer__brand { grid-column: 1/-1; }
  .checklist--2 { grid-template-columns: 1fr; }
  .intro__media { padding: 0 30px 50px 0; }
  .intro__badge { left: 0; }
  .why, .ccards { grid-template-columns: 1fr; }
  .mosaic { grid-template-columns: 1fr 1fr; grid-template-rows: 200px 140px 140px; }
  .mosaic img:first-child { grid-column: span 2; grid-row: auto; }
  .repairs { grid-template-columns: 1fr 1fr; }
  .dl { grid-template-columns: 1fr; padding: 24px; }
  .dl > img { max-width: 200px; }
  .qform { padding: 24px; }
  .qform__row { grid-template-columns: 1fr; }
  .lightbox__nav { position: absolute; bottom: 20px; }
  .lightbox__nav[data-d="-1"] { left: 20px; }
  .lightbox__nav[data-d="1"] { right: 20px; }
}


/* =========================================================
   Header ตามแบบ (ทุกหน้า)
   ========================================================= */
.header { position: sticky; top: 0; z-index: 50; background: #fff; transition: box-shadow .25s; }
.header.is-scrolled { box-shadow: 0 6px 24px rgba(0, 0, 0, .08); }
.header__inner { display: flex; align-items: center; height: 82px; width: 100%; padding-left: max(24px, (100vw - 1240px) / 2); margin: 0; }
.brandmark { display: flex; align-items: center; gap: 8px; flex: none; }
.brandmark img { height: 62px; width: auto; }
.bm__text b { display: block; font: 700 1.55rem/1 var(--head); color: var(--orange); letter-spacing: .3px; }
.bm__text em { font-style: normal; color: var(--green); }
.bm__text small { display: block; margin-top: 4px; font: 500 .72rem/1.2 var(--head); color: #222; }
.brandmark--dark .bm__text small { color: #c3cbd0; }
.nav { display: flex; gap: 2px; margin-left: auto; margin-right: 22px; }
.nav a { position: relative; padding: 29px 10px; font: 500 .93rem var(--head); color: #26313a; white-space: nowrap; }
.nav a::after { content: ""; position: absolute; left: 10px; right: 10px; bottom: 20px; height: 3px; border-radius: 3px; background: var(--orange); transform: scaleX(0); transition: transform .2s; }
.nav a:hover, .nav a.is-active { color: var(--orange); }
.nav a:hover::after, .nav a.is-active::after { transform: scaleX(1); }
.header__cta { align-self: stretch; display: flex; align-items: center; gap: 10px; padding: 0 max(24px, (100vw - 1240px) / 2) 0 44px; background: linear-gradient(180deg, #ff8a2e, var(--orange-d)); color: #fff; font: 500 1rem var(--head); white-space: nowrap; clip-path: polygon(24px 0, 100% 0, 100% 100%, 0 100%); }
.header__cta .i { width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: #fff; color: var(--orange); }
.burger { display: none; width: 46px; height: 46px; border: 0; background: none; margin: 0 16px 0 auto; padding: 11px; }
.burger span { display: block; height: 2px; background: var(--ink); margin: 5px 0; border-radius: 2px; }
.footer .brandmark img { height: 66px; }
.btn--sm { padding: 10px 24px; font-size: .95rem; }
.mt { font-size: clamp(1.5rem, 2.3vw, 1.95rem); font-weight: 600; line-height: 1.3; }
.mt--light { color: #fff; }

/* =========================================================
   Home (ตามแบบ)
   ========================================================= */
/* Hero */
.mh { position: relative; overflow: hidden; background: #fff; }
.mh__photo { position: absolute; top: 0; right: 0; height: 100%; width: 64%; object-fit: cover; object-position: 60% 45%; }
.mh__quote { position: absolute; z-index: 3; right: max(24px, (100vw - 1240px) / 2); top: 70px; padding-bottom: 18px; text-align: right; font: 500 clamp(1.5rem, 2.3vw, 2.1rem)/1.3 var(--head); color: #fff; text-shadow: 0 2px 16px rgba(0, 0, 0, .6); }
.mh__quote::after { content: ""; position: absolute; right: 0; bottom: 0; width: 120px; height: 4px; border-radius: 4px; background: var(--orange); transform: rotate(-6deg); }
.mh::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, #fff 0%, #fff 34%, rgba(255, 255, 255, .9) 40%, rgba(255, 255, 255, .45) 49%, rgba(255, 255, 255, 0) 58%), linear-gradient(270deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, 0) 30%); }
.mh__swoosh { position: absolute; z-index: 2; left: -6%; bottom: -88px; width: 58%; height: 170px; background: linear-gradient(90deg, #0b5a2e, #16a34a 70%, #3cc56a); border-radius: 0 100% 0 0 / 0 100% 0 0; transform: rotate(-5deg); }
.mh__swoosh::after { content: ""; position: absolute; inset: -14px -10px auto 0; height: 30px; border-top: 6px solid rgba(255, 255, 255, .9); border-radius: 0 100% 0 0 / 0 100% 0 0; }
.mh__inner { position: relative; z-index: 3; padding: 50px 0 74px; }
.mh__kicker { font: 600 1.25rem var(--head); color: var(--ink); margin-bottom: 4px; }
.mh h1 { font-size: clamp(2.6rem, 4.6vw, 3.8rem); font-weight: 700; line-height: 1.1; color: #0b5a2e; }
.mh h1 span { display: block; margin-top: 8px; font-size: .66em; color: #10813b; }
.mh__lead { margin: 16px 0 22px; font: 500 clamp(1.15rem, 1.9vw, 1.6rem)/1.4 var(--head); color: var(--ink); }
.mh__features { list-style: none; margin: 0 0 30px; padding: 0; display: flex; gap: 26px; }
.mh__features li { display: flex; flex-direction: column; align-items: center; text-align: center; font: 400 .74rem/1.3 var(--head); color: #333; }
.mh__features .i { width: 34px; height: 34px; color: #0f8a3c; margin-bottom: 6px; }
.mh__actions { display: flex; gap: 18px; flex-wrap: wrap; }
.mh__actions .btn { min-width: 180px; }

/* Brand logos */
.mlogos { padding: 22px 0 30px; background: #fff; border-bottom: 1px solid #eceff1; }
.mlogos h2 { font: 600 1.05rem var(--head); margin-bottom: 18px; }
/* สไลด์โลโก้วนต่อเนื่อง: rail มีโลโก้ 2 ชุด เลื่อนไป -50% แล้ววนซ้ำ */
.mlogos__track { overflow: hidden; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.logos__rail { display: flex; align-items: center; gap: 64px; width: max-content; padding-right: 64px; animation: marquee 32s linear infinite; }
.logos__rail img { height: 40px; width: auto; max-width: 150px; object-fit: contain; }
.mlogos__track:hover .logos__rail { animation-play-state: paused; }
@keyframes marquee { to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .logos__rail { animation: none; flex-wrap: wrap; justify-content: center; width: auto; } }

/* Products */
.mprod { padding: 48px 0 56px; background: linear-gradient(180deg, #f3f5f4, #fafbfa); }
.mprod__grid { display: grid; grid-template-columns: 290px 1fr; gap: 36px; align-items: center; }
.mprod__intro p { margin: 16px 0 24px; color: #4b5560; font-size: .95rem; }
.mprod__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.mpc { display: flex; flex-direction: column; align-items: center; text-align: center; padding: 8px 8px 14px; border-radius: 10px; background: #fff; box-shadow: 0 4px 14px rgba(0, 0, 0, .06); transition: transform .25s, box-shadow .25s; }
.mpc img { width: 100%; aspect-ratio: 110/74; object-fit: contain; padding: 4px; margin-bottom: 8px; background: #fff; transition: transform .35s; }
.mpc:hover img { transform: scale(1.05); }
.mpc b { font: 600 .86rem/1.25 var(--head); color: var(--ink); }
.mpc small { font-size: .7rem; color: #5d6873; margin-top: 2px; }
.mpc:hover { transform: translateY(-4px); box-shadow: 0 14px 28px rgba(0, 0, 0, .12); }

/* Services */
.msvc { position: relative; overflow: hidden; padding: 46px 0; color: #fff; background: linear-gradient(100deg, #062014 0%, #0a3d22 45%, #0f6b33 100%); }
.msvc__bg { position: absolute; inset: 0; background: center/cover; opacity: .18; mix-blend-mode: luminosity; }
.msvc__grid { position: relative; display: grid; grid-template-columns: 290px 1fr; gap: 36px; align-items: center; }
.msvc__intro p { margin: 14px 0 22px; color: rgba(255, 255, 255, .85); font-size: .95rem; }
.msvc__cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.msvc__cards article { padding: 22px 14px; border-radius: 8px; background: #fff; text-align: center; color: var(--text); transition: transform .25s; }
.msvc__cards article:hover { transform: translateY(-5px); }
.msvc__cards .i { width: 50px; height: 50px; color: #0f8a3c; margin: 0 auto 12px; }
.msvc__cards h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 8px; }
.msvc__cards p { font-size: .78rem; line-height: 1.5; color: #5d6873; }

/* About */
.mabout { display: grid; grid-template-columns: 1.15fr 1.2fr 240px; gap: 40px; align-items: center; width: min(1240px, 100% - 48px); margin: 0 auto; padding: 40px 0 24px; }
.mabout__photo { width: 100%; aspect-ratio: 305/193; object-fit: cover; object-position: center 45%; border-radius: 12px; box-shadow: 0 14px 30px rgba(0, 0, 0, .12); }
.mabout__text p { margin: 16px 0 24px; color: #4b5560; font-size: .95rem; line-height: 1.8; }
.mabout__stats { list-style: none; margin: 0; padding: 0; display: grid; gap: 22px; }
.mabout__stats li { display: flex; align-items: center; gap: 14px; font: 500 .95rem/1.3 var(--head); color: var(--ink); }
.mabout__stats .i { width: 42px; height: 42px; color: #0f8a3c; }
.mabout__stats b { display: block; font-size: 1.3rem; }

/* Process */
.mproc { padding: 26px 0 30px; }
.msteps { list-style: none; margin: 22px 0 0; padding: 0; display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.msteps li { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; padding: 18px 10px; border-radius: 10px; background: linear-gradient(180deg, #fff, #f6f8f7); }
.msteps li:not(:last-child)::after { content: "→"; position: absolute; right: -30px; top: 42%; color: #b4bcc2; font-size: 1.2rem; }
.msteps span { position: absolute; left: 22%; top: 14px; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: var(--orange); color: #fff; font: 600 .95rem var(--head); }
.msteps .i { width: 44px; height: 44px; color: #0f8a3c; margin-bottom: 10px; }
.msteps p { font: 400 .86rem/1.45 var(--head); color: var(--ink); }

/* Works + News header */
.mhead { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 16px; }
.mhead a { display: inline-flex; align-items: center; gap: 8px; font: 500 .92rem var(--head); color: #0f8a3c; }
.mhead a:hover { color: var(--orange); }
.mworks { padding: 26px 0 20px; }
.mworks__row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; }
.mworks__row a { position: relative; overflow: hidden; border-radius: 6px; }
.mworks__row a::before { content: ""; position: absolute; left: 0; top: 0; z-index: 1; width: 30px; height: 4px; background: var(--orange); }
.mworks__row img { width: 100%; aspect-ratio: 132/145; object-fit: cover; transition: transform .45s; }
.mworks__row a:hover img { transform: scale(1.06); }
.mnews { padding: 22px 0 34px; }
.mnews__row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.mnc { display: grid; grid-template-columns: 46% 1fr; gap: 14px; align-items: start; padding: 0; border-radius: 6px; background: #f4f6f5; overflow: hidden; transition: box-shadow .25s; }
.mnc img { width: 100%; aspect-ratio: 109/79; object-fit: cover; }
.mnc span { padding: 10px 12px 10px 0; }
.mnc b { display: block; font: 600 .9rem/1.4 var(--head); color: var(--ink); }
.mnc small { display: block; margin-top: 6px; font-size: .78rem; color: #6b757e; }
.mnc:hover { box-shadow: 0 10px 24px rgba(0, 0, 0, .1); }

/* CTA */
.mcta { position: relative; overflow: hidden; color: #fff; background: #0a3d22; }
.mcta__bg { position: absolute; inset: 0; background: 0% 38%/180% auto no-repeat; opacity: .35; filter: saturate(.6); }
.mcta::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(90deg, rgba(8, 64, 34, .97) 0%, rgba(11, 90, 46, .9) 55%, rgba(11, 90, 46, .4) 80%, rgba(11, 90, 46, .1) 100%); }
.mcta__photo { position: absolute; z-index: 2; right: 0; bottom: 0; height: 100%; width: auto; max-width: 30%; object-fit: cover; object-position: left; mask-image: linear-gradient(90deg, transparent, #000 22%); -webkit-mask-image: linear-gradient(90deg, transparent, #000 22%); }
.mcta__inner { position: relative; z-index: 3; padding: 44px 0 46px; }
.mcta h2 { color: #fff; font-size: clamp(1.4rem, 2.4vw, 1.95rem); font-weight: 600; }
.mcta h2 span { font-size: 1.15em; font-weight: 700; }
.mcta p { margin: 8px 0 22px; color: rgba(255, 255, 255, .88); }
.mcta__row { display: flex; align-items: center; gap: 30px; flex-wrap: wrap; max-width: 72%; }
.mcta__item { display: flex; align-items: center; gap: 10px; font: 500 1.02rem/1.15 var(--head); }
.mcta__item small { display: block; font-size: .7rem; opacity: .75; }
.mcta__item .i { width: 34px; height: 34px; padding: 7px; border-radius: 50%; background: #fff; color: #0b5a2e; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1240px) {
  .nav a { padding-inline: 7px; font-size: .86rem; }
  .nav a::after { left: 7px; right: 7px; }
  .bm__text b { font-size: 1.3rem; }
}
@media (max-width: 1100px) {
  .burger { display: block; }
  .header__cta { display: none; }
  .nav { position: absolute; top: 82px; left: 0; right: 0; margin: 0; flex-direction: column; gap: 0; padding: 8px 24px 20px; background: #fff; box-shadow: 0 14px 24px rgba(0, 0, 0, .08); display: none; }
  .nav.is-open { display: flex; }
  .nav a { padding: 13px 4px; font-size: 1rem; border-bottom: 1px solid var(--line); }
  .nav a::after { display: none; }
  .mh__photo { width: 100%; opacity: .35; }
  .mh__quote { display: none; }
  .mh::before { background: linear-gradient(90deg, #fff 30%, rgba(255, 255, 255, .75)); }
  .logos__rail { gap: 44px; padding-right: 44px; }
  .logos__rail img { height: 32px; }
  .mprod__grid, .msvc__grid { grid-template-columns: 1fr; }
  .mabout { grid-template-columns: 1fr 1fr; }
  .mabout__stats { grid-column: 1/-1; grid-template-columns: repeat(4, 1fr); }
  .mworks__row { grid-template-columns: repeat(3, 1fr); }
  .mnews__row { grid-template-columns: 1fr; }
  .mcta__row { max-width: none; }
  .mcta__photo { opacity: .3; max-width: 50%; }
}
@media (max-width: 720px) {
  .header__inner { height: 72px; padding-left: 16px; }
  .nav { top: 72px; }
  .brandmark img { height: 50px; }
  .bm__text b { font-size: 1.15rem; }
  .bm__text small { font-size: .62rem; }
  .mh__inner { padding: 36px 0 90px; }
  .mh__features { flex-wrap: wrap; gap: 14px 0; }
  .mh__features li { width: 33.33%; }
  .mh__swoosh { width: 100%; height: 120px; bottom: -70px; }
  .mprod__cards, .msvc__cards { grid-template-columns: repeat(2, 1fr); }
  .mabout { grid-template-columns: 1fr; width: calc(100% - 36px); padding: 28px 0; gap: 20px; }
  .mabout__stats { grid-template-columns: 1fr 1fr; }
  .msteps { grid-template-columns: 1fr 1fr; gap: 14px; }
  .msteps li::after { display: none; }
  .mworks__row { grid-template-columns: repeat(2, 1fr); }
  .mworks__row a:last-child { display: none; }
  .mcta__photo { display: none; }
}

/* =========================================================
   โลโก้ใหญ่ขึ้น
   ========================================================= */
.header__inner { height: 92px; }
.brandmark { gap: 12px; }
.brandmark img { height: 76px; }
.bm__text b { font-size: 1.9rem; }
.bm__text small { font-size: .82rem; margin-top: 6px; }
.nav a { padding-block: 34px; }
.nav a::after { bottom: 24px; }
.footer .brandmark img { height: 80px; }
.footer .bm__text b { font-size: 1.75rem; }

/* =========================================================
   Hero: รูปห้องปั๊ม Chiller
   ========================================================= */
.mh__photo { object-position: 58% 62%; }
.mh::after { content: ""; position: absolute; inset: 0 0 0 auto; width: 45%; z-index: 1; background: linear-gradient(180deg, rgba(0, 0, 0, .45) 0%, rgba(0, 0, 0, .1) 45%, rgba(0, 0, 0, 0) 70%); pointer-events: none; }

/* =========================================================
   แถบติดต่อท้ายหน้า
   ========================================================= */
.xcta { position: relative; overflow: hidden; isolation: isolate; padding: 72px 0; color: #fff; background: #062a17; }
.xcta__bg { position: absolute; inset: 0; z-index: -2; background: center 55%/cover; opacity: .28; filter: grayscale(.4); }
.xcta::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(105deg, rgba(4, 34, 18, .97) 0%, rgba(8, 70, 36, .92) 50%, rgba(14, 110, 52, .8) 100%); }
.xcta::after { content: ""; position: absolute; right: -120px; top: -160px; z-index: -1; width: 460px; height: 460px; border-radius: 50%; border: 70px solid rgba(255, 255, 255, .04); }
.xcta__grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.xcta h2 { color: #fff; font-size: clamp(1.35rem, 2.2vw, 1.75rem); font-weight: 500; line-height: 1.35; }
.xcta h2 span { display: block; margin-top: 4px; font-size: 1.6em; font-weight: 700; }
.xcta p { margin: 12px 0 28px; color: rgba(255, 255, 255, .85); font-size: 1.05rem; }
.xcta__cards { display: grid; gap: 14px; }
.xc { display: flex; align-items: center; gap: 16px; width: 100%; padding: 16px 20px; border: 0; border-radius: 16px; background: #fff; color: var(--ink); text-align: left; box-shadow: 0 14px 34px rgba(0, 0, 0, .22); transition: transform .25s, box-shadow .25s; }
.xc:hover { transform: translateX(6px); box-shadow: 0 18px 40px rgba(0, 0, 0, .3); }
.xc__ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; color: #fff; }
.xc__ic .i { width: 24px; height: 24px; }
.xc__ic--tel { background: linear-gradient(180deg, #ff8a2e, var(--orange-d)); }
.xc__ic--mail { background: linear-gradient(180deg, #16a34a, #0b5a2e); }
.xc small { display: block; font: 500 .8rem var(--head); color: var(--muted); }
.xc b { display: block; font: 600 1.15rem/1.3 var(--head); overflow-wrap: anywhere; }
.xc__go { margin-left: auto; width: 22px; height: 22px; color: #9aa5ad; transition: color .2s; }
.xc:hover .xc__go { color: var(--orange); }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: #0b1210; border-top: 0; padding-top: 64px; position: relative; }
.footer::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, var(--green) 0%, var(--green-2) 55%, var(--orange) 100%); }
.footer__grid { grid-template-columns: 1.6fr .9fr 1fr 1.4fr auto; gap: 40px; }
.footer__brand p { color: #a9b4ba; }
.footer__social { display: flex; gap: 10px; margin-top: 22px; }
.footer__social > * { display: grid; place-items: center; width: 42px; height: 42px; padding: 0; border: 1px solid rgba(255, 255, 255, .14); border-radius: 50%; background: rgba(255, 255, 255, .05); color: #fff; transition: background .2s, border-color .2s; }
.footer__social img { width: 30px; height: 30px; }
.footer__social > *:hover { background: var(--orange); border-color: var(--orange); }
.footer h4 { position: relative; padding-bottom: 12px; margin-bottom: 18px; }
.footer h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 28px; height: 3px; border-radius: 3px; background: var(--orange); }
.footer ul { gap: 9px; }
.footer ul a { color: #b8c2c8; transition: color .2s, padding .2s; }
.footer ul a:hover { color: #fff; padding-left: 4px; }
.footer__contact { gap: 14px !important; }
.footer__contact li { align-items: center; gap: 12px; color: #d5dde1; }
.footer__contact small { color: #8f9aa1; }
.fc__ic { flex: none; display: grid; place-items: center; width: 36px; height: 36px; border-radius: 10px; background: rgba(22, 163, 74, .15); color: #4ade80; }
.footer__qr { padding: 12px 12px 10px; border-radius: 16px; background: #fff; gap: 8px; align-self: start; }
.footer__qr > img { width: 128px; padding: 0; border-radius: 0; }
.footer__qr span { display: flex; align-items: center; gap: 6px; font: 600 .82rem var(--head); color: #06c755; }
.footer__qr span img { width: 20px; height: 20px; }
.footer__bottom { border-top-color: rgba(255, 255, 255, .08); color: #7d888f; }

/* =========================================================
   ปุ่มลอย LINE + โทร
   ========================================================= */
.fab { display: none !important; }
.floatbar { position: fixed; right: 22px; bottom: 22px; z-index: 60; display: grid; gap: 12px; }
.fl { position: relative; display: grid; place-items: center; width: 60px; height: 60px; padding: 0; border: 0; border-radius: 50%; color: #fff; box-shadow: 0 10px 26px rgba(0, 0, 0, .28); transition: transform .2s; }
.fl:hover { transform: scale(1.08); }
.fl--line { background: #fff; }
.fl--line img { width: 60px; height: 60px; }
.fl--tel { background: linear-gradient(180deg, #ff8a2e, var(--orange-d)); }
.fl--tel .i { width: 26px; height: 26px; }
.fl--tel::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--orange); animation: ring 2.2s ease-out infinite; }
@keyframes ring { from { transform: scale(1); opacity: .8; } to { transform: scale(1.6); opacity: 0; } }
.fl__tip { position: absolute; right: 72px; top: 50%; translate: 0 -50%; padding: 6px 12px; border-radius: 8px; background: #111a16; color: #fff; font: 500 .85rem var(--head); white-space: nowrap; opacity: 0; pointer-events: none; transition: opacity .2s, translate .2s; }
.fl:hover .fl__tip { opacity: 1; translate: -4px -50%; }

/* ป๊อปอัป QR LINE */
.linebox { position: fixed; inset: 0; z-index: 120; display: grid; place-items: center; padding: 20px; background: rgba(5, 15, 10, .7); backdrop-filter: blur(4px); -webkit-backdrop-filter: blur(4px); }
.linebox__card { position: relative; width: min(360px, 100%); padding: 34px 28px 26px; border-radius: 22px; background: #fff; text-align: center; box-shadow: 0 30px 70px rgba(0, 0, 0, .35); animation: pop .25s ease-out; }
@keyframes pop { from { transform: scale(.94); opacity: 0; } }
.linebox__close { position: absolute; top: 12px; right: 12px; display: grid; place-items: center; width: 36px; height: 36px; border: 0; border-radius: 50%; background: #f1f3f2; color: var(--ink); }
.linebox__logo { width: 56px; height: 56px; margin: 0 auto 10px; }
.linebox h3 { font-size: 1.3rem; }
.linebox p { margin: 6px 0 16px; font-size: .92rem; color: var(--muted); }
.linebox__qr { width: 210px; margin: 0 auto 16px; padding: 10px; border: 1px solid var(--line); border-radius: 14px; }
.linebox__tel { display: inline-flex; align-items: center; gap: 8px; font: 500 .95rem var(--head); color: var(--orange-d); }

/* หน้าติดต่อเรา: เหลือ 3 การ์ด */
.ccards { grid-template-columns: repeat(3, 1fr); }
button.ccard { font: inherit; cursor: pointer; }
button.ccard:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }

@media (max-width: 1240px) {
  .bm__text b { font-size: 1.55rem; }
  .brandmark img { height: 66px; }
}
@media (max-width: 1100px) {
  .nav { top: 92px; }
  .xcta__grid { grid-template-columns: 1fr; gap: 32px; }
  .footer__grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer__brand { grid-column: 1/-1; }
  .mh::after { display: none; }
}
@media (max-width: 720px) {
  .header__inner { height: 76px; }
  .nav { top: 76px; }
  .brandmark img { height: 58px; }
  .bm__text b { font-size: 1.3rem; }
  .bm__text small { font-size: .66rem; }
  .xcta { padding: 56px 0; }
  .footer__grid { grid-template-columns: 1fr 1fr; gap: 30px; }
  .footer__qr { justify-self: start; }
  .ccards { grid-template-columns: 1fr; }
  .floatbar { right: 14px; bottom: 14px; }
  .fl { width: 54px; height: 54px; }
  .fl--line img { width: 54px; height: 54px; }
  .fl__tip { display: none; }
}
@media (prefers-reduced-motion: reduce) { .fl--tel::before { animation: none; display: none; } }

/* ปรับระยะเมนูให้ไม่ชิดโลโก้ */
.brandmark { margin-right: 28px; }
.bm__text b, .bm__text small { white-space: nowrap; }
.nav { gap: 0; margin-right: 18px; }
.nav a { padding-inline: 9px; font-size: .9rem; }
.nav a::after { left: 9px; right: 9px; }
.footer .bm__text b { font-size: 1.5rem; }
.footer__qr span img { width: 20px; height: 20px; padding: 0; background: none; border-radius: 0; }
@media (max-width: 1240px) { .nav a { padding-inline: 6px; font-size: .84rem; } .brandmark { margin-right: 16px; } }

/* =========================================================
   หน้าติดต่อเรา
   ========================================================= */
.cxh { position: relative; overflow: hidden; isolation: isolate; color: #fff; background: #062a17; }
.cxh__photo { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 40%; }
.cxh::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(100deg, rgba(4, 30, 16, .96) 0%, rgba(7, 60, 31, .88) 45%, rgba(7, 60, 31, .35) 100%); }
.cxh__inner { padding: 70px 0 150px; }
.cxh h1 { color: #fff; font-size: clamp(2.2rem, 4vw, 3.2rem); font-weight: 700; margin: 6px 0 6px; }
.cxh p { color: rgba(255, 255, 255, .85); font-size: 1.08rem; }

.cx { position: relative; z-index: 2; margin-top: -100px; padding-bottom: 70px; }
.cx__card { display: grid; grid-template-columns: 400px 1fr; border-radius: 24px; overflow: hidden; background: #fff; box-shadow: 0 30px 70px rgba(10, 30, 20, .16); }

.cx__info { position: relative; overflow: hidden; padding: 40px 34px; color: #fff; background: linear-gradient(160deg, #0b5a2e 0%, #073d20 60%, #052a16 100%); }
.cx__info h2 { color: #fff; font-size: 1.6rem; font-weight: 600; }
.cx__info > p { margin: 10px 0 26px; color: rgba(255, 255, 255, .78); font-size: .95rem; }
.cxi { position: relative; z-index: 1; display: flex; align-items: center; gap: 14px; padding: 14px 16px; margin-bottom: 12px; border-radius: 14px; background: rgba(255, 255, 255, .07); border: 1px solid rgba(255, 255, 255, .12); transition: background .2s, transform .2s; }
.cxi:hover { background: rgba(255, 255, 255, .13); transform: translateX(4px); }
.cxi__ic { flex: none; display: grid; place-items: center; width: 46px; height: 46px; border-radius: 12px; background: rgba(74, 222, 128, .18); color: #4ade80; }
.cxi__ic--tel { background: linear-gradient(180deg, #ff8a2e, var(--orange-d)); color: #fff; }
.cxi__ic .i { width: 22px; height: 22px; }
.cxi small { display: block; font: 500 .78rem var(--head); color: rgba(255, 255, 255, .65); }
.cxi b { display: block; font: 600 1.2rem/1.25 var(--head); overflow-wrap: anywhere; }
.cx__line { position: relative; z-index: 1; display: flex; gap: 16px; align-items: center; margin-top: 22px; padding: 16px; border-radius: 16px; background: #fff; color: var(--ink); }
.cx__qr { width: 112px; flex: none; }
.cx__lineic { width: 30px; height: 30px; margin-bottom: 6px; }
.cx__line b { display: block; font: 600 1rem/1.3 var(--head); }
.cx__line small { display: block; margin: 2px 0 10px; font-size: .8rem; color: var(--muted); }
.cx__linebtn { display: inline-block; padding: 6px 14px; border: 0; border-radius: 99px; background: #06c755; color: #fff; font: 500 .82rem var(--head); }
.cx__gear { position: absolute; right: -70px; bottom: -70px; width: 240px; opacity: .07; filter: grayscale(1) brightness(3); pointer-events: none; }

.cx__form { padding: 40px 44px; display: grid; gap: 16px; align-content: start; }
.cx__form h2 { font-size: 1.7rem; font-weight: 600; }
.cx__hint { margin-top: -8px; font-size: .9rem; color: var(--muted); }
.cx__topics { border: 0; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.cx__topics legend { margin-bottom: 8px; font: 500 .9rem var(--head); color: var(--ink); }
.cx__topics label { cursor: pointer; }
.cx__topics input { position: absolute; opacity: 0; pointer-events: none; }
.cx__topics span { display: flex; align-items: center; gap: 10px; height: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; font: 500 .92rem var(--head); color: var(--text); transition: border-color .15s, background .15s, color .15s; }
.cx__topics span .i { width: 22px; height: 22px; color: var(--green); }
.cx__topics label:hover span { border-color: #b9d9c4; }
.cx__topics input:checked + span { border-color: var(--green); background: #ecf7f0; color: var(--green-d); }
.cx__topics input:focus-visible + span { outline: 2px solid var(--green); outline-offset: 2px; }
.cx__row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.cx__form label { display: grid; gap: 6px; font: 500 .9rem var(--head); color: var(--ink); }
.cx__form input:not([type="radio"]), .cx__form textarea { width: 100%; padding: 12px 14px; border: 1.5px solid var(--line); border-radius: 12px; background: #fafbfb; font: 400 .98rem var(--body); color: var(--ink); transition: border-color .15s, box-shadow .15s, background .15s; }
.cx__form input:focus, .cx__form textarea:focus { outline: 0; border-color: var(--green); background: #fff; box-shadow: 0 0 0 4px rgba(15, 138, 60, .12); }
.cx__submit { justify-self: start; min-width: 200px; }

.cxs { padding: 10px 0 70px; }
.cxs__list { list-style: none; margin: 26px 0 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: s; }
.cxs__list li { position: relative; padding: 28px 26px; border-radius: 18px; background: #f4f6f5; }
.cxs__n { position: absolute; top: 22px; right: 24px; font: 700 2.6rem/1 var(--head); color: #dfe6e2; }
.cxs__list .i { width: 48px; height: 48px; padding: 11px; border-radius: 14px; background: #fff; color: var(--green); box-shadow: 0 6px 16px rgba(15, 30, 22, .08); margin-bottom: 16px; }
.cxs__list b { display: block; font: 600 1.1rem var(--head); color: var(--ink); margin-bottom: 4px; }
.cxs__list p { font-size: .92rem; color: var(--muted); }

.cxd { padding-bottom: 70px; }
.cxd__box { display: flex; align-items: center; gap: 20px; padding: 24px 30px; border-radius: 18px; background: linear-gradient(110deg, #fff4ea, #fff); border: 1px solid #ffe1c8; }
.cxd__box > .i { width: 54px; height: 54px; color: var(--orange-d); }
.cxd__box b { display: block; font: 600 1.2rem var(--head); color: var(--ink); }
.cxd__box span { color: var(--muted); font-size: .92rem; }
.cxd__box .btn { margin-left: auto; }

@media (max-width: 1000px) {
  .cx__card { grid-template-columns: 1fr; }
  .cxs__list { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .cxh__inner { padding: 48px 0 120px; }
  .cx { margin-top: -80px; }
  .cx__info, .cx__form { padding: 28px 20px; }
  .cx__topics, .cx__row { grid-template-columns: 1fr; }
  .cx__submit { justify-self: stretch; }
  .cxd__box { flex-wrap: wrap; }
  .cxd__box .btn { margin-left: 0; width: 100%; }
}

/* =========================================================
   Home: เน้นงานซ่อม / ติดตั้ง
   ========================================================= */
.mh h1 span { font-size: .6em; }

.core { padding: 70px 0 64px; background: linear-gradient(180deg, #fff 0%, #f3f6f4 100%); }
.core__head { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: end; margin-bottom: 32px; }
.core__head p { color: var(--muted); font-size: 1rem; max-width: 52ch; }
.core__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.core__card { display: flex; flex-direction: column; overflow: hidden; border-radius: 20px; background: #fff; box-shadow: 0 18px 44px rgba(15, 30, 22, .1); transition: transform .3s, box-shadow .3s; }
.core__card:hover { transform: translateY(-6px); box-shadow: 0 26px 56px rgba(15, 30, 22, .16); }
.core__card > img { width: 100%; height: 280px; object-fit: cover; transition: transform .6s; }
.core__card:hover > img { transform: scale(1.04); }
.core__body { position: relative; flex: 1; display: flex; flex-direction: column; padding: 28px 30px 30px; background: #fff; }
.core__tag { position: absolute; top: -18px; left: 30px; display: inline-flex; align-items: center; gap: 6px; padding: 7px 16px; border-radius: 99px; background: linear-gradient(180deg, #ff8a2e, var(--orange-d)); color: #fff; font: 600 .85rem var(--head); box-shadow: 0 8px 18px rgba(244, 122, 31, .35); }
.core__tag--green { background: linear-gradient(180deg, #16a34a, #0b5a2e); box-shadow: 0 8px 18px rgba(15, 138, 60, .3); }
.core__body h3 { font-size: 1.35rem; font-weight: 600; line-height: 1.35; margin-top: 6px; }
.core__body > p { margin: 10px 0 16px; color: var(--muted); font-size: .95rem; }
.core__chips { list-style: none; margin: 0 0 22px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.core__chips li { padding: 6px 14px; border-radius: 99px; background: #eef6f1; color: var(--green-d); font: 500 .85rem var(--head); }
.core__link { margin-top: auto; display: inline-flex; align-items: center; gap: 8px; font: 600 .95rem var(--head); color: var(--orange-d); }
.core__link:hover .i { transform: translateX(4px); }
.core__link .i { transition: transform .2s; }

.fix { position: relative; overflow: hidden; isolation: isolate; padding: 64px 0; background: linear-gradient(105deg, #052a16 0%, #0a4424 55%, #0f6b33 100%); }
.fix__bg { position: absolute; inset: 0; z-index: -1; background: center/cover; opacity: .12; mix-blend-mode: luminosity; }
.mhead--light a { color: #4ade80; }
.fix__grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; grid-template-rows: 230px 230px; gap: 14px; margin-top: 8px; }
.fix__item { position: relative; overflow: hidden; border-radius: 16px; }
.fix__item--big { grid-row: span 2; }
.fix__item img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.fix__item:hover img { transform: scale(1.06); }
.fix__item span { position: absolute; inset: auto 0 0; padding: 50px 18px 16px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); color: rgba(255, 255, 255, .85); font-size: .84rem; line-height: 1.45; }
.fix__item b { display: block; color: #fff; font: 600 1.1rem var(--head); }
.fix__item--big b { font-size: 1.4rem; }
.fix__item::before { content: ""; position: absolute; left: 0; top: 0; z-index: 1; width: 40px; height: 4px; background: var(--orange); }

.parts { padding: 30px 0 40px; }
.parts__lead { margin: -8px 0 18px; color: var(--muted); }
.parts__row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; margin-bottom: 28px; }
.parts__row a { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 10px 10px 12px; border: 1px solid var(--line); border-radius: 12px; background: #fff; transition: border-color .2s, transform .2s; }
.parts__row a:hover { border-color: var(--green); transform: translateY(-3px); }
.parts__row img { width: 100%; aspect-ratio: 4/3; object-fit: contain; }
.parts__row b { font: 600 .9rem var(--head); color: var(--ink); }
.parts .mlogos__track { padding-top: 22px; border-top: 1px solid var(--line); }

@media (max-width: 1000px) {
  .core__head, .core__grid { grid-template-columns: 1fr; }
  .core__head { gap: 12px; }
  .fix__grid { grid-template-columns: 1fr 1fr; grid-template-rows: 300px 200px 200px; }
  .fix__item--big { grid-column: span 2; grid-row: auto; }
  .parts__row { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 720px) {
  .core { padding: 50px 0; }
  .core__card > img { height: 210px; }
  .core__body { padding: 26px 20px 22px; }
  .core__tag { left: 20px; }
  .fix { padding: 50px 0; }
  .fix__grid { grid-template-columns: 1fr; grid-template-rows: none; grid-auto-rows: 210px; }
  .fix__item--big { grid-column: auto; }
  .mhead { flex-wrap: wrap; }
}

.mh__kicker { margin-bottom: 10px; }

/* =========================================================
   Home: บริการหลัก (ซ่อม / ติดตั้ง) แบบพาเนลรูปเต็ม
   ========================================================= */
.core { padding: 80px 0 70px; background: #fff; }
.core__head { display: block; text-align: center; max-width: 760px; margin: 0 auto 40px; }
.core__kick { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 10px; font: 600 .95rem var(--head); color: var(--orange-d); letter-spacing: .02em; }
.core__kick span { width: 34px; height: 2px; background: var(--orange); }
.core__head h2 { font-size: clamp(1.8rem, 3.2vw, 2.6rem); font-weight: 700; line-height: 1.25; color: var(--ink); }
.core__head h2 em { display: block; font-style: normal; color: var(--green); }
.core__head > p:last-child { margin: 14px auto 0; color: var(--muted); max-width: 56ch; }
.core__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.cp { position: relative; isolation: isolate; display: flex; align-items: flex-end; min-height: 560px; overflow: hidden; border-radius: 26px; color: #fff; box-shadow: 0 24px 50px rgba(10, 30, 20, .18); }
.cp > img { position: absolute; inset: 0; z-index: -2; width: 100%; height: 100%; object-fit: cover; object-position: center 35%; transition: transform .8s cubic-bezier(.16, 1, .3, 1); }
.cp::before { content: ""; position: absolute; inset: 0; z-index: -1; transition: opacity .4s; }
.cp--repair::before { background: linear-gradient(180deg, rgba(20, 10, 0, .05) 0%, rgba(30, 14, 2, .55) 42%, rgba(70, 28, 0, .94) 100%); }
.cp--install::before { background: linear-gradient(180deg, rgba(0, 20, 10, .05) 0%, rgba(3, 30, 16, .55) 42%, rgba(4, 52, 26, .95) 100%); }
.cp:hover > img { transform: scale(1.07); }
.cp__body { width: 100%; padding: 34px 36px 34px; }
.cp__ic { display: grid; place-items: center; width: 58px; height: 58px; margin-bottom: 16px; border-radius: 16px; color: #fff; box-shadow: 0 12px 26px rgba(0, 0, 0, .3); }
.cp__ic .i { width: 28px; height: 28px; }
.cp--repair .cp__ic { background: linear-gradient(180deg, #ff8a2e, var(--orange-d)); }
.cp--install .cp__ic { background: linear-gradient(180deg, #22c55e, #0b5a2e); }
.cp__label { display: block; font: 600 .8rem var(--head); letter-spacing: .18em; color: rgba(255, 255, 255, .7); margin-bottom: 6px; }
.cp h3 { color: #fff; font-size: clamp(1.4rem, 2.2vw, 1.8rem); font-weight: 700; line-height: 1.3; }
.cp__body > p { margin: 10px 0 18px; color: rgba(255, 255, 255, .85); max-width: 46ch; }
.cp__chips { list-style: none; margin: 0 0 24px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cp__chips li { padding: 6px 14px; border-radius: 99px; background: rgba(255, 255, 255, .14); border: 1px solid rgba(255, 255, 255, .25); font: 500 .85rem var(--head); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); }
.cp__go { display: inline-flex; align-items: center; gap: 10px; padding: 11px 22px; border-radius: 99px; background: #fff; color: var(--ink); font: 600 .95rem var(--head); transition: background .2s, color .2s; }
.cp__go .i { transition: transform .2s; }
.cp--repair:hover .cp__go { background: var(--orange); color: #fff; }
.cp--install:hover .cp__go { background: var(--green); color: #fff; }
.cp:hover .cp__go .i { transform: translateX(4px); }
.core__trust { list-style: none; margin: 28px 0 0; padding: 22px 26px; display: grid; grid-template-columns: repeat(4, 1fr); border-radius: 18px; background: #f3f7f4; }
.core__trust li { display: flex; align-items: center; justify-content: center; gap: 12px; font: 600 1rem var(--head); color: var(--ink); }
.core__trust li + li { border-left: 1px solid #dbe5df; }
.core__trust .i { width: 40px; height: 40px; padding: 9px; border-radius: 12px; background: #fff; color: var(--green); box-shadow: 0 6px 14px rgba(15, 30, 22, .08); }

@media (max-width: 1000px) {
  .core__grid { grid-template-columns: 1fr; }
  .cp { min-height: 480px; }
  .core__trust { grid-template-columns: 1fr 1fr; row-gap: 16px; }
  .core__trust li:nth-child(3) { border-left: 0; }
}
@media (max-width: 720px) {
  .core { padding: 56px 0; }
  .cp { min-height: 440px; border-radius: 20px; }
  .cp__body { padding: 24px 22px; }
  .core__trust { grid-template-columns: 1fr; }
  .core__trust li { justify-content: flex-start; }
  .core__trust li + li { border-left: 0; }
}

/* Hero: รูปทีมงานบนดาดฟ้า (ช่างอยู่ขวา ท้องฟ้าอยู่ซ้าย) */
.mh__photo { object-position: 70% 40%; }
.mh::after { display: none; }
.mh__quote { top: auto; bottom: 120px; right: auto; left: calc(36% + 40px); text-align: left; }
.mh__quote::after { right: auto; left: 0; }
.mh__quote { top: 40px; bottom: auto; left: auto; right: max(24px, (100vw - 1240px) / 2); text-align: right; padding: 14px 20px 22px; border-radius: 16px; background: rgba(6, 30, 16, .45); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); font-size: clamp(1.2rem, 1.8vw, 1.6rem); }
.mh__quote::after { left: auto; right: 20px; bottom: 12px; width: 90px; }

/* ชุดโลโก้ซ้ำสำหรับสไลด์วนต่อเนื่อง */
.logos__dup { display: contents; }
@media (prefers-reduced-motion: reduce) { .logos__dup { display: none; } }
@media (max-width: 720px) { .msteps span { left: 12px; top: 12px; } }

/* =========================================================
   มือถือ / แท็บเล็ต: Hero รูปขึ้นก่อน, การ์ดบริการกระชับ
   ========================================================= */
@media (max-width: 1000px) {
  .mh__photo { position: relative; inset: auto; display: block; width: 100%; height: 300px; opacity: 1; object-position: 72% 45%; }
  .mh::before, .mh::after, .mh__swoosh, .mh__quote { display: none; }
  .mh__inner { padding: 26px 0 36px; }
}
@media (max-width: 720px) {
  .mh__photo { height: 230px; }
  .mh__kicker { font-size: .95rem; margin-bottom: 6px; }
  .mh h1 { font-size: 2rem; }
  .mh h1 span { font-size: .58em; margin-top: 4px; }
  .mh__lead { font-size: 1rem; margin: 12px 0 18px; }
  .mh__features { gap: 12px 0; margin-bottom: 22px; }
  .mh__features .i { width: 28px; height: 28px; }
  .mh__actions { gap: 10px; }
  .mh__actions .btn { flex: 1 1 100%; min-width: 0; padding: 12px 18px; }

  .core { padding: 44px 0; }
  .core__head { margin-bottom: 22px; }
  .core__kick { font-size: .82rem; }
  .core__head h2 { font-size: 1.45rem; }
  .core__head > p:last-child { font-size: .9rem; margin-top: 10px; }
  .core__grid { gap: 16px; }
  .cp { display: block; min-height: 0; border-radius: 18px; box-shadow: 0 12px 28px rgba(10, 30, 20, .14); }
  .cp > img { position: relative; inset: auto; display: block; height: 180px; z-index: 0; }
  .cp::before { display: none; }
  .cp--repair .cp__body { background: linear-gradient(160deg, #7a3204, #4a1f02); }
  .cp--install .cp__body { background: linear-gradient(160deg, #0b5a2e, #053a1d); }
  .cp__body { position: relative; padding: 34px 18px 20px; }
  .cp__ic { position: absolute; top: -26px; left: 18px; width: 50px; height: 50px; margin: 0; border-radius: 14px; }
  .cp__ic .i { width: 24px; height: 24px; }
  .cp__label { font-size: .7rem; letter-spacing: .14em; }
  .cp h3 { font-size: 1.2rem; }
  .cp h3 br { display: none; }
  .cp__body > p { font-size: .88rem; margin: 6px 0 12px; }
  .cp__chips { gap: 6px; margin-bottom: 16px; }
  .cp__chips li { padding: 4px 10px; font-size: .76rem; }
  .cp__go { padding: 9px 16px; font-size: .88rem; }
  .core__trust { grid-template-columns: 1fr 1fr; gap: 12px; padding: 16px; margin-top: 18px; }
  .core__trust li { font-size: .82rem; gap: 8px; }
  .core__trust .i { width: 32px; height: 32px; padding: 7px; flex: none; }
}

/* โลโก้ตามต้นฉบับ */
.brandmark { position: relative; gap: 0; }
.brandmark .bm__logo { display: block; height: 86px; width: auto; }
.brandmark--dark { padding: 8px 14px; border-radius: 14px; background: #fff; }
.footer .brandmark .bm__logo { height: 104px; }
@media (max-width: 1240px) { .brandmark .bm__logo { height: 74px; } }
@media (max-width: 720px) { .brandmark .bm__logo { height: 62px; } }
.footer .brandmark { display: inline-flex; max-width: 100%; }
@media (min-width: 1101px) { .footer__grid { grid-template-columns: 1.9fr .85fr 1.05fr 1.35fr auto; } }

/* มือถือจอแคบ: โลโก้ย่อตามจอ ไม่ดันปุ่มเมนูตกขอบ */
.burger { flex: none; }
@media (max-width: 720px) {
  .header__inner { gap: 8px; }
  .brandmark { min-width: 0; flex: 1 1 auto; margin-right: 0; }
  .brandmark .bm__logo { height: auto; max-height: 62px; max-width: 100%; }
  .burger { margin: 0 4px 0 0; }
}
@media (max-width: 720px) { .footer .brandmark .bm__logo { height: auto; max-height: 96px; } }
@media (max-width: 400px) {
  .footer__grid { grid-template-columns: minmax(0, 1fr); }
  .footer__grid > * { min-width: 0; }
}

/* เมนูมือถือ: รายการกระชับ ครบทุกเมนู และเลื่อนได้ถ้าจอเตี้ย */
@media (max-width: 1100px) {
  .nav { top: 92px; max-height: calc(100dvh - 92px); overflow-y: auto; overscroll-behavior: contain; padding: 6px 20px 16px; z-index: 70; }
  .nav a { padding: 13px 6px; font-size: 1rem; }
  .nav a::after { display: none; }
}
@media (max-width: 720px) {
  .nav { top: 76px; max-height: calc(100dvh - 76px); }
}

/* Hero: แถบจัดหา/นำเข้า Spare Part */
.mh__parts { display: inline-flex; align-items: center; gap: 12px; margin: 0 0 24px; padding: 8px 18px 8px 8px; border: 1px solid rgba(244, 122, 31, .35); border-radius: 99px; background: linear-gradient(90deg, #fff4ea, rgba(255, 255, 255, .9)); box-shadow: 0 8px 20px rgba(244, 122, 31, .15); transition: box-shadow .2s, transform .2s; }
.mh__parts:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(244, 122, 31, .28); }
.mh__parts-ic { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(180deg, #ff8a2e, var(--orange-d)); color: #fff; }
.mh__parts-ic .i { width: 22px; height: 22px; }
.mh__parts-txt { font: 400 .95rem/1.3 var(--head); color: var(--ink); }
.mh__parts-txt b { margin-right: 6px; font-weight: 700; color: var(--orange-d); }
.mh__parts-go { width: 18px; height: 18px; color: var(--orange-d); transition: transform .2s; }
.mh__parts:hover .mh__parts-go { transform: translateX(3px); }
@media (max-width: 720px) {
  .mh__parts { margin-bottom: 20px; padding-right: 14px; }
  .mh__parts-ic { width: 34px; height: 34px; }
  .mh__parts-txt { font-size: .85rem; }
  .mh__parts-txt b { display: block; margin-right: 0; }
}
