:root {
  --brand: #247649;
  --brand-dark: #1F6B43;
  --brand-tint: #E8F3EC;
  --ink: #111827;
  --ink-muted: #525C69;
  --surface: #FFFFFF;
  --page: #F9FAFB;
  --border: #E5E7EB;
  --radius: 12px;
  --maxw: 1200px;
  --font: Inter, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; font-family: var(--font); color: var(--ink); background: var(--page); line-height: 1.6; }
main { max-width: var(--maxw); margin: 0 auto; padding: 0 20px; }
a { color: var(--brand-dark); }

.site-header { display: flex; align-items: center; gap: 10px 24px; flex-wrap: wrap; max-width: var(--maxw); margin: 0 auto; padding: 16px 20px; }
.header-top, .header-bottom { flex: 1 1 100%; display: flex; align-items: center; justify-content: space-between; gap: 10px 20px; flex-wrap: wrap; }
.brand { display: flex; align-items: center; flex: 0 0 auto; font-weight: 700; color: var(--brand-dark); text-decoration: none; }
.brand img { height: 38px; width: auto; display: block; }
.main-nav { display: flex; gap: 18px; flex-wrap: wrap; }
.lang-switch { display: flex; gap: 10px; font-size: 0.85rem; flex-wrap: wrap; }
.btn { display: inline-block; padding: 10px 18px; border-radius: var(--radius); text-decoration: none; border: 1px solid var(--border); white-space: nowrap; }
.btn-primary { background: var(--brand); color: #fff; border-color: var(--brand); }
.btn-primary:hover { background: var(--brand-dark); }

.hero { background: linear-gradient(160deg, var(--brand) 0%, var(--brand-dark) 100%); color: #fff; padding: 72px 0; }
.hero h1 { font-size: clamp(1.8rem, 4vw, 3rem); margin: 0 0 16px; }
.hero .btn { background: transparent; color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.hero .btn:hover { background: rgba(255, 255, 255, 0.12); }
.series-grid, .product-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); padding: 32px 0; }
/* A heading inside a grid would otherwise sit in the first card slot. */
.series-grid > h2, .product-grid > h2 { grid-column: 1 / -1; margin: 0; }
/* Nine ranges divide evenly into three columns; four leaves a lone card. */
@media (min-width: 1000px) { .series-grid { grid-template-columns: repeat(3, 1fr); } }
.product-card { background: var(--surface); border: 1px solid var(--brand-tint); border-radius: var(--radius); padding: 16px; }
.product-card img { width: 100%; height: auto; display: block; border-radius: calc(var(--radius) - 4px); background: #fff; }
.product-card .model { color: var(--ink-muted); font-size: 0.9rem; }
.spec-table { width: 100%; border-collapse: collapse; background: var(--surface); }
.spec-table th, .spec-table td { text-align: left; padding: 10px 14px; border-bottom: 1px solid var(--border); }
.spec-table th { width: 34%; color: var(--ink-muted); font-weight: 500; }
.page-head { padding: 40px 0 8px; }
.page-head p { color: var(--ink-muted); max-width: 70ch; }
.feature-band { padding: 24px 0; }
.breadcrumbs { padding: 16px 0; color: var(--ink-muted); font-size: 0.9rem; }
.product-detail { display: grid; gap: 32px; grid-template-columns: minmax(240px, 420px) 1fr; padding: 24px 0; }
.product-media img { width: 100%; height: auto; display: block; border-radius: var(--radius); background: #fff; }
.contact-grid { display: flex; flex-wrap: wrap; gap: 16px; padding: 24px 0; }
.inquiry-form { display: grid; gap: 16px; max-width: 640px; }
.inquiry-form label { display: grid; gap: 6px; font-weight: 600; }
.inquiry-form input, .inquiry-form select, .inquiry-form textarea { padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font: inherit; font-weight: 400; }
.form-note { color: var(--ink-muted); font-size: 0.9rem; }
.cta-band { background: var(--brand-tint); border-radius: var(--radius); padding: 28px; margin: 40px 0; display: flex; gap: 18px; align-items: center; flex-wrap: wrap; }
/* Models built to order: visually set apart from the stocked catalogue. */
.development-band { border: 1px dashed var(--border); border-radius: var(--radius); padding: 24px 28px; margin: 36px 0; background: var(--surface); }
.development-band h2 { margin-top: 0; }
.development-band .spec-table { background: transparent; }
.development-band .note { color: var(--ink-muted); font-size: 0.95rem; margin: 14px 0 0; }
/* Factory page: photos run in the order of the production flow. */
.factory-media img { width: 100%; height: auto; display: block; border-radius: var(--radius); margin-bottom: 8px; }
.factory-section { padding: 30px 0; border-top: 1px solid var(--border); }
.factory-section--emphasis { background: var(--brand-tint); border: none; border-radius: var(--radius); padding: 30px; margin: 24px 0; }
.factory-gallery { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); margin-top: 18px; }
.factory-gallery img { width: 100%; height: auto; display: block; border-radius: var(--radius); border: 1px solid var(--border); }
.cta-band-stacked { display: block; }
.factory-teaser { display: grid; gap: 22px; grid-template-columns: 1.1fr 1fr; align-items: center; background: var(--surface); border: 1px solid var(--brand-tint); border-radius: var(--radius); padding: 26px; margin: 34px 0; }
.factory-teaser img { width: 100%; height: auto; display: block; border-radius: var(--radius); }
.factory-teaser h2 { margin-top: 0; }
/* Homepage: the flagship model sits directly under the hero. Analytics showed
   visitors stopping on the homepage, so the 65W charger has to be one click
   away instead of two (home -> category -> product). */
.flagship { display: grid; gap: 28px; grid-template-columns: minmax(220px, 380px) 1fr; align-items: center; background: var(--surface); border: 1px solid var(--brand-tint); border-radius: var(--radius); padding: 28px; margin: 36px 0 8px; }
/* Product shots come on white; multiplying blends that white into the tint
   so the photo reads as a framed image instead of a floating object. */
.flagship-media { background: var(--brand-tint); border-radius: var(--radius); padding: 8px; }
.flagship-media img { width: 100%; height: auto; display: block; border-radius: calc(var(--radius) - 6px); mix-blend-mode: multiply; }
/* The colourway row under the hero shot: same model, five finishes. */
.flagship-colours { display: grid; grid-template-columns: repeat(5, 1fr); gap: 6px; margin-top: 8px; }
.flagship-colours:empty { display: none; }
.flagship-colours img { width: 100%; height: auto; border-radius: 6px; background: #fff; border: 1px solid rgba(0, 0, 0, 0.06); }
/* Product page: the same five finishes, labelled. */
.colour-grid { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); list-style: none; padding: 0; margin: 14px 0 10px; }
.colour-grid li { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 8px; text-align: center; }
.colour-grid img { width: 100%; height: auto; display: block; border-radius: calc(var(--radius) - 6px); }
.colour-grid span { display: block; padding-top: 6px; font-size: 0.85rem; font-weight: 600; color: var(--brand-dark); }
.colour-note { color: var(--ink-muted); font-size: 0.9rem; max-width: 70ch; }
.flagship-tag { margin: 0 0 6px; text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.75rem; font-weight: 600; color: var(--brand); }
.flagship h2 { margin: 0 0 12px; font-size: 1.5rem; }
.flagship-points { margin: 0 0 18px; padding-left: 20px; color: var(--ink-muted); max-width: 60ch; }
.flagship-points li { margin-bottom: 6px; }
.flagship-actions { display: flex; gap: 12px; flex-wrap: wrap; margin: 0; }
.flagship .btn:not(.btn-primary) { background: var(--surface); color: var(--brand-dark); border-color: var(--brand); }
/* Two deep links under the range grid: the pages buyers ask for by email. */
.home-links { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); margin: 8px 0 34px; }
.home-link-card { display: block; text-decoration: none; color: inherit; background: var(--brand-tint); border-radius: var(--radius); padding: 20px 22px; border: 1px solid transparent; }
.home-link-card:hover { border-color: var(--brand); }
.home-link-label { display: block; font-weight: 700; color: var(--brand-dark); margin-bottom: 4px; }
.home-link-text { display: block; font-size: 0.92rem; color: var(--ink-muted); }
.card-link { margin: 10px 0 0; font-size: 0.9rem; font-weight: 600; }
.card-link a { text-decoration: none; }
.card-link a:hover { text-decoration: underline; }
@media (max-width: 720px) { .factory-teaser, .flagship { grid-template-columns: 1fr; } }
.site-footer { background: var(--brand-dark); color: #fff; margin-top: 60px; padding: 28px 20px; text-align: center; }

@media (max-width: 720px) {
  .site-header { flex-wrap: wrap; }
  .main-nav {
    order: 3;
    width: 100%;
    flex-wrap: wrap;
    gap: 8px 16px;
  }
  .lang-switch { flex-wrap: wrap; }
  .product-detail { grid-template-columns: 1fr; }
}

/* Private quotation pages (/q/<slug>/): a document, shared by link only. */
.quote-head { padding: 40px 0 8px; }
.quote-head-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.quote-customer-logo { max-height: 56px; width: auto; display: block; }
.quote-eyebrow { text-transform: uppercase; letter-spacing: 0.08em; font-size: 0.78rem; color: var(--ink-muted); margin: 0 0 8px; }
.quote-for { font-size: 1.8rem; margin: 0 0 6px; }
.quote-attn { color: var(--ink-muted); margin: 0; }
.quote-meta { display: flex; flex-wrap: wrap; gap: 10px 32px; margin: 20px 0 0; padding: 16px 20px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.quote-meta dt { font-size: 0.75rem; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-muted); }
.quote-meta dd { margin: 2px 0 0; font-weight: 600; }
.quote-highlights { display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin: 26px 0; }
.quote-highlights div { background: var(--brand-tint); border-radius: var(--radius); padding: 16px 18px; }
.quote-highlights strong { display: block; margin-bottom: 4px; }
.quote-highlights span { font-size: 0.92rem; color: var(--ink-muted); }
.quote-section { margin: 34px 0; }
.quote-section h2 { font-size: 1.2rem; margin: 0 0 14px; }
.quote-table-wrap { overflow-x: auto; }
.quote-table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 0.94rem; }
.quote-table th, .quote-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.quote-table thead th { background: var(--brand-tint); color: var(--brand-dark); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; white-space: nowrap; }
.quote-table td.num, .quote-table th.num { text-align: right; white-space: nowrap; }
.quote-price { font-weight: 700; }
.quote-remark { display: block; color: var(--ink-muted); font-size: 0.84rem; font-weight: 400; }
.quote-note { color: var(--ink-muted); font-size: 0.92rem; max-width: 80ch; }
.quote-steps { padding-left: 20px; max-width: 80ch; }
.quote-steps li { margin-bottom: 10px; }
.quote-cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 20px; }
.quote-legal { color: var(--ink-muted); font-size: 0.85rem; border-top: 1px solid var(--border); padding-top: 16px; margin: 34px 0 0; }

@media print {
  body { background: #fff; }
  .site-header, .site-footer, .quote-cta { display: none; }
  .quote-table thead th { background: #f1f1f1; }
  .quote-highlights div { border: 1px solid var(--border); background: #fff; }
  a { color: inherit; text-decoration: none; }
  .quote-section { break-inside: avoid; }
}

/* Trust layer: social row, sticky WhatsApp, FAQ and the certifications page. */
.footer-social { display: flex; justify-content: center; flex-wrap: wrap; gap: 6px 18px; margin: 14px 0 0; }
.footer-social a { color: #fff; opacity: 0.9; text-decoration: none; font-size: 0.9rem; }
.footer-social a:hover { opacity: 1; text-decoration: underline; }

.whatsapp-float { position: fixed; right: 18px; bottom: 18px; z-index: 60; display: inline-flex; align-items: center; gap: 8px; padding: 12px 18px 12px 16px; border-radius: 999px; background: #0F7A35; color: #fff; font-weight: 600; text-decoration: none; box-shadow: 0 6px 18px rgba(0, 0, 0, 0.22); }
.whatsapp-float:hover { background: #0B6E30; }
.whatsapp-dot { width: 10px; height: 10px; border-radius: 50%; background: #fff; }

.faq { margin: 36px 0; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 10px; }
.faq-item summary { cursor: pointer; font-weight: 600; }
.faq-item p { margin: 10px 0 0; color: var(--ink-muted); }

.cert-section { margin: 34px 0; }
.cert-section h2 { font-size: 1.2rem; margin: 0 0 12px; }
.cert-section--emphasis { background: var(--brand-tint); border-radius: var(--radius); padding: 24px 26px; }
.cert-lead { max-width: 78ch; }
.cert-note { color: var(--ink-muted); font-size: 0.92rem; max-width: 78ch; }
.cert-list { max-width: 78ch; }
.cert-list li, .cert-steps li { margin-bottom: 8px; }
.cert-steps { max-width: 78ch; padding-left: 20px; }
.data-table { width: 100%; border-collapse: collapse; background: var(--surface); font-size: 0.94rem; }
.data-table th, .data-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.data-table thead th { background: var(--brand-tint); color: var(--brand-dark); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
@media (max-width: 720px) {
  .data-table { display: block; overflow-x: auto; }
  .whatsapp-float { right: 12px; bottom: 12px; padding: 10px 15px; }
}
@media print {
  .whatsapp-float { display: none; }
}

/* Factory page: short clips from the line. preload="none" keeps the page light. */
.factory-videos { padding: 34px 0 8px; border-top: 1px solid var(--border); }
.factory-video-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 18px; }
.factory-video { margin: 0; }
.factory-video video { width: 100%; height: auto; display: block; border-radius: var(--radius); background: #000; }
.factory-video figcaption { margin-top: 8px; color: var(--ink-muted); font-size: 0.9rem; }
.factory-more { margin: 20px 0 0; }

/* Buying guides: index cards + article typography. */
.insight-list { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); padding: 8px 0 20px; }
.insight-card { background: var(--surface); border: 1px solid var(--brand-tint); border-radius: var(--radius); padding: 20px 22px; }
.insight-card h3 { margin: 6px 0 8px; }
.insight-card p { margin: 0; color: var(--ink-muted); }
.insight-meta { font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--ink-muted); }
.article { max-width: 78ch; padding-bottom: 20px; }
.article-head { padding: 24px 0 8px; }
.article-head h1 { font-size: clamp(1.6rem, 3vw, 2.3rem); margin: 6px 0 12px; }
.article-summary { color: var(--ink-muted); font-size: 1.05rem; }
.article h2 { font-size: 1.25rem; margin: 34px 0 10px; }
.article ul { padding-left: 22px; }
.article li { margin-bottom: 8px; }

/* Conversion layer: make the buying route and proof points explicit. */
.hero { padding: 76px 34px 78px; border-radius: 0 0 var(--radius) var(--radius); }
.hero-eyebrow, .section-eyebrow { margin: 0 0 10px; text-transform: uppercase; letter-spacing: 0.09em; font-size: 0.76rem; font-weight: 700; }
.hero-eyebrow { color: rgba(255, 255, 255, 0.78); }
.section-eyebrow { color: var(--brand); }
.hero h1 { max-width: 980px; line-height: 1.1; letter-spacing: -0.025em; }
.hero-lead { max-width: 820px; margin: 0 0 22px; color: rgba(255, 255, 255, 0.9); font-size: clamp(1rem, 1.8vw, 1.18rem); }
.hero .btn { border-color: rgba(255, 255, 255, 0.72); }
.hero .btn-primary { background: #fff; color: var(--brand-dark); border-color: #fff; }
.hero .btn-primary:hover { background: var(--brand-tint); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-strip { display: grid; grid-template-columns: repeat(4, 1fr); background: var(--surface); border: 1px solid var(--brand-tint); border-radius: var(--radius); margin: -28px 20px 32px; box-shadow: 0 14px 36px rgba(17, 24, 39, 0.08); position: relative; z-index: 2; }
.trust-strip div { padding: 18px 22px; border-right: 1px solid var(--border); }
.trust-strip div:last-child { border-right: 0; }
.trust-strip strong, .trust-strip span { display: block; }
.trust-strip strong { color: var(--brand-dark); font-size: 1rem; }
.trust-strip span { color: var(--ink-muted); font-size: 0.83rem; }
.buyer-paths, .launch-process { margin: 46px 0; }
.section-intro { max-width: 760px; margin-bottom: 20px; }
.section-intro h2 { margin: 0 0 8px; font-size: clamp(1.45rem, 2.8vw, 2rem); }
.section-intro p:last-child { color: var(--ink-muted); margin: 0; }
.buyer-path-grid { display: grid; gap: 18px; grid-template-columns: repeat(3, 1fr); }
.buyer-path-card { display: block; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: transform 160ms ease, border-color 160ms ease, box-shadow 160ms ease; }
.buyer-path-card:hover { transform: translateY(-3px); border-color: var(--brand); box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08); }
.buyer-path-card > span { display: block; color: var(--brand); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.06em; font-weight: 700; }
.buyer-path-card > strong { display: block; margin: 8px 0; font-size: 1.15rem; }
.buyer-path-card p { margin: 0; color: var(--ink-muted); font-size: 0.93rem; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; list-style: none; padding: 0; margin: 0; counter-reset: none; }
.process-grid li { background: var(--surface); border-top: 4px solid var(--brand); border-radius: 0 0 var(--radius) var(--radius); padding: 20px; }
.process-grid li > span { display: block; color: var(--brand); font-weight: 800; font-size: 1.2rem; }
.process-grid li > strong { display: block; margin: 8px 0; }
.process-grid li > p { margin: 0; color: var(--ink-muted); font-size: 0.9rem; }
.cta-band { justify-content: space-between; }
.cta-band > div { max-width: 760px; }
.cta-band h2 { margin: 0 0 6px; }
.cta-band p { margin: 0; color: var(--ink-muted); }

/* Inquiry and product decision aids. */
.inquiry-layout { display: grid; grid-template-columns: minmax(0, 1.55fr) minmax(260px, 0.7fr); gap: 30px; align-items: start; padding: 18px 0 40px; }
.inquiry-panel, .inquiry-aside { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; }
.inquiry-form { max-width: none; }
.inquiry-form .form-row { display: grid; gap: 14px; grid-template-columns: 1fr 1fr; }
.inquiry-form label { margin: 0; }
.inquiry-form .field-help { display: block; color: var(--ink-muted); font-size: 0.8rem; font-weight: 400; }
.inquiry-form .required { color: #B42318; }
.inquiry-form .consent { display: flex; align-items: flex-start; gap: 10px; font-weight: 400; color: var(--ink-muted); font-size: 0.88rem; }
.inquiry-form .consent input { width: 18px; height: 18px; margin-top: 2px; flex: 0 0 auto; }
.inquiry-aside h2 { margin-top: 0; }
.inquiry-aside ul { padding-left: 20px; color: var(--ink-muted); }
.inquiry-aside li { margin-bottom: 9px; }
.response-promise { background: var(--brand-tint); border-radius: var(--radius); padding: 16px; margin-bottom: 20px; }
.response-promise strong { display: block; color: var(--brand-dark); }
.response-promise span { color: var(--ink-muted); font-size: 0.9rem; }
.purchase-facts { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin: 18px 0 24px; }
.purchase-facts div { background: var(--brand-tint); border-radius: 10px; padding: 12px; }
.purchase-facts strong, .purchase-facts span { display: block; }
.purchase-facts strong { color: var(--brand-dark); }
.purchase-facts span { color: var(--ink-muted); font-size: 0.8rem; }
.decision-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 28px 0; }
.decision-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; }
.decision-card h2, .decision-card h3 { margin-top: 0; }
.decision-card ul { margin-bottom: 0; padding-left: 20px; }
.decision-card li { margin-bottom: 7px; }
.sticky-action { display: flex; gap: 10px; flex-wrap: wrap; margin: 24px 0; }

@media (max-width: 900px) {
  .trust-strip { grid-template-columns: 1fr 1fr; }
  .trust-strip div:nth-child(2) { border-right: 0; }
  .trust-strip div:nth-child(-n+2) { border-bottom: 1px solid var(--border); }
  .buyer-path-grid, .process-grid, .purchase-facts { grid-template-columns: 1fr 1fr; }
  .inquiry-layout { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .hero { padding: 52px 20px 58px; }
  .trust-strip { grid-template-columns: 1fr; margin-left: 0; margin-right: 0; }
  .trust-strip div, .trust-strip div:nth-child(2) { border-right: 0; border-bottom: 1px solid var(--border); }
  .trust-strip div:last-child { border-bottom: 0; }
  .buyer-path-grid, .process-grid, .purchase-facts, .decision-grid, .inquiry-form .form-row { grid-template-columns: 1fr; }
  .hero-actions .btn, .sticky-action .btn { width: 100%; text-align: center; }
  .cta-band { align-items: flex-start; }
}

@media (prefers-reduced-motion: reduce) {
  .buyer-path-card { transition: none; }
  .buyer-path-card:hover { transform: none; }
}

/* Analytics consent: optional tracking stays off until an explicit choice. */
.consent-banner {
  position: fixed;
  left: 18px;
  bottom: 18px;
  z-index: 80;
  width: min(680px, calc(100vw - 36px));
  display: flex;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: 0 12px 36px rgba(17, 24, 39, 0.2);
}
.consent-banner strong, .consent-banner p { display: block; }
.consent-banner p { margin: 4px 0 0; color: var(--ink-muted); font-size: 0.88rem; }
.consent-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.consent-actions .btn { padding: 8px 12px; font-size: 0.88rem; }

@media (max-width: 620px) {
  .consent-banner { left: 10px; right: 10px; bottom: 78px; width: auto; display: block; }
  .consent-actions { margin-top: 12px; }
  .consent-actions .btn { flex: 1; text-align: center; }
}
