  :root {
    --navy: #0D2447;
    --navy-2: #15467F;
    --red: #CC1A1F;
    --red-dark: #A51318;
    --paper: #FFFFFF;
    --mist: #F3F5F8;
    --line: #DCE1E8;
    --text: #1A2230;
    --muted: #5A6575;
    --radius: 10px;
    --max: 1120px;
  }
  * { box-sizing: border-box; }
  html { scroll-behavior: smooth; }
  body {
    margin: 0;
    font-family: "IBM Plex Sans Thai", system-ui, sans-serif;
    color: var(--text);
    background: var(--paper);
    line-height: 1.6;
    font-size: 16px;
  }
  img { max-width: 100%; display: block; }
  a { color: inherit; }
  .wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
  h1, h2, h3 { line-height: 1.2; margin: 0 0 .5em; }
  h2 { font-size: clamp(1.6rem, 3vw, 2.1rem); color: var(--navy); }
  .eyebrow { color: var(--red); font-weight: 600; font-size: .9rem; margin-bottom: .4em; }
  .lead { color: var(--muted); font-size: 1.05rem; max-width: 640px; }
  section { padding: 72px 0; }
  .alt { background: var(--mist); }

  /* Sample banner */
  .sample {
    background: #FFF4D6; color: #5A4300; text-align: center;
    font-size: .85rem; padding: 6px 16px; border-bottom: 1px solid #F0DFA8;
  }

  /* Header */
  header {
    position: sticky; top: 0; z-index: 20; background: var(--paper);
    border-bottom: 1px solid var(--line);
  }
  .nav { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 16px; }
  .brand { display: flex; align-items: center; gap: 10px; text-decoration: none; }
  .brand-mark {
    width: 38px; height: 38px; border-radius: 8px; background: var(--navy);
    display: grid; place-items: center;
  }
  .brand-name { font-family: Montserrat, sans-serif; font-weight: 700; color: var(--navy); font-size: 1.25rem; letter-spacing: .5px; line-height: 1.1; }
  .brand-sub { display: block; font-family: Montserrat, 'IBM Plex Sans Thai', sans-serif; font-weight: 600; font-size: .62rem; color: var(--navy); letter-spacing: .6px; text-transform: uppercase; }
  .links { display: flex; gap: 22px; align-items: center; }
  .links a { text-decoration: none; color: var(--text); font-size: .95rem; }
  .links a:hover { color: var(--red); }
  .actions { display: flex; gap: 8px; align-items: center; }
  .lang {
    border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
    padding: 6px 12px; font: inherit; font-size: .85rem; cursor: pointer; color: var(--navy);
  }
  .btn {
    display: inline-block; text-decoration: none; font-weight: 600; border-radius: 8px;
    padding: 12px 20px; border: 2px solid transparent; cursor: pointer; font: inherit; font-weight: 600;
  }
  .btn-red { background: var(--red); color: #fff; }
  .btn-red:hover { background: var(--red-dark); }
  .btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
  .btn-ghost:hover { background: rgba(255,255,255,.08); }
  .btn-sm { padding: 8px 14px; font-size: .9rem; }
  @media (max-width: 860px) { .links { display: none; } }

  /* Hero */
  .hero {
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%);
    color: #fff; padding: 88px 0 72px; position: relative; overflow: hidden;
  }
  .hero::after {
    content: ""; position: absolute; right: -120px; top: -120px; width: 420px; height: 420px;
    border-radius: 50%; background: radial-gradient(circle, rgba(28,127,200,.35), transparent 70%);
  }
  .hero-grid { display: grid; grid-template-columns: 1.3fr 1fr; gap: 48px; align-items: center; position: relative; z-index: 1; }
  .hero h1 { font-size: clamp(2rem, 4.6vw, 3.1rem); font-weight: 700; }
  .hero p { color: #C9D3E1; font-size: 1.1rem; max-width: 560px; }
  .hero .cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 28px; }
  .hero-card {
    background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14);
    border-radius: var(--radius); padding: 24px;
  }
  .hero-card h3 { font-size: 1rem; color: #fff; }
  .hero-card ul { list-style: none; padding: 0; margin: 0; }
  .hero-card li { padding: 10px 0; border-top: 1px solid rgba(255,255,255,.1); color: #DCE3EE; display: flex; gap: 10px; }
  .hero-card li:first-child { border-top: 0; }
  .tick { color: #FF7A6E; font-weight: 700; }
  @media (max-width: 860px) { .hero-grid { grid-template-columns: 1fr; } }

  /* Trust bar */
  .trust { border-bottom: 1px solid var(--line); }
  .trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
  .trust-item { padding: 22px 16px; text-align: center; border-left: 1px solid var(--line); }
  .trust-item:first-child { border-left: 0; }
  .trust-num { font-size: 1.5rem; font-weight: 700; color: var(--navy); }
  .trust-label { font-size: .85rem; color: var(--muted); }
  @media (max-width: 700px) {
    .trust-grid { grid-template-columns: repeat(2, 1fr); }
    .trust-item:nth-child(3) { border-left: 0; }
    .trust-item { border-top: 1px solid var(--line); }
  }

  /* Cards */
  .grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: 36px; }
  @media (max-width: 900px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
  @media (max-width: 600px) { .grid-3 { grid-template-columns: 1fr; } }
  .card {
    background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
    padding: 24px;
  }
  .card h3 { font-size: 1.1rem; color: var(--navy); }
  .card p { color: var(--muted); margin: 0; font-size: .95rem; }
  .icon {
    width: 44px; height: 44px; border-radius: 10px; background: #FBE9E7; color: var(--red);
    display: grid; place-items: center; margin-bottom: 14px;
  }

  /* Industries */
  .chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 28px; }
  .chip {
    border: 1px solid var(--line); background: var(--paper); border-radius: 999px;
    padding: 8px 16px; font-size: .95rem; color: var(--navy);
  }

  /* Why */
  .why { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
  @media (max-width: 860px) { .why { grid-template-columns: 1fr; } }
  .why-list { display: grid; gap: 18px; }
  .why-item { display: flex; gap: 14px; }
  .why-item .num {
    flex: none; width: 32px; height: 32px; border-radius: 50%; background: var(--navy); color: #fff;
    display: grid; place-items: center; font-weight: 600; font-size: .9rem;
  }
  .why-item h3 { font-size: 1.05rem; margin-bottom: .2em; color: var(--navy); }
  .why-item p { margin: 0; color: var(--muted); }

  /* Plans */
  .plan { display: flex; flex-direction: column; }
  .plan.featured { border: 2px solid var(--red); position: relative; }
  .badge {
    position: absolute; top: -12px; left: 24px; background: var(--red); color: #fff;
    font-size: .78rem; font-weight: 600; padding: 2px 10px; border-radius: 999px;
  }
  .plan ul { padding-left: 18px; color: var(--muted); margin: 12px 0 20px; flex: 1; }
  .plan li { margin: 6px 0; }
  .price { font-weight: 600; color: var(--navy); }
  .plan .btn { text-align: center; }
  .btn-outline { border-color: var(--navy); color: var(--navy); }
  .btn-outline:hover { background: var(--navy); color: #fff; }

  /* Projects */
  .photo {
    aspect-ratio: 4 / 3; border-radius: var(--radius); background:
      repeating-linear-gradient(45deg, #E8ECF2, #E8ECF2 10px, #F1F4F8 10px, #F1F4F8 20px);
    display: grid; place-items: center; color: var(--muted); font-size: .9rem; margin-bottom: 14px;
    border: 1px dashed #C3CBD6;
  }

  /* Compliance */
  .callout {
    background: var(--navy); color: #fff; border-radius: 14px; padding: 40px;
    display: grid; grid-template-columns: 1.5fr 1fr; gap: 32px; align-items: center;
  }
  .callout h2 { color: #fff; }
  .callout p { color: #C9D3E1; margin: 0; }
  @media (max-width: 760px) { .callout { grid-template-columns: 1fr; padding: 28px; } }

  /* Contact */
  .contact { display: grid; grid-template-columns: 1fr 1.2fr; gap: 40px; }
  @media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
  .contact-info dl { margin: 24px 0 0; }
  .contact-info dt { font-size: .85rem; color: var(--muted); }
  .contact-info dd { margin: 0 0 16px; font-weight: 600; color: var(--navy); }
  form { display: grid; gap: 14px; }
  .row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
  @media (max-width: 600px) { .row-2 { grid-template-columns: 1fr; } }
  label { font-size: .88rem; color: var(--muted); display: grid; gap: 6px; }
  input, select, textarea {
    font: inherit; padding: 11px 12px; border: 1px solid var(--line); border-radius: 8px;
    background: var(--paper); color: var(--text); width: 100%;
  }
  input:focus, select:focus, textarea:focus { outline: 2px solid var(--navy); outline-offset: 1px; }
  .form-note { font-size: .85rem; color: var(--muted); }
  .sent { display: none; background: #E8F5EC; color: #1E5B32; padding: 12px; border-radius: 8px; }

  /* Footer */
  footer { background: var(--navy); color: #AEB9C9; padding: 40px 0; font-size: .9rem; }
  .foot { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 20px; }
  footer strong { color: #fff; }

  /* Floating LINE button */
  .line-btn {
    position: fixed; right: 16px; bottom: 16px; z-index: 30; background: #06C755; color: #fff;
    text-decoration: none; font-weight: 600; padding: 12px 18px; border-radius: 999px;
    box-shadow: 0 6px 18px rgba(0,0,0,.18);
  }

  /* Service area */
  .areas { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-top: 32px; }
  @media (max-width: 760px) { .areas { grid-template-columns: repeat(2, 1fr); } }
  .area { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
  .area strong { display: block; color: var(--navy); font-size: 1.05rem; }
  .area span { color: var(--muted); font-size: .9rem; }
  .area.home { border-color: var(--red); }

  /* Quote page */
  .page-head { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 100%); color: #fff; padding: 56px 0 48px; }
  .page-head h1 { font-size: clamp(1.8rem, 4vw, 2.6rem); }
  .page-head p { color: #C9D3E1; margin: 0; max-width: 600px; }
  .steps { list-style: none; padding: 0; margin: 28px 0 0; display: grid; gap: 14px; }
  .steps li { display: flex; gap: 12px; color: var(--muted); }
  .back { color: #C9D3E1; text-decoration: none; font-size: .9rem; display: inline-block; margin-bottom: 16px; }
  .back:hover { color: #fff; }
  section[id] { scroll-margin-top: 72px; }

  /* Real logo mark */
  .brand-mark { width: 42px; height: auto; background: none; border-radius: 0;  }

  /* Guides */
  .guides { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 32px; }
  @media (max-width: 760px) { .guides { grid-template-columns: 1fr; } }
  .guide { margin: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
  .guide img { width: 100%; height: auto; }
  .guide figcaption { padding: 16px 20px; display: grid; gap: 4px; }
  .guide strong { color: var(--navy); }
  .guide span { color: var(--muted); font-size: .92rem; }

  /* Hero photo */
  .hero-photo {
    background:
      linear-gradient(100deg, rgba(13,36,71,.96) 0%, rgba(13,36,71,.88) 45%, rgba(13,36,71,.55) 100%),
      url("img/site-pipework.jpg") center / cover no-repeat;
  }
  .hero-photo::after { display: none; }

  /* Photo mosaic */
  .mosaic { display: grid; grid-template-columns: repeat(3, 1fr); grid-auto-rows: 240px; gap: 12px; margin-top: 32px; }
  .mosaic img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius); }
  .mosaic .m-wide { grid-column: span 2; }
  .mosaic .m-tall { grid-row: span 2; }
  @media (max-width: 760px) {
    .mosaic { grid-template-columns: 1fr; grid-auto-rows: 220px; }
    .mosaic .m-wide { grid-column: auto; }
    .mosaic .m-tall { grid-row: span 2; }
  }

  .foot-logo { height: 44px; width: auto; margin-bottom: 12px; }
  .line-btn { background: #06C755; }
  @media (min-width: 861px) { .line-btn { display: none; } }
  :focus-visible { outline: 3px solid #1F8AD2; outline-offset: 2px; }
  .lang, .btn-sm { white-space: nowrap; }
  @media (max-width: 480px) {
    .nav { gap: 8px; }
    .brand { gap: 8px; }
    .brand-mark { width: 34px; }
    .brand-name { font-size: 1.05rem; }
    .brand-sub { font-size: .5rem; letter-spacing: .3px; }
    .lang { padding: 6px 9px; font-size: .8rem; }
    .btn-sm { padding: 8px 10px; font-size: .82rem; }
    .hero { padding: 56px 0 48px; }
  }

  /* FAQ */
  .faq { margin-top: 28px; display: grid; gap: 12px; max-width: 820px; }
  .faq details { border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); padding: 0 20px; }
  .faq summary { cursor: pointer; font-weight: 600; color: var(--navy); padding: 16px 0; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
  .faq summary::-webkit-details-marker { display: none; }
  .faq summary::after { content: "+"; color: var(--red); font-size: 1.3rem; line-height: 1; }
  .faq details[open] summary::after { content: "−"; }
  .faq details p { margin: 0 0 16px; color: var(--muted); }
  a.lang { text-decoration: none; display: inline-block; }
  .btn-line { background: #06C755; color: #fff; }
  .btn-line:hover { background: #05A847; }
  .mosaic .m-full { grid-column: 1 / -1; }
  @media (max-width: 760px) { .mosaic .m-full { grid-column: auto; } }

  /* Facebook page embed */
  .fb-grid { display: grid; grid-template-columns: 1fr 500px; gap: 48px; align-items: center; }
  @media (max-width: 960px) { .fb-grid { grid-template-columns: 1fr; } }
  .fb-embed { width: 100%; max-width: 500px; min-height: 600px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; display: grid; place-items: center; }
  .fb-embed iframe { display: block; width: 100%; }
  .fb-fallback { color: var(--navy); font-weight: 600; }
  .btn-fb { background: #1877F2; color: #fff; }
  .btn-fb:hover { background: #0F65D6; }
