/* Henric sales landing — mobile first. Scoped under .henric-landing so it
   can sit inside any theme. Brand: navy + gold from the Henric logo. */

.henric-landing {
	--hl-navy: #17346b;
	--hl-navy-2: #0f2550;
	--hl-gold: #f2b705;
	--hl-blue: #2a7de1;
	--hl-orange: #e8692a;
	--hl-line: #06c755;
	--hl-text: #1d2433;
	--hl-muted: #5b6577;
	--hl-bg: #ffffff;
	--hl-bg-alt: #f2f5fa;
	--hl-border: #dbe2ec;
	--hl-radius: 14px;

	font-family: "Noto Sans Thai", "Sukhumvit Set", "Leelawadee UI", Tahoma, sans-serif;
	color: var(--hl-text);
	background: var(--hl-bg);
	font-size: 17px;
	line-height: 1.65;
	padding-bottom: 72px; /* room for the sticky bar */
	-webkit-text-size-adjust: 100%;
}
.henric-landing *, .henric-landing *::before, .henric-landing *::after { box-sizing: border-box; }
.henric-landing :is(h1, h2, h3, p, a, li, button, input, select, label, small, strong, span, th, td, summary, figcaption, caption) { font-family: "Noto Sans Thai", "Sukhumvit Set", "Leelawadee UI", Tahoma, sans-serif; }
.henric-landing img { max-width: 100%; height: auto; display: block; }
.henric-landing a { color: var(--hl-blue); }
.henric-landing h1, .henric-landing h2, .henric-landing h3 { color: var(--hl-navy); line-height: 1.3; margin: 0 0 .6em; font-weight: 700; }
.henric-landing h1 { font-size: 28px; }
.henric-landing h2 { font-size: 23.2px; }
.henric-landing h3 { font-size: 17.6px; }
.henric-landing p { margin: 0 0 1em; }

body.henric-landing-blank { margin: 0; background: #fff; }

.hl-wrap { max-width: 680px; margin: 0 auto; padding: 0 16px; }
.hl-section { padding: 40px 0; }
.hl-alt { background: var(--hl-bg-alt); }

/* Top bar */
.hl-topbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 16px; border-bottom: 3px solid var(--hl-gold); background: #fff; }
.hl-logo { width: 130px; }
.hl-topbar-call { font-weight: 700; text-decoration: none; color: var(--hl-navy) !important; font-size: 15.2px; white-space: nowrap; }

/* Hero */
.hl-hero { padding: 28px 0 36px; background: linear-gradient(180deg, #eef3fb 0%, #fff 100%); }
.hl-eyebrow { display: inline-block; background: var(--hl-navy); color: #fff; font-weight: 600; font-size: 13.6px; padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }
.hl-lead { font-size: 16.8px; color: var(--hl-muted); }
.hl-hero-img { margin: 0 auto 12px; max-width: 220px !important; width: 60%; mix-blend-mode: multiply; }
.hl-price-chip { display: grid; justify-items: center; text-align: center; background: #fff; border: 2px solid var(--hl-gold); border-radius: var(--hl-radius); padding: 12px 16px; margin: 0 0 16px; }
.hl-price-label { font-size: 14.4px; color: var(--hl-muted); }
.hl-price { font-size: 32px; font-weight: 700; color: var(--hl-navy); line-height: 1.2; }
.hl-price-note { font-size: 14.4px; font-weight: 600; color: var(--hl-orange); }
.hl-cta-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hl-trust { list-style: none; padding: 0; margin: 16px 0 0; display: flex; flex-wrap: wrap; gap: 6px 14px; font-size: 14.4px; color: var(--hl-muted); }
.hl-trust li::before { content: "✓ "; color: var(--hl-line); font-weight: 700; }

/* Buttons */
.hl-btn { display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 10px 18px; border-radius: 12px; font-weight: 700; font-size: 16.3px; text-decoration: none !important; border: 0; cursor: pointer; font-family: inherit; text-align: center; line-height: 1.3; }
.hl-btn-primary { background: var(--hl-gold); color: var(--hl-navy-2) !important; }
.hl-btn-primary:hover { filter: brightness(1.05); }
.hl-btn-line { background: var(--hl-line); color: #fff !important; }
.hl-btn-block { display: flex; width: 100%; }
.hl-btn:focus-visible, .hl-video:focus-visible, .hl-faq summary:focus-visible { outline: 3px solid var(--hl-blue); outline-offset: 2px; }

/* Problem */
.hl-problem-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.hl-problem-list li { display: flex; gap: 12px; align-items: flex-start; background: var(--hl-bg-alt); border-radius: var(--hl-radius); padding: 14px; }
.hl-num { flex: 0 0 32px; height: 32px; border-radius: 50%; background: var(--hl-navy); color: #fff; display: grid; place-items: center; font-weight: 700; }

/* Diagram */
.hl-diagram { margin: 0 0 18px; background: #fff; border-radius: var(--hl-radius); padding: 12px; border: 1px solid var(--hl-border); }
.hl-diagram svg { width: 100%; height: auto; display: block; font-family: inherit; }
.hl-diagram .d-out { fill: #e3f0e6; }
.hl-diagram .d-in { fill: #e6eef9; }
.hl-diagram .d-unit { fill: #2b2f36; }
.hl-diagram .d-label { font-size: 14px; font-weight: 700; fill: var(--hl-navy); text-anchor: middle; }
.hl-diagram .d-unit-t { font-size: 15px; font-weight: 700; fill: #fff; text-anchor: middle; }
.hl-diagram .d-unit-s { font-size: 9.5px; fill: #ffd27a; text-anchor: middle; }
.hl-diagram .d-small { font-size: 11.5px; font-weight: 600; text-anchor: middle; }
.hl-diagram .d-fresh { stroke: var(--hl-blue); stroke-width: 6; fill: none; }
.hl-diagram .d-fresh-h { fill: var(--hl-blue); }
.hl-diagram .d-fresh-t { fill: #1b5fb0; }
.hl-diagram .d-stale { stroke: var(--hl-orange); stroke-width: 6; fill: none; }
.hl-diagram .d-stale-h { fill: var(--hl-orange); }
.hl-diagram .d-stale-t { fill: #b74716; }

.hl-steps { padding-left: 1.3em; margin: 0 0 16px; }
.hl-steps li { margin-bottom: 6px; }
.hl-callout { background: #fff; border-left: 4px solid var(--hl-gold); padding: 12px 14px; border-radius: 0 10px 10px 0; }

.hl-compare { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin: 18px 0; }
.hl-compare-col { background: #fff; border: 1px solid var(--hl-border); border-radius: var(--hl-radius); padding: 14px; font-size: 15.2px; }
.hl-compare-col h3 { font-size: 16px; }
.hl-compare-col p { margin: 0; }
.hl-compare-erv { border: 2px solid var(--hl-navy); }

/* Video facade (loads YouTube only on tap) */
.hl-video { position: relative; display: block; width: 100%; max-width: 320px; margin: 20px auto 0; padding: 0; border: 0; border-radius: var(--hl-radius); overflow: hidden; background: #000; cursor: pointer; aspect-ratio: 9 / 16; }
.hl-video img { width: 100%; height: 100%; object-fit: cover; }
.hl-video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.hl-play { position: absolute; left: 50%; top: 50%; width: 72px; height: 72px; margin: -36px 0 0 -36px; border-radius: 50%; background: rgba(0,0,0,.65); }
.hl-play::after { content: ""; position: absolute; left: 29px; top: 22px; border-style: solid; border-width: 14px 0 14px 22px; border-color: transparent transparent transparent #fff; }

/* Specs */
.hl-tiles { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hl-tile { background: var(--hl-navy); color: #fff; border-radius: var(--hl-radius); padding: 14px 12px; display: grid; align-content: center; text-align: center; }
.hl-tile-big { font-size: 23.2px; font-weight: 700; color: var(--hl-gold); line-height: 1.2; }
.hl-tile-sub { font-size: 13.6px; line-height: 1.4; margin-top: 4px; }
.hl-fine { font-size: 13.1px; color: var(--hl-muted); margin-top: 8px; }
.hl-spec { width: 100%; border-collapse: collapse; margin-top: 18px; font-size: 15.2px; }
.hl-spec caption { text-align: left; font-weight: 700; color: var(--hl-navy); padding-bottom: 8px; }
.hl-spec th, .hl-spec td { padding: 9px 10px; border-bottom: 1px solid var(--hl-border); text-align: left; vertical-align: top; }
.hl-spec th { width: 38%; color: var(--hl-muted); font-weight: 600; }

/* Gallery: horizontal swipe on mobile */
/* Every photo visible at once on phones and tablets too: 2 columns, 3 from 600px. */
.hl-gallery { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
@media (min-width: 600px) { .hl-gallery { grid-template-columns: repeat(3, 1fr); gap: 10px; } }
.hl-gallery figure { margin: 0; scroll-snap-align: start; background: #fff; border-radius: var(--hl-radius); overflow: hidden; border: 1px solid var(--hl-border); }
.hl-gallery img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; }
.hl-gallery figcaption { padding: 6px 8px; font-size: 13px; line-height: 1.4; }
@media (min-width: 600px) { .hl-gallery figcaption { padding: 8px 12px; font-size: 14.4px; } }

/* Package */
.hl-package { border: 2px solid var(--hl-navy); border-radius: var(--hl-radius); padding: 18px 16px; }
.hl-package-name { font-weight: 700; color: var(--hl-navy); font-size: 17.6px; }
.hl-package-row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; padding: 10px 0; border-bottom: 1px dashed var(--hl-border); }
.hl-package-row strong { font-size: 18.4px; color: var(--hl-navy); text-align: right; }
.hl-package-vat { margin: 10px 0 14px; font-weight: 600; color: var(--hl-orange); font-size: 15.2px; }
.hl-package-sub { margin: 8px 0 4px; font-weight: 600; }
.hl-factors, .hl-included { margin: 0 0 14px; padding-left: 1.2em; }
.hl-included { list-style: none; padding: 0; }
.hl-included li::before { content: "✓ "; color: var(--hl-line); font-weight: 700; }
.hl-h3 { margin-top: 28px !important; }
.hl-process { padding-left: 1.3em; }
.hl-process li { margin-bottom: 6px; }

/* FAQ */
.hl-faq details { background: #fff; border: 1px solid var(--hl-border); border-radius: 12px; margin-bottom: 8px; }
.hl-faq summary { cursor: pointer; padding: 14px 40px 14px 14px; font-weight: 600; list-style: none; position: relative; }
.hl-faq summary::-webkit-details-marker { display: none; }
.hl-faq summary::after { content: "+"; position: absolute; right: 16px; top: 10px; font-size: 22.4px; color: var(--hl-navy); }
.hl-faq details[open] summary::after { content: "−"; }
.hl-faq details p { padding: 0 14px 14px; margin: 0; }

/* Form */
.hl-form-section { background: var(--hl-navy); color: #fff; }
.hl-form-section h2 { color: #fff; }
.hl-form-section a { color: var(--hl-gold); }
.hl-form { background: #fff; color: var(--hl-text); border-radius: var(--hl-radius); padding: 18px 16px; }
.hl-field { margin-bottom: 14px; }
.hl-field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.hl-field label { display: block; font-weight: 600; margin-bottom: 4px; font-size: 15.2px; }
.hl-field label span { color: #c62828; }
.hl-field input, .hl-field select { width: 100%; min-height: 48px; padding: 10px 12px; border: 1.5px solid #b9c3d3; border-radius: 10px; font: inherit; font-size: 16px; background: #fff; color: var(--hl-text); }
.hl-field input:focus, .hl-field select:focus { border-color: var(--hl-blue); outline: 2px solid rgba(42,125,225,.25); }
.hl-field input[aria-invalid="true"] { border-color: #c62828; }
.hl-field small { color: var(--hl-muted); font-size: 13.1px; }
.hl-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.hl-consent { display: flex; gap: 10px; align-items: flex-start; font-size: 14.1px; line-height: 1.5; margin: 6px 0 14px; cursor: pointer; }
.hl-consent input { width: 22px; height: 22px; flex: 0 0 22px; margin-top: 2px; }
.hl-consent a { color: var(--hl-blue); }
.hl-form-error { color: #c62828; font-weight: 600; margin: 0 0 10px; }
.hl-btn[disabled] { opacity: .6; cursor: wait; }
.hl-success { background: #fff; color: var(--hl-text); border-radius: var(--hl-radius); padding: 22px 16px; text-align: center; }
.hl-success h3 { color: var(--hl-navy); }
.hl-success a { color: var(--hl-blue); }
.hl-alt-contact { margin-top: 16px; font-size: 14.7px; text-align: center; }

/* Footer */
.hl-footer { background: var(--hl-navy-2); color: #cfd8e8; padding: 28px 0; font-size: 14.4px; }
.hl-footer strong { color: #fff; }
.hl-footer a { color: #fff; }
.hl-footer .hl-fine { color: #9fb0cc; }

/* Sticky contact bar (mobile) */
.hl-sticky { position: fixed; left: 0; right: 0; bottom: 0; z-index: 9999; display: grid; grid-template-columns: 1fr 1fr 1.4fr; gap: 6px; padding: 8px 8px calc(8px + env(safe-area-inset-bottom)); background: rgba(255,255,255,.97); box-shadow: 0 -2px 12px rgba(0,0,0,.12); }
.hl-sticky a { display: flex; align-items: center; justify-content: center; min-height: 48px; border-radius: 10px; font-weight: 700; text-decoration: none; }
.hl-sticky-call { background: var(--hl-navy); color: #fff !important; }
.hl-sticky-line { background: var(--hl-line); color: #fff !important; }
.hl-sticky-form { background: var(--hl-gold); color: var(--hl-navy-2) !important; }

/* HueZentte 3 modes */
.hl-modes { display: grid; gap: 12px; margin-bottom: 16px; }
.hl-mode { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--hl-border); border-radius: var(--hl-radius); padding: 10px; }
.hl-mode img { width: 112px; height: 84px; object-fit: cover; border-radius: 10px; }
.hl-mode h3 { margin: 0 0 2px; font-size: 16.5px; }
.hl-mode p { margin: 0; font-size: 15px; line-height: 1.5; color: var(--hl-muted); }

/* Robot page */
.hl-hero-photo { width: 100%; border-radius: var(--hl-radius); margin: 4px 0 16px; aspect-ratio: 3 / 2; object-fit: cover; }
.hl-checks { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.hl-checks li { background: var(--hl-bg-alt); border-radius: 12px; padding: 12px 14px 12px 44px; position: relative; font-weight: 600; }
.hl-checks li::before { content: "✓"; position: absolute; left: 14px; top: 11px; width: 22px; height: 22px; border-radius: 50%; background: var(--hl-line); color: #fff; font-size: 13px; display: grid; place-items: center; }

/* Row of YouTube Shorts */
/* Clips in a grid on every screen (2 per row on phones) — no sideways swiping. */
.hl-videos { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 20px 0 0; }
@media (min-width: 600px) { .hl-videos { grid-template-columns: repeat(3, 1fr); gap: 12px; } }
.hl-videos figure { margin: 0; scroll-snap-align: start; }
.hl-videos .hl-video { margin: 0; max-width: none; }
.hl-videos figcaption { font-size: 13px; padding-top: 6px; line-height: 1.4; }

.hl-field textarea { width: 100%; padding: 10px 12px; border: 1.5px solid #b9c3d3; border-radius: 10px; font: inherit; font-size: 16px; background: #fff; color: var(--hl-text); resize: vertical; }

/* Editor-only placeholder notes */
.hl-draft-note { background: #fff6c2; border: 2px dashed #d4a300; color: #5a4500; padding: 10px 12px; border-radius: 8px; font-size: 14.1px; margin: 10px 0; }

@media (min-width: 768px) {
	.henric-landing { padding-bottom: 0; }
	.henric-landing h1 { font-size: 36.8px; }
	.henric-landing h2 { font-size: 28px; }
	.hl-section { padding: 56px 0; }
	.hl-tiles { grid-template-columns: repeat(4, 1fr); }
	.hl-cta-row { max-width: 460px; }
	.hl-hero-img { max-width: 320px !important; }
	.hl-sticky { display: none; }
	.hl-modes { grid-template-columns: 1fr 1fr; }
	.hl-gallery-4 { grid-template-columns: repeat(4, 1fr); }
	.hl-checks { grid-template-columns: 1fr 1fr; }
}

@media (prefers-reduced-motion: no-preference) {
	.henric-landing { scroll-behavior: smooth; }
}

/* Brochure / manual downloads */
.hl-downloads { list-style: none; margin: 16px 0 0; padding: 0; display: grid; gap: 10px; }
@media (min-width: 720px) { .hl-downloads { grid-template-columns: 1fr 1fr; } }
.hl-downloads a { display: flex; align-items: center; gap: 14px; padding: 14px 16px; border: 1px solid #dbe2ec; border-radius: var(--hl-radius); background: #fff; text-decoration: none; color: var(--hl-navy) !important; }
.hl-downloads a:hover { border-color: var(--hl-blue); box-shadow: 0 4px 14px rgba(23, 52, 107, 0.08); }
.hl-dl-icon { flex: 0 0 auto; width: 44px; height: 52px; border-radius: 6px; background: #d93a2b; color: #fff; font-weight: 700; font-size: 13px; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 8px; }
.hl-dl-text { display: flex; flex-direction: column; gap: 2px; line-height: 1.4; }
.hl-dl-text small { color: #64748b; font-size: 13px; }
.hl-render img { width: 100%; height: auto; display: block; border-radius: 8px; }
.hl-render figcaption { margin-top: 8px; }
