/* =========================================================
   OKAY PREMIER PACKAGING — main stylesheet
   ========================================================= */
:root {
  --navy: #0a2463;
  --navy-deep: #071a4a;
  --blue: #0b3aa8;
  --blue-bright: #1553d6;
  --ink: #111827;
  --text: #374151;
  --muted: #6b7280;
  --tint: #eef5fd;
  --line: #dbe6f5;
  --white: #fff;
  --radius: 12px;
  --shadow: 0 6px 24px rgba(10, 36, 99, .08);
  --header-h: 76px;
  --container: 1200px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }
body {
  margin: 0;
  font-family: "Kanit", "Prompt", "Sarabun", system-ui, sans-serif;
  font-weight: 300;
  font-size: 16px;
  line-height: 1.6;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
img, video { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, h4, p, figure { margin: 0; }
button { font: inherit; cursor: pointer; }

.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 24px; }
.icon { width: 1.15em; height: 1.15em; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: none; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 10px 26px; border-radius: 999px; border: 1.5px solid transparent;
  font-weight: 500; font-size: 15px; line-height: 1.4; white-space: nowrap;
  transition: transform .2s, box-shadow .2s, background .2s, color .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn .icon:last-child { transition: transform .2s; }
.btn:hover .icon:last-child { transform: translateX(4px); }
.btn-lg { padding: 14px 34px; font-size: 16px; }
.btn-primary { background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; box-shadow: 0 6px 18px rgba(11, 58, 168, .28); }
.btn-primary:hover { box-shadow: 0 10px 26px rgba(11, 58, 168, .4); }
.btn-outline { background: rgba(255, 255, 255, .85); color: var(--blue); border-color: var(--blue); }
.btn-outline:hover { background: var(--blue); color: #fff; }
.btn-white { background: #fff; color: var(--navy); box-shadow: 0 6px 18px rgba(0, 0, 0, .15); }
.btn-ring { border-color: rgba(255, 255, 255, .85); }
.btn-line { background: #06c755; color: #fff; padding: 6px 14px; font-size: 12.5px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50; height: var(--header-h);
  background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px);
  transition: box-shadow .25s;
}
.site-header.scrolled { box-shadow: 0 4px 20px rgba(10, 36, 99, .1); }
.header-inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.logo { display: inline-flex; align-items: center; gap: 10px; flex: none; }
.logo-mark svg { width: 74px; height: auto; display: block; }
.logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.logo-text strong { font-weight: 600; font-size: 14px; letter-spacing: 1.6px; color: var(--ink); }
.logo-text small { font-size: 10.5px; white-space: nowrap; font-weight: 500; color: var(--ink); margin-top: 3px; }

.main-nav { display: flex; gap: clamp(12px, 1.7vw, 28px); white-space: nowrap; }
.main-nav a { position: relative; padding: 6px 0; font-size: 14.5px; font-weight: 400; color: var(--ink); transition: color .2s; }
.main-nav a::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--blue); transform: scaleX(0); transition: transform .25s; }
.main-nav a:hover, .main-nav a.active { color: var(--blue); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }

.nav-toggle { display: none; width: 44px; height: 44px; border: 0; background: none; padding: 10px; flex-direction: column; justify-content: space-between; }
.nav-toggle span { display: block; height: 2.5px; border-radius: 2px; background: var(--navy); transition: transform .25s, opacity .25s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(10.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-10.5px) rotate(-45deg); }

/* ---------- Hero (video background) ---------- */
.hero {
  position: relative; overflow: hidden;
  height: clamp(780px, 56.25vw, 900px);
  background: linear-gradient(120deg, #f4f8ff 0%, #dfeafb 100%);
}
.hero-media { position: absolute; inset: 0; }
.hero-video {
  width: 100%; height: 100%; object-fit: cover;
  object-position: right center; /* animation หลักอยู่ด้านขวา — ไม่ crop ฝั่งขวา */
  opacity: 0; transition: opacity .8s ease;
}
.hero.has-video .hero-video { opacity: 1; }
.hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg,
    rgba(255, 255, 255, .94) 0%,
    rgba(246, 250, 255, .86) 24%,
    rgba(232, 241, 255, .55) 40%,
    rgba(222, 234, 255, .14) 54%,
    rgba(222, 234, 255, 0) 66%);
}
.hero-inner { position: relative; height: 100%; display: flex; align-items: center; padding-bottom: 40px; }
.hero-content { width: 42%; min-width: 470px; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-size: clamp(15px, 1.25vw, 18px); font-weight: 500; letter-spacing: .3px; color: var(--blue);
}
.hero-eyebrow::before { content: ""; width: 36px; height: 2px; background: var(--blue); }
.hero-title {
  margin-top: 18px;
  font-size: clamp(38px, 3.4vw, 54px); font-weight: 700; line-height: 1.25; white-space: nowrap; color: var(--ink);
  text-shadow: 0 1px 18px rgba(255, 255, 255, .7);
}
.hero-title .accent {
  display: block;
  background: linear-gradient(100deg, var(--navy) 0%, var(--blue-bright) 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  text-shadow: none;
  padding-bottom: .08em;
}
.hero-desc {
  margin-top: 22px; font-size: clamp(17px, 1.45vw, 21px); font-weight: 400; color: #1f2937;
  text-shadow: 0 1px 12px rgba(255, 255, 255, .8);
}
.hero-actions { margin-top: 36px; display: flex; flex-wrap: wrap; gap: 16px; }

/* entrance: fade + slide up, buttons follow ~0.3s later */
.js .reveal { opacity: 0; transform: translateY(32px); }
.js .hero.is-ready .reveal { animation: fadeUp .9s cubic-bezier(.2, .7, .2, 1) var(--d, 0s) forwards; }
@keyframes fadeUp { to { opacity: 1; transform: none; } }

/* ---------- Stats ---------- */
.stats {
  position: relative; z-index: 2; margin-top: -34px;
  background: linear-gradient(90deg, var(--navy-deep), var(--blue) 50%, var(--navy-deep));
  color: #fff;
  border-radius: 50% 50% 0 0 / 30px 30px 0 0;
}
.stats-inner { display: grid; grid-template-columns: repeat(5, 1fr); padding-top: 34px; padding-bottom: 26px; }
.stat { display: flex; align-items: center; justify-content: center; gap: 16px; padding: 4px 12px; border-left: 1px solid rgba(255, 255, 255, .25); }
.stat:first-child { border-left: 0; }
.stat .icon { width: 42px; height: 42px; stroke-width: 1.2; }
.stat strong { display: block; font-size: 26px; font-weight: 600; line-height: 1.15; }
.stat strong.sm { font-size: 17px; font-weight: 500; line-height: 1.4; }
.stat span { font-size: 14px; opacity: .9; }

/* ---------- Sections ---------- */
.section { padding: 64px 0; }
.section-tint { background: linear-gradient(180deg, var(--tint), #f6faff); }
.eyebrow { font-size: 13px; font-weight: 400; letter-spacing: 1.2px; color: var(--blue-bright); }
.section-title { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; line-height: 1.3; color: var(--blue); }
.section-sub { font-size: 17px; color: var(--text); }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin-bottom: 28px; }

.icon-circle {
  display: inline-grid; place-items: center; width: 54px; height: 54px; flex: none;
  border: 1.5px solid var(--blue); border-radius: 50%; color: var(--blue); background: #fff;
}
.icon-circle .icon { width: 26px; height: 26px; stroke-width: 1.5; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 40px; align-items: center; }
.about-text .lead { margin-top: 14px; font-size: 16.5px; color: var(--text); }
.icon-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 30px 0; text-align: center; font-size: 14.5px; font-weight: 400; color: var(--ink); line-height: 1.4; }
.icon-row .icon-circle { display: grid; margin: 0 auto 10px; }
.about-gallery { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.about-gallery figure { position: relative; overflow: hidden; border-radius: var(--radius); box-shadow: var(--shadow); }
.about-gallery img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.about-gallery figure:hover img { transform: scale(1.05); }
.g-main { grid-column: 1 / -1; aspect-ratio: 16 / 8; }
.g-main img { object-position: center 85%; }
.g-sub { aspect-ratio: 16 / 10; }
.g-sub figcaption {
  position: absolute; inset: auto 0 0 0; padding: 30px 18px 12px;
  background: linear-gradient(transparent, rgba(7, 26, 74, .85));
  color: #fff; font-size: 14px; line-height: 1.4;
}
.g-sub figcaption strong { display: block; font-size: 16px; font-weight: 500; }

/* ---------- Services ---------- */
.service-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.service-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: 0 14px 34px rgba(10, 36, 99, .16); }
.service-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.service-body { padding: 14px 16px 18px; }
.service-body h3 { font-size: 17px; font-weight: 500; color: var(--blue); }
.service-body p { margin: 6px 0 10px; font-size: 14px; line-height: 1.5; min-height: 3em; }
.link-more { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 500; color: var(--blue); }
.link-more .icon { transition: transform .2s; }
.link-more:hover .icon { transform: translateX(4px); }

/* ---------- Showcase ---------- */
.showcase { padding-top: 48px; }
.showcase-head { margin-bottom: 12px; align-items: flex-start; }
.filters { display: flex; flex-wrap: wrap; gap: 10px; margin: 0 0 22px; }
.chip { padding: 6px 20px; border-radius: 999px; border: 1px solid var(--line); background: #fff; color: var(--text); font-size: 13.5px; font-weight: 400; transition: all .2s; }
.chip:hover { border-color: var(--blue); color: var(--blue); }
.chip.active { background: var(--blue); border-color: var(--blue); color: #fff; }
.product-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.product { border-radius: 10px; overflow: hidden; background: #fff; border: 1px solid var(--line); transition: transform .25s, box-shadow .25s, opacity .3s; }
.product:hover { transform: translateY(-5px); box-shadow: var(--shadow); }
.product img { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; transition: transform .5s; }
.product:hover img { transform: scale(1.06); }
.product-grid.collapsed .product:nth-child(n+13) { display: none; }
#showAll[aria-expanded="true"] .icon { transform: rotate(-90deg); }
.product figcaption { padding: 8px 6px; text-align: center; font-size: 14px; font-weight: 400; color: var(--ink); }
.product.is-hidden { display: none; }
.empty-note { padding: 40px 0; text-align: center; color: var(--muted); }

/* ---------- Machinery ---------- */
.machinery { position: relative; min-height: 380px; overflow: hidden; background: var(--navy-deep); }
.machinery-img { position: absolute; top: 0; right: 0; width: 56%; height: 100%; object-fit: cover; }
.machinery-panel {
  position: relative; width: 58%; min-height: 380px; display: flex; align-items: center;
  background: linear-gradient(120deg, var(--navy-deep), var(--blue));
  clip-path: polygon(0 0, 100% 0, 84% 100%, 0 100%);
  color: #fff;
  padding: 44px 13% 44px max(24px, calc((100vw - var(--container)) / 2 + 24px));
}
.machinery-content h2 { font-size: clamp(26px, 2.6vw, 34px); font-weight: 600; line-height: 1.3; }
.machinery-content p { margin-top: 12px; font-size: 15.5px; opacity: .95; }
.check-list { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 18px; margin: 18px 0 22px; font-size: 15px; font-weight: 400; }
.check-list li { display: flex; align-items: center; gap: 10px; }
.check-list .icon { stroke-width: 2.4; }

/* ---------- Why ---------- */
.why { padding: 48px 0 56px; }
.why-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 22px; }
.why-grid li { display: flex; align-items: center; gap: 10px; padding: 14px 10px; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 3px 12px rgba(10, 36, 99, .05); font-size: 13.5px; line-height: 1.45; transition: transform .25s, box-shadow .25s; }
.why-grid li:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.why-grid strong { display: block; font-weight: 500; color: var(--ink); font-size: 14px; white-space: nowrap; }
.why-grid .icon-circle { width: 40px; height: 40px; }
.why-grid .icon-circle .icon { width: 20px; height: 20px; }

/* ---------- CTA ---------- */
.cta {
  color: #fff; padding: 34px 0;
  background:
    linear-gradient(90deg, rgba(7, 26, 74, .96) 0%, rgba(10, 36, 99, .9) 45%, rgba(58, 38, 20, .82) 100%),
    url("../assets/img/press.jpg") center / cover;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.cta h2 { font-size: clamp(26px, 2.8vw, 36px); font-weight: 600; line-height: 1.3; }
.cta p { font-size: 17px; opacity: .95; }
.cta-actions { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: #fff; font-size: 14px; }
.footer-links a { white-space: nowrap; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1.5fr 1.1fr 1.7fr auto; gap: 32px; padding-top: 32px; padding-bottom: 28px; }
.footer-brand p { margin-top: 10px; font-weight: 500; color: var(--ink); }
.site-footer h4 { font-size: 15px; font-weight: 500; color: var(--ink); margin-bottom: 8px; }
.footer-links li { position: relative; padding-left: 12px; line-height: 1.75; }
.footer-links li::before { content: "•"; position: absolute; left: 0; color: var(--blue); }
.footer-links a:hover, .contact-list a:hover, .footer-bottom a:hover { color: var(--blue-bright); text-decoration: underline; }
.footer-links.two-col { columns: 2; column-gap: 20px; }
.contact-list li { display: flex; gap: 10px; align-items: flex-start; line-height: 1.5; margin-bottom: 4px; }
.contact-list .icon { color: var(--blue); margin-top: 3px; }
.footer-line { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-line img { border: 1px solid var(--line); border-radius: 6px; }
.footer-bottom { background: var(--navy-deep); color: #fff; font-size: 13px; }
.footer-bottom-inner { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px 20px; padding-top: 10px; padding-bottom: 10px; }
.footer-bottom a:hover { color: #fff; }

/* ---------- Scroll animation ---------- */
.js [data-animate] { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s cubic-bezier(.2, .7, .2, 1); }
.js [data-animate].in { opacity: 1; transform: none; }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1100px) {
  .main-nav {
    position: absolute; top: var(--header-h); left: 0; right: 0;
    flex-direction: column; gap: 0; padding: 8px 24px 16px;
    background: #fff; box-shadow: 0 14px 24px rgba(10, 36, 99, .12);
    display: none;
  }
  .main-nav.open { display: flex; }
  .main-nav a { padding: 12px 0; border-bottom: 1px solid var(--line); font-size: 16px; }
  .main-nav a::after { display: none; }
  .nav-toggle { display: flex; }
  .header-cta { margin-left: auto; }

  .service-grid { grid-template-columns: repeat(3, 1fr); }
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .why-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-inner { grid-template-columns: repeat(3, 1fr); row-gap: 18px; }
  .stat:nth-child(4) { border-left: 0; }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
}

@media (max-width: 900px) {
  /* Hero: ข้อความด้านบน / วิดีโอด้านล่าง */
  .hero { height: auto; display: flex; flex-direction: column; }
  .hero-inner { order: 1; height: auto; padding-top: 44px; padding-bottom: 28px; }
  .hero-content { width: 100%; min-width: 0; }
  .hero-media { order: 2; position: relative; inset: auto; aspect-ratio: 4 / 3; }
  .hero-overlay { display: none; }
  .hero-title { font-size: clamp(28px, 7vw, 46px); white-space: normal; }
  .hero-actions .btn { flex: 1 1 180px; }
  .stats { margin-top: -18px; border-radius: 50% 50% 0 0 / 18px 18px 0 0; }
  .stats-inner { padding-top: 26px; }

  .about-grid { grid-template-columns: 1fr; }
  .machinery { display: flex; flex-direction: column-reverse; }
  .machinery-img { position: static; width: 100%; height: 240px; }
  .machinery-panel { width: 100%; min-height: 0; clip-path: none; padding: 40px 24px; }
}

@media (max-width: 640px) {
  :root { --header-h: 64px; }
  .logo-mark svg { width: 56px; }
  .logo-text strong { font-size: 11.5px; letter-spacing: 1px; }
  .logo-text small { display: none; }
  .header-cta { display: none; }
  .section { padding: 44px 0; }
  .section-head { flex-direction: column; align-items: flex-start; }
  .stats-inner { grid-template-columns: 1fr 1fr; }
  .stat { justify-content: flex-start; border-left: 0; }
  .stat:last-child { grid-column: 1 / -1; }
  .stat .icon { width: 34px; height: 34px; }
  .stat strong { font-size: 22px; }
  .icon-row { grid-template-columns: 1fr 1fr; row-gap: 20px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .product-grid { grid-template-columns: 1fr 1fr; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .filters { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 6px; scrollbar-width: none; }
  .chip { flex: none; }
  .cta-actions { width: 100%; }
  .cta-actions .btn { flex: 1 1 100%; }
  .footer-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px 20px; }
  .footer-links.two-col { columns: 1; }
  .footer-links a { white-space: normal; }
  .footer-brand, .footer-line { grid-column: 1 / -1; }
  .footer-line { align-items: flex-start; }
}

@media (max-width: 420px) {
  .service-grid { grid-template-columns: 1fr; }
  .hero-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .reveal, .js [data-animate] { opacity: 1; transform: none; animation: none !important; transition: none; }
}

/* =========================================================
   Inner pages
   ========================================================= */
.page-hero {
  color: #fff; padding: 56px 0 60px;
  background:
    linear-gradient(100deg, rgba(7, 26, 74, .96) 0%, rgba(11, 58, 168, .88) 55%, rgba(11, 58, 168, .55) 100%),
    url("../assets/img/factory-1.jpg") center 30% / cover;
}
.page-hero h1 { font-size: clamp(32px, 4vw, 48px); font-weight: 600; line-height: 1.25; }
.page-hero p { font-size: 18px; opacity: .95; }
.page-hero .crumb { font-size: 14px; opacity: .85; margin-bottom: 8px; }
.page-hero .crumb a:hover { text-decoration: underline; }

.stats-flat { margin-top: 0; border-radius: 0; }
.stats-flat .stats-inner { padding-top: 26px; }

.tick-list { display: grid; gap: 8px; margin: 16px 0 22px; }
.tick-list li { display: flex; gap: 10px; align-items: flex-start; }
.tick-list .icon { color: var(--blue); stroke-width: 2.4; margin-top: 4px; }

/* Services */
.svc-list { display: grid; gap: 56px; }
.svc-row { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; scroll-margin-top: calc(var(--header-h) + 20px); }
.svc-row.reverse figure { order: 2; }
.svc-row figure { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 4 / 3; }
.svc-row img { width: 100%; height: 100%; object-fit: cover; }
.svc-num { font-size: 44px; font-weight: 600; line-height: 1; color: #cfe0fa; }
.svc-row h2 { font-size: 28px; font-weight: 600; color: var(--blue); }
.svc-row p { margin-top: 8px; font-size: 16.5px; }

.process { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; margin: 26px 0 0; padding: 0; list-style: none; counter-reset: none; }
.process li { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 18px; font-size: 14.5px; line-height: 1.5; box-shadow: 0 3px 12px rgba(10, 36, 99, .05); }
.process span { display: grid; place-items: center; width: 42px; height: 42px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--navy)); color: #fff; font-weight: 500; font-size: 18px; margin-bottom: 12px; }
.process strong { display: block; font-size: 18px; font-weight: 500; color: var(--ink); }

/* Portfolio */
.product-grid-lg { grid-template-columns: repeat(4, 1fr); gap: 18px; }
.product-grid-lg .product figcaption { padding: 12px 8px; font-size: 15.5px; }

/* Machinery / cards */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 26px; }
.info-card { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.info-card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.info-card div { padding: 18px 20px 22px; }
.info-card h3 { font-size: 19px; font-weight: 500; color: var(--blue); }
.info-card p { margin-top: 6px; font-size: 15px; }

.why-grid-4 { grid-template-columns: repeat(4, 1fr); }
.why-grid-4 li { align-items: flex-start; padding: 18px 16px; font-size: 14.5px; }
.why-grid-4 strong { font-size: 16.5px; margin-bottom: 2px; }

/* Articles */
.article-list { display: grid; gap: 28px; }
.article { display: grid; grid-template-columns: 320px 1fr; gap: 32px; align-items: start; background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 22px; box-shadow: 0 3px 12px rgba(10, 36, 99, .05); }
.article img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: 10px; }
.article h2 { font-size: 23px; font-weight: 500; color: var(--blue); line-height: 1.35; }
.article p { margin-top: 8px; }
.article .tick-list { margin-bottom: 0; }
.article strong, .tick-list strong { font-weight: 500; color: var(--ink); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: 48px; align-items: start; }
.contact-list-lg { margin: 18px 0 24px; font-size: 17px; }
.contact-list-lg li { margin-bottom: 10px; }
.contact-photo { border-radius: 16px; overflow: hidden; box-shadow: var(--shadow); aspect-ratio: 16 / 9; }
.contact-photo img { width: 100%; height: 100%; object-fit: cover; }
.quote-form { background: #fff; border: 1px solid var(--line); border-radius: 16px; padding: 30px; box-shadow: var(--shadow); display: grid; gap: 16px; scroll-margin-top: calc(var(--header-h) + 20px); }
.quote-form h2 { font-size: 26px; font-weight: 600; color: var(--blue); }
.quote-form > p { margin-top: -10px; font-size: 14.5px; color: var(--muted); }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.quote-form label { display: grid; gap: 6px; font-size: 14.5px; font-weight: 400; color: var(--ink); }
.quote-form input, .quote-form select, .quote-form textarea {
  width: 100%; padding: 11px 14px; border: 1px solid #c9d6ea; border-radius: 8px;
  font: inherit; font-weight: 300; color: var(--ink); background: #fbfdff; transition: border-color .2s, box-shadow .2s;
}
.quote-form input:focus, .quote-form select:focus, .quote-form textarea:focus { outline: 0; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(21, 83, 214, .15); }
.quote-form .btn { justify-self: start; border: 0; cursor: pointer; }

/* =========================================================
   Floating contact buttons (right side)
   ========================================================= */
.float-bar { position: fixed; right: 18px; bottom: 22px; z-index: 60; display: flex; flex-direction: column; gap: 12px; }
.float-btn {
  position: relative; display: grid; place-items: center; width: 52px; height: 52px;
  filter: drop-shadow(0 4px 8px rgba(7, 26, 74, .28)); transition: transform .2s;
}
.float-btn:hover { transform: scale(1.1); }
.float-btn img { width: 100%; height: 100%; object-fit: contain; }
.float-phone { border-radius: 50%; background: linear-gradient(135deg, var(--blue-bright), var(--navy)); color: #fff; }
.float-phone .icon { width: 24px; height: 24px; stroke-width: 2; }
.float-btn::after {
  content: attr(data-label); position: absolute; right: calc(100% + 10px); top: 50%; transform: translateY(-50%) translateX(6px);
  padding: 4px 12px; border-radius: 6px; background: var(--navy-deep); color: #fff; font-size: 13px; font-weight: 400; white-space: nowrap;
  opacity: 0; pointer-events: none; transition: opacity .2s, transform .2s;
}
.float-btn:hover::after { opacity: 1; transform: translateY(-50%); }

@media (max-width: 1100px) {
  .product-grid-lg { grid-template-columns: repeat(3, 1fr); }
  .process { grid-template-columns: repeat(3, 1fr); }
  .why-grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 900px) {
  .svc-row, .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .svc-row.reverse figure { order: 0; }
  .card-grid { grid-template-columns: 1fr 1fr; }
  .article { grid-template-columns: 1fr; gap: 18px; }
}
@media (max-width: 640px) {
  .page-hero { padding: 36px 0 40px; }
  .product-grid-lg, .process, .card-grid { grid-template-columns: 1fr 1fr; }
  .why-grid-4, .form-row { grid-template-columns: 1fr; }
  .quote-form { padding: 22px; }
  .float-bar { right: 12px; bottom: 14px; gap: 10px; }
  .float-btn { width: 46px; height: 46px; }
  .float-btn::after { display: none; }
}
@media (max-width: 420px) {
  .card-grid { grid-template-columns: 1fr; }
}

/* =========================================================
   Logo colour accents (cyan / magenta / yellow / royal blue)
   ========================================================= */
:root {
  --cyan: #19a7e0;
  --pink: #e23a8a;
  --yellow: #f6c21b;
  --amber: #c98a00;
  --stripe: linear-gradient(90deg, var(--cyan) 0 25%, var(--pink) 25% 50%, var(--yellow) 50% 75%, var(--blue) 75% 100%);
  --stripe3: linear-gradient(90deg, var(--cyan) 0 33.4%, var(--pink) 33.4% 66.7%, var(--yellow) 66.7% 100%);
}
.site-header::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--stripe); }

.eyebrow { display: flex; align-items: center; gap: 10px; }
.eyebrow::before { content: ""; width: 36px; height: 4px; border-radius: 2px; background: var(--stripe3); }
.hero-eyebrow::before { width: 48px; height: 4px; border-radius: 2px; background: var(--stripe3); }
.hero-title .accent { background-image: linear-gradient(100deg, var(--navy) 0%, var(--blue-bright) 55%, var(--cyan) 100%); }

.stat:nth-child(3n+1) .icon { color: var(--yellow); }
.stat:nth-child(3n+2) .icon { color: #5cc8f2; }
.stat:nth-child(3n+3) .icon { color: #ff7ab8; }

.icon-row li:nth-child(4n+1) .icon-circle, .why-grid li:nth-child(4n+1) .icon-circle { border-color: var(--cyan); color: #0b86bd; background: #e8f6fc; }
.icon-row li:nth-child(4n+2) .icon-circle, .why-grid li:nth-child(4n+2) .icon-circle { border-color: var(--pink); color: #cf2779; background: #fdeaf3; }
.icon-row li:nth-child(4n+3) .icon-circle, .why-grid li:nth-child(4n+3) .icon-circle { border-color: var(--yellow); color: var(--amber); background: #fff7dc; }
.icon-row li:nth-child(4n+4) .icon-circle, .why-grid li:nth-child(4n+4) .icon-circle { border-color: var(--blue); color: var(--blue); background: #e9effc; }

.service-card { border-top: 4px solid var(--blue); }
.service-card:nth-child(4n+1) { border-top-color: var(--cyan); }
.service-card:nth-child(4n+2) { border-top-color: var(--pink); }
.service-card:nth-child(4n+3) { border-top-color: var(--yellow); }
.link-more:hover { color: var(--pink); }

.chip:hover { border-color: var(--pink); color: var(--pink); }
.chip.active:hover { color: #fff; border-color: var(--blue); }
.product:hover { border-color: var(--cyan); }

.check-list .icon { color: var(--yellow); }
.machinery-panel::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--stripe3); }

.cta .btn-primary { background: var(--yellow); color: var(--navy-deep); border-color: transparent; box-shadow: 0 6px 18px rgba(246, 194, 27, .35); }
.cta .btn-primary:hover { box-shadow: 0 10px 26px rgba(246, 194, 27, .5); }

.page-hero { position: relative; }
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 5px; background: var(--stripe); }
.footer-bottom { border-top: 4px solid; border-image: var(--stripe) 1; }

.process li:nth-child(4n+1) span { background: var(--cyan); }
.process li:nth-child(4n+2) span { background: var(--pink); }
.process li:nth-child(4n+3) span { background: var(--yellow); color: var(--navy-deep); }
.process li { border-top: 3px solid var(--line); }
.process li:nth-child(4n+1) { border-top-color: var(--cyan); }
.process li:nth-child(4n+2) { border-top-color: var(--pink); }
.process li:nth-child(4n+3) { border-top-color: var(--yellow); }
.process li:nth-child(4n+4) { border-top-color: var(--blue); }

.svc-row:nth-child(4n+1) .svc-num { color: var(--cyan); }
.svc-row:nth-child(4n+2) .svc-num { color: var(--pink); }
.svc-row:nth-child(4n+3) .svc-num { color: var(--yellow); }
.svc-row:nth-child(4n+4) .svc-num { color: var(--blue); }
.info-card { border-bottom: 4px solid var(--cyan); }
.info-card:nth-child(3n+2) { border-bottom-color: var(--pink); }
.info-card:nth-child(3n+3) { border-bottom-color: var(--yellow); }
.article { border-left: 5px solid var(--cyan); }
.article:nth-child(3n+2) { border-left-color: var(--pink); }
.article:nth-child(3n+3) { border-left-color: var(--yellow); }
.quote-form { border-top: 5px solid var(--pink); }
