/* Liphoco – FABTECH 2026 landing page (rebuilt from Wix) */
:root {
  --orange: #ff6a13;
  --orange-dark: #e2570a;
  --navy: #192a4d;
  --navy-deep: #111d36;
  --ink: #1f2430;
  --muted: #5b6475;
  --bg: #ffffff;
  --bg-soft: #f4f6fa;
  --footer: #242834;
  --radius: 14px;
  --font-head: "Montserrat", system-ui, sans-serif;
  --font-body: "Nunito Sans", system-ui, sans-serif;
  --header-h: 76px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 8px); }
body { margin: 0; font-family: var(--font-body); color: var(--ink); background: var(--bg); line-height: 1.6; font-size: 17px; }
img { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0 0 .6em; }
.container { width: min(1200px, 100% - 32px); margin-inline: auto; }
.narrow { max-width: 860px; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }

/* Buttons */
.btn { display: inline-block; padding: 13px 28px; border-radius: 999px; font-family: var(--font-head); font-weight: 600; font-size: 15px; text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--orange); color: #fff; }
.btn-primary:hover { background: var(--orange-dark); }
.btn-dark { background: var(--navy); color: #fff; }
.btn-dark:hover { background: var(--navy-deep); }
.btn-ghost { background: transparent; color: #fff; box-shadow: inset 0 0 0 2px #fff; }
.btn-ghost:hover { background: rgba(255,255,255,.12); }
.hero-inner .btn { margin: 0 12px 12px 0; }

/* Header */
.site-header { position: sticky; top: 0; z-index: 50; background: var(--orange); height: var(--header-h); display: flex; align-items: center; box-shadow: 0 2px 12px rgba(0,0,0,.12); }
.header-inner { display: flex; align-items: center; gap: 24px; }
.logo img { height: 40px; width: auto; }
.main-nav { margin-left: auto; }
.main-nav ul { list-style: none; display: flex; gap: 6px; margin: 0; padding: 6px; background: #fff; border-radius: 999px; }
.main-nav a { display: block; padding: 8px 16px; border-radius: 999px; text-decoration: none; color: var(--orange); font-family: var(--font-head); font-weight: 500; font-size: 15px; }
.main-nav a:hover { background: #fff1e8; }
.nav-toggle { display: none; margin-left: auto; background: none; border: 0; padding: 8px; cursor: pointer; }
.nav-toggle span { display: block; width: 26px; height: 3px; margin: 5px 0; background: #fff; border-radius: 2px; }

/* Shared background media sections */
.hero, .fabricate { position: relative; overflow: hidden; color: #fff; }
.bg-media { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(10,18,36,.82) 0%, rgba(10,18,36,.45) 70%, rgba(10,18,36,.25) 100%); }
.overlay-strong { background: rgba(17,29,54,.78); }
.hero, .fabricate { isolation: isolate; }

/* Hero */
.hero-inner { padding: 110px 0 140px; max-width: 900px; margin-left: max(16px, (100% - 1200px) / 2); }
.hero h1 { font-size: clamp(32px, 5vw, 54px); font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.hero .lead { font-size: clamp(17px, 2vw, 22px); max-width: 720px; margin: 0 0 32px; opacity: .95; }
.event-bar { position: relative; background: var(--navy); border-top: 4px solid var(--orange); }
.event-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; padding: 26px 0; }
.event-grid > div { display: flex; flex-direction: column; }
.event-grid .label { font-size: 14px; text-transform: uppercase; letter-spacing: 1.5px; opacity: .75; }
.event-grid .value { font-family: var(--font-head); font-size: clamp(20px, 2.4vw, 28px); font-weight: 700; color: var(--orange); }

/* What we fabricate */
.fabricate { padding: 110px 0; text-align: center; }
.eyebrow { font-family: var(--font-head); text-transform: uppercase; letter-spacing: 3px; color: var(--orange); font-weight: 700; margin: 0 0 12px; }
.fabricate h2 { font-size: clamp(26px, 3.4vw, 40px); }
.fabricate p { font-size: 18px; opacity: .92; }

/* Section titles */
section { padding: 90px 0; }
.hero, .fabricate { padding-bottom: 0; }
.fabricate { padding-bottom: 110px; }
.section-title { font-size: clamp(28px, 3.6vw, 42px); text-align: center; color: var(--navy); position: relative; padding-bottom: 18px; margin-bottom: 48px; }
.section-title::after { content: ""; position: absolute; left: 50%; bottom: 0; transform: translateX(-50%); width: 64px; height: 4px; border-radius: 2px; background: var(--orange); }
.section-title.light { color: #fff; }

/* Capacities */
.capacities { background: var(--bg-soft); }
.cap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cap-card { background: #fff; border-radius: var(--radius); padding: 32px 28px; box-shadow: 0 6px 24px rgba(25,42,77,.08); border-top: 4px solid var(--orange); }
.cap-card .num { font-family: var(--font-head); font-weight: 800; font-size: 34px; color: #ffd9c2; display: block; margin-bottom: 8px; }
.cap-card h3 { font-size: 21px; color: var(--navy); }
.cap-card p { margin: 0; color: var(--muted); }

/* Products */
.products { background: var(--navy) url("images/product-bg.jpg") center / cover; background-blend-mode: multiply; }
.product-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.product { background: #fff; border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: transform .2s, box-shadow .2s; }
.product:hover { transform: translateY(-4px); box-shadow: 0 14px 30px rgba(0,0,0,.25); }
.product img { width: 100%; aspect-ratio: 4 / 3; object-fit: contain; background: #fff; padding: 12px; }
.product-body { padding: 18px 20px 22px; display: flex; flex-direction: column; flex: 1; border-top: 1px solid #eef0f4; }
.product h3 { font-size: 18px; color: var(--navy); }
.product p { margin: 0 0 16px; color: var(--muted); font-size: 15px; flex: 1; }
.video-link { align-self: flex-start; color: var(--orange); font-weight: 700; text-decoration: none; font-family: var(--font-head); font-size: 14px; }
.video-link::before { content: "▶"; display: inline-block; margin-right: 8px; font-size: 11px; }
.video-link:hover { text-decoration: underline; }

/* Advantages */
.adv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.adv { background: #fff; border-radius: var(--radius); overflow: hidden; box-shadow: 0 6px 24px rgba(25,42,77,.08); }
.adv img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; }
.adv h3 { font-size: 20px; color: var(--orange); margin: 22px 24px 10px; }
.adv p { margin: 0 24px 26px; color: var(--muted); }

/* End-to-end gallery */
.e2e { background: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.gallery img { width: 100%; aspect-ratio: 1; object-fit: cover; border-radius: 10px; background: #fff; }

/* Certifications */
.cert-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; align-items: start; }
.cert-grid figure { margin: 0; text-align: center; }
.cert-grid img { width: 100%; aspect-ratio: 1; object-fit: contain; background: var(--bg-soft); border-radius: var(--radius); padding: 20px; }
.cert-grid figcaption { margin-top: 12px; font-family: var(--font-head); font-weight: 600; color: var(--navy); }

/* Book meeting */
.book { background: linear-gradient(rgba(17,29,54,.85), rgba(17,29,54,.85)), url("images/booking-bg.webp") center / cover; color: #fff; }
.book-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.book-info h2 { font-size: clamp(30px, 4vw, 46px); text-transform: uppercase; color: var(--orange); }
.book-info p { margin: 0 0 10px; font-size: 18px; opacity: .92; }
.book-info .venue { font-family: var(--font-head); font-weight: 700; font-size: 22px; opacity: 1; }
.book-info .booth { font-weight: 700; color: var(--orange); opacity: 1; }
.card-form { background: #fff; color: var(--ink); border-radius: var(--radius); padding: 32px; display: grid; gap: 16px; box-shadow: 0 20px 50px rgba(0,0,0,.3); }
.card-form label { display: grid; gap: 6px; font-weight: 600; font-size: 15px; }
input, textarea { font: inherit; padding: 12px 14px; border: 1px solid #cfd5df; border-radius: 8px; width: 100%; background: #fff; color: var(--ink); }
input:focus, textarea:focus { outline: 2px solid var(--orange); outline-offset: 1px; border-color: transparent; }
.form-status { margin: 0; font-size: 14px; color: var(--muted); min-height: 1em; }

/* Footer */
.site-footer { background: var(--footer); color: #c9cfdb; padding: 70px 0 24px; font-size: 15px; }
.footer-grid { display: grid; grid-template-columns: 1.1fr 1.2fr .8fr; gap: 48px; }
.site-footer h4 { color: #fff; font-size: 16px; margin-bottom: 14px; }
.site-footer p { margin: 0 0 14px; }
.site-footer a { color: #fff; }
.subscribe { display: grid; grid-template-columns: 1fr auto; gap: 10px; }
.subscribe .check { grid-column: 1 / -1; display: flex; gap: 8px; align-items: center; font-size: 14px; }
.subscribe .check input { width: auto; }
.subscribe .form-status { grid-column: 1 / -1; color: #c9cfdb; }
.social { display: flex; gap: 16px; flex-wrap: wrap; }
.social a { text-decoration: none; padding: 6px 14px; border: 1px solid #4a5163; border-radius: 999px; }
.social a:hover { border-color: var(--orange); color: var(--orange); }
.copyright { border-top: 1px solid #3a4050; margin-top: 40px; padding-top: 20px; font-size: 13px; text-align: center; opacity: .7; }

/* Responsive */
@media (max-width: 1024px) {
  .product-grid { grid-template-columns: repeat(3, 1fr); }
  .header-cta { display: none; }
}
@media (max-width: 860px) {
  :root { --header-h: 64px; }
  .nav-toggle { display: block; }
  .main-nav { position: absolute; top: var(--header-h); left: 0; right: 0; background: var(--orange); padding: 12px 16px 18px; display: none; }
  .nav-open .main-nav { display: block; }
  .main-nav ul { flex-direction: column; border-radius: 14px; }
  .cap-grid, .adv-grid { grid-template-columns: 1fr 1fr; }
  .product-grid, .gallery, .cert-grid { grid-template-columns: repeat(2, 1fr); }
  .book-grid, .footer-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-inner { padding: 72px 0 90px; }
  section { padding: 64px 0; }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .cap-grid, .adv-grid { grid-template-columns: 1fr; }
  .event-grid { grid-template-columns: 1fr; gap: 14px; padding: 20px 0; }
  .card-form { padding: 22px; }
  .subscribe { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .bg-media { display: none; }
  .hero { background: url("images/hero.webp") center / cover; }
  .fabricate { background: url("images/fabricate-poster.jpg") center / cover; }
}
