
:root {
  --bg: #f4f1ec; --bg-2: #fff; --fg: #2a2a2a; --muted: #6b6862; --accent: #b8634a; --line: rgba(42,42,42,.1);
  --font-h: 'Syne', sans-serif; --font-b: 'DM Sans', sans-serif;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { background: var(--bg); color: var(--fg); font-family: var(--font-b); font-weight: 300; line-height: 1.6; -webkit-font-smoothing: antialiased; }
a { color: inherit; text-decoration: none; transition: color .25s; }
img { max-width: 100%; display: block; }
h1, h2, h3, h4 { font-family: var(--font-h); font-weight: 600; line-height: 1.05; letter-spacing: -0.02em; }
.container { max-width: 1360px; margin: 0 auto; padding: 0 40px; }
@media(max-width:768px){.container{padding:0 20px;}}

.nav { position: sticky; top: 0; z-index: 50; display: flex; align-items: center; justify-content: space-between; padding: 28px 48px; background: rgba(244,241,236,.85); backdrop-filter: blur(12px); transition: padding .3s, border-color .3s; border-bottom: 1px solid transparent; }
.nav.scrolled { padding: 16px 48px; border-bottom-color: var(--line); }
.logo { font-family: var(--font-h); font-size: 18px; font-weight: 700; letter-spacing: -0.02em; text-transform: uppercase; }
.nav-links { display: flex; gap: 36px; }
.nav-links a { font-size: 13px; color: var(--fg); }
.nav-links a.active { color: var(--accent); }
.nav-links a:hover { color: var(--accent); }
.menu-toggle { display: none; background: none; border: 0; width: 32px; height: 28px; cursor: pointer; flex-direction: column; justify-content: space-between; padding: 6px 0; }
.menu-toggle span { display: block; height: 2px; background: var(--fg); }
@media(max-width:900px){
  .nav { padding: 18px 20px; }
  .menu-toggle { display: flex; }
  .nav-links { position: fixed; inset: 65px 0 auto 0; flex-direction: column; background: var(--bg); padding: 30px; gap: 20px; transform: translateY(-110%); transition: transform .35s; border-bottom: 1px solid var(--line); }
  body.menu-open .nav-links { transform: translateY(0); }
}

.hero { position: relative; min-height: 94vh; display: flex; align-items: flex-end; padding: 60px 0; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-bg::after { content:''; position:absolute; inset:0; background: linear-gradient(0deg, rgba(244,241,236,.9) 0%, transparent 50%); }
.hero-content { position: relative; z-index: 1; }
.hero h1 { font-size: clamp(48px, 8vw, 120px); font-weight: 600; max-width: 1100px; }
.hero h1 em { font-style: normal; color: var(--accent); }
.hero p { font-size: 18px; color: var(--muted); margin: 28px 0 36px; max-width: 540px; }
.eyebrow { font-size: 11px; letter-spacing: 0.25em; text-transform: uppercase; color: var(--accent); margin-bottom: 24px; display: inline-block; }

.btn { display: inline-block; padding: 18px 32px; background: var(--fg); color: var(--bg); font-size: 13px; letter-spacing: 0.06em; transition: transform .25s, background .25s; border: 0; cursor: pointer; font-family: inherit; }
.btn:hover { background: var(--accent); transform: translateY(-2px); color: white; }
.btn-ghost { background: transparent; color: var(--fg); border: 1px solid var(--fg); }
.btn-ghost:hover { background: var(--accent); border-color: var(--accent); color: white; }

section { padding: 130px 0; }
@media(max-width:768px){ section { padding: 80px 0; } }
.section-title { font-size: clamp(40px, 6vw, 80px); margin-bottom: 24px; max-width: 900px; }
.section-title em { font-style: normal; color: var(--accent); }
.section-lead { color: var(--muted); max-width: 580px; margin-bottom: 70px; font-size: 17px; }

.two-col { display: grid; grid-template-columns: 1fr 1.2fr; gap: 80px; align-items: center; }
.two-col img { aspect-ratio: 4/5; object-fit: cover; }
@media(max-width:900px){ .two-col { grid-template-columns: 1fr; gap: 40px; } }

/* Process steps */
.steps { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; border-top: 1px solid var(--line); }
.step { padding: 48px 32px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); transition: background .3s; }
.step:last-child { border-right: 0; }
.step:hover { background: var(--bg-2); }
.step-num { font-family: var(--font-h); font-size: 14px; color: var(--accent); margin-bottom: 24px; font-weight: 600; letter-spacing: 0.1em; }
.step h3 { font-size: 24px; margin-bottom: 12px; }
.step p { color: var(--muted); font-size: 14px; }
@media(max-width:900px){ .steps { grid-template-columns: 1fr; } .step { border-right: 0; } }

/* Realizacje grid */
.projects { display: grid; grid-template-columns: repeat(2, 1fr); gap: 40px; }
.project { transition: transform .35s; }
.project:hover { transform: translateY(-6px); }
.project img { aspect-ratio: 4/3; object-fit: cover; margin-bottom: 24px; }
.project h3 { font-size: 28px; margin-bottom: 8px; }
.project-meta { display: flex; gap: 32px; color: var(--muted); font-size: 13px; letter-spacing: 0.05em; text-transform: uppercase; margin-bottom: 10px; }
.project p { color: var(--muted); font-size: 15px; }
@media(max-width:768px){ .projects { grid-template-columns: 1fr; } }

/* Contact */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; }
@media(max-width:900px){ .contact-grid { grid-template-columns: 1fr; gap: 40px; } }
.contact-info p { margin: 16px 0; font-size: 17px; }
.contact-info strong { display: block; font-family: var(--font-h); font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; font-weight: 600; }
form { display: flex; flex-direction: column; gap: 16px; }
input, textarea { background: var(--bg-2); border: 1px solid var(--line); padding: 18px 22px; color: var(--fg); font-family: inherit; font-size: 15px; transition: border-color .25s; }
textarea { min-height: 160px; resize: vertical; }
input:focus, textarea:focus { outline: none; border-color: var(--accent); }

.footer { background: var(--fg); color: var(--bg); padding: 80px 0 30px; margin-top: 80px; }
.footer-inner { max-width: 1360px; margin: 0 auto; padding: 0 40px; display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 60px; }
.footer-brand { font-family: var(--font-h); font-weight: 700; font-size: 22px; text-transform: uppercase; margin-bottom: 12px; }
.footer-tag { color: rgba(244,241,236,.6); }
.footer h4 { font-family: var(--font-h); font-size: 13px; text-transform: uppercase; letter-spacing: 0.15em; color: var(--accent); margin-bottom: 20px; font-weight: 600; }
.footer p { color: rgba(244,241,236,.65); font-size: 14px; margin: 8px 0; }
.footer a:hover { color: var(--accent); }
.footer-bottom { max-width: 1360px; margin: 60px auto 0; padding: 24px 40px 0; border-top: 1px solid rgba(244,241,236,.15); text-align: center; color: rgba(244,241,236,.5); font-size: 12px; letter-spacing: 0.1em; }
.footer-bottom a { color: var(--accent); }
@media(max-width:768px){ .footer-inner { grid-template-columns: 1fr; gap: 40px; } }

.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: none; }
