:root {
  --navy: #073764;
  --blue: #0d4c83;
  --blue-bright: #1375bc;
  --ink: #0b1723;
  --muted: #5e6b78;
  --line: #dbe2e8;
  --pale: #f3f6f8;
  --white: #fff;
  --display: "Barlow Condensed", sans-serif;
  --body: "Inter", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: var(--body); }
body.menu-open { overflow: hidden; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(1180px, calc(100% - 48px)); margin: 0 auto; }
.section { padding: 112px 0; }
.eyebrow { margin: 0 0 22px; color: rgba(255,255,255,.65); font-size: 12px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; }
.eyebrow.blue { color: var(--blue-bright); }
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 { font-family: var(--display); }
h2 { margin-bottom: 0; font-size: clamp(44px, 5.4vw, 72px); line-height: .98; letter-spacing: -.025em; text-transform: uppercase; }
.button { display: inline-flex; align-items: center; justify-content: center; gap: 30px; min-height: 56px; padding: 0 26px; border: 1px solid transparent; font-size: 13px; font-weight: 600; letter-spacing: .06em; text-transform: uppercase; transition: .25s ease; cursor: pointer; }
.button span { font-size: 20px; }
.button-primary { color: var(--white); background: var(--blue-bright); border-color: var(--blue-bright); }
.button-primary:hover { background: #0e619e; border-color: #0e619e; transform: translateY(-2px); }
.button-ghost { color: var(--white); border-color: rgba(255,255,255,.45); }
.button-ghost:hover { border-color: var(--white); background: rgba(255,255,255,.08); }
.button-light { color: var(--navy); background: var(--white); }
.button-light:hover { background: #eaf1f6; transform: translateY(-2px); }

/* ── Header — v2: white, sticky, blue accent border ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: var(--white);
  border-bottom: 3px solid var(--blue-bright);
  box-shadow: 0 2px 20px rgba(7,55,100,.08);
}
.topbar {
  color: var(--muted);
  background: var(--white);
  font-size: 11px;
  letter-spacing: .06em;
  border-bottom: 1px solid var(--line);
}
.topbar-inner { display: flex; justify-content: space-between; align-items: center; min-height: 32px; }
.topbar a { color: var(--blue-bright); }
.topbar a:hover { color: var(--blue); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 100px; }

/* v2: larger FKMT logo (trimmed tight), natural navy colour — hugging top-left */
.brand { height: 52px; width: auto; overflow: hidden; display: flex; align-items: center; }
.brand img { height: 100%; width: auto; object-fit: contain; object-position: left center; }
/* No filter — logo shows its natural dark navy colour on white background */

.footer-brand img { width: 100%; height: 100%; object-fit: contain; }

/* v2: dark nav links on white header */
.main-nav { display: flex; align-items: center; gap: 34px; color: var(--ink); }
.main-nav > a:not(.nav-cta) { position: relative; padding: 12px 0; font-size: 13px; font-weight: 500; color: var(--ink); }
.main-nav > a:not(.nav-cta)::after { content: ""; position: absolute; bottom: 4px; left: 0; width: 0; height: 2px; background: var(--blue-bright); transition: width .2s; }
.main-nav > a:hover::after,
.main-nav > a.active::after { width: 100%; }

/* v2: solid blue CTA button */
.nav-cta { display: flex; gap: 25px; align-items: center; padding: 15px 22px; background: var(--blue-bright); color: var(--white); border: 1px solid var(--blue-bright); font-size: 12px; font-weight: 600; letter-spacing: .07em; text-transform: uppercase; }
.nav-cta:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* v2: dark hamburger icon */
.menu-toggle { display: none; padding: 8px; border: 0; background: transparent; cursor: pointer; }
.menu-toggle span { display: block; width: 25px; height: 2px; margin: 5px 0; background: var(--navy); }

/* ── Hero — adjusted since header is sticky, not overlaid ── */
.hero { position: relative; display: flex; align-items: center; min-height: 760px; overflow: hidden; color: var(--white); background: #061728; }
.hero-bg { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(4,18,31,.25), rgba(4,18,31,0) 70%), url("../assets/fkmt-hero.png") center/cover no-repeat; }
.hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(3,17,30,.84) 0%, rgba(3,17,30,.58) 36%, rgba(3,17,30,.08) 72%), linear-gradient(0deg, rgba(3,17,30,.42), transparent 45%); }
.hero-grid { position: absolute; z-index: 2; inset: 0; opacity: .14; background-image: linear-gradient(90deg, transparent calc(50% - .5px), #fff 50%, transparent calc(50% + .5px)); background-size: 25% 100%; pointer-events: none; }
.hero-content { position: relative; z-index: 3; padding-top: 60px; }
.hero h1 { max-width: 770px; margin-bottom: 28px; font-size: clamp(64px, 7.3vw, 110px); line-height: .85; letter-spacing: -.025em; text-transform: uppercase; }
.hero h1 em, .about h2 em { color: #8eb9d8; font-style: normal; }
.hero-copy { max-width: 600px; margin-bottom: 38px; color: #d3dde5; font-size: 17px; line-height: 1.7; }
.hero-actions { display: flex; gap: 12px; }
.hero-index { position: absolute; z-index: 3; right: 4vw; bottom: 48px; display: grid; grid-template-columns: auto 80px auto; align-items: center; gap: 14px; font-size: 12px; letter-spacing: .12em; text-transform: uppercase; }
.index-line { width: 80px; height: 1px; background: rgba(255,255,255,.3); }
.index-line i { display: block; width: 45%; height: 2px; background: var(--white); }
.hero-index small { color: rgba(255,255,255,.6); font-size: 9px; }

/* ── Proof strip ── */
.proof-strip { color: #d8e2eb; background: #072f54; }
.proof-grid { display: grid; grid-template-columns: repeat(3, 1fr); min-height: 116px; }
.proof-grid div { display: flex; align-items: center; gap: 24px; padding: 25px 35px; border-right: 1px solid rgba(255,255,255,.12); }
.proof-grid div:first-child { border-left: 1px solid rgba(255,255,255,.12); }
.proof-grid strong { color: #5f99c5; font-family: var(--display); font-size: 18px; }
.proof-grid span { max-width: 210px; font-size: 12px; font-weight: 500; line-height: 1.5; letter-spacing: .05em; text-transform: uppercase; }

/* ── Principals section (home) — v2: larger logos ── */
.principals { padding: 96px 0; }
.principals-heading { margin-bottom: 52px; }
.principals-heading h2 { color: var(--navy); margin-bottom: 16px; }
.principals-heading p { color: var(--muted); font-size: 16px; line-height: 1.75; max-width: 560px; }
.principals-grid { display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); }
.principal-card { padding: 52px 56px; display: flex; flex-direction: column; gap: 22px; border-right: 1px solid var(--line); }
.principal-card:last-child { border-right: 0; background: var(--navy); }
.principal-logo { height: 52px; display: flex; align-items: center; }
.principal-logo img { max-height: 100%; width: auto; max-width: 240px; }
.principal-divider { width: 40px; height: 2px; background: var(--blue-bright); flex-shrink: 0; }
.principal-card p { color: var(--muted); font-size: 14px; line-height: 1.8; margin: 0; flex: 1; }
.principal-card:last-child p { color: #9fbcd0; }
.principal-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.principal-tags span { padding: 4px 11px; border: 1px solid var(--line); font: 500 10px var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.principal-card:last-child .principal-tags span { border-color: rgba(255,255,255,.2); color: #7fa8c4; }
.principal-cta { display: inline-flex; align-items: center; gap: 18px; font: 600 11px var(--body); letter-spacing: .1em; text-transform: uppercase; color: var(--blue-bright); padding-bottom: 6px; border-bottom: 1px solid currentColor; transition: gap .2s; width: fit-content; }
.principal-cta:hover { gap: 24px; }
.principal-card:last-child .principal-cta { color: #7eb8e0; }

/* ── Industries ── */
.industries { padding: 115px 0; color: var(--white); background: var(--navy); }
.industries-inner { display: grid; grid-template-columns: 1fr 1.1fr; gap: 110px; align-items: center; }
.industries-copy h2 { max-width: 520px; margin-bottom: 28px; }
.industries-copy > p:not(.eyebrow) { max-width: 510px; color: #b9c9d5; line-height: 1.8; }
.text-link { display: inline-flex; gap: 32px; align-items: center; margin-top: 25px; padding-bottom: 8px; border-bottom: 1px solid #6b91ae; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.industry-list { border-top: 1px solid rgba(255,255,255,.2); }
.industry-list div { display: grid; grid-template-columns: 55px 1fr auto; align-items: center; min-height: 78px; border-bottom: 1px solid rgba(255,255,255,.2); transition: padding .2s, background .2s; }
.industry-list div:hover { padding: 0 16px; background: rgba(255,255,255,.055); }
.industry-list span { color: #6798bc; font: 600 13px var(--display); }
.industry-list strong { font: 500 24px var(--display); text-transform: uppercase; }
.industry-list i { color: #7eadcf; font-style: normal; }

/* ── Service ── */
.service { background: var(--pale); }
.service-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 110px; align-items: center; }
.service-visual { position: relative; display: grid; place-items: center; min-height: 500px; overflow: hidden; background: var(--navy); }
.service-visual::before { content: ""; position: absolute; inset: 0; opacity: .13; background-image: linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px); background-size: 50px 50px; }
.precision-ring { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; width: 260px; height: 260px; border: 1px solid #5a83a4; border-radius: 50%; color: var(--white); }
.precision-ring::before, .precision-ring::after { content: ""; position: absolute; border-radius: 50%; }
.precision-ring::before { inset: 22px; border: 1px dashed rgba(255,255,255,.3); }
.precision-ring::after { inset: 50%; width: 3px; height: 3px; background: white; box-shadow: 0 -130px 0 2px var(--blue-bright), 0 130px 0 2px var(--blue-bright), 130px 0 0 2px var(--blue-bright), -130px 0 0 2px var(--blue-bright); }
.precision-ring span { font: 600 68px var(--display); line-height: 1; }
.precision-ring small { color: #83abc8; letter-spacing: .14em; text-transform: uppercase; }
.angle-mark { position: absolute; right: -45px; bottom: -70px; width: 190px; height: 240px; border: 28px solid rgba(255,255,255,.08); transform: skew(-24deg); }
.service-copy h2 { max-width: 630px; margin-bottom: 30px; color: var(--navy); }
.service-copy > p:not(.eyebrow) { color: var(--muted); font-size: 15px; line-height: 1.8; }
.service-points { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-top: 35px; border-top: 1px solid #cbd6de; }
.service-points div { display: flex; flex-direction: column; gap: 10px; min-height: 105px; padding: 22px 15px 20px 0; border-bottom: 1px solid #cbd6de; }
.service-points div:nth-child(odd) { border-right: 1px solid #cbd6de; }
.service-points div:nth-child(even) { padding-left: 25px; }
.service-points span { color: var(--blue-bright); font: 600 12px var(--display); }
.service-points strong { color: var(--navy); font: 500 20px var(--display); text-transform: uppercase; }

/* ── About ── */
.about { padding: 115px 0; color: var(--white); background: #062b4e; }
.about-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 100px; }
.about-title h2 { font-size: clamp(54px, 6vw, 84px); }
.about-copy .lead { margin-bottom: 22px; color: var(--white); font: 500 29px/1.25 var(--display); text-transform: uppercase; }
.about-copy > p:not(.lead) { margin-bottom: 35px; color: #b7c7d4; font-size: 15px; line-height: 1.8; }

/* ── Contact ── */
.contact-grid { display: grid; grid-template-columns: .8fr 1.2fr; gap: 120px; }
.contact-intro h2 { margin-bottom: 20px; color: var(--navy); }
.contact-intro > p:not(.eyebrow) { color: var(--muted); line-height: 1.75; margin-bottom: 28px; }
.contact-details { margin-top: 4px; }
.contact-detail { display: flex; gap: 16px; padding: 12px 0; border-bottom: 1px solid var(--line); }
.contact-detail:first-child { border-top: 1px solid var(--line); }
.contact-detail-label { font: 700 10px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--navy); width: 60px; flex-shrink: 0; padding-top: 2px; }
.contact-detail-value { font-size: 13px; color: var(--muted); line-height: 1.6; }
.contact-detail-value a { color: var(--blue); }
.contact-detail-value a:hover { color: var(--blue-bright); }
.enquiry-form { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 24px; }
.enquiry-form label { display: flex; flex-direction: column; gap: 10px; }
.enquiry-form label:nth-child(4),
.enquiry-form label:nth-child(5) { grid-column: 1 / -1; }
.enquiry-form label span { color: var(--navy); font-size: 11px; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; }
.enquiry-form input, .enquiry-form textarea { width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid #bdc9d2; border-radius: 0; outline: 0; background: transparent; font: 14px var(--body); resize: vertical; }
.enquiry-form input:focus, .enquiry-form textarea:focus { border-color: var(--blue); }
.enquiry-form button { width: max-content; border: 0; }
.form-status { align-self: center; margin: 0; color: var(--blue); font-size: 13px; }

/* ── Footer ── */
footer { color: #aebfcb; background: #041d34; }
.footer-main { display: grid; grid-template-columns: 1fr 1fr; padding: 72px 0 58px; gap: 60px; }
.footer-brand img { width: 190px; height: auto; margin-bottom: 18px; filter: brightness(0) invert(1); }
.footer-brand p { max-width: 300px; font-size: 13px; line-height: 1.7; }
.footer-address { margin-top: 16px; font-size: 12px; line-height: 1.9; color: #8099ae; }
.footer-address a { color: #7eb8e0; }
.footer-links { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; }
.footer-links div { display: flex; flex-direction: column; gap: 13px; }
.footer-links strong { margin-bottom: 8px; color: var(--white); font: 600 17px var(--display); text-transform: uppercase; }
.footer-links a { font-size: 13px; }
.footer-links a:hover { color: var(--white); }
.footer-bottom { display: flex; justify-content: space-between; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.12); font-size: 10px; letter-spacing: .08em; text-transform: uppercase; }

/* ── Reveal animation ── */
.reveal { opacity: 0; transform: translateY(25px); transition: opacity .7s ease, transform .7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* ══════════════════════════════════════════════
   INNER PAGE STYLES
══════════════════════════════════════════════ */

/* Page banner — reduced top padding since header is sticky, not overlaid */
.page-banner { background: var(--navy); color: var(--white); padding: 80px 0 68px; }
.page-banner .eyebrow { color: rgba(255,255,255,.5); margin-bottom: 16px; }
.page-banner h1 { font-size: clamp(48px, 5.8vw, 84px); line-height: .88; letter-spacing: -.03em; text-transform: uppercase; margin-bottom: 20px; }
.page-banner p { color: #b0c3d0; font-size: 16px; line-height: 1.75; max-width: 560px; margin: 0; }

/* ── Products page ── */
.products-wrap { display: grid; grid-template-columns: 284px 1fr; min-height: 75vh; border-top: 2px solid var(--line); }

/* Sidebar */
.products-sidebar { border-right: 1px solid var(--line); position: sticky; top: 0; align-self: start; max-height: 100vh; overflow-y: auto; }

.sidebar-principal-block { border-bottom: 2px solid var(--line); padding-bottom: 6px; }

.sidebar-principal-hd { padding: 20px 24px 12px; display: flex; align-items: center; gap: 10px; }
.sidebar-principal-hd img { max-height: 22px; width: auto; max-width: 140px; }
.sidebar-principal-hd.dark { background: var(--navy); padding: 16px 24px; }
.sidebar-principal-hd.dark img { filter: brightness(0) invert(1); opacity: .9; }

.sidebar-cat { border-top: 1px solid var(--line); }
.sidebar-cat-btn { width: 100%; display: flex; align-items: center; justify-content: space-between; padding: 12px 24px; background: none; border: none; text-align: left; cursor: pointer; font: 600 11px/1.3 var(--body); text-transform: uppercase; letter-spacing: .08em; color: var(--navy); transition: background .15s; }
.sidebar-cat-btn:hover { background: var(--pale); }
.sidebar-cat-btn svg { width: 10px; height: 10px; flex-shrink: 0; transition: transform .2s; fill: var(--muted); }
.sidebar-cat.open .sidebar-cat-btn svg { transform: rotate(90deg); }

.sidebar-items { display: none; }
.sidebar-cat.open .sidebar-items { display: block; }

.sidebar-item { display: block; width: 100%; padding: 9px 24px 9px 36px; background: none; border: none; border-left: 3px solid transparent; text-align: left; cursor: pointer; font: 400 13px/1.4 var(--body); color: var(--muted); transition: .15s; }
.sidebar-item:hover { background: var(--pale); color: var(--ink); border-left-color: var(--line); }
.sidebar-item.active { background: #e4eff8; color: var(--blue); font-weight: 600; border-left-color: var(--blue-bright); }

/* Products panel */
.products-panel { padding: 60px 68px; }

.panel-welcome { max-width: 580px; }
.panel-welcome h2 { color: var(--navy); font-size: clamp(38px, 4vw, 60px); margin-bottom: 20px; }
.panel-welcome > p { color: var(--muted); font-size: 15px; line-height: 1.8; margin-bottom: 36px; }
.panel-tip { display: flex; align-items: flex-start; gap: 16px; padding: 18px 22px; background: var(--pale); border-left: 3px solid var(--blue-bright); }
.panel-tip svg { width: 18px; height: 18px; fill: var(--blue-bright); flex-shrink: 0; margin-top: 2px; }
.panel-tip p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.65; }

.panel-content { display: none; }
.panel-content.visible { display: block; }

/* Panel image */
.panel-image { width: 100%; height: 260px; object-fit: cover; display: block; border: 1px solid var(--line); margin-bottom: 32px; }
.panel-visual-branded { width: 100%; height: 260px; background: var(--navy); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; margin-bottom: 32px; border: 1px solid var(--line); }
.panel-visual-branded::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px); background-size: 42px 42px; }
.panel-visual-branded img { max-width: 200px; height: auto; filter: brightness(0) invert(1); opacity: .8; position: relative; z-index: 1; }

.panel-badge { display: inline-flex; align-items: center; gap: 8px; padding: 5px 13px; background: var(--pale); border: 1px solid var(--line); font: 600 10px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--blue); margin-bottom: 22px; }
.panel-badge::before { content: ''; display: block; width: 5px; height: 5px; border-radius: 50%; background: var(--blue-bright); }
.panel-content h2 { color: var(--navy); font-size: clamp(38px, 4.5vw, 64px); line-height: .92; margin-bottom: 8px; }
.panel-content .panel-subtitle { font: 500 14px/1.4 var(--display); letter-spacing: .06em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 28px; }
.panel-content > p { color: var(--muted); font-size: 15px; line-height: 1.8; max-width: 700px; margin-bottom: 32px; }

/* Specs grid */
.panel-specs { margin-bottom: 32px; }
.panel-specs h4 { font: 700 10px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.specs-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.spec-item { background: var(--white); padding: 13px 16px; }
.spec-label { font: 600 9px var(--display); letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-bottom: 5px; }
.spec-value { font: 500 16px/1.2 var(--display); color: var(--navy); }

.panel-applications h4 { font: 700 10px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; }
.panel-applications ul { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; padding: 0; margin: 0 0 44px; }
.panel-applications ul li { padding: 6px 14px; background: var(--pale); border: 1px solid var(--line); font-size: 12px; color: var(--ink); }

.panel-enquire { display: flex; align-items: center; gap: 28px; padding-top: 36px; border-top: 1px solid var(--line); }
.panel-enquire > p { margin: 0; color: var(--muted); font-size: 13px; line-height: 1.55; max-width: 340px; }

/* ── Brands page — v2: larger brand logos ── */
.brands-page { padding-bottom: 96px; }

.brand-block { padding: 72px 0; border-bottom: 1px solid var(--line); }
.brand-block:last-child { border-bottom: none; }

.brand-header-card { display: grid; grid-template-columns: 1fr 1fr; gap: 0; margin-bottom: 56px; border: 1px solid var(--line); }
.brand-header-card.liebherr { background: var(--pale); }
.brand-header-card.ug { background: var(--navy); border-color: var(--navy); }

.brand-header-logo { display: flex; align-items: center; justify-content: center; padding: 52px; border-right: 1px solid var(--line); }
.brand-header-card.ug .brand-header-logo { border-right-color: rgba(255,255,255,.12); }
.brand-header-logo img { max-width: 240px; max-height: 64px; width: auto; }
.brand-header-card.ug .brand-header-logo img { filter: brightness(0) invert(1); }

.brand-header-info { padding: 44px 48px; }
.brand-header-info h2 { font-size: clamp(28px, 3vw, 44px); color: var(--navy); margin-bottom: 14px; }
.brand-header-card.ug .brand-header-info h2 { color: var(--white); }
.brand-header-info p { font-size: 14px; line-height: 1.8; color: var(--muted); margin-bottom: 24px; }
.brand-header-card.ug .brand-header-info p { color: #9bbcce; }

/* Liebherr divisions */
.brand-divisions { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); }
.brand-division { background: var(--white); padding: 40px 44px; }
.division-label { font: 700 10px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 12px; }
.brand-division h3 { font-size: clamp(24px, 2.5vw, 34px); color: var(--navy); text-transform: uppercase; margin-bottom: 14px; }
.brand-division > p { font-size: 13px; line-height: 1.75; color: var(--muted); margin-bottom: 22px; }
.division-items { list-style: none; padding: 0; margin: 0 0 28px; border-top: 1px solid var(--line); }
.division-items li { display: flex; align-items: center; gap: 10px; padding: 9px 0; border-bottom: 1px solid var(--line); font-size: 13px; color: var(--ink); }
.division-items li::before { content: "›"; color: var(--blue-bright); font-weight: 700; flex-shrink: 0; }
.division-enquire { display: inline-flex; align-items: center; gap: 16px; font: 600 11px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--blue-bright); padding-bottom: 5px; border-bottom: 1px solid currentColor; transition: gap .2s; }
.division-enquire:hover { gap: 22px; }

/* United Grinding sub-brand grid */
.sub-brand-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.sub-brand-card { padding: 32px 28px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: .25s ease; }
.sub-brand-card:hover { background: var(--pale); transform: translateY(-4px); box-shadow: 0 12px 30px rgba(7,55,100,.1); }
.sub-brand-name { font: 700 26px var(--display); text-transform: uppercase; color: var(--navy); margin-bottom: 4px; }
.sub-brand-type { font: 600 9px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-bright); margin-bottom: 14px; }
.sub-brand-card > p { font-size: 12px; color: var(--muted); line-height: 1.65; margin-bottom: 20px; min-height: 58px; }
.sub-brand-link { display: inline-flex; align-items: center; gap: 8px; font: 600 10px var(--body); letter-spacing: .08em; text-transform: uppercase; color: var(--blue); }
.sub-brand-link:hover { color: var(--blue-bright); gap: 13px; }

/* ── Responsive ── */
@media (max-width: 980px) {
  .main-nav { gap: 20px; }
  .main-nav > a:not(.nav-cta) { display: none; }
  .hero { min-height: 700px; }
  .industries-inner, .service-grid, .about-grid, .contact-grid { gap: 55px; }
  .service-visual { min-height: 430px; }
  .principals-grid { grid-template-columns: 1fr; }
  .principal-card { border-right: 0; border-bottom: 1px solid var(--line); }
  .brand-header-card { grid-template-columns: 1fr; }
  .brand-header-logo { border-right: none; border-bottom: 1px solid var(--line); }
  .brand-header-card.ug .brand-header-logo { border-bottom-color: rgba(255,255,255,.12); }
  .brand-divisions { grid-template-columns: 1fr; }
  .sub-brand-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 860px) {
  .products-wrap { grid-template-columns: 1fr; }
  .products-sidebar { position: static; max-height: none; border-right: none; border-bottom: 2px solid var(--line); }
  .products-panel { padding: 40px 28px; }
}

@media (max-width: 700px) {
  .container { width: min(100% - 32px, 1180px); }
  .section { padding: 78px 0; }
  .topbar { display: none; }
  .nav-wrap { height: 78px; }
  .brand { width: auto; height: 40px; }
  .menu-toggle { z-index: 3; display: block; }
  /* Mobile nav overlay — dark background, white text */
  .main-nav { position: fixed; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 22px; visibility: hidden; opacity: 0; background: #041d34; transition: .25s; padding: 0 32px; color: var(--white); }
  .main-nav.open { visibility: visible; opacity: 1; }
  .main-nav > a:not(.nav-cta) { display: block; font: 500 34px var(--display); text-transform: uppercase; color: var(--white); }
  .nav-cta { margin-top: 20px; align-self: flex-start; }
  .hero { min-height: 680px; }
  .hero-content { padding-top: 50px; }
  .hero h1 { font-size: clamp(54px, 16vw, 78px); }
  .hero-copy { font-size: 14px; }
  .hero-actions { align-items: flex-start; flex-direction: column; }
  .hero-index { display: none; }
  .proof-grid { grid-template-columns: 1fr; padding: 15px 0; }
  .proof-grid div, .proof-grid div:first-child { min-height: 78px; padding: 15px 5px; border: 0; border-bottom: 1px solid rgba(255,255,255,.12); }
  .industries-inner, .service-grid, .about-grid, .contact-grid { grid-template-columns: 1fr; gap: 45px; }
  .industries { padding: 80px 0; }
  .industry-list strong { font-size: 20px; }
  .service-visual { min-height: 380px; order: 2; }
  .precision-ring { width: 220px; height: 220px; }
  .precision-ring::after { box-shadow: 0 -110px 0 2px var(--blue-bright), 0 110px 0 2px var(--blue-bright), 110px 0 0 2px var(--blue-bright), -110px 0 0 2px var(--blue-bright); }
  .service-points { grid-template-columns: 1fr; }
  .service-points div:nth-child(odd) { border-right: 0; }
  .service-points div:nth-child(even) { padding-left: 0; }
  .enquiry-form { grid-template-columns: 1fr; }
  .enquiry-form label:nth-child(4),
  .enquiry-form label:nth-child(5) { grid-column: auto; }
  .footer-main { grid-template-columns: 1fr; gap: 45px; }
  .footer-bottom { gap: 20px; flex-direction: column; }
  .page-banner { padding: 56px 0 44px; }
  .products-panel { padding: 32px 20px; }
  .brand-header-logo { padding: 36px; }
  .brand-header-info { padding: 32px 28px; }
  .brand-division { padding: 32px 24px; }
  .sub-brand-grid { grid-template-columns: 1fr; }
  .panel-enquire { flex-direction: column; align-items: flex-start; gap: 16px; }
  .principal-card { padding: 36px 28px; }
}

/* ══════════════════════════════════════════════
   GROUP HOME — added sections (FKMT group site)
══════════════════════════════════════════════ */

/* ── Divisions ── */
.divisions { padding: 100px 0; }
.divisions-heading { max-width: 640px; margin-bottom: 52px; }
.divisions-heading h2 { color: var(--navy); margin-bottom: 18px; }
.divisions-heading p { color: var(--muted); font-size: 16px; line-height: 1.75; }
.divisions-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
.division-card { display: flex; flex-direction: column; border: 1px solid var(--line); background: var(--white); transition: box-shadow .25s ease, transform .25s ease; }
.division-card:hover { box-shadow: 0 18px 44px rgba(7,55,100,.12); transform: translateY(-4px); }
.division-visual { position: relative; height: 300px; overflow: hidden; }
.division-visual img { width: 100%; height: 100%; object-fit: cover; display: block; }
.division-visual.branded { display: flex; align-items: center; justify-content: center; gap: 46px; background: var(--navy); }
.division-visual.branded::before { content: ""; position: absolute; inset: 0; opacity: .1; background-image: linear-gradient(rgba(255,255,255,.5) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.5) 1px, transparent 1px); background-size: 42px 42px; }
.division-visual.branded img { width: auto; height: auto; max-height: 40px; max-width: 150px; object-fit: contain; filter: brightness(0) invert(1); opacity: .92; position: relative; z-index: 1; }
.division-body { display: flex; flex-direction: column; gap: 16px; flex: 1; padding: 34px 36px 38px; }
.division-eyebrow { font: 600 10px var(--display); letter-spacing: .14em; text-transform: uppercase; color: var(--blue-bright); }
.division-body h3 { margin: 0; font-family: var(--display); font-size: clamp(30px, 3.2vw, 42px); line-height: .95; letter-spacing: -.02em; text-transform: uppercase; color: var(--navy); }
.division-body > p { margin: 0; flex: 1; color: var(--muted); font-size: 14px; line-height: 1.8; }
.division-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.division-tags span { padding: 4px 11px; border: 1px solid var(--line); font: 500 10px var(--display); letter-spacing: .1em; text-transform: uppercase; color: var(--muted); }
.division-links { display: flex; flex-wrap: wrap; gap: 26px; margin-top: 4px; }
.division-link { display: inline-flex; align-items: center; gap: 14px; font: 600 11px var(--body); letter-spacing: .09em; text-transform: uppercase; color: var(--blue-bright); padding-bottom: 6px; border-bottom: 1px solid currentColor; transition: gap .2s; }
.division-link span { font-size: 16px; }
.division-link:hover { gap: 20px; }

/* ── Why FKMT ── */
.why { padding: 110px 0; background: var(--pale); }
.why-heading { max-width: 640px; margin-bottom: 48px; }
.why-heading h2 { color: var(--navy); }
.why-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.why-item { background: var(--white); padding: 32px 32px 36px; }
.why-num { font: 600 13px var(--display); color: var(--blue-bright); }
.why-item h3 { margin: 12px 0 9px; font: 600 20px var(--display); line-height: 1.05; text-transform: uppercase; color: var(--navy); }
.why-item p { margin: 0; font-size: 13px; line-height: 1.7; color: var(--muted); }

/* ── Trusted by ── */
.trusted { padding: 76px 0; text-align: center; }
.trusted .eyebrow { color: var(--blue-bright); margin-bottom: 28px; }
.trusted-names { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 16px 46px; }
.trusted-names span { font: 500 24px var(--display); letter-spacing: .03em; text-transform: uppercase; color: var(--navy); opacity: .72; }

/* ── CTA band ── */
.cta-band { padding: 92px 0; color: var(--white); background: var(--navy); }
.cta-band-inner { display: flex; align-items: center; justify-content: space-between; gap: 50px; flex-wrap: wrap; }
.cta-band .eyebrow { color: #7eb8e0; margin-bottom: 16px; }
.cta-band h2 { max-width: 620px; color: var(--white); }
.cta-band p { max-width: 520px; margin: 16px 0 0; color: #b0c3d0; font-size: 15px; line-height: 1.7; }

@media (max-width: 980px) {
  .divisions-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .divisions { padding: 72px 0; }
  .division-visual { height: 230px; }
  .division-body { padding: 28px 26px 32px; }
  .why { padding: 78px 0; }
  .why-grid { grid-template-columns: 1fr; }
  .trusted-names { gap: 14px 30px; }
  .trusted-names span { font-size: 19px; }
  .cta-band { padding: 68px 0; }
  .cta-band-inner { gap: 32px; }
}

/* ══════════════════════════════════════════════
   DIVISION PAGES — machine-tools / transportation / fabrication
══════════════════════════════════════════════ */

/* Photo hero */
.page-hero { position: relative; display: flex; align-items: flex-end; min-height: 500px; overflow: hidden; color: var(--white); background: #061728; }
.page-hero-bg { position: absolute; inset: 0; background-size: cover; background-position: center; }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(3,17,30,.94), rgba(3,17,30,.5) 55%, rgba(3,17,30,.28)); }
.page-hero-inner { position: relative; z-index: 2; padding: 0 0 60px; }
.page-hero .eyebrow { margin-bottom: 14px; color: #8eb9d8; }
.page-hero h1 { margin: 0 0 20px; font-size: clamp(46px, 6.2vw, 92px); line-height: .88; letter-spacing: -.03em; text-transform: uppercase; overflow-wrap: break-word; }
.page-hero p { max-width: 640px; margin: 0; color: #d3dde5; font-size: 16px; line-height: 1.7; }

/* Intro / lead block */
.intro { padding: 96px 0 44px; }
.intro-grid { display: grid; grid-template-columns: .95fr 1.15fr; gap: 90px; align-items: start; }
.intro-title .eyebrow { color: var(--blue-bright); margin-bottom: 16px; }
.intro-title h2 { color: var(--navy); font-size: clamp(34px, 4vw, 56px); }
.intro-lead { margin: 0 0 22px; color: var(--navy); font: 500 23px/1.35 var(--display); text-transform: uppercase; }
.intro-body p { margin: 0 0 18px; color: var(--muted); font-size: 15px; line-height: 1.8; }
.intro-body p:last-child { margin-bottom: 0; }

/* Stat band */
.stat-band { display: grid; grid-template-columns: repeat(3, 1fr); border: 1px solid var(--line); margin-top: 40px; }
.stat-band div { padding: 32px 30px; border-right: 1px solid var(--line); }
.stat-band div:last-child { border-right: 0; }
.stat-band strong { display: block; font: 600 40px var(--display); color: var(--navy); line-height: 1; }
.stat-band span { display: block; margin-top: 10px; font-size: 12px; letter-spacing: .07em; text-transform: uppercase; color: var(--muted); line-height: 1.5; }

/* Split (text + image) */
.split { padding: 56px 0; }
.split.pale { background: var(--pale); }
.split-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 74px; align-items: center; }
.split-grid.reverse .split-media { order: 2; }
.split-media img { width: 100%; height: 100%; max-height: 480px; object-fit: cover; display: block; border: 1px solid var(--line); }
.split-copy .eyebrow { color: var(--blue-bright); margin-bottom: 16px; }
.split-copy h2 { color: var(--navy); margin-bottom: 18px; }
.split-copy > p { color: var(--muted); font-size: 15px; line-height: 1.8; margin: 0; }
.split-copy ul { list-style: none; padding: 0; margin: 24px 0 0; border-top: 1px solid var(--line); }
.split-copy li { display: flex; gap: 12px; padding: 13px 0; border-bottom: 1px solid var(--line); font-size: 14px; color: var(--ink); }
.split-copy li::before { content: "\203A"; color: var(--blue-bright); font-weight: 700; flex-shrink: 0; }

/* Gallery */
.gallery-section { padding: 56px 0 104px; }
.gallery-head { max-width: 640px; margin-bottom: 36px; }
.gallery-head .eyebrow { color: var(--blue-bright); margin-bottom: 16px; }
.gallery-head h2 { color: var(--navy); }
.gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.gallery figure { position: relative; margin: 0; overflow: hidden; border: 1px solid var(--line); background: var(--pale); }
.gallery img { width: 100%; height: 280px; object-fit: cover; display: block; transition: transform .5s ease; }
.gallery figure:hover img { transform: scale(1.06); }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 26px 16px 12px; font: 600 10px var(--display); letter-spacing: .12em; text-transform: uppercase; color: #fff; background: linear-gradient(0deg, rgba(3,17,30,.82), transparent); }

/* Certifications */
.cert-list { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); list-style: none; padding: 0; margin: 0; }
.cert-list li { display: flex; gap: 16px; padding: 24px 26px; background: var(--white); }
.cert-list li::before { content: "\2713"; flex-shrink: 0; width: 26px; height: 26px; display: grid; place-items: center; background: var(--blue-bright); color: #fff; border-radius: 50%; font-size: 13px; font-weight: 700; }
.cert-list strong { display: block; margin-bottom: 5px; font: 600 15px var(--display); letter-spacing: .04em; text-transform: uppercase; color: var(--navy); }
.cert-list p { margin: 0; font-size: 13px; line-height: 1.6; color: var(--muted); }

@media (max-width: 980px) {
  .intro-grid { grid-template-columns: 1fr; gap: 42px; }
  .split-grid { grid-template-columns: 1fr; gap: 40px; }
  .split-grid.reverse .split-media { order: 0; }
  .gallery { grid-template-columns: 1fr 1fr; }
  .cert-list { grid-template-columns: 1fr; }
}
@media (max-width: 700px) {
  .page-hero { min-height: 400px; }
  .intro { padding: 70px 0 32px; }
  .stat-band { grid-template-columns: 1fr; }
  .stat-band div { border-right: 0; border-bottom: 1px solid var(--line); }
  .stat-band div:last-child { border-bottom: 0; }
  .gallery { grid-template-columns: 1fr; }
  .gallery img { height: 240px; }
  .gallery-section { padding: 44px 0 72px; }
}

/* ── Heritage timeline ── */
.timeline { position: relative; margin-top: 6px; }
.timeline::before { content: ""; position: absolute; left: 104px; top: 10px; bottom: 18px; width: 1px; background: var(--line); }
.tl-item { position: relative; display: grid; grid-template-columns: 104px 1fr; gap: 38px; padding-bottom: 36px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-year { padding-right: 6px; font: 600 24px var(--display); line-height: 1.05; text-align: right; color: var(--blue-bright); }
.tl-item::after { content: ""; position: absolute; left: 100px; top: 8px; width: 9px; height: 9px; border-radius: 50%; background: var(--blue-bright); box-shadow: 0 0 0 4px var(--white); }
.tl-body h3 { margin: 0 0 9px; font: 600 20px var(--display); line-height: 1.1; letter-spacing: .02em; text-transform: uppercase; color: var(--navy); }
.tl-body p { margin: 0; font-size: 14px; line-height: 1.78; color: var(--muted); }

/* ── Offices / network ── */
.office-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); }
.office-grid div { background: var(--white); padding: 26px 28px; }
.office-grid strong { display: block; margin-bottom: 8px; font: 700 10px var(--display); letter-spacing: .16em; text-transform: uppercase; color: var(--blue-bright); }
.office-grid p { margin: 0; font-size: 14px; line-height: 1.7; color: var(--navy); }

@media (max-width: 700px) {
  .timeline::before { left: 5px; }
  .tl-item { grid-template-columns: 1fr; gap: 6px; padding-left: 26px; padding-bottom: 28px; }
  .tl-item::after { left: 1px; top: 7px; }
  .tl-year { text-align: left; padding-right: 0; font-size: 20px; }
  .office-grid { grid-template-columns: 1fr; }
}

.hero h1 { overflow-wrap: break-word; }
@media (max-width: 480px) {
  .hero h1 { font-size: clamp(34px, 11.5vw, 54px); }
  .hero-content { padding-right: 4px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
