/* Debreceni Bútorkészítő – stíluslap */
:root {
  --bg: #F5F3EF;
  --white: #FFFFFF;
  --ink: #1C1B19;
  --muted: #4A463F;
  --muted-2: #5C574F;
  --line: #E2DDD4;
  --accent: #8A5526;       /* diófa-barna – itt cserélhető */
  --accent-dark: #5E3815;
  --dark-text: #C9C3B8;
  --radius: 20px;
  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --body: Inter, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 17px/1.6 var(--body); }
img { max-width: 100%; display: block; }
a { color: var(--accent); }
a:hover { color: var(--accent-dark); }
h1, h2, h3 { font-family: var(--display); margin: 0; letter-spacing: -0.015em; }
h2 { font-size: clamp(32px, 3.6vw, 48px); line-height: 1.08; }
p { margin: 0; }

.wrap { max-width: 1240px; margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { padding-top: 96px; padding-bottom: 96px; display: flex; flex-direction: column; gap: 48px; }
.band-white { background: var(--white); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.band-dark { background: var(--ink); color: var(--bg); }
.band-dark .section-head p { color: var(--dark-text); }

/* Gombok */
.btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 0 26px; border-radius: 999px; font: 600 16px var(--body); text-decoration: none; border: 0; cursor: pointer; transition: transform .15s, background .15s; }
.btn:hover { transform: translateY(-1px); }
.btn-accent { background: var(--accent); color: #fff; }
.btn-accent:hover { background: var(--accent-dark); color: #fff; }
.btn-dark { background: var(--ink); color: var(--bg); }
.btn-dark:hover { background: #000; color: var(--bg); }
.btn-outline { border: 1.5px solid var(--ink); color: var(--ink); }
.btn-outline:hover { background: var(--ink); color: var(--bg); }

/* Fejléc */
.site-header { position: sticky; top: 0; z-index: 10; background: rgba(245,243,239,.92); backdrop-filter: blur(8px); border-bottom: 1px solid var(--line); }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 12px 24px; padding-top: 14px; padding-bottom: 14px; }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; color: var(--ink); }
.brand svg { color: var(--accent); flex: none; }
.brand span { display: flex; flex-direction: column; line-height: 1.15; }
.brand strong { font: 700 19px var(--display); }
.brand small { font-size: 13px; color: var(--muted-2); }
.nav { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 24px; font-size: 15px; font-weight: 500; }
.nav a:not(.btn) { color: var(--ink); text-decoration: none; padding: 10px 0; }
.nav a:not(.btn):hover { color: var(--accent); }
.nav .btn { min-height: 44px; padding: 0 20px; font-size: 15px; }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 96px; display: flex; flex-wrap: wrap; align-items: center; gap: 56px; }
.hero-text { flex: 1 1 460px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.eyebrow { font-size: 14px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--accent); }
.hero h1 { font-weight: 700; font-size: clamp(40px, 5.4vw, 72px); line-height: 1.02; letter-spacing: -0.02em; }
.lead { max-width: 540px; font-size: 19px; color: var(--muted); }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero-media { flex: 1 1 440px; min-width: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.m-wide { grid-column: span 2; height: 320px; width: 100%; object-fit: cover; border-radius: var(--radius); }
.m-small { height: 180px; width: 100%; object-fit: cover; border-radius: var(--radius); }

/* Helykitöltő, amíg nincs kép feltöltve */
.ph { background-color: #E6E0D6; background-image: repeating-linear-gradient(135deg, rgba(0,0,0,.035) 0 12px, transparent 12px 24px); display: flex; align-items: flex-end; padding: 16px; font-size: 13px; color: var(--muted-2); }
.band-dark .ph { background-color: #2E2C28; background-image: repeating-linear-gradient(135deg, rgba(255,255,255,.04) 0 12px, transparent 12px 24px); color: #A8A196; }

/* Szekciófej */
.section-head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px 48px; }
.section-head p { max-width: 460px; color: var(--muted); }

/* Szolgáltatások */
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.card { background: var(--bg); border-radius: var(--radius); padding: 32px; display: flex; flex-direction: column; gap: 16px; }
.card-icon { width: 52px; height: 52px; border-radius: 14px; background: var(--white); display: flex; align-items: center; justify-content: center; color: var(--accent); }
.card h3 { font-size: 24px; line-height: 1.2; }
.card p { color: var(--muted); font-size: 16px; }

/* Folyamat */
.steps { margin: 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.steps li { display: flex; flex-direction: column; gap: 12px; padding-top: 24px; border-top: 2px solid var(--ink); }
.step-num { font: 700 15px var(--display); color: var(--accent); }
.steps h3 { font-size: 22px; }
.steps p { color: var(--muted); font-size: 16px; }

/* Referenciák */
.gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 16px; }
.gallery figure { margin: 0; display: flex; flex-direction: column; gap: 12px; }
.g-img { height: 280px; width: 100%; object-fit: cover; border-radius: 16px; }
.gallery figcaption { font-size: 15px; color: var(--dark-text); }

/* Kapcsolat */
.contact { flex-direction: row; flex-wrap: wrap; gap: 56px; }
.contact-info { flex: 1 1 380px; min-width: 0; display: flex; flex-direction: column; gap: 28px; }
.contact-info > p { color: var(--muted); }
.info-list { margin: 0; padding: 0; list-style: none; display: flex; flex-direction: column; gap: 18px; }
.info-list li { display: flex; gap: 14px; align-items: flex-start; }
.info-list svg { color: var(--accent); flex: none; margin-top: 3px; }
.stack { display: flex; flex-direction: column; }

.form { flex: 1 1 480px; min-width: 0; background: var(--bg); border-radius: 24px; padding: 32px; display: flex; flex-direction: column; gap: 18px; }
.form .row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 18px; }
.form label { display: flex; flex-direction: column; gap: 6px; font-size: 14px; font-weight: 600; }
.form input, .form textarea { font: 400 16px var(--body); color: var(--ink); background: var(--white); border: 1px solid #CFC8BC; border-radius: 12px; padding: 12px 14px; }
.form input { min-height: 48px; }
.form textarea { resize: vertical; }
.form input:focus, .form textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.form .btn { align-self: flex-start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.alert { padding: 14px 16px; border-radius: 12px; font-size: 15px; font-weight: 500; }
.alert-ok { background: #E3EFE5; color: #1F5A2B; }
.alert-err { background: #F6E3DF; color: #8A2A1A; }

/* Lábléc */
.site-footer { background: var(--ink); color: var(--dark-text); }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 16px; padding-top: 40px; padding-bottom: 40px; font-size: 14px; }
.footer-inner strong { color: var(--bg); font-family: var(--display); }

@media (max-width: 600px) {
  .section { padding-top: 64px; padding-bottom: 64px; }
  .hero { padding-top: 40px; padding-bottom: 64px; }
  .m-wide { height: 220px; }
  .m-small { height: 130px; }
  .form { padding: 22px; }
}
