/* Fier Forjat Vaslui. System fonts, no framework. Mobile first; the bottom bar shows below 760px. */
:root {
  --ink: #1f1d1b;
  --ink-soft: #4a4642;
  --paper: #ffffff;
  --sand: #f6f2ec;
  --line: #e2dbd2;
  --accent: #d9620f;
  --accent-dark: #a94a08;
  --radius: 10px;
  --wrap: 1120px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; color: var(--ink); background: var(--paper);
  font: 17px/1.6 system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  padding-bottom: 64px;
}
@media (min-width: 760px) { body { padding-bottom: 0; } }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent-dark); }
a:hover { color: var(--accent); }
h1, h2, h3 { line-height: 1.25; margin: 1.4em 0 .5em; }
h1 { font-size: clamp(1.7rem, 4vw, 2.5rem); margin-top: .6em; }
h2 { font-size: clamp(1.35rem, 3vw, 1.75rem); }
h3 { font-size: 1.15rem; }
p, ul, ol { margin: 0 0 1em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }
.small { font-size: .875rem; color: var(--ink-soft); }
.skip { position: absolute; left: -999px; }
.skip:focus { left: 8px; top: 8px; background: #fff; padding: 8px; z-index: 10; }

/* header */
.site-header { background: var(--ink); color: #fff; position: sticky; top: 0; z-index: 5; }
.header-row { display: flex; align-items: center; gap: 16px; min-height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 700; font-size: 1.1rem; }
.logo img { width: 48px; height: auto; border-radius: 6px; }
.logo b { color: var(--accent); }
.menu { display: none; margin-left: auto; }
.menu ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 4px; }
.menu a { color: #fff; text-decoration: none; padding: 8px 10px; border-radius: 6px; font-size: .95rem; }
.menu a:hover, .menu a[aria-current] { background: rgba(255,255,255,.12); color: #fff; }
.header-call { margin-left: auto; }
@media (min-width: 1000px) { .menu { display: block; } .header-call { margin-left: 0; } }

/* buttons */
.btn {
  display: inline-block; background: var(--accent); color: #fff; text-decoration: none; border: 0;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 1rem; cursor: pointer;
}
.btn:hover { background: var(--accent-dark); color: #fff; }
.btn-small { padding: 8px 14px; font-size: .95rem; white-space: nowrap; }
.btn-ghost { background: transparent; border: 2px solid #fff; color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }

/* hero */
.hero { background: var(--ink) url("/wp-content/uploads/2025/02/poza-fier-forjat-31_85bc8d99.jpg") center/cover no-repeat; color: #fff; position: relative; }
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20,18,16,.94) 35%, rgba(20,18,16,.6)); }
.hero .wrap { position: relative; padding-top: 48px; padding-bottom: 56px; }
.hero h1 { margin-top: 0; max-width: 18em; }
.hero p { max-width: 38em; font-size: 1.1rem; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.hero a:not(.btn) { color: #fff; }

/* content */
.crumbs ol { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; padding: 12px 0 0; margin: 0; font-size: .875rem; color: var(--ink-soft); }
.crumbs li + li::before { content: "›"; margin-right: 6px; }
.prose { max-width: 820px; }
.section { padding: 8px 0 24px; }
.band { background: var(--sand); padding: 8px 0 32px; margin: 24px 0; }
.photos { display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); margin: 16px 0 24px; }
.photos figure { margin: 0; }
.photos img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); }
.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); list-style: none; padding: 0; }
.card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.card a { color: inherit; text-decoration: none; display: block; height: 100%; }
.card figure { margin: 0; }
.card img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.card h3 { margin: 12px 16px 4px; color: var(--accent-dark); }
.card p { margin: 0 16px 16px; font-size: .95rem; color: var(--ink-soft); }
.steps { counter-reset: s; list-style: none; padding: 0; }
.steps li { counter-increment: s; padding-left: 44px; position: relative; margin-bottom: 14px; }
.steps li::before { content: counter(s); position: absolute; left: 0; top: 0; width: 30px; height: 30px; border-radius: 50%; background: var(--accent); color: #fff; font-weight: 700; display: grid; place-items: center; }
.faq h3 { border-top: 1px solid var(--line); padding-top: 14px; }
.callbox { background: var(--ink); color: #fff; border-radius: var(--radius); padding: 18px 20px; margin: 28px 0; }
.callbox a { color: #ffb37a; }
.pill-list { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-list a { display: inline-block; padding: 6px 14px; border: 1px solid var(--line); border-radius: 999px; text-decoration: none; }
.note { background: var(--sand); padding: 12px 16px; border-radius: var(--radius); }
.draft-banner { background: #ffe066; color: #000; text-align: center; padding: 8px 16px; font-weight: 700; }

/* form */
.form { display: grid; gap: 4px 16px; grid-template-columns: 1fr; max-width: 820px; }
@media (min-width: 640px) { .form { grid-template-columns: 1fr 1fr; } .form .wide { grid-column: 1 / -1; } }
.form label { display: block; font-weight: 600; margin-bottom: 4px; }
.form input, .form select, .form textarea { width: 100%; padding: 10px 12px; border: 1px solid #bdb5ab; border-radius: 8px; font: inherit; background: #fff; }
.form .hp { position: absolute; left: -9999px; }
.form .cf-turnstile { grid-column: 1 / -1; }
.form-msg { background: #fde2e1; color: #8a1c1c; padding: 10px 14px; border-radius: 8px; grid-column: 1 / -1; }

/* footer */
.site-footer { background: var(--ink); color: #ddd6cd; margin-top: 48px; padding: 32px 0 24px; }
.site-footer a { color: #fff; }
.site-footer ul { list-style: none; padding: 0; }
.site-footer li { margin-bottom: 6px; }
.site-footer .small { color: #b5ada3; }
.footer-grid { display: grid; gap: 24px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
.footer-brand { font-weight: 700; font-size: 1.2rem; color: #fff; }
.footer-brand b { color: var(--accent); }
.footer-title { font-weight: 700; color: #fff; }

/* mobile bottom bar */
.tabbar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 6; display: grid; grid-template-columns: repeat(4, 1fr); background: #fff; border-top: 1px solid var(--line); }
.tabbar a { display: flex; flex-direction: column; align-items: center; gap: 2px; padding: 8px 0 10px; font-size: .75rem; color: var(--ink); text-decoration: none; }
.tabbar svg { width: 22px; height: 22px; fill: currentColor; }
.tabbar a[aria-current] { color: var(--accent-dark); }
.tabbar .tab-call { background: var(--accent); color: #fff; }
@media (min-width: 760px) { .tabbar { display: none; } }
