/* ============================================================
   BuildForce Theme — main.css
   ============================================================ */

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

:root {
  --gold: #C9A84C; --gold-light: #E8C97A;
  --dark: #0F0F0E; --dark-2: #1A1A18; --dark-3: #252522; --steel: #2E2E2B;
  --text: #F0EDE6; --text-muted: #8A8780; --text-dim: #5A5A57;
  --fd: 'Barlow Condensed', sans-serif;
  --fb: 'Barlow', sans-serif;
}

html { scroll-behavior: smooth; }
body { font-family: var(--fb); background: var(--dark); color: var(--text); overflow-x: hidden; line-height: 1.6; }
a { text-decoration: none; }
img { max-width: 100%; }

/* NAV */
#main-nav {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 52px; height: 72px;
  background: rgba(15,15,14,0.96);
  border-bottom: 1px solid rgba(201,168,76,0.15);
  position: sticky; top: 0; z-index: 100;
}
.logo { font-family: var(--fd); font-size: 22px; font-weight: 800; letter-spacing: 2px; display: flex; align-items: center; gap: 10px; color: var(--text); }
.logo-hex { width: 34px; height: 34px; background: var(--gold); clip-path: polygon(50% 0%,100% 25%,100% 75%,50% 100%,0% 75%,0% 25%); display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 900; color: var(--dark); }
.logo span { color: var(--gold); }
.nav-links { display: flex; gap: 28px; list-style: none; }
.nav-links a { font-family: var(--fd); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-muted); transition: color 0.2s; }
.nav-links a:hover { color: var(--gold); }
.nav-right { display: flex; align-items: center; gap: 16px; }
.lang-switcher { display: flex; background: var(--dark-3); border: 1px solid rgba(201,168,76,0.2); border-radius: 3px; overflow: hidden; }
.lang-btn { font-family: var(--fd); font-size: 11px; font-weight: 700; letter-spacing: 1px; padding: 7px 13px; border: none; background: transparent; color: var(--text-dim); cursor: pointer; transition: all 0.18s; display: flex; align-items: center; gap: 5px; text-transform: uppercase; }
.lang-btn:not(:last-child) { border-right: 1px solid rgba(201,168,76,0.15); }
.lang-btn.active { background: var(--gold); color: var(--dark); }
.lang-btn:hover:not(.active) { color: var(--text); background: var(--steel); }
.flag { display: inline-block; width: 16px; height: 10px; border-radius: 1px; overflow: hidden; flex-shrink: 0; }
.flag-de { background: linear-gradient(to bottom,#000 33%,#D00 33%,#D00 66%,#FFCE00 66%); }
.flag-en { background: #012169; }
.flag-pl { background: linear-gradient(to bottom,#fff 50%,#DC143C 50%); }
.nav-cta { font-family: var(--fd); font-size: 12px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dark); background: var(--gold); padding: 9px 22px; border-radius: 3px; transition: background 0.2s; white-space: nowrap; }
.nav-cta:hover { background: var(--gold-light); }

/* HERO */
.hero { min-height: 92vh; display: grid; grid-template-columns: 1fr 1fr; }
.hero-left { display: flex; flex-direction: column; justify-content: center; padding: 80px 56px 80px 80px; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; font-family: var(--fd); font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 28px; }
.hero-badge::before { content: ''; display: block; width: 28px; height: 2px; background: var(--gold); }
.hero-flags { display: inline-flex; gap: 6px; align-items: center; }
.hero-flag-item { width: 18px; height: 12px; display: inline-block; border-radius: 1px; overflow: hidden; }
.hf-de { background: linear-gradient(to bottom,#000 33%,#D00 33%,#D00 66%,#FFCE00 66%); }
.hf-pl { background: linear-gradient(to bottom,#fff 50%,#DC143C 50%); }
.hero-title { font-family: var(--fd); font-size: 76px; font-weight: 800; line-height: 0.92; letter-spacing: -1px; text-transform: uppercase; color: var(--text); margin-bottom: 24px; }
.hero-title em { color: var(--gold); font-style: normal; display: block; }
.hero-sub { font-size: 16px; font-weight: 300; color: var(--text-muted); max-width: 420px; line-height: 1.75; margin-bottom: 48px; }
.hero-sub strong { color: var(--text); font-weight: 500; }
.hero-btns { display: flex; gap: 14px; }
.btn-g { font-family: var(--fd); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dark); background: var(--gold); padding: 15px 34px; border-radius: 3px; border: 2px solid var(--gold); transition: background 0.2s; display: inline-block; }
.btn-g:hover { background: var(--gold-light); border-color: var(--gold-light); }
.btn-o { font-family: var(--fd); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text); background: transparent; padding: 15px 34px; border-radius: 3px; border: 2px solid rgba(240,237,230,0.18); transition: all 0.2s; display: inline-block; }
.btn-o:hover { border-color: var(--gold); color: var(--gold); }
.hero-stats { display: flex; gap: 36px; margin-top: 60px; padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.07); }
.stat-num { font-family: var(--fd); font-size: 38px; font-weight: 800; color: var(--gold); line-height: 1; }
.stat-label { font-size: 12px; color: var(--text-dim); margin-top: 4px; }
.hero-right { position: relative; overflow: hidden; background: var(--dark-3); min-height: 500px; }
.hero-right svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero-vtext { position: absolute; right: 16px; bottom: 100px; font-family: var(--fd); font-size: 10px; font-weight: 600; letter-spacing: 3px; color: var(--text-dim); text-transform: uppercase; writing-mode: vertical-rl; transform: rotate(180deg); }

/* SECTIONS */
section { padding: 90px 80px; }
.section-header { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 52px; }
.s-tag { display: inline-flex; align-items: center; gap: 8px; font-family: var(--fd); font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.s-tag::before { content: ''; display: block; width: 22px; height: 2px; background: var(--gold); }
.s-title { font-family: var(--fd); font-size: 52px; font-weight: 800; line-height: 0.95; text-transform: uppercase; color: var(--text); margin-bottom: 16px; }
.s-title em { color: var(--gold); font-style: normal; }
.s-sub { font-size: 15px; font-weight: 300; color: var(--text-muted); max-width: 560px; line-height: 1.75; }

/* WHY */
.why { background: var(--dark-2); }
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.why-card { background: var(--dark-3); padding: 36px 32px; border-top: 3px solid transparent; transition: border-color 0.3s, background 0.3s; }
.why-card:hover { border-color: var(--gold); background: var(--steel); }
.why-icon { font-size: 22px; margin-bottom: 18px; color: var(--gold); }
.why-name { font-family: var(--fd); font-size: 20px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; color: var(--text); }
.why-desc { font-size: 14px; font-weight: 300; color: var(--text-muted); line-height: 1.75; }

/* SPECS */
.specs { background: var(--dark); }
.specs-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; }
.spec-item { background: var(--dark-2); padding: 28px 24px; border-left: 3px solid var(--steel); transition: border-color 0.3s; }
.spec-item:hover { border-color: var(--gold); }
.spec-title { font-family: var(--fd); font-size: 17px; font-weight: 700; text-transform: uppercase; color: var(--text); margin-bottom: 10px; }
.spec-examples { font-size: 13px; font-weight: 300; color: var(--text-muted); line-height: 1.8; }
.spec-check { color: var(--gold); margin-right: 4px; }

/* JOBS PREVIEW */
.jobs-preview { margin-top: 52px; padding-top: 48px; border-top: 1px solid rgba(255,255,255,0.07); }
.jobs-preview-title { font-family: var(--fd); font-size: 28px; font-weight: 700; text-transform: uppercase; color: var(--text); margin-bottom: 24px; }
.jobs-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 2px; }
.job-card { background: var(--dark-2); padding: 28px; border-top: 3px solid var(--steel); transition: border-color 0.3s; color: var(--text); }
.job-card:hover { border-color: var(--gold); }
.job-card-trade { font-family: var(--fd); font-size: 11px; font-weight: 600; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 8px; }
.job-card-title { font-family: var(--fd); font-size: 20px; font-weight: 700; text-transform: uppercase; margin-bottom: 12px; }
.job-card-meta { font-size: 13px; color: var(--text-muted); display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 16px; }
.job-card-cta { font-family: var(--fd); font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--gold); }

/* PROCESS */
.process { background: var(--dark-2); }
.process-wrap { display: grid; grid-template-columns: repeat(4,1fr); gap: 2px; margin-top: 56px; position: relative; }
.process-wrap::before { content: ''; position: absolute; top: 36px; left: 10%; right: 10%; height: 1px; background: linear-gradient(to right,transparent,rgba(201,168,76,0.4),transparent); z-index: 0; }
.pstep { padding: 0 20px; position: relative; z-index: 1; }
.pstep-num { width: 72px; height: 72px; border-radius: 50%; background: var(--dark-3); border: 2px solid var(--steel); display: flex; align-items: center; justify-content: center; font-family: var(--fd); font-size: 26px; font-weight: 800; color: var(--gold); margin-bottom: 24px; transition: all 0.3s; }
.pstep:hover .pstep-num { background: var(--gold); color: var(--dark); border-color: var(--gold); }
.pstep-name { font-family: var(--fd); font-size: 17px; font-weight: 700; text-transform: uppercase; margin-bottom: 10px; color: var(--text); }
.pstep-desc { font-size: 13px; font-weight: 300; color: var(--text-muted); line-height: 1.7; }

/* LEGAL */
.legal { background: var(--dark); }
.legal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2px; margin-top: 52px; }
.legal-card { background: var(--dark-2); padding: 36px 32px; }
.legal-card-title { font-family: var(--fd); font-size: 18px; font-weight: 700; text-transform: uppercase; color: var(--gold); margin-bottom: 14px; }
.legal-list { list-style: none; }
.legal-list li { font-size: 14px; font-weight: 300; color: var(--text-muted); padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.05); display: flex; gap: 10px; line-height: 1.6; }
.legal-list li::before { content: '✓'; color: var(--gold); flex-shrink: 0; margin-top: 2px; }

/* CONTACT */
.contact { background: var(--dark-2); }
.contact-inner { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: start; }
.contact-form { display: flex; flex-direction: column; gap: 14px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-label { font-family: var(--fd); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); margin-bottom: 6px; display: block; }
.form-field { background: var(--dark-3); border: 1px solid var(--steel); border-radius: 3px; padding: 12px 16px; font-family: var(--fb); font-size: 14px; font-weight: 300; color: var(--text); outline: none; transition: border-color 0.2s; width: 100%; }
.form-field:focus { border-color: var(--gold); }
.form-field::placeholder { color: var(--text-dim); }
textarea.form-field { resize: vertical; min-height: 100px; }
select.form-field option { background: var(--dark-3); }
.form-gdpr { font-size: 13px; color: var(--text-dim); }
.form-gdpr a { color: var(--gold); }
.form-gdpr input { margin-right: 8px; }
.form-submit { font-family: var(--fd); font-size: 13px; font-weight: 700; letter-spacing: 1.5px; text-transform: uppercase; color: var(--dark); background: var(--gold); border: none; padding: 16px; border-radius: 3px; cursor: pointer; transition: background 0.2s; }
.form-submit:hover { background: var(--gold-light); }
.contact-info-title { font-family: var(--fd); font-size: 42px; font-weight: 800; text-transform: uppercase; color: var(--text); margin-bottom: 16px; line-height: 0.95; }
.contact-info-title em { color: var(--gold); font-style: normal; }
.contact-info-sub { font-size: 15px; font-weight: 300; color: var(--text-muted); line-height: 1.75; margin-bottom: 36px; }
.contact-details { display: flex; flex-direction: column; gap: 16px; }
.cdetail { display: flex; gap: 14px; align-items: flex-start; }
.cdetail-icon { width: 40px; height: 40px; background: rgba(201,168,76,0.1); border-radius: 3px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; color: var(--gold); }
.cdetail-label { font-family: var(--fd); font-size: 11px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--text-dim); }
.cdetail-val { font-size: 14px; color: var(--text-muted); font-weight: 300; }

/* FOOTER */
#main-footer { background: #090908; padding: 52px 80px 28px; }
.footer-top { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 40px; }
.footer-logo { font-family: var(--fd); font-size: 26px; font-weight: 800; text-transform: uppercase; letter-spacing: 1px; }
.footer-logo span { color: var(--gold); }
.footer-desc { font-size: 13px; font-weight: 300; color: var(--text-dim); line-height: 1.7; margin-top: 14px; max-width: 260px; }
.footer-badges { display: flex; gap: 8px; margin-top: 18px; flex-wrap: wrap; }
.certbadge { display: inline-flex; align-items: center; background: var(--dark-3); border: 1px solid rgba(201,168,76,0.2); border-radius: 3px; padding: 4px 10px; font-family: var(--fd); font-size: 10px; font-weight: 600; letter-spacing: 1px; color: var(--text-dim); text-transform: uppercase; }
.footer-col-title { font-family: var(--fd); font-size: 11px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-links { list-style: none; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { font-size: 13px; font-weight: 300; color: var(--text-dim); transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.06); padding-top: 24px; display: flex; justify-content: space-between; align-items: center; }
.footer-copy { font-size: 12px; color: var(--text-dim); }
.footer-copy span { color: var(--gold); }

/* ANIMACJE */
@keyframes fi { from{opacity:0;transform:translateY(14px);}to{opacity:1;transform:translateY(0);} }
.hero-left>*{animation:fi 0.6s both;}
.hero-badge{animation-delay:0.1s;}.hero-title{animation-delay:0.2s;}.hero-sub{animation-delay:0.3s;}.hero-btns{animation-delay:0.4s;}.hero-stats{animation-delay:0.5s;}

/* RESPONSIVE */
@media (max-width: 1024px) {
  .hero { grid-template-columns: 1fr; }
  .hero-right { min-height: 300px; }
  .hero-left { padding: 60px 40px; }
  .hero-title { font-size: 56px; }
  section { padding: 60px 40px; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .specs-grid { grid-template-columns: repeat(2,1fr); }
  .process-wrap { grid-template-columns: repeat(2,1fr); }
  .contact-inner { grid-template-columns: 1fr; gap: 40px; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  #main-nav { padding: 0 24px; }
  .nav-links { display: none; }
}
@media (max-width: 640px) {
  .hero-title { font-size: 42px; }
  .s-title { font-size: 38px; }
  .why-grid, .specs-grid, .process-wrap, .legal-grid, .jobs-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; }
  section { padding: 48px 24px; }
  #main-nav { padding: 0 16px; }
}
