/*
  VOICE   Plain-spoken factory: confident, specific, no hype.
  IDEA    A manufacturer's spec sheet and price list, made friendly.
  PICTURE Real photos from the factory floor and the packed stock.
  COLOUR  UIP navy from the logo, white ground, safety-yellow for actions, LINE green.
  TYPE    Anuphan for headings, IBM Plex Sans Thai for text (both cover Thai + Latin).
  LAYOUT  1200px content, full-width bands, every grid collapses to one column on a phone.
*/
:root {
  --navy: #0E2A47; --navy-deep: #0A1F35; --navy-2: #1B4A7A;
  --amber: #F5B301; --amber-hover: #FFC72C; --amber-ink: #6B4600;
  --line: #06C755; --line-ink: #06210F;
  --ink: #0A1F35; --text: #22344A; --muted: #4A5868;
  --ground: #FFFFFF; --soft: #F3F5F8; --rule: #E3E8EE;
  --radius: 16px;
  --font-head: 'Anuphan', 'Leelawadee UI', 'Noto Sans Thai', Tahoma, sans-serif;
  --font-body: 'IBM Plex Sans Thai', 'Leelawadee UI', 'Noto Sans Thai', Tahoma, sans-serif;
  color-scheme: light;
}
*, *::before, *::after { box-sizing: border-box; min-width: 0; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; } }
body { margin: 0; background: var(--ground); color: var(--ink); font: 16px/1.65 var(--font-body); overflow-x: clip; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--navy); }
a:hover { color: var(--navy-2); }
:focus-visible { outline: 3px solid var(--amber); outline-offset: 2px; border-radius: 4px; }
h1, h2, h3 { font-family: var(--font-head); color: var(--navy); margin: 0; line-height: 1.22; text-wrap: balance; }
h1 { font-size: clamp(34px, 5vw, 52px); }
h2 { font-size: clamp(28px, 3.4vw, 38px); }
h3 { font-size: 20px; color: var(--ink); }
p { margin: 0; text-wrap: pretty; }
.wrap { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.band { padding: clamp(56px, 7vw, 88px) 0; }
.band.soft { background: var(--soft); }
.band.dark { background: var(--navy-deep); color: #E7ECF2; }
.band.dark h2, .band.dark h3 { color: #FFFFFF; }
.eyebrow { font-size: 15px; font-weight: 600; color: var(--amber-ink); }
.band.dark .eyebrow, .hero .eyebrow { color: var(--amber); }
.lead { font-size: 18px; color: var(--muted); max-width: 640px; }
.band.dark .lead { color: #C3CEDA; }
.stack { display: flex; flex-direction: column; gap: 14px; }
.head { display: flex; flex-direction: column; gap: 10px; max-width: 700px; margin-bottom: 36px; }
.grid { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(var(--min, 260px), 100%), 1fr)); }
.split { display: grid; gap: clamp(32px, 5vw, 56px); align-items: center; grid-template-columns: repeat(auto-fit, minmax(min(440px, 100%), 1fr)); }
.ph { background: #FFF4D1; color: var(--amber-ink); border-radius: 4px; padding: 0 4px; font-weight: 600; }
.skip { position: absolute; left: -999px; top: 8px; background: #fff; padding: 8px 14px; z-index: 100; }
.skip:focus { left: 8px; }

/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 0 22px; border-radius: 10px; font: 600 16px/1.2 var(--font-body); text-decoration: none; border: 0; cursor: pointer; white-space: nowrap; transition: background .15s; }
.btn svg { width: 20px; height: 20px; flex: none; }
.btn-lg { min-height: 54px; padding: 0 26px; font-size: 17px; }
.btn-amber { background: var(--amber); color: var(--navy-deep); } .btn-amber:hover { background: var(--amber-hover); color: var(--navy-deep); }
.btn-line { background: var(--line); color: var(--line-ink); } .btn-line:hover { background: #2ED872; color: var(--line-ink); }
.btn .line-logo { width: 24px; height: 24px; }
.btn-line-logo .line-logo { width: 34px; height: 34px; }
.btn-navy { background: var(--navy); color: #fff; } .btn-navy:hover { background: var(--navy-2); color: #fff; }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 1.5px rgba(255,255,255,.6); } .btn-ghost:hover { background: rgba(255,255,255,.1); color: #fff; }
.btns { display: flex; flex-wrap: wrap; gap: 12px; }
.link-arrow { display: inline-flex; align-items: center; gap: 6px; font-weight: 600; text-decoration: none; min-height: 44px; }
.link-arrow:hover { text-decoration: underline; }
.link-arrow svg { width: 16px; height: 16px; }

/* Top bar + header */
.topbar { background: var(--navy-deep); color: #D6DEE8; font-size: 14px; }
.topbar .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 6px 24px; min-height: 40px; }
.topbar a { color: #D6DEE8; text-decoration: none; }
.topbar a:hover { color: #fff; text-decoration: underline; }
.topbar .info { display: flex; flex-wrap: wrap; gap: 4px 22px; }
.langs { display: flex; gap: 4px; }
.langs a, .langs span { display: inline-flex; align-items: center; gap: 6px; padding: 2px 10px; border-radius: 6px; }
.langs > ::before { content: ""; width: 18px; height: 12px; border-radius: 2px; box-shadow: 0 0 0 1px rgba(0,0,0,.25); background: center / cover no-repeat; flex: none; }
.langs > :first-child::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 9 6'%3E%3Cpath fill='%23A51931' d='M0 0h9v6H0z'/%3E%3Cpath fill='%23F4F5F8' d='M0 1h9v4H0z'/%3E%3Cpath fill='%232D2A4A' d='M0 2h9v2H0z'/%3E%3C/svg%3E"); }
.langs > :last-child::before { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 30'%3E%3CclipPath id='t'%3E%3Cpath d='M30 15h30v15zv15H0zH0V0zV0h30z'/%3E%3C/clipPath%3E%3Cpath fill='%23012169' d='M0 0h60v30H0z'/%3E%3Cpath stroke='%23fff' stroke-width='6' d='M0 0l60 30m0-30L0 30'/%3E%3Cpath stroke='%23C8102E' stroke-width='4' clip-path='url(%23t)' d='M0 0l60 30m0-30L0 30'/%3E%3Cpath stroke='%23fff' stroke-width='10' d='M30 0v30M0 15h60'/%3E%3Cpath stroke='%23C8102E' stroke-width='6' d='M30 0v30M0 15h60'/%3E%3C/svg%3E"); }
.langs [aria-current] { background: var(--amber); color: var(--navy-deep); font-weight: 600; }
.lang-suggest { background: var(--amber); color: var(--navy-deep); font-size: 15px; }
.lang-suggest .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 14px; min-height: 44px; padding-top: 6px; padding-bottom: 6px; }
.lang-suggest a { color: var(--navy-deep); font-weight: 600; }
.lang-suggest button { margin-left: auto; background: none; border: 0; color: var(--navy-deep); font-size: 24px; line-height: 1; width: 44px; height: 44px; cursor: pointer; border-radius: 8px; }
.lang-suggest button:hover { background: rgba(10, 31, 53, .1); }
.site-header { position: sticky; top: 0; z-index: 40; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--rule); backdrop-filter: saturate(1.4) blur(6px); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand img { height: 44px; width: auto; }
.brand span { display: flex; flex-direction: column; line-height: 1.45; }
.brand b { font-family: var(--font-head); color: var(--navy); font-size: 17px; }
.brand small { color: var(--muted); font-size: 12px; }
.nav { display: flex; align-items: center; gap: 22px; }
.nav a { color: var(--text); text-decoration: none; font-weight: 500; padding: 10px 2px; }
.nav a:hover, .nav a[aria-current="page"] { color: var(--navy); text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.nav-drop { position: relative; }
.nav-drop > a { display: inline-flex; align-items: center; gap: 4px; }
.nav-drop > a[aria-current] { color: var(--navy); text-decoration: underline; text-underline-offset: 7px; text-decoration-thickness: 2px; }
.nav-drop > a svg { width: 16px; height: 16px; transition: transform .15s; }
.nav-menu { display: none; position: absolute; top: 100%; left: -14px; z-index: 50; min-width: 240px; flex-direction: column; padding: 8px; background: #fff; border: 1px solid var(--rule); border-radius: 12px; box-shadow: 0 16px 30px rgba(10,31,53,.12); }
.nav-drop:hover .nav-menu, .nav-drop:focus-within .nav-menu { display: flex; }
.nav-drop:hover > a svg, .nav-drop:focus-within > a svg { transform: rotate(180deg); }
.nav .nav-menu a { padding: 10px 12px; border-radius: 8px; white-space: nowrap; }
.nav .nav-menu a:hover, .nav .nav-menu a[aria-current="page"] { background: var(--soft); text-decoration: none; }
.header-cta { display: flex; gap: 10px; align-items: center; }
.header-cta .btn { min-height: 44px; padding: 0 16px; font-size: 15px; }
.menu-btn { display: none; background: none; border: 1.5px solid var(--rule); border-radius: 10px; width: 46px; height: 46px; align-items: center; justify-content: center; cursor: pointer; color: var(--navy); }
.menu-btn svg { width: 22px; height: 22px; }
@media (max-width: 980px) {
  .menu-btn { display: inline-flex; }
  .nav { display: none; position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--rule); flex-direction: column; align-items: stretch; gap: 0; padding: 8px 24px 16px; box-shadow: 0 16px 30px rgba(10,31,53,.1); }
  .nav.open { display: flex; }
  .nav a { padding: 14px 0; border-bottom: 1px solid var(--rule); }
  .nav-drop > a { display: flex; }
  .nav-drop > a svg { display: none; }
  .nav-menu, .nav-drop:hover .nav-menu { display: flex; position: static; min-width: 0; padding: 0 0 0 16px; border: 0; border-radius: 0; box-shadow: none; }
  .nav .nav-menu a { padding: 12px 0; border-radius: 0; }
  .header-cta .hide-sm, .brand small, .topbar .hide-sm { display: none; }
}

/* Hero */
.hero { position: relative; background: var(--navy); color: #fff; overflow: hidden; }
.hero::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; }
.hero .wrap { position: relative; padding-top: clamp(48px, 7vw, 80px); padding-bottom: clamp(48px, 7vw, 80px); }
.hero h1 { color: #fff; }
.hero p.lead { color: #D6DEE8; font-size: 19px; }
.badge { align-self: flex-start; font-size: 14px; font-weight: 600; color: var(--amber); border: 1px solid rgba(245,179,1,.55); padding: 5px 14px; border-radius: 999px; }
.ticks { display: flex; flex-wrap: wrap; gap: 8px 20px; list-style: none; margin: 0; padding: 0; color: #D6DEE8; font-size: 15px; }
.ticks li { display: inline-flex; gap: 8px; align-items: center; }
.ticks svg { width: 18px; height: 18px; color: var(--amber); flex: none; }
.hero-media { position: relative; }
.hero-media > img { width: 100%; aspect-ratio: 4 / 3.4; object-fit: cover; border-radius: 18px; box-shadow: 0 30px 60px rgba(0,0,0,.35); }
.float-card { position: absolute; left: -14px; bottom: 24px; display: flex; gap: 14px; align-items: center; max-width: 310px; background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 16px; box-shadow: 0 18px 40px rgba(10,31,53,.35); text-decoration: none; }
.float-card img { width: 64px; height: 64px; object-fit: cover; border-radius: 10px; }
.float-card b { font-family: var(--font-head); font-size: 17px; display: block; }
.float-card small { color: var(--muted); font-size: 14px; }
.float-card em { font-style: normal; font-size: 12px; font-weight: 600; color: var(--amber-ink); }
@media (max-width: 600px) { .float-card { position: relative; left: auto; bottom: auto; margin: 12px 0 0; max-width: none; } }

/* Proof strip */
.proof { background: var(--soft); border-bottom: 1px solid var(--rule); }
.proof .wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.proof .wrap > div { padding: 24px 20px; display: flex; flex-direction: column; border-right: 1px solid var(--rule); }
.proof .wrap > div:last-child { border-right: 0; }
.proof b { font-family: var(--font-head); font-size: 32px; color: var(--navy); line-height: 1.2; }
.proof span { color: var(--muted); font-size: 15px; }
@media (max-width: 600px) { .proof .wrap > div { border-right: 0; border-bottom: 1px solid var(--rule); padding: 16px 0; } .proof .wrap > div:last-child { border-bottom: 0; } .proof b { font-size: 28px; } }

/* Product cards */
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); overflow: hidden; transition: box-shadow .2s; }
.card:hover { box-shadow: 0 16px 36px rgba(10,31,53,.10); }
.card .pic { position: relative; background: var(--soft); }
.card .pic img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
/* Wide photos that must show whole (yarn cones): fit inside, bars match the photo's dark floor */
.card .pic.fit img { object-fit: contain; background: linear-gradient(#1f1b17, #433e36); }
.card .tag { position: absolute; top: 12px; left: 12px; background: var(--navy); color: #fff; font-size: 13px; font-weight: 600; padding: 3px 10px; border-radius: 999px; }
.card .body { display: flex; flex-direction: column; gap: 10px; padding: 20px; flex: 1; }
.card h3 a { color: inherit; text-decoration: none; }
.card h3 a:hover { text-decoration: underline; }
.card p { color: var(--muted); font-size: 15px; flex: 1; }
.chips { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 0; }
.chips li { font-size: 13px; font-weight: 500; color: var(--text); background: #EEF2F6; padding: 3px 10px; border-radius: 6px; }
.card .foot { display: flex; justify-content: space-between; align-items: center; gap: 12px; border-top: 1px solid #EEF2F6; padding-top: 8px; }
.card .foot .btn { min-height: 42px; padding: 0 14px; font-size: 14px; }

/* Weight scale */

/* Promotion band (homepage, Thai only) */
.band.promo { position: relative; overflow: hidden; background: linear-gradient(160deg, var(--navy-2) 0%, var(--navy) 45%, var(--navy-deep) 100%); color: #E7ECF2; border-top: 6px solid var(--amber); }
.band.promo::before { content: ""; position: absolute; inset: 0; background-image: radial-gradient(rgba(255,255,255,.07) 1px, transparent 1px); background-size: 22px 22px; pointer-events: none; }
.band.promo .wrap { position: relative; }
.promo h2 { color: #fff; } .promo h2 span { color: var(--amber); }
.promo-flag { align-self: flex-start; font-size: 20px; line-height: 1.4; font-weight: 700; color: #fff; background: #E5262E; padding: 8px 22px; border-radius: 999px; box-shadow: 0 4px 14px rgba(229,38,46,.4); }
.promo-prices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; list-style: none; margin: 0; padding: 0; max-width: 520px; }
.promo-prices li { --cuff: var(--amber); --pill: #FFF3C4; --pill-ink: var(--amber-ink); display: flex; flex-direction: column; align-items: flex-start; gap: 6px; padding: 20px 20px 18px; border-radius: 16px; background: #fff; border-top: 6px solid var(--cuff); box-shadow: 0 12px 30px rgba(0,0,0,.28); }
.promo-prices li.red { --cuff: #E5262E; --pill: #FDE4E5; --pill-ink: #9E1218; }
.promo-prices .rim { font-size: 13px; font-weight: 600; padding: 3px 12px; border-radius: 999px; background: var(--pill); color: var(--pill-ink); }
.promo-prices .weight { font-family: var(--font-head); font-size: 24px; line-height: 1.25; color: var(--navy); margin-top: 4px; }
.promo-prices .price { align-self: stretch; padding-top: 10px; border-top: 1px dashed var(--rule); color: var(--navy); font-weight: 600; white-space: nowrap; }
.promo-prices .price b { font-family: var(--font-head); font-size: 44px; line-height: 1; color: #C8161E; margin: 0 4px; }
@media (max-width: 380px) { .promo-prices li { padding: 16px 14px 14px; } .promo-prices .weight { font-size: 20px; } .promo-prices .price b { font-size: 36px; } }
.promo .note { font-size: 14px; color: #C3CEDA; }
@media (max-width: 760px) { .promo .btns { justify-content: center; } .promo-flag { font-size: 17px; padding: 7px 18px; } }
.promo-poster { margin: 0; width: 100%; max-width: 400px; justify-self: center; }
.promo-poster img { display: block; width: 100%; height: auto; border-radius: 18px; box-shadow: 0 18px 44px rgba(0,0,0,.4); outline: 1px solid rgba(255,255,255,.12); }
@media (min-width: 761px) { .promo-poster { transform: rotate(2deg); } }

/* Feature tiles */
.tile { display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--radius); background: var(--soft); }
.band.soft .tile { background: #fff; border: 1px solid var(--rule); }
.tile .ic { width: 48px; height: 48px; border-radius: 12px; background: var(--navy); color: var(--amber); display: flex; align-items: center; justify-content: center; }
.tile .ic svg { width: 24px; height: 24px; }
.tile p { color: var(--muted); font-size: 15px; }
.dark-tile { display: flex; gap: 12px; align-items: flex-start; padding: 16px; border-radius: 12px; background: rgba(255,255,255,.06); color: #E7ECF2; font-size: 15px; }
.dark-tile svg { width: 22px; height: 22px; color: var(--amber); flex: none; margin-top: 2px; }
.photo { width: 100%; object-fit: cover; border-radius: 18px; }

/* Poster carousel: scroll-snap works on its own (swipe/scroll); main.js adds arrows, dots and auto-advance */
.carousel { position: relative; width: 100%; max-width: 364px; justify-self: center; }
.carousel-track { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; scroll-behavior: smooth; border-radius: 18px; scrollbar-width: none; overscroll-behavior-x: contain; }
.carousel-track::-webkit-scrollbar { display: none; }
.carousel-slide { flex: 0 0 100%; margin: 0; scroll-snap-align: center; scroll-snap-stop: always; }
.carousel-slide img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 5; object-fit: cover; }
.carousel-btn { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 44px; border: 0; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--navy); box-shadow: 0 2px 10px rgba(10,31,53,.25); cursor: pointer; display: flex; align-items: center; justify-content: center; }
.carousel-btn:hover { background: #fff; color: var(--navy-2); }
.carousel-btn svg { width: 22px; height: 22px; }
.carousel-btn.prev { left: 10px; } .carousel-btn.next { right: 10px; }
.carousel-dots { display: flex; justify-content: center; gap: 4px; margin-top: 10px; }
.carousel-dots button { width: 28px; height: 28px; border: 0; padding: 0; background: none; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.carousel-dots button::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: #B3BFCC; transition: background .2s, transform .2s; }
.carousel-dots button[aria-current="true"]::before { background: var(--navy); transform: scale(1.25); }
@media (prefers-reduced-motion: reduce) { .carousel-track { scroll-behavior: auto; } }
.mosaic { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.mosaic img { width: 100%; height: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 14px; }
.mosaic img:first-child { grid-column: span 2; aspect-ratio: 16 / 8; object-position: center 35%; }

/* Steps */
.steps { list-style: none; margin: 0; padding: 0; counter-reset: s; }
.steps li { counter-increment: s; background: #fff; border: 1px solid var(--rule); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.steps li::before { content: counter(s); width: 36px; height: 36px; border-radius: 999px; background: var(--amber); color: var(--navy-deep); font: 700 15px/36px var(--font-head); text-align: center; }
.steps p { color: var(--muted); font-size: 15px; }

/* Breadcrumb */
.crumbs { background: var(--soft); font-size: 14px; }
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 auto; padding: 14px 24px; max-width: 1200px; color: var(--muted); }
.crumbs li + li::before { content: "/"; margin-right: 8px; color: #9AA6B2; }
.crumbs a { color: var(--text); }

/* Product page */
.gallery .main { background: var(--soft); border-radius: 18px; overflow: hidden; }
.gallery .main img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; }
.gallery .main.contain { display: flex; align-items: center; justify-content: center; }
.gallery .main.contain img { aspect-ratio: 4 / 3; object-fit: contain; }
.thumbs { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.thumbs button { padding: 3px; border-radius: 11px; border: 2px solid var(--rule); background: #fff; cursor: pointer; }
.thumbs button[aria-pressed="true"] { border-color: var(--navy); }
.thumbs img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; border-radius: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { font: 600 15px/1 var(--font-body); min-height: 46px; min-width: 64px; padding: 0 14px; border-radius: 10px; border: 2px solid #C9D2DC; background: #fff; color: var(--navy); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; gap: 8px; }
.pill[aria-pressed="true"] { background: var(--navy); color: #fff; border-color: var(--navy); }
.dot { width: 16px; height: 16px; border-radius: 999px; border: 1px solid #9AA6B2; }
.picked { background: var(--navy); color: #fff; border-radius: var(--radius); padding: 22px; display: flex; flex-direction: column; gap: 14px; }
.picked small { color: #C3CEDA; font-size: 14px; }
.picked b { font-family: var(--font-head); font-size: 21px; }
.picked .ph { background: rgba(245,179,1,.18); color: #FFD25C; }
.picked .tel { color: #fff; text-align: center; font-size: 15px; margin: 0; }
.picked .tel a { color: #fff; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; color: var(--text); font-size: 15px; }
.checks li { display: flex; gap: 10px; align-items: flex-start; }
.checks svg { width: 18px; height: 18px; color: var(--navy); flex: none; margin-top: 4px; }
.spec { width: 100%; border-collapse: collapse; background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--rule); font-size: 16px; }
.spec th { text-align: left; font-weight: 600; color: var(--text); background: #F7F9FB; width: 34%; padding: 14px 16px; vertical-align: top; }
.spec td { padding: 14px 16px; }
.spec tr + tr { border-top: 1px solid var(--rule); }
.faq details { border-bottom: 1px solid var(--rule); padding: 4px 0; }
.faq summary { cursor: pointer; font-weight: 600; font-size: 17px; padding: 14px 0; list-style-position: outside; }
.faq details p { color: var(--muted); padding: 0 0 16px; }

/* Contact + form */
.contact-list { display: flex; flex-direction: column; gap: 16px; border-top: 1px solid var(--rule); padding-top: 22px; }
.contact-list div { display: flex; gap: 14px; align-items: flex-start; }
.contact-list svg { width: 22px; height: 22px; color: var(--navy); flex: none; margin-top: 3px; }
.contact-list span { display: flex; flex-direction: column; color: var(--muted); }
.contact-list strong { color: var(--ink); }
.form-card { background: #fff; border: 1px solid var(--rule); border-radius: 20px; padding: clamp(22px, 3vw, 32px); box-shadow: 0 20px 50px rgba(14,42,71,.10); }
.form { display: flex; flex-direction: column; gap: 16px; }
.fields { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(min(200px, 100%), 1fr)); }
.field { display: flex; flex-direction: column; gap: 6px; }
.field label { font-size: 14px; font-weight: 600; color: var(--text); }
.field label i { font-style: normal; font-weight: 400; color: var(--muted); }
.field input, .field select, .field textarea { font: 16px/1.4 var(--font-body); padding: 12px 14px; border: 1.5px solid #C9D2DC; border-radius: 10px; background: #fff; color: var(--ink); min-height: 48px; width: 100%; }
.field textarea { min-height: 100px; resize: vertical; }
.field input:focus, .field select:focus, .field textarea:focus { outline: 3px solid rgba(245,179,1,.55); outline-offset: 1px; border-color: var(--navy); }
.form-note { font-size: 13px; color: var(--muted); text-align: center; }
.done { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 14px; padding: 36px 8px; }
.done .ok { width: 64px; height: 64px; border-radius: 999px; background: #E7F8EE; color: #067A35; display: flex; align-items: center; justify-content: center; }
.done .ok svg { width: 32px; height: 32px; }
.fallback { align-items: stretch; text-align: left; padding: 8px 0; }
.fallback textarea { width: 100%; font: 15px/1.5 var(--font-body); padding: 12px 14px; border: 1.5px solid #C9D2DC; border-radius: 10px; background: var(--soft); color: var(--ink); resize: vertical; }
[hidden] { display: none !important; }

/* Content pages */
.prose { max-width: 760px; }
.prose h1 { margin-bottom: 12px; }
.prose h2 { font-size: 24px; margin: 34px 0 10px; }
.prose p, .prose li { color: var(--text); font-size: 17px; }
.prose p + p { margin-top: 12px; }
.prose ul { padding-left: 22px; margin: 8px 0 0; display: flex; flex-direction: column; gap: 6px; }
.prose small { color: var(--muted); }
.legal-links { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.legal-links a { color: #C3CEDA; }

/* Footer */
.site-footer { background: var(--navy-deep); color: #C3CEDA; font-size: 15px; padding: 56px 0 28px; }
.site-footer .cols { display: grid; gap: 32px; grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr)); }
.site-footer strong { color: #fff; font-family: var(--font-head); display: block; margin-bottom: 8px; }
.site-footer a { color: #C3CEDA; }
.site-footer a:hover { color: #fff; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.site-footer .logo { background: #fff; border-radius: 10px; padding: 8px 12px; display: inline-block; margin-bottom: 12px; }
.site-footer .logo img { height: 34px; width: auto; }
.site-footer .legal { border-top: 1px solid rgba(255,255,255,.12); margin-top: 36px; padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px; font-size: 14px; }

/* Mobile action bar */
.mbar { display: none; }
@media (max-width: 760px) {
  .mbar { display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: #fff; border-top: 1px solid var(--rule); padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(10,31,53,.12); }
  .mbar .btn { flex: 1; min-height: 50px; padding: 0 8px; }
  .mbar .btn:last-child { flex: 1.4; }
  body { padding-bottom: 72px; }
}
.gallery-cap { margin: 10px 2px 0; font-size: 14px; color: var(--muted); }
.gallery[data-variant-gallery] .thumbs { grid-template-columns: repeat(6, minmax(0, 1fr)); }
