/* FWD SYSTEM - site styles (2026 redesign). Self-contained: no Bootstrap or jQuery needed. */

:root {
  --navy: #0c2748;
  --navy-2: #123a6b;
  --blue: #1668dc;
  --blue-dark: #0f52b4;
  --sky: #e9f2fe;
  --orange: #f59e0b;
  --ink: #16233a;
  --muted: #55657c;
  --line: #e2e9f3;
  --bg: #f5f8fc;
  --white: #ffffff;
  --radius: 16px;
  --shadow: 0 1px 2px rgba(12, 39, 72, .06), 0 8px 24px rgba(12, 39, 72, .07);
  --shadow-lg: 0 2px 4px rgba(12, 39, 72, .06), 0 18px 40px rgba(12, 39, 72, .12);
  --wrap: 1160px;
  --icon-accent: #f59e0b;
  --icon-bg: #ffffff;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: "Manrope", "Segoe UI", system-ui, -apple-system, Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg, iframe { max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 { margin: 0 0 .5em; line-height: 1.18; color: var(--navy); font-weight: 800; letter-spacing: -.015em; }
h1 { font-size: clamp(2.1rem, 4.6vw, 3.5rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.15rem; letter-spacing: -.005em; }
p { margin: 0 0 1.1em; }

a { color: var(--blue); text-decoration: none; }
a:hover { color: var(--blue-dark); text-decoration: underline; }
:focus-visible { outline: 3px solid var(--orange); outline-offset: 3px; border-radius: 6px; }

.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 22px; }
.skip { position: absolute; left: -9999px; top: 0; background: var(--navy); color: #fff; padding: 10px 16px; z-index: 100; }
.skip:focus { left: 10px; top: 10px; }
.icon { width: 1.5em; height: 1.5em; flex: none; }

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, .93);
  -webkit-backdrop-filter: saturate(160%) blur(10px);
  backdrop-filter: saturate(160%) blur(10px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; min-height: 72px; gap: 18px; }

.brand { display: flex; align-items: center; gap: 12px; color: var(--navy); }
.brand:hover { text-decoration: none; color: var(--navy); }
.brand-mark {
  width: 44px; height: 44px; border-radius: 12px; flex: none;
  display: grid; place-items: center;
  background: linear-gradient(140deg, var(--navy-2), var(--navy));
  color: #fff; --icon-bg: transparent;
}
.brand-mark .icon { width: 28px; height: 28px; }
.brand-name { display: block; font-weight: 800; font-size: 1.2rem; line-height: 1.1; letter-spacing: .01em; }
.brand-tag { display: block; font-size: .76rem; font-weight: 600; color: var(--muted); line-height: 1.3; }

.nav ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 4px; }
.nav a {
  display: block; padding: 9px 14px; border-radius: 999px;
  color: var(--ink); font-weight: 700; font-size: .95rem; white-space: nowrap;
}
.nav a:hover { background: var(--sky); color: var(--blue-dark); text-decoration: none; }
.nav a[aria-current="page"] { background: var(--sky); color: var(--blue-dark); }
.nav .nav-cta a { background: var(--blue); color: #fff; padding: 9px 18px; margin-left: 8px; }
.nav .nav-cta a:hover { background: var(--blue-dark); color: #fff; }
/* link to the same page in the other language */
.nav .nav-lang a { display: flex; align-items: center; gap: 6px; border: 1px solid var(--line); padding: 8px 14px; margin-left: 6px; --icon-bg: transparent; }
.nav .nav-lang .icon { width: 18px; height: 18px; }

/* ---------- Thai pages: Thai letters need their own font, more line height and no tightened spacing ---------- */
html[lang="th"] body { font-family: "Manrope", "Noto Sans Thai", "Leelawadee UI", "Segoe UI", system-ui, -apple-system, sans-serif; line-height: 1.8; }
html[lang="th"] h1, html[lang="th"] h2, html[lang="th"] h3, html[lang="th"] h4 { letter-spacing: 0; line-height: 1.4; }
html[lang="th"] .eyebrow, html[lang="th"] .contact-list strong, html[lang="th"] .site-footer h3 { letter-spacing: .02em; }
html:not([lang="th"]) [lang="th"] { font-family: "Leelawadee UI", "Noto Sans Thai", "Tahoma", sans-serif; }

.nav-toggle {
  display: none; width: 46px; height: 46px; border: 1px solid var(--line); border-radius: 12px;
  background: #fff; cursor: pointer; padding: 0; position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 12px; right: 12px; height: 2.5px; border-radius: 2px;
  background: var(--navy); transition: transform .2s ease, opacity .2s ease;
}
.nav-toggle span { top: 21px; }
.nav-toggle span::before { left: 0; right: 0; top: -7px; }
.nav-toggle span::after { left: 0; right: 0; top: 7px; }
.nav-open .nav-toggle span { background: transparent; }
.nav-open .nav-toggle span::before { transform: translateY(7px) rotate(45deg); }
.nav-open .nav-toggle span::after { transform: translateY(-7px) rotate(-45deg); }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 24px; border-radius: 999px; border: 2px solid transparent;
  font: inherit; font-weight: 800; font-size: 1rem; line-height: 1.2; cursor: pointer;
  transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease, box-shadow .15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(22, 104, 220, .28); }
.btn-primary:hover { background: var(--blue-dark); color: #fff; }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue-dark); }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: var(--sky); color: var(--navy); }
.btn-outline-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.btn-outline-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; }

/* ---------- shared section pieces ---------- */
.section { padding: clamp(56px, 8vw, 96px) 0; }
.section-alt { background: var(--bg); }
.section-head { max-width: 760px; margin: 0 0 clamp(28px, 4vw, 44px); }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head p { color: var(--muted); font-size: 1.08rem; margin-bottom: 0; }
.eyebrow {
  display: inline-block; margin: 0 0 14px; padding: 6px 14px; border-radius: 999px;
  background: var(--sky); color: var(--blue-dark);
  font-size: .8rem; font-weight: 800; letter-spacing: .09em; text-transform: uppercase;
}
.lead { font-size: 1.14rem; color: var(--muted); }

/* ---------- home hero ---------- */
.hero { background: linear-gradient(180deg, #f2f7ff 0%, #ffffff 100%); padding: clamp(36px, 6vw, 72px) 0 clamp(40px, 6vw, 72px); overflow: hidden; }
.hero .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.08fr); gap: clamp(24px, 4vw, 56px); align-items: center; }
.hero h1 { margin-bottom: .35em; }
.hero h1 span { color: var(--blue); }
.hero .lead { max-width: 560px; margin-bottom: 1.6em; }
.hero-art img { display: block; width: 100%; height: auto; }
.hero-modes { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; padding: 0; margin: 26px 0 0; }
.hero-modes li {
  display: inline-flex; align-items: center; gap: 7px; padding: 6px 13px 6px 9px; border-radius: 999px;
  background: #fff; border: 1px solid var(--line); color: var(--navy); font-size: .86rem; font-weight: 700;
}
.hero-modes .icon { width: 22px; height: 22px; }

/* ---------- stats ---------- */
.stats { background: var(--navy); color: #fff; }
.stats .wrap { display: grid; grid-template-columns: repeat(3, 1fr); }
.stat { padding: 34px 16px; text-align: center; border-left: 1px solid rgba(255, 255, 255, .12); }
.stat:first-child { border-left: 0; }
.stat-num { display: block; font-size: clamp(2rem, 4.4vw, 3rem); font-weight: 800; line-height: 1.1; color: #fff; letter-spacing: -.02em; }
.stat-label { display: block; margin-top: 6px; color: #b9cbe3; font-weight: 600; font-size: .98rem; }

/* ---------- card grids ---------- */
.grid { display: grid; gap: 20px; }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }

.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 24px 22px; box-shadow: var(--shadow);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-lg); border-color: #cfdcf0; }
.card h3 { margin: 0 0 6px; }
.card h3 a { color: inherit; }
.card p { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.6; }
.icon-badge {
  width: 64px; height: 64px; border-radius: 18px; display: grid; place-items: center;
  background: var(--sky); color: var(--navy); margin-bottom: 16px;
}
.icon-badge .icon { width: 38px; height: 38px; }
.card:nth-child(4n+2) .icon-badge { background: #fff3dc; }
.card:nth-child(4n+3) .icon-badge { background: #e6f6f1; }
.card:nth-child(4n+4) .icon-badge { background: #eeeafc; }

/* ---------- split block with check list ---------- */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; }
.split.wide-media { grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr); }
.split.reverse > :first-child { order: 2; }
.media { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); background: var(--sky); }
.media img { display: block; width: 100%; height: auto; }
.media.banner { margin-bottom: clamp(22px, 3vw, 36px); }
.media.banner img { max-height: 430px; object-fit: cover; }

.check-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.check-list li { display: flex; gap: 12px; align-items: flex-start; }
.check-list .icon { width: 26px; height: 26px; margin-top: 1px; color: var(--blue); --icon-accent: var(--blue); }
.check-list.cols { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px 28px; }

.purpose-panel { background: var(--navy); color: #dbe6f5; border-radius: 24px; padding: clamp(26px, 4vw, 44px); box-shadow: var(--shadow-lg); }
.purpose-panel h3 { color: #fff; font-size: 1.25rem; margin-bottom: 18px; }
.purpose-panel .check-list .icon { color: #fff; --icon-accent: var(--orange); }

/* ---------- specification ---------- */
.spec-list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 20px; }
.spec-list li {
  display: flex; gap: 14px; align-items: center; padding: 14px 18px; background: #fff;
  border: 1px solid var(--line); border-radius: 14px; font-weight: 600;
}
.spec-list .icon { width: 34px; height: 34px; color: var(--navy); --icon-bg: #fff; }

/* ---------- call to action ---------- */
.cta { background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 60%, #17509a 100%); color: #dbe6f5; border-radius: 26px; padding: clamp(30px, 5vw, 56px); display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cta h2 { color: #fff; margin: 0 0 8px; }
.cta p { margin: 0; max-width: 560px; }

/* ---------- inner page header ---------- */
.page-hero { position: relative; background: linear-gradient(120deg, var(--navy) 0%, var(--navy-2) 62%, #17509a 100%); color: #cfdcf0; overflow: hidden; }
.page-hero .wrap { position: relative; padding-top: clamp(40px, 6vw, 68px); padding-bottom: clamp(40px, 6vw, 68px); }
.page-hero h1 { color: #fff; margin: 0 0 .25em; }
.page-hero p { margin: 0; max-width: 640px; font-size: 1.1rem; }
.page-hero .eyebrow { background: rgba(255, 255, 255, .12); color: #fff; }
.page-hero-art { position: absolute; right: 22px; top: 50%; transform: translateY(-50%); display: flex; gap: 18px; color: rgba(255, 255, 255, .5); --icon-bg: transparent; --icon-accent: rgba(245, 158, 11, .85); pointer-events: none; }
.page-hero-art .icon { width: clamp(52px, 7vw, 86px); height: clamp(52px, 7vw, 86px); }
.crumbs { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; font-size: .9rem; font-weight: 600; }
.crumbs li + li::before { content: "/"; margin-right: 8px; opacity: .5; }
.crumbs a { color: #cfdcf0; }
.crumbs a:hover { color: #fff; }

/* ---------- prose block ---------- */
.prose { max-width: 820px; }
.prose p { color: var(--muted); font-size: 1.06rem; }

/* ---------- system overview diagram ---------- */
.flow { background: #fff; border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow); padding: clamp(14px, 2.4vw, 28px); overflow-x: auto; -webkit-overflow-scrolling: touch; }
.flow svg { display: block; width: 100%; min-width: 780px; height: auto; font-family: inherit; }
.flow-hint { display: none; color: var(--muted); font-size: .86rem; margin: 10px 2px 0; }

/* ---------- department cards (Concept) ---------- */
.dept { scroll-margin-top: 96px; }

/* ---------- screenshot gallery ---------- */
.gallery { display: grid; grid-template-columns: minmax(0, 720px) 208px; gap: 18px; align-items: start; justify-content: center; }
.gallery-stage { position: relative; background: var(--navy); border-radius: 18px; overflow: hidden; box-shadow: var(--shadow-lg); }
.gallery-stage img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: contain; background: #fff; }
.gallery-bar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 14px; color: #dbe6f5; font-size: .92rem; font-weight: 600; }
.gallery-bar [data-gallery-count] { flex: none; opacity: .8; }
.gallery-caption { flex: 1; min-width: 0; color: #fff; }
.gallery-nav { display: flex; gap: 8px; flex: none; }
.gallery-nav button {
  width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .35); background: transparent; color: #fff;
  cursor: pointer; display: grid; place-items: center; padding: 0; --icon-bg: transparent;
}
.gallery-nav button:hover { background: rgba(255, 255, 255, .14); }
.gallery-nav .icon { width: 20px; height: 20px; }
.gallery-nav .prev .icon { transform: rotate(180deg); }
.gallery-thumbs { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.gallery-thumbs button { display: block; width: 100%; padding: 0; border: 2px solid var(--line); border-radius: 10px; overflow: hidden; background: #fff; cursor: pointer; opacity: .75; transition: opacity .15s ease, border-color .15s ease; }
.gallery-thumbs button:hover { opacity: 1; }
.gallery-thumbs button[aria-current="true"] { border-color: var(--blue); opacity: 1; }
.gallery-thumbs img { display: block; width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }

/* ---------- demo terms ---------- */
.terms { counter-reset: term; list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.terms li { counter-increment: term; position: relative; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px 16px 66px; box-shadow: var(--shadow); }
.terms li::before {
  content: counter(term); position: absolute; left: 16px; top: 14px; width: 36px; height: 36px; border-radius: 50%;
  display: grid; place-items: center; background: var(--sky); color: var(--blue-dark); font-weight: 800;
}
.notice { background: #fff8e8; border: 1px solid #f7deab; border-radius: var(--radius); padding: 22px 24px; margin-top: 26px; }
.notice p { color: #5a4514; }
.notice p:last-child { margin-bottom: 0; }

/* ---------- client logos ---------- */
.logo-grid { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 18px; }
.logo-grid li { background: #e6e6e6; border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); transition: box-shadow .2s ease, transform .2s ease; }
.logo-grid li:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.logo-grid img { display: block; width: 100%; height: auto; aspect-ratio: 440 / 451; object-fit: cover; }
/* tiles built in HTML (logo file + name, or name only) for clients that have no ready-made picture tile */
.logo-grid li.logo-tile { position: relative; aspect-ratio: 440 / 451; background: #e3e3e3; container-type: inline-size; }
.logo-tile-mark { position: absolute; left: 10%; right: 10%; top: 28%; height: 38%; display: flex; align-items: center; justify-content: center; }
.logo-tile-mark.on-dark { background: var(--navy); border-radius: 10px; padding: 5% 6%; }
.logo-grid .logo-tile-mark img { width: auto; height: auto; max-width: 100%; max-height: 100%; aspect-ratio: auto; object-fit: contain; }
.logo-tile-name {
  position: absolute; left: 5%; right: 5%; top: 70%; height: 24%; display: flex; align-items: center; justify-content: center; text-align: center;
  font-family: "Lilita One", "Arial Black", Arial, sans-serif; font-weight: 400; font-size: 1.05rem; font-size: 8.4cqw; line-height: 1.1;
  letter-spacing: .01em; text-transform: uppercase; color: #000;
}
/* a picture tile whose printed name was misspelled: the picture's logo part, with the name written as text in the same place and size */
.logo-grid li.logo-tile-crop img { aspect-ratio: auto; object-fit: fill; }
.logo-tile-crop .logo-tile-name { position: static; display: block; height: auto; padding: 0 3%; font-size: 1.15rem; font-size: 9.3cqw; line-height: 1.373; letter-spacing: 0; }
.logo-tile-text .logo-tile-name { top: 8%; height: 84%; font-size: 1.3rem; font-size: 10.5cqw; line-height: 1.18; }

/* ---------- site reference (company names as text) ---------- */
.ref-list { list-style: none; margin: 0; padding: 0; columns: 3 250px; column-gap: 40px; }
.ref-list li {
  position: relative; break-inside: avoid; padding: 9px 0 9px 20px; border-bottom: 1px solid var(--line);
  color: var(--ink); font-size: .93rem; font-weight: 600; line-height: 1.45;
}
.ref-list li::before { content: ""; position: absolute; left: 3px; top: 1.1em; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }

/* ---------- contact ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: clamp(22px, 4vw, 44px); align-items: stretch; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; box-shadow: var(--shadow); }
.contact-list .icon-badge { width: 48px; height: 48px; border-radius: 14px; margin: 0; flex: none; }
.contact-list .icon-badge .icon { width: 28px; height: 28px; }
.contact-list strong { display: block; color: var(--navy); font-size: .82rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 2px; }
.contact-list span { display: block; }
.map { border-radius: 20px; overflow: hidden; box-shadow: var(--shadow-lg); border: 1px solid var(--line); min-height: 420px; background: var(--sky); }
.map iframe { display: block; width: 100%; height: 100%; min-height: 420px; border: 0; }

/* ---------- footer ---------- */
.site-footer { background: var(--navy); color: #b9cbe3; padding: clamp(44px, 6vw, 68px) 0 0; font-size: .97rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr .8fr 1fr 1.3fr; gap: 32px; }
.site-footer h3 { color: #fff; font-size: .82rem; letter-spacing: .1em; text-transform: uppercase; margin: 0 0 14px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 8px; }
.site-footer a { color: #dbe6f5; }
.site-footer a:hover { color: #fff; }
.site-footer address { font-style: normal; margin: 0 0 10px; }
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .brand-mark { background: rgba(255, 255, 255, .12); }
.site-footer .brand-tag { color: #b9cbe3; }
.footer-bottom { margin-top: clamp(30px, 5vw, 48px); padding: 18px 0; border-top: 1px solid rgba(255, 255, 255, .12); font-size: .88rem; text-align: center; }
.footer-bottom p { margin: 0; }

/* ---------- reveal on scroll (only when the script is running) ---------- */
.js .reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.js .reveal.is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .btn, .card, .logo-grid li { transition: none; }
}

/* ---------- responsive ---------- */
@media (max-width: 1080px) {
  .grid-4 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .page-hero-art { opacity: .45; }
  /* the Thai menu is wider: drop the tagline beside the logo so the menu stays on one line */
  html[lang="th"] .site-header .brand-tag { display: none; }
}

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .nav {
    position: absolute; left: 0; right: 0; top: 100%;
    background: #fff; border-bottom: 1px solid var(--line); box-shadow: var(--shadow-lg);
    display: none; padding: 10px 22px 18px;
  }
  .nav-open .nav { display: block; }
  .nav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .nav a { padding: 13px 14px; border-radius: 12px; font-size: 1.02rem; }
  .nav .nav-cta a { margin: 8px 0 0; text-align: center; }
  .nav .nav-lang a { margin: 8px 0 0; justify-content: center; }

  .hero .wrap, .split, .split.wide-media, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .split.reverse > :first-child { order: 0; }
  .hero-art { max-width: 560px; margin: 0 auto; }
  .grid-4, .grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .gallery { grid-template-columns: minmax(0, 1fr); }
  .gallery-thumbs { grid-template-columns: repeat(7, 1fr); gap: 6px; }
  .page-hero-art { display: none; }
  .flow-hint { display: block; }
}

@media (max-width: 600px) {
  body { font-size: 16px; }
  .wrap { padding: 0 16px; }
  .site-header .wrap { min-height: 64px; }
  .brand-tag { display: none; }
  .grid-4, .grid-3, .grid-2, .spec-list, .check-list.cols { grid-template-columns: minmax(0, 1fr); }
  .stats .wrap { grid-template-columns: 1fr; padding-top: 6px; padding-bottom: 6px; }
  .stat { border-left: 0; border-top: 1px solid rgba(255, 255, 255, .12); padding: 22px 12px; }
  .stat:first-child { border-top: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .btn { width: 100%; }
  .btn-row { flex-direction: column; }
  .cta { border-radius: 20px; }
  .logo-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .gallery-thumbs { grid-template-columns: repeat(5, 1fr); }
  .terms li { padding: 14px 14px 14px 58px; }
  .terms li::before { left: 12px; top: 12px; }
  .map, .map iframe { min-height: 320px; }
}

@media print {
  .site-header, .nav-toggle, .cta, .gallery-nav, .skip { display: none !important; }
  .js .reveal { opacity: 1 !important; transform: none !important; }
  body { font-size: 12pt; }
}
