/* Keyi Lighting — keyilight.com
   Visual identity follows the reference sites Derchi / Primor
   (derchivoordeur.com, derchihaustuer.de, primordoor.com):
   dark navy #0A111F / #121B2B, gold #C49A45 / #B88934, blue #1865F2,
   white + light grey #F5F7FA surfaces, Montserrat headings + Inter body.
   Copper / warm off-white are retired as primary colours. */
:root {
  --navy: #0A111F;
  --navy-2: #121B2B;
  --navy-3: #1B2A44;
  --gold: #C49A45;
  --gold-d: #B88934;
  --gold-light: #D5B99A;
  --blue: #1865F2;
  --blue-2: #0B5CE3;
  --bg: #FFFFFF;
  --gray: #F5F7FA;
  --surface: #FFFFFF;
  --ink: #1A1D24;
  --muted: #5A6270;
  --line: #E5E8ED;
  --radius: 14px;
  --max: 1180px;
  --font-display: "Montserrat", "Inter", system-ui, sans-serif;
  --font-body: "Inter", -apple-system, "Segoe UI", Roboto, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: var(--font-body); font-size: 17px; line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }
h1, h2, h3 { font-family: var(--font-display); font-weight: 700; line-height: 1.15; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5.2vw, 3.9rem); letter-spacing: .01em; }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.3rem); }
h3 { font-size: 1.25rem; }
p { margin: 0 0 1em; }
.lead { font-size: 1.15rem; color: var(--muted); max-width: 62ch; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-dark { background: var(--navy); color: #EDE8DF; }
.section-dark h2, .section-dark h3 { color: #fff; }
.section-dark .lead { color: #B9BFC4; }
.section-dark a { color: var(--gold-light); }
.eyebrow {
  text-transform: uppercase; letter-spacing: .22em; font-size: .75rem;
  font-family: var(--font-display); font-weight: 700; color: var(--gold-d); margin-bottom: 12px;
}
.section-dark .eyebrow { color: var(--gold-light); }
.narrow { max-width: 760px; }

/* header — dark navy bar, white uppercase Montserrat menu (Derchi/Primor) */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--navy);
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}
.header-inner { display: flex; align-items: center; gap: 28px; min-height: 84px; }
.brand { flex: 0 0 auto; }
.brand img { height: 62px; width: auto; }
.brand:hover { text-decoration: none; }
.main-nav { margin-left: auto; }
.main-nav ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; flex-wrap: wrap; }
.main-nav a {
  position: relative; display: block; padding: 10px 14px; color: #fff;
  font-family: var(--font-display); font-size: 13px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase; white-space: nowrap;
}
.main-nav a::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px; height: 2px;
  background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform .3s;
}
.main-nav a:hover { text-decoration: none; color: var(--gold); }
.main-nav a:hover::after, .main-nav a.active::after { transform: scaleX(1); }
.main-nav a.active { color: var(--gold); }

/* buttons */
.btn {
  display: inline-block; padding: 12px 22px; border-radius: 999px;
  font-weight: 600; font-size: .98rem; border: 1px solid transparent;
  cursor: pointer; text-align: center; line-height: 1.3;
}
.btn:hover { text-decoration: none; }
.btn-lg { padding: 15px 28px; font-size: 1.05rem; }
.btn-wa { background: #1FA855; color: #fff; }
.btn-wa:hover { background: #178A45; }
.btn-primary { background: var(--gold); color: var(--navy); }
.btn-primary:hover { background: var(--gold-d); color: #fff; }
.btn-light { background: #fff; color: var(--navy); }
.btn-light:hover { background: #EAF2FF; }
.btn-ghost-light { border-color: rgba(255,255,255,.55); color: #fff; }
.btn-ghost-light:hover { background: rgba(255,255,255,.12); }
.text-link { font-weight: 600; }

/* hero — full-width factory photo, near 16:9 so the "Keyi Lighting"
   wall sign stays fully visible; text lives in a solid navy panel
   bottom-right, clear of the wall sign (top) and of every worker (left).
   Panel geometry is set from measured image positions: wall sign
   x 51–70%, y 28–34%; workers x 28–57%, y 39–100%. */
.hero { position: relative; min-height: clamp(740px, 56.25vw, 96vh); background: var(--navy); }
.hero picture, .hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.hero-panel {
  position: absolute; right: 0; bottom: 0; width: min(600px, 40%);
  background: var(--navy); color: #fff; padding: 34px 38px;
  display: flex; flex-direction: column; justify-content: center;
}
.hero-tag {
  display: inline-flex; align-self: flex-start;
  font-family: var(--font-display); font-size: 12px; font-weight: 700;
  letter-spacing: .22em; text-transform: uppercase; color: var(--gold);
  border: 1px solid var(--gold); border-radius: 999px;
  padding: 8px 18px; margin: 0 0 16px;
}
.hero-panel h1 { color: #fff; font-size: clamp(1.7rem, 2.4vw, 2.2rem); font-weight: 800; max-width: none; margin-bottom: 12px; }
.hero-sub { font-size: .98rem; color: #C9CDD1; max-width: none; margin-bottom: 0; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin: 22px 0 0; }
.hero-cta .btn { font-size: .95rem; padding: 13px 22px; }

/* trust strip */
.trust { border-bottom: 1px solid var(--line); background: var(--gray); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; padding: 28px 24px; }
.trust-grid strong { display: block; font-family: var(--font-display); font-weight: 700; font-size: 1.45rem; }
.trust-grid span { color: var(--muted); font-size: .92rem; }

/* cards */
.cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 32px; }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 28px; display: flex; flex-direction: column;
}
.card-tag { text-transform: uppercase; letter-spacing: .12em; font-size: .75rem; font-weight: 600; color: var(--gold-d); margin: 0 0 10px; }
.card h3 { margin-bottom: 10px; }
.card h3 a { color: var(--ink); }
.card p:last-child { margin-bottom: 0; }

/* split + lists */
.split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; }
.ticks { list-style: none; margin: 0 0 1.2em; padding: 0; }
.ticks li { padding: 8px 0 8px 30px; position: relative; }
.ticks li::before {
  content: ""; position: absolute; left: 0; top: 14px; width: 18px; height: 10px;
  border-left: 2.5px solid var(--gold); border-bottom: 2.5px solid var(--gold);
  transform: rotate(-45deg) translateY(-2px);
}
.steps { list-style: none; counter-reset: step; margin: 0 0 1.4em; padding: 0; }
.steps li { counter-increment: step; padding: 10px 0 10px 52px; position: relative; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 8px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--gold); color: var(--navy); font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}
.markets { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; margin-top: 32px; }
.markets h3 { color: var(--gold-light); }
.markets p { color: #C9CDD1; }
.note {
  background: var(--gray); border: 1px solid var(--line); border-left: 4px solid var(--gold);
  border-radius: 8px; padding: 16px 20px; color: var(--muted);
}

/* page hero */
.page-hero { padding: 64px 0 48px; border-bottom: 1px solid var(--line); }
.page-hero .eyebrow a { color: var(--gold-d); }

/* CTA band */
.cta-band { background: var(--navy); color: #fff; padding: 64px 0; text-align: center; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #C9CDD1; max-width: 60ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-wa { margin-right: 10px; }

/* form */
form label { display: block; font-weight: 600; font-size: .95rem; margin-bottom: 16px; }
form input, form textarea {
  display: block; width: 100%; margin-top: 6px; padding: 12px 14px;
  border: 1px solid #CFC8BA; border-radius: 10px; background: #fff;
  font: inherit; font-size: 1rem; color: var(--ink);
}
form input:focus, form textarea:focus { outline: 2px solid var(--blue); border-color: var(--blue); }
.form-note { font-size: .92rem; color: var(--muted); }
form .error { border-color: #B3261E !important; }

/* footer */
.site-footer { background: var(--navy); color: #B9BFC4; padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; }
.footer-brand img { height: 84px; width: auto; margin-bottom: 16px; }
.site-footer h3 { color: #fff; font-size: 1rem; font-family: var(--font-body); font-weight: 600; }
.site-footer ul { list-style: none; margin: 0; padding: 0; }
.site-footer li { margin: 8px 0; }
.site-footer a { color: #C9CDD1; }
.footer-base { border-top: 1px solid rgba(255,255,255,.12); padding: 20px 24px 28px; font-size: .9rem; }
.footer-base p { margin: 0; }

/* below 1200px the hero panel no longer fits safely beside the workers,
   so it stacks below the full 16:9 photo instead of overlaying it. */
@media (max-width: 1199px) {
  .hero { min-height: 0; display: block; }
  .hero picture { position: relative; display: block; aspect-ratio: 16 / 9; }
  .hero-panel { position: static; width: auto; }
}
@media (max-width: 900px) {
  .trust-grid, .cards, .markets { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 40px; }
  .footer-grid { grid-template-columns: 1fr; }
  .main-nav { display: none; }
  .header-inner { gap: 16px; }
  .header-inner .btn-wa { margin-left: auto; }
  .section { padding: 52px 0; }
}
@media (max-width: 560px) {
  .trust-grid, .cards, .markets { grid-template-columns: 1fr; }
  body { font-size: 16px; }
}
