/* NestReady dedicated story pages: How It Works / About / Contact */
:root {
  --navy: #07335f;
  --navy-900: #041f3f;
  --navy-800: #062b52;
  --orange: #ff7417;
  --orange-2: #ff5d0a;
  --orange-soft: #fff0e6;
  --blue-soft: #eef6ff;
  --ink: #0d2e55;
  --muted: #667487;
  --line: #e7edf5;
  --bg: #fbfcfe;
  --card: #ffffff;
  --shadow: 0 28px 70px rgba(12, 39, 75, .13);
  --shadow-soft: 0 16px 38px rgba(12, 39, 75, .09);
  --wrap: 1760px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Plus Jakarta Sans", "Noto Sans Thai", Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 82% 210px, rgba(255, 116, 23, .16), transparent 33rem),
    radial-gradient(circle at 12% 980px, rgba(7, 51, 95, .055), transparent 35rem),
    linear-gradient(180deg, #fbfcfe 0%, #f8fafd 48%, #fbfcfe 100%);
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button, input, select, textarea { font: inherit; }

.wrap { width: min(var(--wrap), calc(100% - 128px)); margin: 0 auto; }
.site-header { height: 92px; background: rgba(255,255,255,.985); border-bottom: 1px solid rgba(6,43,80,.08); box-shadow: 0 8px 26px rgba(17,34,54,.07); position: sticky; top: 0; z-index: 30; }
.nav-wrap { height: 92px; display: flex; align-items: center; justify-content: space-between; gap: 30px; }
.brand { width: 255px; display: flex; align-items: center; }
.brand img { width: 238px; height: auto; }
.main-nav { flex: 1; display: flex; justify-content: center; align-items: center; gap: clamp(28px, 3vw, 58px); color: #0b3058; font-size: 13px; font-weight: 850; }
.main-nav a { position: relative; padding: 34px 0 31px; white-space: nowrap; }
.main-nav a.active::after, .main-nav a:hover::after { content: ""; position: absolute; left: 50%; bottom: 23px; width: 42px; height: 4px; border-radius: 20px; background: var(--orange); transform: translateX(-50%); }
.top-action { min-width: 142px; height: 56px; border-radius: 11px; background: var(--orange); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 900; font-size: 13px; box-shadow: 0 16px 30px rgba(255,116,23,.32); }

.eyebrow { display: inline-flex; align-items: center; gap: 9px; color: var(--orange); font-size: 13px; font-weight: 900; letter-spacing: .20em; text-transform: uppercase; }
.eyebrow::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 5px rgba(255,116,23,.10); }
h1, h2, h3, p { margin-top: 0; }
h1 { margin: 20px 0 22px; color: var(--navy-900); font-size: clamp(50px, 5.2vw, 92px); line-height: .96; letter-spacing: -.07em; font-weight: 900; max-width: 820px; }
h1 span, h2 span { color: var(--orange); }
h2 { margin: 0; color: var(--navy-900); font-size: clamp(38px, 3.15vw, 60px); line-height: 1.05; letter-spacing: -.052em; font-weight: 900; }
h3 { margin: 0 0 10px; color: var(--navy-900); font-size: 22px; line-height: 1.12; letter-spacing: -.035em; font-weight: 900; }
p { color: var(--muted); line-height: 1.65; font-size: 16px; font-weight: 620; }
.lead { max-width: 720px; color: #5f6f83; font-size: 20px; line-height: 1.72; font-weight: 650; }
.section { padding: 44px 0; }
.section-tight { padding: 28px 0; }
.section-head { display: flex; justify-content: space-between; align-items: end; gap: 30px; margin-bottom: 30px; }
.section-head.center { display: block; text-align: center; }
.section-head.center p { margin: 12px auto 0; max-width: 690px; }
.btn { min-height: 58px; padding: 0 34px; border-radius: 13px; border: 1px solid transparent; display: inline-flex; align-items: center; justify-content: center; gap: 12px; font-size: 15px; font-weight: 900; cursor: pointer; }
.btn-primary { color: #fff; background: linear-gradient(135deg, var(--orange), var(--orange-2)); box-shadow: 0 13px 28px rgba(255,116,23,.30); }
.btn-secondary { color: #0d3158; background: #fff; border-color: #d8e2ed; box-shadow: 0 8px 20px rgba(15,45,83,.06); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 16px; margin: 28px 0 24px; }
.trust-row { display: flex; gap: 12px; flex-wrap: wrap; }
.trust-chip { min-height: 44px; padding: 0 18px; border-radius: 999px; border: 1px solid #e6edf5; background: #fff; box-shadow: 0 10px 24px rgba(15,45,83,.07); display: inline-flex; align-items: center; gap: 8px; color: #5b6d82; font-size: 12px; font-weight: 900; }
.dot { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); box-shadow: 0 0 0 4px rgba(255,116,23,.10); }

.rich-hero { position: relative; padding: 64px 0 42px; overflow: hidden; }
.rich-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(circle at 76% 42%, rgba(255,116,23,.13), transparent 30rem); }
.rich-hero .wrap { position: relative; display: grid; grid-template-columns: minmax(0, .86fr) minmax(720px, 1.22fr); align-items: center; gap: 76px; }
.hero-visual { position: relative; min-height: 590px; display: flex; align-items: center; justify-content: center; }
.hero-visual::before { content: ""; position: absolute; width: 74%; aspect-ratio: 1; border-radius: 50%; background: linear-gradient(135deg, #fff0e6, #f3e5d3); right: 2%; top: 5%; box-shadow: inset 0 0 0 1px rgba(255,255,255,.85); }
.hero-visual img.hero-main { position: relative; z-index: 2; width: 122%; max-width: none; max-height: 590px; object-fit: contain; filter: drop-shadow(0 32px 42px rgba(24,43,67,.15)); mix-blend-mode: multiply; }
.hero-visual.photo { min-height: 560px; border-radius: 0 0 0 86px; overflow: hidden; box-shadow: var(--shadow); border: 1px solid rgba(232,238,245,.85); }
.hero-visual.photo::before { display: none; }
.hero-visual.photo img { width: 100%; height: 100%; min-height: 560px; object-fit: cover; }
.floating-card { position: absolute; z-index: 4; background: rgba(255,255,255,.94); border: 1px solid #e8eef5; border-radius: 18px; padding: 14px 16px; box-shadow: 0 17px 34px rgba(9,35,68,.14); backdrop-filter: blur(12px); }
.floating-card strong { display: block; color: var(--navy-900); font-size: 24px; line-height: 1; font-weight: 900; letter-spacing: -.04em; }
.floating-card span { color: var(--muted); font-size: 11px; font-weight: 850; }
.float-a { left: -8px; bottom: 72px; }
.float-b { right: 18px; top: 72px; }
.float-c { right: 60px; bottom: 34px; }

.card { background: var(--card); border: 1px solid #e8eef5; border-radius: 26px; box-shadow: var(--shadow-soft); padding: 28px; }
.visual-card img { width: 100%; height: 200px; object-fit: contain; margin: 0 auto 16px; mix-blend-mode: multiply; }
.grid-2 { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; }
.grid-6 { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 24px; }

.process-grid { position: relative; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 34px; }
.process-grid::before { content: ""; position: absolute; left: 10%; right: 10%; top: 140px; border-top: 5px dotted rgba(255,116,23,.46); z-index: 0; }
.process-card { position: relative; z-index: 1; text-align: center; min-height: 360px; padding-top: 38px; }
.step-num { position: absolute; top: -24px; left: 50%; transform: translateX(-50%); width: 54px; height: 54px; border-radius: 50%; background: var(--orange); color: white; display: grid; place-items: center; font-size: 24px; font-weight: 900; box-shadow: 0 8px 0 rgba(255,116,23,.13), 0 16px 28px rgba(255,116,23,.25); border: 5px solid #fff; }

.journey-shell { position: relative; max-width: 1480px; margin: 0 auto; padding: 18px 0; }
.journey-shell::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; border-left: 2px dashed #cbd7e5; transform: translateX(-50%); }
.journey-row { position: relative; display: grid; grid-template-columns: 1fr 86px 1fr; gap: 24px; align-items: center; margin: 24px 0; }
.journey-row:nth-child(even) .journey-card { grid-column: 3; }
.journey-row:nth-child(even) .journey-spacer { grid-column: 1; }
.journey-icon { grid-column: 2; width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; color: #fff; background: var(--navy); box-shadow: 0 14px 28px rgba(4,31,63,.18); border: 6px solid #fff; z-index: 2; font-size: 24px; }
.journey-row:nth-child(even) .journey-icon, .journey-row:nth-child(4) .journey-icon { background: var(--orange); }
.journey-card { position: relative; padding: 24px 34px; min-height: 124px; }
.journey-card .num { color: var(--orange); font-size: 24px; font-weight: 900; margin-right: 12px; }
.journey-card h3 { display: flex; align-items: center; }

.feature-band { background: linear-gradient(100deg, #052a51, #041f3f); color: #fff; border-radius: 24px; box-shadow: 0 30px 65px rgba(4,31,63,.24); display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); overflow: hidden; }
.feature-item { min-height: 145px; padding: 30px 40px; display: grid; grid-template-columns: 70px 1fr; gap: 22px; align-items: center; position: relative; }
.feature-item:not(:last-child)::after { content: ""; position: absolute; right: 0; top: 28px; bottom: 28px; width: 1px; background: rgba(255,255,255,.22); }
.feature-icon { color: var(--orange); font-size: 54px; line-height: 1; font-weight: 900; }
.feature-item h3 { color: #fff; margin-bottom: 7px; }
.feature-item p { color: #c9d8e8; margin: 0; font-size: 12px; }

.after-rich { display: grid; grid-template-columns: .9fr 1.7fr; gap: 32px; align-items: center; }
.after-scene { align-self: stretch; display: flex; align-items: end; justify-content: center; background: linear-gradient(180deg, #fff, #fff6f0); border-radius: 32px; min-height: 390px; overflow: hidden; box-shadow: var(--shadow-soft); }
.after-scene img { width: 108%; max-width: none; object-fit: contain; filter: drop-shadow(0 20px 24px rgba(15,45,83,.09)); }
.after-cards { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.service-card { text-align: center; padding: 30px 22px; }
.circle-icon { width: 68px; height: 68px; border-radius: 50%; background: var(--orange); color: #fff; display: grid; place-items: center; margin: 0 auto 16px; font-size: 28px; font-weight: 900; box-shadow: 0 0 0 8px rgba(255,116,23,.10); }
.check-list { display: grid; gap: 10px; margin-top: 14px; }
.check-row { display: flex; align-items: center; gap: 10px; color: #536273; font-size: 12px; font-weight: 800; }
.checkmark { width: 22px; height: 22px; border-radius: 50%; display: grid; place-items: center; flex: 0 0 auto; background: var(--orange-soft); color: var(--orange); font-weight: 900; }

.proof-strip { display: grid; grid-template-columns: 118px 1fr auto; gap: 34px; align-items: center; border-radius: 28px; border: 2px solid #dce5ef; padding: 34px 46px; background: #fff; box-shadow: var(--shadow-soft); }
.avatar { width: 108px; height: 108px; border-radius: 50%; overflow: hidden; background: #fff4ec; }
.avatar img { width: 100%; height: 100%; object-fit: cover; }
.stars { color: var(--orange); letter-spacing: 3px; font-size: 18px; font-weight: 900; }
.metric-row { display: flex; gap: 26px; padding-left: 26px; border-left: 1px solid #dce5ef; }
.metric { min-width: 100px; text-align: center; }
.metric strong { display: block; color: var(--navy-900); font-size: 28px; letter-spacing: -.04em; }
.metric span { color: var(--muted); font-size: 11px; font-weight: 850; }

.orange-cta { position: relative; overflow: hidden; min-height: 230px; display: grid; grid-template-columns: 340px 1fr 290px; align-items: center; gap: 38px; border-radius: 32px; padding: 28px 52px; background: linear-gradient(135deg, #ff7417, #ff5d0a); box-shadow: 0 28px 70px rgba(255,116,23,.32); color: #fff; }
.orange-cta h2, .orange-cta p { color: #fff; }
.orange-cta:not(.soft-cta) h2 span { color: #fff; }
.orange-cta .btn { background: #fff; color: var(--navy-900); }
.orange-cta img { width: 112%; max-height: 220px; object-fit: contain; filter: drop-shadow(0 18px 22px rgba(80,30,0,.18)); }
.process-card.visual-card img { height: 205px; margin-bottom: 10px; }
.after-scene img { transform: scale(1.08); transform-origin: center bottom; }
.soft-cta { background: linear-gradient(90deg, #fff3e8, #fff 45%, #eef6ff); border-color: #ffe0ca; color: var(--ink); }
.soft-cta h2 { color: var(--navy-900); }
.soft-cta p { color: var(--muted); }
.soft-cta .btn { background: var(--orange); color: #fff; }

/* About-specific rich sections */
.story-mosaic { display: grid; grid-template-columns: .95fr 1.35fr; gap: 34px; align-items: stretch; }
.story-card { padding: 38px; }
.mini-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; margin-top: 34px; }
.mini-benefit { display: grid; gap: 8px; }
.mini-benefit .line-icon { width: 54px; height: 54px; border-radius: 16px; display: grid; place-items: center; background: var(--orange-soft); color: var(--orange); font-size: 25px; font-weight: 900; }
.mini-benefit strong { color: var(--navy-900); font-size: 15px; }
.mini-benefit span { color: var(--muted); font-size: 13px; line-height: 1.45; font-weight: 700; }
.mosaic-grid { display: grid; grid-template-columns: 1fr .78fr .78fr; grid-template-rows: 190px 190px; gap: 18px; }
.mosaic-tile { border-radius: 22px; overflow: hidden; background: #fff; box-shadow: var(--shadow-soft); }
.mosaic-tile img { width: 100%; height: 100%; object-fit: cover; }
.mosaic-tall { grid-row: span 2; }
.stat-tile { display: flex; flex-direction: column; justify-content: center; padding: 30px; color: #fff; background: var(--orange); border-radius: 22px; }
.stat-tile.navy { background: var(--navy); }
.stat-tile strong { font-size: 38px; line-height: 1; letter-spacing: -.05em; }
.stat-tile span { font-size: 15px; font-weight: 800; color: rgba(255,255,255,.90); }
.values-grid .card { min-height: 260px; text-align: center; padding-top: 42px; }
.values-grid .circle-icon { background: var(--navy); }
.values-grid .card:nth-child(odd) .circle-icon { background: var(--orange); }
.dark-panel { background: linear-gradient(110deg, #041f3f, #06345f); color: #fff; padding: 62px 0; margin: 44px 0; }
.dark-panel h2, .dark-panel h3 { color: #fff; }
.dark-panel p { color: #c9d8e8; }
.dark-panel .eyebrow { color: var(--orange); justify-content: center; width: 100%; }
.choice-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 46px; }
.choice { padding: 24px 48px; text-align: center; border-right: 1px solid rgba(255,255,255,.25); }
.choice:last-child { border-right: 0; }
.who-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.who-card { text-align: center; padding: 32px; }
.review-row { display: grid; grid-template-columns: .8fr repeat(3, 1fr); gap: 26px; align-items: stretch; }
.rating-card strong { display: block; font-size: 64px; line-height: 1; color: var(--navy-900); letter-spacing: -.06em; }

/* Contact-specific rich sections */
.contact-layout { display: grid; grid-template-columns: 1.22fr 1fr; gap: 34px; align-items: stretch; }
.contact-form { padding: 38px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin: 26px 0 22px; }
.form-grid label { display: grid; gap: 10px; color: #143a62; font-size: 13px; font-weight: 900; }
.form-grid input, .form-grid select, .form-grid textarea { width: 100%; border: 1px solid #dfe8f2; border-radius: 14px; padding: 17px 18px; background: #fbfdff; color: #526477; outline: 0; box-shadow: inset 0 1px 0 rgba(255,255,255,.8); }
.form-grid textarea { min-height: 150px; resize: vertical; }
.form-grid .full { grid-column: 1 / -1; }
.form-note { display: flex; justify-content: center; gap: 9px; align-items: center; color: #6c7b8e; font-size: 12px; font-weight: 800; }
.contact-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.contact-card { min-height: 250px; padding: 32px; }
.contact-card strong { display: block; color: var(--orange); font-size: 20px; margin: 8px 0 8px; }
.topic-card { min-height: 260px; display: flex; flex-direction: column; align-items: center; text-align: center; justify-content: space-between; padding: 30px 22px; }
.topic-card .learn { color: var(--orange); font-weight: 900; font-size: 12px; }
.map-panel { position: relative; min-height: 460px; border-radius: 32px; overflow: hidden; background: linear-gradient(135deg, #e8f5ff, #f7fbff); border: 1px solid #dfe8f2; box-shadow: var(--shadow-soft); display: grid; grid-template-columns: .88fr 1.72fr .78fr; }
.map-copy, .coverage-card { position: relative; z-index: 2; align-self: center; margin: 40px; }
.map-copy { background: rgba(255,255,255,.90); border-radius: 26px; padding: 42px; border: 1px solid #e4edf6; }
.coverage-card { background: #fff; border-radius: 26px; padding: 40px; box-shadow: var(--shadow-soft); }
.map-art { position: relative; z-index: 1; background: url('contact-map.png') center/contain no-repeat; min-height: 460px; }
.pin { position: absolute; width: 18px; height: 18px; border-radius: 50% 50% 50% 0; transform: rotate(-45deg); background: var(--orange); box-shadow: 0 0 0 6px rgba(255,116,23,.12); }
.pin::after { content: ""; position: absolute; inset: 5px; border-radius: 50%; background: #fff; }
.pin.a { left: 32%; top: 38%; }
.pin.b { left: 56%; top: 48%; }
.pin.c { left: 68%; top: 68%; }
.faq-list { max-width: 1120px; margin: 0 auto; display: grid; gap: 18px; }
.faq-item { background: #fff; border: 1px solid #e8eef5; border-radius: 18px; padding: 24px 34px; box-shadow: var(--shadow-soft); }
.faq-item summary { cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 16px; color: var(--navy-900); font-weight: 900; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "⌄"; color: var(--navy); font-size: 18px; }
.faq-item[open] summary::after { content: "⌃"; color: var(--orange); }
.newsletter-cta { display: grid; grid-template-columns: 300px 1fr 480px; gap: 38px; align-items: center; min-height: 210px; border-radius: 32px; background: linear-gradient(90deg, #fff2e8, #fff7f0); border: 1px solid #ffe0ca; padding: 28px 50px; box-shadow: var(--shadow-soft); }
.newsletter-cta img { max-height: 218px; object-fit: contain; }
.newsletter-inline { display: flex; min-height: 52px; border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 11px 24px rgba(14,43,78,.08); border: 1px solid #dfe8f2; }
.newsletter-inline input { flex: 1; border: 0; padding: 0 18px; min-width: 0; outline: 0; color: #647488; }
.newsletter-inline button { width: 140px; border: 0; background: var(--orange); color: #fff; font-weight: 900; cursor: pointer; }

.footer, .site-footer { margin-top: 48px; padding: 48px 0 24px; background: linear-gradient(110deg, #041f3f, #06345f); color: #fff; }
.footer-grid { display: grid; grid-template-columns: 1.5fr .85fr .85fr .85fr 1.45fr; gap: 58px; padding-bottom: 34px; border-bottom: 1px solid rgba(255,255,255,.18); }
.footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.mini-mark { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: var(--orange); font-size: 22px; font-weight: 900; }
.footer-logo strong { color: #fff; font-size: 26px; letter-spacing: -.05em; }
.footer-logo span { color: var(--orange); }
.footer p { color: #c9d8e8; font-size: 14px; }
.socials { display: flex; gap: 10px; margin-top: 16px; }
.socials a { width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center; background: rgba(255,255,255,.12); color: #fff; font-size: 11px; font-weight: 900; }
.foot-col h4, .newsletter h4 { margin: 4px 0 15px; color: #fff; font-size: 15px; }
.foot-col a { display: block; color: #c9d8e8; margin: 0 0 11px; font-size: 14px; font-weight: 700; }
.newsletter { border-left: 1px solid rgba(255,255,255,.18); padding-left: 28px; }
.email-form { margin-top: 14px; height: 44px; display: flex; background: #fff; border-radius: 9px; overflow: hidden; }
.email-form input { flex: 1; min-width: 0; border: 0; outline: 0; padding: 0 14px; color: #526477; }
.email-form button { width: 52px; border: 0; background: var(--orange); color: #fff; cursor: pointer; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 19px; color: #c9d8e8; font-size: 12px; font-weight: 700; }
.legal { display: flex; gap: 22px; }

@media (max-width: 1080px) {
  .wrap { width: min(100% - 42px, var(--wrap)); }
  .main-nav { gap: 18px; }
  .brand { width: 180px; }
  .rich-hero .wrap, .story-mosaic, .contact-layout, .after-rich, .map-panel, .newsletter-cta { grid-template-columns: 1fr; }
  .hero-visual, .hero-visual.photo { min-height: 430px; }
  .hero-visual.photo img { min-height: 430px; }
  .process-grid, .grid-4, .choice-grid, .after-cards { grid-template-columns: repeat(2, 1fr); }
  .process-grid::before { display: none; }
  .grid-6, .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .story-mosaic { gap: 20px; }
  .review-row { grid-template-columns: repeat(2, 1fr); }
  .feature-band { grid-template-columns: repeat(2, 1fr); }
  .feature-item:nth-child(2)::after { display: none; }
  .footer-brand, .newsletter { border: 0; padding-left: 0; }
}

@media (max-width: 760px) {
  .site-header, .nav-wrap { height: auto; }
  .nav-wrap { padding: 14px 0; flex-wrap: wrap; }
  .brand { order: 1; }
  .top-action { order: 2; margin-left: auto; min-width: 118px; height: 40px; }
  .main-nav { order: 3; flex: 0 0 100%; width: 100%; overflow: auto; justify-content: flex-start; padding-bottom: 3px; }
  .rich-hero { padding-top: 36px; }
  h1 { font-size: 38px; letter-spacing: -.045em; line-height: 1.05; }
  h2 { font-size: 29px; }
  .hero-actions .btn { flex: 1 1 145px; }
  .hero-visual, .hero-visual.photo { min-height: 320px; }
  .hero-visual img.hero-main { width: 122%; max-height: 360px; }
  .hero-visual.photo img { min-height: 320px; }
  .floating-card { display: none; }
  .section-head { display: block; }
  .grid-2, .grid-3, .process-grid, .grid-4, .grid-6, .choice-grid, .after-cards, .feature-band, .footer-grid, .review-row, .who-grid, .contact-cards { grid-template-columns: 1fr; }
  .journey-shell::before { left: 32px; }
  .journey-row, .journey-row:nth-child(even) { grid-template-columns: 64px 1fr; gap: 14px; }
  .journey-icon, .journey-row:nth-child(even) .journey-icon { grid-column: 1; grid-row: 1; }
  .journey-card, .journey-row:nth-child(even) .journey-card { grid-column: 2; grid-row: 1; }
  .journey-spacer { display: none; }
  .feature-item::after { display: none; }
  .proof-strip { grid-template-columns: 1fr; text-align: center; }
  .avatar { margin: 0 auto; }
  .metric-row { border-left: 0; border-top: 1px solid #dce5ef; padding: 20px 0 0; justify-content: center; flex-wrap: wrap; }
  .orange-cta, .newsletter-cta { grid-template-columns: 1fr; text-align: center; padding: 28px; }
  .orange-cta img, .newsletter-cta img { margin: 0 auto; max-height: 170px; }
  .form-grid { grid-template-columns: 1fr; }
  .map-copy, .coverage-card { margin: 18px; }
  .map-art { min-height: 300px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 560px) {
  body { overflow-x: hidden; }
  .wrap { width: min(100% - 26px, var(--wrap)); }
  .brand { width: 168px; }
  .lead { font-size: 14px; }
  .card, .story-card, .contact-form { padding: 20px; }
  .mosaic-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .mosaic-tall { grid-row: auto; min-height: 220px; }
  .stat-tile { min-height: 145px; }
  .mini-benefits { grid-template-columns: 1fr; }
  .newsletter-inline { flex-direction: column; }
  .newsletter-inline button { width: 100%; height: 48px; }
  .legal { flex-wrap: wrap; gap: 12px; }
}


/* Exact reference-match mode: preserve live navbar/footer, rasterize generated main body. */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.refmatch-page,
html:has(body.refmatch-page) {
  scrollbar-width: none;
}
.refmatch-page::-webkit-scrollbar,
html:has(body.refmatch-page)::-webkit-scrollbar {
  width: 0;
  height: 0;
  display: none;
}
.refmatch-main {
  width: 100%;
  margin: 0;
  padding: 0;
  background: #fbfcfe;
  overflow: hidden;
}
.refmatch-main-image {
  display: block;
  width: 100vw;
  max-width: 1920px;
  height: auto;
  margin: 0 auto;
  box-shadow: none;
}
.refmatch-main .refmatch-thai-copy {
  display: none;
}
@media (max-width: 760px) {
  .refmatch-main-image { width: 100%; max-width: 100%; }
}

/* Thai-first bilingual mode for story pages. English keeps the exact generated raster body; Thai uses editable, searchable HTML copy. */
.refmatch-thai-copy {
  display: none;
  padding: 62px 0 72px;
  background:
    radial-gradient(circle at 84% 120px, rgba(255, 116, 23, .12), transparent 24rem),
    linear-gradient(180deg, #fbfcfe 0%, #f7f9fc 62%, #fbfcfe 100%);
}
html[lang="th"] .refmatch-main-image { display: none; }
html[lang="th"] .refmatch-thai-copy { display: block; }
html[lang="en"] .refmatch-main-image { display: block; }
html[lang="en"] .refmatch-thai-copy { display: none; }
.thai-page-wrap { display: grid; gap: 32px; }
.thai-hero-card {
  padding: clamp(36px, 5vw, 76px);
  border-radius: 34px;
  background: linear-gradient(135deg, #fff, #fff7f1 58%, #eef6ff);
  border: 1px solid #e8eef5;
  box-shadow: var(--shadow-soft);
}
.thai-hero-card h1 {
  max-width: 980px;
  margin-top: 14px;
  font-size: clamp(44px, 5vw, 82px);
  line-height: 1.08;
  letter-spacing: -.05em;
}
.thai-hero-card .lead { max-width: 920px; }
.thai-step-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px; }
.thai-step-grid .card { position: relative; padding-top: 48px; min-height: 215px; }
.thai-step-grid .step-num { left: 32px; transform: none; }
.thai-split-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.thai-info-band {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  overflow: hidden;
  border-radius: 26px;
  background: linear-gradient(100deg, #052a51, #041f3f);
  box-shadow: 0 30px 65px rgba(4,31,63,.20);
  color: #fff;
}
.thai-info-band div { padding: 28px 34px; border-right: 1px solid rgba(255,255,255,.18); }
.thai-info-band div:last-child { border-right: 0; }
.thai-info-band strong { display: block; font-size: 21px; font-weight: 900; margin-bottom: 8px; }
.thai-info-band span { color: #c9d8e8; font-size: 14px; line-height: 1.55; font-weight: 700; }
.refmatch-thai-copy .orange-cta { grid-template-columns: 1fr auto; min-height: 0; padding: 42px 52px; }
.refmatch-thai-copy .orange-cta h2 { font-size: clamp(34px, 3vw, 52px); }
.thai-contact-grid { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(300px, .75fr); gap: 24px; align-items: stretch; }
.thai-contact-cards { display: grid; gap: 18px; }
.thai-contact-cards .card { padding: 28px; }
.thai-contact-cards strong { display: block; color: var(--navy-900); font-size: 22px; margin: 6px 0 10px; }
.refmatch-thai-copy .contact-form label { display: grid; gap: 8px; color: var(--navy-900); font-size: 13px; font-weight: 900; }
.refmatch-thai-copy .contact-form input,
.refmatch-thai-copy .contact-form select,
.refmatch-thai-copy .contact-form textarea {
  width: 100%;
  border: 1px solid #dce6f1;
  border-radius: 12px;
  padding: 13px 14px;
  color: var(--ink);
  background: #fff;
}
.refmatch-thai-copy .contact-form textarea { min-height: 120px; resize: vertical; }
.refmatch-thai-copy .contact-form .full { grid-column: 1 / -1; }
.form-note { margin: 16px 0 0; font-size: 13px; }
@media (max-width: 1080px) {
  .thai-step-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .thai-contact-grid, .thai-split-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .refmatch-thai-copy { padding: 34px 0 46px; }
  .thai-hero-card { padding: 30px 24px; border-radius: 24px; }
  .thai-info-band, .thai-step-grid { grid-template-columns: 1fr; }
  .thai-info-band div { border-right: 0; border-bottom: 1px solid rgba(255,255,255,.18); }
  .thai-info-band div:last-child { border-bottom: 0; }
  .refmatch-thai-copy .orange-cta { grid-template-columns: 1fr; padding: 30px 24px; }
}


/* Final exact-match override: navbar/footer may localize, but story-page body stays the generated reference image in every language. */
body.refmatch-page .refmatch-main-image,
html[lang="en"] body.refmatch-page .refmatch-main-image,
html[lang="th"] body.refmatch-page .refmatch-main-image {
  display: block !important;
}
body.refmatch-page .refmatch-thai-copy,
html[lang="en"] body.refmatch-page .refmatch-thai-copy,
html[lang="th"] body.refmatch-page .refmatch-thai-copy {
  display: none !important;
}
