:root {
  --green-950: #0d1f1a;
  --green-900: #122720;
  --green-850: #152520;
  --green-800: #1a342b;
  --green-700: #285044;
  --gold-500: #c89236;
  --gold-400: #daa651;
  --gold-300: #edc77f;
  --gold-text: #8d6118;
  --paper: #f7f5f1;
  --paper-warm: #efeae1;
  --white: #fff;
  --ink: #202522;
  --muted: #69716d;
  --line: #ddd8cf;
  --danger: #ad3329;
  --success: #236947;
  --shadow-sm: 0 10px 30px rgba(13, 31, 26, .08);
  --shadow-lg: 0 24px 70px rgba(6, 20, 15, .19);
  --radius: 16px;
  --radius-sm: 10px;
  --page: min(1180px, calc(100% - 40px));
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
body.form-page { background: #f3f0ea; }
a { color: inherit; }
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
img { display: block; max-width: 100%; }
[hidden] { display: none !important; }
.container { width: var(--page); margin-inline: auto; }
.skip-link {
  position: fixed; left: 16px; top: -100px; z-index: 1000;
  padding: 10px 14px; border-radius: 0 0 8px 8px;
  color: var(--green-950); background: var(--gold-300); font-weight: 800;
}
.skip-link:focus { top: 0; }
:focus-visible { outline: 3px solid var(--gold-text); outline-offset: 3px; }
.preview-bar {
  min-height: 34px; display: flex; align-items: center; justify-content: center;
  padding: 7px 20px; color: #f8e6bd; background: #081712;
  font-size: .78rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase;
}

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 100;
  color: white; background: rgba(21, 37, 32, .97);
  border-bottom: 1px solid rgba(218, 166, 81, .2);
  backdrop-filter: blur(14px);
}
.header-inner {
  width: var(--page); min-height: 78px; margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; min-width: 0; }
.brand-mark {
  width: 46px; height: 46px; object-fit: contain; flex: 0 0 auto;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, .26));
}
.brand-copy { display: grid; line-height: 1.05; }
.brand-name { font-size: 1.08rem; font-weight: 900; letter-spacing: .02em; }
.brand-name span { color: var(--gold-400); }
.brand-service { margin-top: 6px; color: #c9d0cd; font-size: .68rem; letter-spacing: .12em; text-transform: uppercase; }
.main-nav { display: flex; align-items: center; gap: 7px; }
.main-nav a { padding: 10px 12px; border-radius: 8px; color: #e8ecea; text-decoration: none; font-size: .92rem; font-weight: 700; }
.main-nav a:hover { color: white; background: rgba(255,255,255,.07); }
.main-nav .nav-cta { color: #152520; background: var(--gold-400); }
.main-nav .nav-cta:hover { color: #0d1f1a; background: #e1ad55; }
.menu-toggle {
  display: none; width: 46px; height: 46px; color: white; background: transparent;
  border: 1px solid rgba(255,255,255,.2); border-radius: 10px; font-size: 1.3rem;
}

/* Shared typography and controls */
.eyebrow { margin: 0 0 14px; color: var(--gold-text); font-weight: 900; letter-spacing: .13em; text-transform: uppercase; font-size: .78rem; }
.cutting-hero .eyebrow, .process-section .eyebrow, .final-cta .eyebrow, .form-hero .eyebrow { color: var(--gold-400); }
.site-header :focus-visible, .cutting-hero :focus-visible, .process-section :focus-visible, .final-cta :focus-visible, .site-footer :focus-visible { outline-color: var(--gold-300); }
h1, h2, h3 { margin-top: 0; line-height: 1.12; letter-spacing: -.035em; }
h1 { font-size: clamp(2.35rem, 5.8vw, 4.9rem); }
h2 { font-size: clamp(1.85rem, 3.5vw, 3rem); }
h3 { font-size: 1.25rem; }
.lead { font-size: clamp(1.03rem, 1.8vw, 1.22rem); color: #d8dfdc; max-width: 720px; }
.section-intro { max-width: 690px; margin-bottom: 40px; }
.section-intro p { margin: 0; color: var(--muted); font-size: 1.06rem; }
.btn {
  min-height: 50px; display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  padding: 12px 20px; border: 1px solid transparent; border-radius: 10px;
  text-decoration: none; font-weight: 850; line-height: 1.2; transition: transform .18s ease, background .18s ease, border-color .18s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { color: var(--green-950); background: var(--gold-400); box-shadow: 0 12px 28px rgba(200, 146, 54, .2); }
.btn-primary:hover { background: #e1ad55; }
.btn-secondary { color: white; border-color: rgba(255,255,255,.3); background: rgba(255,255,255,.06); }
.btn-secondary:hover { background: rgba(255,255,255,.12); }
.btn-ghost { color: var(--green-800); border-color: #7f8783; background: transparent; }
.btn-ghost:hover { background: white; }
.btn-danger { color: var(--danger); border-color: #e4b7b2; background: #fff7f6; }
.btn-small { min-height: 44px; padding: 9px 13px; font-size: .88rem; }
.text-link { color: var(--green-700); font-weight: 800; text-underline-offset: 4px; }
.microcopy { margin: 10px 0 0; color: inherit; opacity: .76; font-size: .85rem; }
.order-minimum {
  display: inline-flex; align-items: center; gap: 10px; max-width: 100%;
  margin: 18px 0 0; padding: 8px 12px; color: var(--gold-300);
  background: rgba(13,31,26,.72); border: 1px solid var(--gold-400);
  border-radius: 6px; font-size: .9rem; line-height: 1.5;
}
.minimum-icon {
  display: inline-grid; place-items: center; flex: 0 0 16px; width: 16px; height: 16px;
  border: 2px solid currentColor; border-radius: 50%; font-size: .66rem; font-weight: 900; line-height: 1;
}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Landing hero */
.cutting-hero {
  position: relative; overflow: hidden; color: white;
  background: var(--green-950);
}
.hero-background { position: absolute; inset: 0; pointer-events: none; }
.hero-background img { width: 100%; height: 100%; object-fit: cover; object-position: center 30%; }
.cutting-hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: linear-gradient(90deg, rgba(9,28,21,.97) 0%, rgba(9,28,21,.91) 27%, rgba(9,28,21,.72) 44%, rgba(9,28,21,.24) 66%, rgba(9,28,21,.08) 100%);
}
.hero-grid {
  position: relative; z-index: 1; min-height: 680px; padding: 86px 0 80px;
  display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: clamp(46px, 8vw, 100px);
}
.hero-copy h1 { max-width: 780px; margin-bottom: 22px; }
.hero-copy h1 span { color: var(--gold-400); }
.hero-copy .lead strong { color: white; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 30px; }
.hero-copy .order-minimum + .hero-actions { margin-top: 20px; }
.trust-strip { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-top: 30px; color: #dce4e0; font-size: .9rem; }
.trust-strip span { display: inline-flex; align-items: center; gap: 8px; }
.trust-strip span::before { content: "✓"; color: var(--gold-400); font-weight: 900; }
.board-visual { position: relative; min-height: 430px; display: grid; place-items: center; transform: translateY(54px); }
.board-sheet {
  position: relative; width: min(92%, 420px); aspect-ratio: 1.35;
  background: #d2ad78 url("lapszabaszat-faerezet.webp") center / cover no-repeat;
  border: 9px solid #e5c18d; border-radius: 5px;
  box-shadow: 26px 30px 0 rgba(7,18,14,.28), 0 35px 70px rgba(0,0,0,.28);
  transform: rotate(-3deg);
}
.grain-direction { position: absolute; top: 22px; right: 18px; display: inline-flex; align-items: center; gap: 8px; padding: 6px 10px; color: var(--green-950); background: rgba(244,223,183,.84); border: 1px solid rgba(90,55,26,.22); border-radius: 999px; font-size: .68rem; font-weight: 950; letter-spacing: .07em; text-transform: uppercase; }
.grain-direction span { font-size: 1rem; line-height: .7; }
.board-label { position: absolute; left: 20px; bottom: 17px; padding: 7px 10px; color: #f4dfb7; background: var(--green-900); border-radius: 6px; font-size: .75rem; font-weight: 900; letter-spacing: .05em; }
.edge-tag { position: absolute; z-index: 2; min-width: 40px; height: 40px; display: grid; place-items: center; color: var(--green-950); background: var(--gold-400); border: 4px solid var(--green-900); border-radius: 50%; font-weight: 950; box-shadow: 0 8px 20px rgba(0,0,0,.28); }
.edge-a { top: -26px; left: 48%; }
.edge-b { bottom: -26px; left: 48%; }
.edge-c { left: -26px; top: 44%; }
.edge-d { right: -26px; top: 44%; }
.measure { position: absolute; color: #efe6d5; font-size: .76rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.measure-x { left: 18%; right: 12%; bottom: 28px; text-align: center; border-top: 1px solid rgba(255,255,255,.55); padding-top: 7px; }
.measure-y { top: 23%; right: -13px; writing-mode: vertical-rl; border-left: 1px solid rgba(255,255,255,.55); padding-left: 7px; }

/* Landing content */
.choice-section { padding: 88px 0; background: var(--paper); }
.choice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.choice-card {
  min-height: 285px; display: flex; flex-direction: column; padding: 30px;
  color: inherit; background: white; border: 1px solid #e3ded5; border-radius: var(--radius);
  text-decoration: none; box-shadow: var(--shadow-sm); transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}
.choice-card:hover { transform: translateY(-4px); border-color: var(--gold-400); box-shadow: var(--shadow-lg); }
.choice-number { width: 44px; height: 44px; display: grid; place-items: center; margin-bottom: 42px; color: white; background: var(--green-800); border-radius: 12px; font-size: .8rem; font-weight: 900; }
.choice-card h3 { margin-bottom: 11px; }
.choice-card p { margin: 0 0 25px; color: var(--muted); }
.choice-card strong { margin-top: auto; color: var(--green-700); }
.choice-card.featured { color: white; background: var(--green-900); border-color: var(--green-900); }
.choice-card.featured p { color: #c9d4cf; }
.choice-card.featured .choice-number { color: var(--green-950); background: var(--gold-400); }
.choice-card.featured strong { color: var(--gold-300); }
.services-section { padding: 92px 0; background: white; }
.service-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.service-card { padding: 26px 24px; border-top: 3px solid var(--gold-500); background: var(--paper); }
.service-icon { width: 42px; height: 42px; display: grid; place-items: center; margin-bottom: 30px; color: var(--gold-400); background: var(--green-900); border-radius: 50%; font-weight: 900; }
.service-card h3 { margin-bottom: 8px; }
.service-card p { margin: 0; color: var(--muted); font-size: .94rem; }
.process-section { padding: 92px 0; color: white; background: var(--green-950); }
.process-section .section-intro p { color: #bac7c1; }
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; counter-reset: step; }
.process-step { position: relative; padding: 26px 30px 10px 0; border-top: 1px solid rgba(218,166,81,.38); }
.process-step::before { counter-increment: step; content: counter(step, decimal-leading-zero); display: block; margin: -18px 0 25px; width: max-content; padding-right: 12px; color: var(--gold-400); background: var(--green-950); font-weight: 900; }
.process-step p { margin: 0; color: #b9c5c0; font-size: .92rem; }
.price-trust { padding: 92px 0; background: var(--paper-warm); }
.split-panel { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; align-items: start; }
.info-panel { padding: clamp(28px, 5vw, 52px); background: white; border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.price-list { display: grid; gap: 0; margin: 28px 0 0; padding: 0; list-style: none; }
.price-list li { display: flex; gap: 14px; padding: 15px 0; border-bottom: 1px solid #ece7de; }
.price-list li::before { content: "—"; color: var(--gold-500); font-weight: 900; }
.human-note { color: white; background: var(--green-800); }
.human-note p { color: #d5dfda; }
.human-note .quote-mark { color: var(--gold-400); font-size: 4rem; line-height: .7; }
.hours { display: grid; grid-template-columns: auto 1fr; gap: 8px 24px; margin-top: 28px; font-size: .95rem; }
.hours dt { color: var(--gold-300); font-weight: 900; }
.hours dd { margin: 0; color: #dce4e0; }
.faq-section { padding: 92px 0; background: white; }
.faq-list { max-width: 820px; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 22px 40px 22px 0; cursor: pointer; list-style: none; font-weight: 850; position: relative; }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; position: absolute; right: 8px; color: var(--gold-500); font-size: 1.5rem; font-weight: 400; }
.faq-list details[open] summary::after { content: "−"; }
.faq-list details p { margin: -4px 0 24px; color: var(--muted); }
.final-cta { padding: 75px 0; color: white; background: var(--green-800); }
.final-cta .cta-inner { display: flex; justify-content: space-between; align-items: center; gap: 32px; }
.final-cta h2 { max-width: 650px; margin-bottom: 10px; }
.final-cta p { margin: 0; color: #d2ddd8; }

/* Footer */
.site-footer { padding: 64px 0 24px; color: white; background: #0b1b16; }
.footer-grid { display: grid; grid-template-columns: 1.3fr .75fr 1fr; gap: 56px; }
.footer-brand { margin-bottom: 18px; font-weight: 950; font-size: 1.4rem; letter-spacing: .01em; }
.footer-brand span { color: var(--gold-400); }
.footer-about { max-width: 350px; color: #aebcb6; }
.footer-heading { margin-bottom: 18px; color: var(--gold-300); font-size: .78rem; letter-spacing: .13em; text-transform: uppercase; }
.footer-list { display: grid; gap: 10px; margin: 0; padding: 0; list-style: none; color: #d5ddda; }
.footer-list a { text-decoration: none; }
.footer-list a:hover { color: var(--gold-300); }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; margin-top: 48px; padding-top: 22px; border-top: 1px solid rgba(255,255,255,.1); color: #82918b; font-size: .82rem; }

/* Form shell */
.form-hero { padding: 54px 0 34px; color: white; background: var(--green-950); }
.form-hero h1 { max-width: 780px; margin-bottom: 15px; font-size: clamp(2.2rem, 4.8vw, 4rem); }
.form-hero .lead { margin-bottom: 0; }
.form-shell { width: min(1120px, calc(100% - 40px)); margin: 36px auto 80px; display: grid; grid-template-columns: 290px minmax(0, 1fr); gap: 26px; align-items: start; }
body.manual-workspace .form-shell { width: min(1500px, calc(100% - 32px)); grid-template-columns: minmax(0, 1fr); }
body.manual-workspace .form-aside { display: none; }
.form-aside { position: sticky; top: 116px; display: grid; gap: 16px; }
.aside-card { padding: 24px; color: white; background: var(--green-900); border-radius: var(--radius); box-shadow: var(--shadow-sm); }
.aside-card h2 { margin-bottom: 16px; font-size: 1.2rem; }
.aside-card p { margin: 0; color: #c6d1cc; font-size: .9rem; }
.aside-list { display: grid; gap: 12px; margin: 18px 0 0; padding: 0; list-style: none; font-size: .88rem; }
.aside-list li { display: grid; grid-template-columns: 24px 1fr; gap: 8px; color: #dbe3df; }
.aside-list li::before { content: "✓"; color: var(--gold-400); font-weight: 900; }
.aside-phone { display: flex; gap: 11px; align-items: center; padding: 18px 20px; color: var(--green-900); background: white; border-radius: 12px; text-decoration: none; font-weight: 900; box-shadow: var(--shadow-sm); }
.form-card { min-width: 0; background: white; border: 1px solid #e0dbd2; border-radius: var(--radius); box-shadow: var(--shadow-lg); overflow: clip; }
.flow-choice { padding: clamp(28px, 5vw, 50px); }
.flow-choice h2 { margin-bottom: 10px; }
.flow-choice > p { margin-top: 0; color: var(--muted); }
.flow-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 28px; }
.flow-button {
  min-height: 225px; display: flex; flex-direction: column; align-items: flex-start; padding: 24px;
  text-align: left; color: var(--ink); background: #fbfaf8; border: 2px solid #8f9793; border-radius: 14px;
}
.flow-button:hover { border-color: var(--gold-500); background: #fffdf8; }
.flow-button strong { margin: 22px 0 8px; font-size: 1.05rem; }
.flow-button span { color: var(--muted); font-size: .9rem; }
.flow-icon { width: 48px; height: 48px; display: grid; place-items: center; color: white !important; background: var(--green-800); border-radius: 12px; font-size: 1.1rem !important; font-weight: 900; }
.flow-button.help { border-style: dashed; }
.draft-banner { margin: 0 0 20px; padding: 18px 20px; display: none; align-items: center; justify-content: space-between; gap: 14px; background: #fff8e8; border: 1px solid #ead39d; border-radius: 12px; }
.draft-banner.visible { display: flex; }
.draft-banner p { margin: 0; font-size: .9rem; }
.draft-actions { display: flex; gap: 8px; flex-shrink: 0; }
.wizard { display: none; }
.wizard.active { display: block; }
.wizard-head { padding: 22px clamp(22px, 4vw, 42px); background: #fbfaf8; border-bottom: 1px solid #e6e1d8; }
.wizard-meta { display: flex; justify-content: space-between; align-items: center; gap: 16px; }
.step-label { color: var(--green-800); font-size: .85rem; font-weight: 900; }
.save-status { color: var(--muted); font-size: .78rem; }
.progress-track { height: 5px; margin-top: 13px; background: #e7e2d9; border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; width: 20%; background: var(--gold-500); border-radius: inherit; transition: width .25s ease; }
.wizard-body { padding: clamp(26px, 5vw, 48px); }
.step-panel { display: none; }
.step-panel.active { display: block; animation: stepIn .25s ease; }
@keyframes stepIn { from { opacity: .25; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.step-panel > h2 { margin-bottom: 10px; font-size: clamp(1.6rem, 3vw, 2.25rem); }
.step-lead { margin: 0 0 28px; color: var(--muted); }
.flow-panel { display: none; }
.flow-panel.active { display: block; }
.field-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.field-grid.three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.field { min-width: 0; }
.field.full { grid-column: 1 / -1; }
.field label, .fieldset-label { display: block; margin-bottom: 7px; color: #26312c; font-size: .88rem; font-weight: 850; }
.required::after { content: " *"; color: var(--danger); }
.field input:not([type="radio"]):not([type="checkbox"]):not([type="file"]), .field select, .field textarea {
  width: 100%; min-height: 48px; padding: 11px 13px; color: var(--ink); background: white;
  border: 1px solid #7f8783; border-radius: 9px; box-shadow: inset 0 1px 1px rgba(0,0,0,.02);
}
.field textarea { min-height: 115px; resize: vertical; }
.field input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):hover, .field select:hover, .field textarea:hover { border-color: #59635e; }
.field input:not([type="radio"]):not([type="checkbox"]):not([type="file"]):focus, .field select:focus, .field textarea:focus { outline: 3px solid var(--gold-text); outline-offset: 1px; border-color: var(--gold-text); }
.field input:not([type="radio"]):not([type="checkbox"]):not([type="file"])[aria-invalid="true"], .field select[aria-invalid="true"], .field textarea[aria-invalid="true"] { border-color: var(--danger); background: #fffafa; }
.field input[type="checkbox"]:focus-visible { outline-color: var(--gold-text); }
fieldset.field { min-inline-size: 0; margin: 0; padding: 0; border: 0; }
.field-hint { margin: 6px 0 0; color: var(--muted); font-size: .78rem; }
.field-error { min-height: 19px; margin: 5px 0 0; color: var(--danger); font-size: .8rem; font-weight: 750; }
.radio-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.radio-card { position: relative; }
.radio-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-card label { min-height: 72px; display: flex; align-items: center; padding: 13px 14px; background: #fbfaf8; border: 2px solid #7f8783; border-radius: 10px; cursor: pointer; font-size: .86rem; font-weight: 800; }
.radio-card input:checked + label { color: var(--green-900); background: #fff8e8; border-color: var(--gold-text); }
.radio-card input:focus-visible + label { outline: 3px solid var(--gold-text); outline-offset: 2px; }
.checkbox-row { display: flex; align-items: flex-start; gap: 11px; margin: 10px 0; }
.checkbox-row input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--green-700); flex: 0 0 auto; }
.checkbox-row label { font-size: .9rem; }
.drop-zone { padding: 30px 20px; text-align: center; background: #fbfaf8; border: 2px dashed #7f8783; border-radius: 13px; transition: border-color .18s ease, background .18s ease; }
.drop-zone.dragover { background: #f8f0df; border-color: var(--gold-500); }
.drop-zone input { position: absolute; width: 1px; height: 1px; overflow: hidden; opacity: 0; }
.drop-zone input:focus-visible + label { outline: 3px solid var(--gold-text); outline-offset: 3px; }
.drop-zone strong { display: block; margin-bottom: 6px; }
.drop-zone p { margin: 0 0 15px; color: var(--muted); font-size: .85rem; }
.file-list { display: grid; gap: 9px; margin-top: 14px; }
.file-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 12px; align-items: center; padding: 12px 14px; background: #f7f5f1; border-radius: 9px; }
.file-name { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-weight: 800; font-size: .85rem; }
.file-meta { display: block; color: var(--muted); font-size: .72rem; font-weight: 500; }
.file-remove { min-width: 44px; min-height: 44px; color: var(--danger); background: white; border: 1px solid #e3c2be; border-radius: 8px; }
.notice { padding: 15px 17px; color: #5d4b29; background: #fff8e8; border-left: 4px solid var(--gold-500); border-radius: 5px 9px 9px 5px; font-size: .86rem; }
.notice strong { color: #3f321d; }
.error-summary { display: none; margin-bottom: 24px; padding: 16px 18px; color: #72231c; background: #fff2f0; border: 1px solid #e8b7b1; border-radius: 10px; }
.error-summary.visible { display: block; }
.error-summary h3 { margin-bottom: 8px; font-size: 1rem; }
.error-summary ul { margin: 0; padding-left: 20px; font-size: .86rem; }
.error-summary a { color: inherit; font-weight: 750; }
.website-trap { position: absolute !important; left: -10000px !important; width: 1px !important; height: 1px !important; overflow: hidden !important; }

/* Cutting-list workspace */
.project-settings { margin-bottom: 18px; padding: 22px; background: #f8f6f1; border: 1px solid #ded9cf; border-radius: 13px; }
.project-settings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; margin-top: 18px; }
.finished-size-rule { display: flex; align-items: flex-start; gap: 13px; min-height: 100%; padding: 16px 17px; color: var(--green-900); background: #edf4f0; border: 1px solid #b9cec3; border-left: 4px solid var(--green-700); border-radius: 9px; }
.finished-size-rule.full { grid-column: 1 / -1; }
.finished-size-rule strong { display: block; margin: 1px 0 4px; font-size: .9rem; }
.finished-size-rule p { margin: 0; color: #4f5f57; font-size: .82rem; line-height: 1.55; }
.finished-size-icon { width: 29px; height: 29px; flex: 0 0 auto; display: grid; place-items: center; color: white; background: var(--green-800); border-radius: 50%; font-weight: 900; }
.workspace-section-head { display: flex; align-items: flex-start; gap: 12px; }
.workspace-section-head h3 { margin: 1px 0 3px; font-size: 1.05rem; }
.workspace-section-head p { margin: 0; color: var(--muted); font-size: .84rem; }
.workspace-step { width: 30px; height: 30px; flex: 0 0 auto; display: grid; place-items: center; color: white; background: var(--green-800); border-radius: 50%; font-weight: 900; }
.list-heading { margin: 30px 0 14px; }
.radio-cards.compact { gap: 7px; }
.radio-cards.compact .radio-card label { min-height: 62px; padding: 10px; }

.materials-workspace { margin: 0 0 24px; padding: 22px; background: #f8f6f1; border: 1px solid #ded9cf; border-radius: 13px; }
.materials-heading { margin-bottom: 16px; }
.material-list { display: grid; gap: 10px; }
.material-card { background: white; border: 1px solid #d6d2ca; border-radius: 10px; overflow: hidden; }
.material-grid { display: grid; grid-template-columns: minmax(0, 1fr) 112px; gap: 12px; align-items: end; padding: 14px; }
.material-index, .material-profile-name { grid-column: 1 / -1; }
.material-index { display: flex; align-items: center; gap: 8px; color: var(--green-900); }
.material-index span { font-size: .82rem; font-weight: 800; }
.material-index strong { width: 28px; height: 28px; display: grid; place-items: center; color: white; background: var(--green-800); border-radius: 50%; }
.material-grid .field { position: relative; }
.material-profile-thickness input { padding-right: 37px !important; }
.material-actions { display: flex; justify-content: flex-end; }
.material-error { display: none; margin: 0 14px 14px; padding: 10px 12px; color: var(--danger); background: #fff2f0; border-radius: 8px; font-size: .82rem; font-weight: 750; }
.material-card.invalid { border-color: #c34b42; box-shadow: 0 0 0 2px rgba(179,55,45,.1); }
.material-card.invalid .material-error { display: block; }
.add-material { margin-top: 12px; }

.edge-code-guide { margin: 0 0 24px; background: #fffaf0; border: 1px solid #dfc98f; border-radius: 12px; }
.edge-code-guide summary { min-height: 52px; display: flex; align-items: center; padding: 12px 46px 12px 16px; position: relative; color: var(--green-900); cursor: pointer; font-weight: 900; list-style: none; }
.edge-code-guide summary::-webkit-details-marker { display: none; }
.edge-code-guide summary::after { content: "+"; position: absolute; right: 17px; color: var(--gold-text); font-size: 1.35rem; }
.edge-code-guide[open] summary::after { content: "−"; }
.edge-code-guide > p { margin: 0; padding: 0 16px 16px; color: #515c56; font-size: .86rem; }
.edge-code-grid { display: grid; grid-template-columns: repeat(9, minmax(88px, 1fr)); gap: 8px; padding: 0 16px 18px; }
.edge-code-example { min-height: 102px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 5px; padding: 9px 5px; text-align: center; background: white; border: 1px solid #d8d2c7; border-radius: 9px; }
.edge-code-example strong { color: var(--green-900); font-size: .94rem; }
.edge-code-example small { color: var(--muted); font-size: .7rem; line-height: 1.2; }
.part { --active-edge: var(--green-700); position: relative; width: 58px; height: 36px; background: #ddbd8c; border: 1px solid #a9895c; }
.part i { position: absolute; display: block; background: transparent; }
.part .top, .part .bottom { left: -2px; right: -2px; height: 5px; }
.part .top { top: -3px; }
.part .bottom { bottom: -3px; }
.part .left, .part .right { top: -2px; bottom: -2px; width: 5px; }
.part .left { left: -3px; }
.part .right { right: -3px; }
.part.l-1 .top, .part.l-2 .top, .part.l-2 .bottom, .part.s-1 .right, .part.s-2 .left, .part.s-2 .right { background: var(--active-edge); }

.items-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin-bottom: 12px; padding: 16px 18px; color: white; background: var(--green-850); border-radius: 11px; }
.items-toolbar > div { display: grid; gap: 3px; }
.items-toolbar small { color: #cbd6d1; font-size: .74rem; }
.items-summary { color: white; font-size: .92rem; }
.item-table-head { display: none; }
.item-list { display: grid; gap: 14px; }
.item-card { background: white; border: 1px solid #d6d2ca; border-radius: 12px; overflow: hidden; }
.item-main-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 13px; padding: 16px; }
.item-index { grid-column: 1 / -1; display: flex; align-items: center; gap: 8px; color: var(--green-900); }
.item-index span { font-size: .82rem; font-weight: 800; }
.item-index strong { width: 30px; height: 30px; display: grid; place-items: center; color: white; background: var(--green-800); border-radius: 50%; }
.item-name, .item-material, .item-edge-material, .item-edge-code, .item-edge-material-2, .item-edge-code-2, .item-note, .item-actions { grid-column: 1 / -1; }
.item-main-grid .field { position: relative; }
.item-main-grid .field label small { display: block; margin-top: 2px; color: var(--muted); font-size: .72rem; font-weight: 650; }
.item-main-grid .field input, .item-main-grid .field select { min-height: 44px; padding: 9px 10px; }
.item-length input, .item-width input { padding-right: 37px !important; }
.input-unit { position: absolute; right: 10px; bottom: 13px; color: #68736d; font-size: .72rem; font-weight: 800; pointer-events: none; }
.edge-code-control { display: grid; grid-template-columns: minmax(0, 1fr) 54px; gap: 8px; align-items: center; }
.edge-row-preview { width: 47px; height: 29px; margin: 0 auto; }
.item-actions { display: flex; align-items: flex-end; justify-content: flex-end; gap: 7px; }
.icon-button { min-width: 44px; min-height: 44px; padding: 7px 10px; color: var(--green-800); background: white; border: 1px solid #7f8783; border-radius: 8px; font-size: .78rem; font-weight: 850; }
.icon-button.delete { color: var(--danger); }
.icon-button:disabled { color: #8b928e; background: #f1f1ee; border-color: #c8ccc9; cursor: not-allowed; }
.item-error { display: none; margin: 0 16px 16px; padding: 10px 12px; color: var(--danger); background: #fff2f0; border-radius: 8px; font-size: .82rem; font-weight: 750; }
.item-card.invalid { border-color: #c34b42; box-shadow: 0 0 0 2px rgba(179,55,45,.1); }
.item-card.invalid .item-error { display: block; }
.items-footer { display: flex; justify-content: flex-end; margin-top: 12px; }

@media (min-width: 760px) {
  .material-grid { grid-template-columns: 48px minmax(260px, 1fr) 140px 90px; }
  .material-index, .material-profile-name { grid-column: auto; }
  .material-index span { display: none; }
}

@media (min-width: 1280px) {
  body.manual-workspace .wizard-body { padding-inline: 28px; }
  .item-table-head, .item-main-grid { grid-template-columns: 40px minmax(68px, .65fr) minmax(76px, .85fr) minmax(112px, 1.15fr) minmax(112px, 1.15fr) 48px minmax(72px, .7fr) 130px minmax(72px, .7fr) 130px minmax(76px, .8fr) 128px; }
  .item-table-head { display: grid; gap: 8px; align-items: end; padding: 10px 14px; color: #48534e; background: #eeeae3; border: 1px solid #d6d2ca; border-bottom: 0; border-radius: 10px 10px 0 0; font-size: .72rem; font-weight: 900; text-transform: uppercase; letter-spacing: .03em; }
  .item-table-head small { display: block; margin-top: 2px; color: #68736d; font-size: .64rem; letter-spacing: 0; text-transform: none; }
  .item-list { gap: 0; border: 1px solid #d6d2ca; border-radius: 0 0 10px 10px; overflow: hidden; }
  .item-card { border: 0; border-bottom: 1px solid #d6d2ca; border-radius: 0; }
  .item-card:last-child { border-bottom: 0; }
  .item-main-grid { align-items: end; gap: 8px; padding: 12px 14px; }
  .item-main-grid .field label { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
  .item-index { grid-column: auto; align-self: center; justify-content: center; }
  .item-index span { display: none; }
  .item-index strong { width: 28px; height: 28px; }
  .item-name, .item-material, .item-edge-material, .item-edge-code, .item-edge-material-2, .item-edge-code-2, .item-note, .item-actions { grid-column: auto; }
  .item-main-grid .field input, .item-main-grid .field select { min-height: 42px; padding-block: 8px; }
  .item-actions { align-items: center; }
  .icon-button { min-width: 0; padding-inline: 9px; }
  .item-error { margin-inline: 60px; }
}

/* Review and success */
.review-list { display: grid; gap: 14px; }
.review-card { padding: 20px; background: #f8f6f2; border: 1px solid #ded9d0; border-radius: 11px; }
.review-head { display: flex; align-items: center; justify-content: space-between; gap: 14px; margin-bottom: 12px; }
.review-head h3 { margin: 0; font-size: 1rem; }
.review-edit { color: var(--green-700); background: transparent; border: 0; text-decoration: underline; text-underline-offset: 3px; font-size: .82rem; font-weight: 850; }
.review-card dl { display: grid; grid-template-columns: minmax(130px, .36fr) 1fr; gap: 8px 18px; margin: 0; font-size: .86rem; }
.review-card dt { color: var(--muted); }
.review-card dd { margin: 0; font-weight: 700; overflow-wrap: anywhere; white-space: pre-line; }
.field select:disabled, .field input:disabled { color: #606a65; background: #efefec; cursor: not-allowed; opacity: 1; }
.review-items { margin: 0; padding-left: 20px; }
.review-items li + li { margin-top: 7px; }
.legal-note { margin-top: 20px; padding: 16px; color: #415048; background: #edf4f0; border-radius: 9px; font-size: .86rem; }
.submit-feedback { margin-top: 20px; padding: 15px 17px; text-align: left; border-radius: 9px; font-size: .88rem; font-weight: 750; }
.submit-feedback.info { color: #344e42; background: #edf4f0; border: 1px solid #b9cec3; }
.submit-feedback.error { color: #72231c; background: #fff2f0; border: 1px solid #e8b7b1; }
.wizard-actions { position: sticky; bottom: 0; z-index: 8; display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 18px clamp(22px, 4vw, 42px); background: rgba(255,255,255,.97); border-top: 1px solid #e2ddd5; backdrop-filter: blur(10px); }
.wizard-actions .action-right { display: flex; gap: 10px; }
.wizard-actions .btn:disabled { cursor: wait; opacity: .68; }
.success-panel { display: none; padding: clamp(34px, 6vw, 65px); text-align: center; }
.success-panel.active { display: block; }
.success-icon { width: 70px; height: 70px; display: grid; place-items: center; margin: 0 auto 24px; color: white; background: var(--success); border-radius: 50%; font-size: 2rem; font-weight: 900; }
.success-panel h2 { margin-bottom: 12px; }
.success-panel p { max-width: 600px; margin: 0 auto 12px; color: var(--muted); }
.success-review { max-width: 720px; margin: 8px auto 28px; text-align: left; }
.success-review .review-edit { display: none; }
.submission-reference { display: inline-block; margin: 16px 0 26px; padding: 10px 14px; color: var(--green-900); background: #edf4f0; border-radius: 8px; font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-weight: 900; }
.success-actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }

@media (max-width: 980px) {
  .hero-background { top: auto; height: 620px; }
  .hero-background img { object-position: 80% top; }
  .cutting-hero::after { background: linear-gradient(180deg, #0d1f1a 0%, rgba(13,31,26,.98) 39%, rgba(13,31,26,.85) 55%, rgba(13,31,26,.45) 74%, rgba(13,31,26,.32) 100%); }
  .hero-grid { grid-template-columns: 1fr; min-height: auto; padding-top: 68px; }
  .board-visual { min-height: 360px; transform: none; }
  .choice-grid { grid-template-columns: 1fr 1fr; }
  .choice-card:last-child { grid-column: 1 / -1; min-height: 220px; }
  .service-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; gap: 28px 20px; }
  .form-shell { grid-template-columns: 1fr; }
  .form-aside { position: static; grid-template-columns: 1fr auto; }
  .aside-card { min-height: 0; }
  .aside-phone { align-self: start; }
  .flow-grid { grid-template-columns: 1fr; }
  .flow-button { min-height: 150px; }
  .project-settings-grid { grid-template-columns: 1fr; }
  .edge-code-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  :root { --page: min(100% - 28px, 680px); }
  .menu-toggle { display: grid; place-items: center; }
  .main-nav { position: absolute; left: 14px; right: 14px; top: calc(100% + 1px); display: none; padding: 12px; background: var(--green-850); border: 1px solid rgba(218,166,81,.23); border-radius: 0 0 12px 12px; box-shadow: var(--shadow-lg); }
  .main-nav.open { display: grid; }
  .main-nav a { min-height: 45px; display: flex; align-items: center; }
  .split-panel { grid-template-columns: 1fr; }
  .final-cta .cta-inner { align-items: flex-start; flex-direction: column; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
  .field-grid, .field-grid.three { grid-template-columns: 1fr; }
  .field.full { grid-column: auto; }
  .radio-cards { grid-template-columns: 1fr; }
  .edge-editor { grid-template-columns: 1fr; }
}

@media (max-width: 620px) {
  .preview-bar { font-size: .67rem; }
  .header-inner { min-height: 68px; }
  .brand-mark { width: 40px; height: 40px; }
  .brand-service { display: none; }
  .cutting-hero h1 { font-size: clamp(2.25rem, 12vw, 3.3rem); }
  .hero-grid { padding: 54px 0 55px; }
  .hero-actions { display: grid; }
  .hero-actions .btn { width: 100%; }
  .board-visual { min-height: 300px; }
  .board-sheet { width: 86%; }
  .choice-section, .services-section, .process-section, .price-trust, .faq-section { padding: 68px 0; }
  .choice-grid, .service-grid, .process-grid { grid-template-columns: 1fr; }
  .choice-card:last-child { grid-column: auto; }
  .process-grid { gap: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .footer-grid > :first-child { grid-column: auto; }
  .footer-bottom { flex-direction: column; }
  .form-hero { padding: 38px 0 28px; }
  .form-shell { width: min(100% - 20px, 600px); margin-top: 20px; }
  .form-aside { grid-template-columns: 1fr; }
  .aside-card { display: none; }
  .flow-choice, .wizard-body { padding: 25px 18px; }
  .flow-button { min-height: 160px; }
  .draft-banner { align-items: flex-start; flex-direction: column; }
  .wizard-actions { padding: 13px 14px max(13px, env(safe-area-inset-bottom)); }
  .wizard-actions .btn { min-height: 48px; padding-inline: 15px; }
  .wizard-actions > #back-button { flex: 0 0 auto; }
  .wizard-actions .action-right { min-width: 0; flex: 1 1 180px; flex-wrap: wrap; }
  .wizard-actions .action-right .btn { min-width: 0; flex: 1 1 132px; white-space: normal; }
  .project-settings { padding: 17px 14px; }
  .materials-workspace { padding: 17px 14px; }
  .add-material { width: 100%; }
  .radio-cards.compact { grid-template-columns: 1fr; }
  .edge-code-guide > p { font-size: .82rem; }
  .edge-code-grid { gap: 6px; padding-inline: 10px; }
  .edge-code-example { min-height: 94px; padding-inline: 3px; }
  .edge-code-example small { font-size: .66rem; }
  .part { width: 50px; height: 31px; }
  .items-toolbar { align-items: stretch; flex-direction: column; }
  .items-toolbar .btn { width: 100%; }
  .items-footer .btn { width: 100%; }
  .item-main-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .item-index, .item-name, .item-material, .item-edge-material, .item-edge-code, .item-edge-material-2, .item-edge-code-2, .item-note, .item-actions { grid-column: 1 / -1; }
  .item-actions { justify-content: stretch; }
  .item-actions .icon-button { flex: 1 1 0; }
  .review-card dl { grid-template-columns: 1fr; gap: 2px; }
  .review-card dd + dt { margin-top: 8px; }
}

@media (max-width: 360px) {
  .material-grid { grid-template-columns: 1fr; }
  .material-index, .material-profile-name, .material-profile-thickness, .material-actions { grid-column: 1; }
  .material-actions .icon-button { width: 100%; }
}

@media print {
  .preview-bar, .site-header, .form-aside, .wizard-actions, .success-actions, .site-footer { display: none !important; }
  body, .form-page { background: white; }
  .form-shell { width: 100%; display: block; margin: 0; }
  .form-card { box-shadow: none; border: 0; }
  .success-review { max-width: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; transition-duration: .01ms !important; }
}
