/* ============================================================
   MONDO PRO — Classic corporate (Knauf-inspired), but lively
   White · brand blue · navy · orange accent
   ============================================================ */
:root {
  --navy: #15315a;
  --blue: #1a73c2;
  --blue-600: #155fa0;
  --blue-50: #eaf2fb;
  --accent: #ef7a22;       /* lively orange */
  --accent-600: #d8661a;
  --ink: #202a36;
  --muted: #5c6878;
  --bg: #ffffff;
  --soft: #f4f8fc;         /* alt section background */
  --line: #e3e9f0;
  --radius: 3px;
  --radius-lg: 4px;
  --shadow-sm: 0 2px 10px rgba(21, 49, 90, 0.06);
  --shadow: 0 14px 40px rgba(21, 49, 90, 0.12);
  --maxw: 1200px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 110px; }

body {
  font-family: "Mulish", system-ui, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }

.container { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 820px; }
.center { text-align: center; margin-left: auto; margin-right: auto; }

h1, h2, h3, h4 {
  font-family: "Libre Franklin", system-ui, sans-serif;
  color: var(--navy); line-height: 1.12; letter-spacing: -0.01em; font-weight: 800;
}
em { font-style: normal; color: var(--blue); }

/* signature Knauf-style centered italic display heading */
.display { font-style: italic; font-weight: 900; text-transform: uppercase; letter-spacing: -0.005em; }

.eyebrow {
  font-family: "Mulish", sans-serif; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.16em; font-size: 0.8rem; color: var(--accent); margin-bottom: 14px;
}

.lead-muted { color: var(--muted); font-size: 1.1rem; margin-top: 14px; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 3px; font-family: "Libre Franklin", sans-serif;
  font-weight: 700; font-size: 0.98rem; cursor: pointer; border: 2px solid transparent;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), background 0.2s, color 0.2s;
  line-height: 1;
}
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(26, 115, 194, 0.28); }
.btn-primary:hover { background: var(--blue-600); transform: translateY(-2px); box-shadow: 0 12px 26px rgba(26, 115, 194, 0.34); }
.btn-accent { background: var(--accent); color: #fff; box-shadow: 0 8px 20px rgba(239, 122, 34, 0.3); }
.btn-accent:hover { background: var(--accent-600); transform: translateY(-2px); }
.btn-outline-light { background: rgba(255,255,255,0.08); border-color: rgba(255,255,255,0.7); color: #fff; }
.btn-outline-light:hover { background: #fff; color: var(--navy); transform: translateY(-2px); }
.btn-block { width: 100%; }

/* ============================================================
   TOP BAR + HEADER
   ============================================================ */
.topbar { background: var(--navy); color: #cdd9e8; font-size: 0.84rem; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; height: 40px; }
.tb-tag { letter-spacing: 0.02em; }
.tb-links { display: flex; align-items: center; gap: 22px; }
.tb-links a:hover { color: #fff; }
.tb-lang { padding: 2px 10px; border: 1px solid rgba(255,255,255,0.25); border-radius: 4px; font-weight: 600; }

.site-header {
  position: sticky; top: 0; z-index: 100; background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow 0.25s;
}
.site-header.scrolled { box-shadow: var(--shadow-sm); }
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 92px; }
.brand-logo { height: 70px; width: auto; }
.main-nav { display: flex; align-items: center; gap: 30px; }
.main-nav > a { font-weight: 600; font-size: 0.98rem; color: var(--navy); position: relative; padding: 4px 0; transition: color 0.2s; }
.main-nav > a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: -2px; width: 0; height: 2px; background: var(--accent); transition: width 0.25s var(--ease);
}
.main-nav > a:not(.nav-cta):hover { color: var(--blue); }
.main-nav > a:not(.nav-cta):hover::after { width: 100%; }
.main-nav a.nav-cta { background: var(--blue); color: #fff !important; padding: 11px 22px; border-radius: 3px; box-shadow: 0 6px 16px rgba(26,115,194,0.26); transition: background 0.2s, transform 0.2s; }
.main-nav a.nav-cta:hover { background: var(--blue-600); transform: translateY(-2px); }
.nav-toggle { display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-toggle span { width: 26px; height: 2.5px; background: var(--navy); border-radius: 3px; transition: 0.25s; }

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; min-height: 600px; display: flex; align-items: center; overflow: hidden; }
.hero-media {
  position: absolute; inset: 0; background: url("../img/machine.jpg") center/cover no-repeat;
  transform: scale(1.05); animation: kenburns 18s ease-in-out infinite alternate;
}
@keyframes kenburns { to { transform: scale(1.14); } }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(100deg, rgba(13, 28, 51, 0.93) 0%, rgba(15, 42, 78, 0.82) 42%, rgba(21, 49, 90, 0.45) 100%);
}
.hero-content { position: relative; z-index: 2; max-width: 720px; padding: 90px 24px; }
.hero-eyebrow { font-family: "Mulish"; font-weight: 700; letter-spacing: 0.2em; font-size: 0.85rem; color: #7fc0ff; text-transform: uppercase; margin-bottom: 22px; }
.hero h1 { color: #fff; font-size: clamp(2.4rem, 5.2vw, 4rem); font-weight: 900; line-height: 1.05; }
.hero h1 em { color: #ffb27a; font-style: italic; }
.hero-lead { color: #d6e2f0; font-size: 1.2rem; margin: 24px 0 34px; max-width: 580px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band { background: var(--navy); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: 34px 24px; text-align: center; border-right: 1px solid rgba(255,255,255,0.12); }
.stat:last-child { border-right: 0; }
.stat-num { display: block; font-family: "Libre Franklin"; font-weight: 900; font-size: 2.9rem; color: #fff; line-height: 1; }
.stat-num small { font-size: 1.2rem; color: #7fc0ff; }
.stat-lbl { display: block; margin-top: 10px; font-size: 0.86rem; color: #9fb3cc; letter-spacing: 0.02em; }

/* ============================================================
   SECTIONS
   ============================================================ */
.section { padding: 92px 0; }
.section-soft { background: var(--soft); }
.section-head { max-width: 720px; margin: 0 auto 56px; }
.section-head.center { text-align: center; }

h2 { font-size: clamp(1.9rem, 3.6vw, 2.8rem); }
.display.center, .section-head h2 { position: relative; }
.section-head.center h2::after {
  content: ""; display: block; width: 64px; height: 4px; background: var(--accent); border-radius: 3px; margin: 18px auto 0;
}

.intro .display { color: var(--blue); }

/* ============================================================
   PRODUCT / DIVISION CARDS
   ============================================================ */
.card-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px; }
.card {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease);
  display: flex; flex-direction: column;
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.card-media { aspect-ratio: 4/3; background: #eef3f8; overflow: hidden; display: grid; place-items: center; }
.card-media img {
  max-width: 100%; max-height: 100%; width: auto; height: auto;
  object-fit: contain; transition: transform 0.4s var(--ease);
}
.card:hover .card-media img { transform: scale(1.08); }
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-kicker { font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--accent); }
.card-body h3 { font-size: 1.4rem; margin: 6px 0 8px; }
.card-body > p { color: var(--muted); font-size: 0.96rem; }
.card-dims { margin-top: 12px !important; font-size: 0.86rem; color: var(--navy); font-weight: 600; background: var(--blue-50); padding: 8px 12px; border-radius: 3px; }
.more-link { margin-top: auto; padding-top: 18px; color: var(--blue); font-weight: 700; font-size: 0.95rem; display: inline-flex; align-items: center; gap: 8px; }
.more-link span { transition: transform 0.2s var(--ease); }
.more-link:hover { color: var(--accent); }
.more-link:hover span { transform: translateX(5px); }

/* ============================================================
   SPLIT (about / production)
   ============================================================ */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; }
.split-media { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.split-media img { width: 100%; height: 100%; object-fit: cover; }
.split-text h2 { margin: 6px 0 16px; }
.split-text > p { color: var(--muted); }
.check-list { list-style: none; margin: 22px 0 30px; display: grid; gap: 12px; }
.check-list li { position: relative; padding-left: 32px; color: var(--ink); }
.check-list li::before {
  content: "✓"; position: absolute; left: 0; top: 1px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--blue-50); color: var(--blue); font-weight: 800; font-size: 0.8rem; display: grid; place-items: center;
}

/* ============================================================
   WHY / FEATURES
   ============================================================ */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 32px 28px;
  box-shadow: var(--shadow-sm); transition: transform 0.3s var(--ease), box-shadow 0.3s var(--ease), border-color 0.3s;
}
.feature:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: #cfe0f2; }
.feat-ic {
  width: 56px; height: 56px; border-radius: 4px; background: var(--blue-50); display: grid; place-items: center;
  font-size: 1.6rem; margin-bottom: 18px;
}
.feature h3 { font-size: 1.22rem; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 0.96rem; }

/* ============================================================
   CTA BANNER
   ============================================================ */
.cta-banner { background: linear-gradient(110deg, var(--navy), var(--blue-600)); color: #fff; }
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 30px; padding: 56px 24px; flex-wrap: wrap; }
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.3rem); }
.cta-banner p { color: #cddcf0; margin-top: 8px; }

/* ============================================================
   GALLERY
   ============================================================ */
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.gal {
  position: relative; padding: 0; border: 0; cursor: pointer; overflow: hidden;
  border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); background: #fff; display: block;
}
.gal img { aspect-ratio: 3/2; object-fit: cover; width: 100%; transition: transform 0.5s var(--ease); }
.gal::after {
  content: "⤢"; position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.8rem; color: #fff;
  background: rgba(21, 49, 90, 0.4); opacity: 0; transition: opacity 0.3s;
}
.gal:hover img { transform: scale(1.08); }
.gal:hover::after { opacity: 1; }
.gal:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; }

/* ============================================================
   CONTACT / QUOTE
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 50px; align-items: start; }
.contact-info h3 { font-size: 1.7rem; color: var(--blue); }
.ci-sub { color: var(--muted); margin-top: 4px; }
.ci-list { list-style: none; margin: 28px 0; display: grid; gap: 16px; }
.ci-list li { display: flex; align-items: center; gap: 14px; font-size: 1.08rem; }
.ci-ic { width: 40px; height: 40px; border-radius: 3px; background: var(--blue-50); color: var(--blue); display: grid; place-items: center; flex-shrink: 0; }
.ci-list a:hover { color: var(--blue); }
.ci-note { color: var(--muted); }
.ci-note strong { color: var(--navy); }

.quote-form { background: transparent; border: 0; padding: 0; }
.field { margin-bottom: 18px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field label { display: block; font-weight: 600; font-size: 0.9rem; color: var(--navy); margin-bottom: 7px; }
.field input, .field select, .field textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 3px; font: inherit;
  color: var(--ink); background: #fbfdff; transition: border 0.2s, box-shadow 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue); box-shadow: 0 0 0 3px rgba(26, 115, 194, 0.14);
}
.field textarea { resize: vertical; }
.field select { appearance: none; cursor: pointer; }
.form-note { font-size: 0.84rem; color: var(--muted); text-align: center; margin-top: 14px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--navy); color: #aebfd4; }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding: 64px 24px 44px; }
.footer-logo { height: 72px; background: #fff; padding: 10px 14px; border-radius: 3px; margin-bottom: 18px; }
.footer-brand p { max-width: 280px; color: #9fb3cc; }
.footer-col h4 { color: #fff; font-size: 1.02rem; margin-bottom: 16px; }
.footer-col a { display: block; padding: 6px 0; color: #aebfd4; transition: color 0.2s; }
.footer-addr { display: block; padding: 6px 0; color: #aebfd4; }
.footer-col a:hover { color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.12); padding: 20px 0; }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom span { font-size: 0.85rem; color: #8ba0bb; }

/* ============================================================
   LIGHTBOX
   ============================================================ */
.lightbox {
  position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  background: rgba(13, 25, 45, 0.92); backdrop-filter: blur(6px); padding: 40px;
  opacity: 0; visibility: hidden; transition: opacity 0.3s var(--ease), visibility 0.3s;
}
.lightbox.open { opacity: 1; visibility: visible; }
.lb-image { max-width: 92vw; max-height: 88vh; border-radius: 3px; box-shadow: 0 20px 60px rgba(0,0,0,0.5); transform: scale(0.94); transition: transform 0.3s var(--ease); }
.lightbox.open .lb-image { transform: scale(1); }
.lb-close, .lb-nav {
  position: absolute; background: rgba(255,255,255,0.14); color: #fff; border: 0; cursor: pointer;
  border-radius: 3px; display: grid; place-items: center; transition: background 0.2s, transform 0.2s;
}
.lb-close:hover, .lb-nav:hover { background: var(--blue); }
.lb-close { top: 24px; right: 28px; width: 48px; height: 48px; font-size: 1.9rem; }
.lb-nav { top: 50%; transform: translateY(-50%); width: 54px; height: 54px; font-size: 2.2rem; }
.lb-nav:hover { transform: translateY(-50%) scale(1.08); }
.lb-prev { left: 28px; } .lb-next { right: 28px; }

/* ============================================================
   MOTION — scroll reveal
   ============================================================ */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s var(--ease), transform 0.7s var(--ease); }
.reveal.in { opacity: 1; transform: translateY(0); }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-media { animation: none; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1000px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
  .split, .contact-grid { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .topbar { display: none; }
  .main-nav {
    position: absolute; top: 92px; left: 0; right: 0; flex-direction: column; align-items: stretch; gap: 0;
    background: #fff; border-bottom: 1px solid var(--line); padding: 8px 24px 18px; box-shadow: var(--shadow);
    transform: translateY(-12px); opacity: 0; pointer-events: none; transition: 0.22s var(--ease);
  }
  .main-nav.open { transform: translateY(0); opacity: 1; pointer-events: auto; }
  .main-nav > a { padding: 13px 0; border-bottom: 1px solid #eef2f6; }
  .main-nav > a:not(.nav-cta)::after { display: none; }
  .nav-cta { text-align: center; margin-top: 10px; }
  .nav-toggle { display: flex; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid rgba(255,255,255,0.12); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-inner { flex-direction: column; align-items: flex-start; }
}
@media (max-width: 520px) {
  .card-grid, .feature-grid, .gallery-grid, .field-row, .footer-grid, .stats-grid { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid rgba(255,255,255,0.12); }
  .section { padding: 64px 0; }
  .footer-bottom .container { flex-direction: column; gap: 6px; }
}
