:root{color-scheme:light;--paper:#fbf6ef;--green:#173f2d;--text:#181816;--line:#d9dbcf}
*{box-sizing:border-box}
body{margin:0;background:var(--paper);color:var(--text);font-family:Inter,system-ui,sans-serif;line-height:1.55}
.wrap{width:min(100% - 3rem,1440px);margin:auto}
a{color:var(--green);text-underline-offset:.22em}
a:focus-visible{outline:3px solid #427753;outline-offset:5px}
.top{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 0}
.brand{display:flex;align-items:center;gap:.6rem;font-size:clamp(1.1rem,2.5vw,2rem);font-weight:850;color:var(--text);text-decoration:none;letter-spacing:-.04em}
.brand-logo{display:block;width:clamp(7rem,13vw,12rem);height:auto;object-fit:contain;flex:none}
nav{display:flex;gap:clamp(.8rem,3vw,2.5rem)}
nav a{font-weight:650;color:var(--text);text-decoration:none}
nav a:hover{text-decoration:underline}
.hero{display:grid;position:relative;isolation:isolate;align-items:center;min-height:350px;padding:2rem 0 2.4rem}
.hero-copy{position:relative;z-index:1;max-width:76%}
.city{position:absolute;right:0;bottom:0;width:39%;height:100%;object-fit:cover;object-position:right bottom;mask-image:linear-gradient(to right,transparent,#000 28%)}
h1,h2,h3,p{margin:0}
h1{font-size:clamp(2rem,3.05vw,3.45rem);line-height:1.1;letter-spacing:-.05em;font-weight:850}
.hero p{font-size:clamp(1.05rem,1.55vw,1.35rem);max-width:37em;margin-top:.85rem;line-height:1.4}
.button{display:inline-block;margin-top:1.7rem;padding:.82rem 1.3rem;border-radius:.6rem;background:var(--green);color:white;font-weight:750;text-decoration:none}
.button:hover{background:#22573e}
.grid{display:grid;grid-template-columns:1.26fr 1fr;grid-template-rows:repeat(2,clamp(155px,18vw,245px));gap:1rem;margin-top:1rem}
.card{position:relative;display:block;overflow:hidden;border-radius:.85rem}
.card img{width:100%;height:100%;object-fit:cover;transition:transform .25s}
.card:hover img{transform:scale(1.035)}
.card strong{position:absolute;bottom:0;left:0;padding:.38rem .9rem;background:var(--paper);border-radius:0 .85rem 0 0;font-size:clamp(1.3rem,2.6vw,2.4rem);letter-spacing:-.045em}
.featured{grid-row:span 2}
.featured strong{background:var(--green);color:white}
.caption{font-size:.9rem;color:#4c514b;margin-top:.65rem}
.projects,.services-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-top:1.5rem}
.projects article,.services article{border-top:1px solid var(--line);padding-top:1rem;scroll-margin-top:1rem}
.projects p,.services p,.contact p{margin:.5rem 0}
.projects a{font-weight:700}
.services,.contact{margin-top:clamp(2.5rem,6vw,5rem)}
.services-grid{grid-template-columns:repeat(2,1fr)}
.contact{background:#eaf0e7;padding:clamp(1.25rem,4vw,3rem);border-radius:1rem}
.footer{margin-top:2rem;padding:1rem 0;border-top:1px solid var(--line);font-weight:650}
@media(max-width:700px){
.wrap{width:calc(100% - 2rem)}
.hero{padding:1.5rem 0 0;min-height:0}
.hero-copy{max-width:100%}
.city{position:static;width:100%;height:155px;margin-top:1rem;mask-image:linear-gradient(to bottom,transparent,#000 30%)}
.grid{grid-template-columns:1fr;grid-template-rows:none;grid-auto-rows:190px}
.featured{grid-row:auto}
.projects,.services-grid{grid-template-columns:1fr;gap:1rem}
}
@media(max-width:370px){.top{align-items:flex-start;flex-direction:column}}
@media(prefers-reduced-motion:reduce){.card img{transition:none}}
.process{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;padding:0;margin:1.4rem 0 0;list-style:none}
.process li{border-top:1px solid var(--line);padding-top:1rem}
.process p{margin:.5rem 0}
@media(max-width:700px){.top{flex-wrap:wrap}.process{grid-template-columns:1fr;gap:1rem}}
.contact{display:grid;grid-template-columns:minmax(0,.75fr) minmax(0,1.25fr);gap:clamp(1.5rem,4vw,4rem);align-items:start}
.contact h2{font-size:clamp(2rem,4vw,3.5rem);line-height:1.08;letter-spacing:-.05em}
.contact > div > p{max-width:29ch;margin-top:1rem}
.project-form{background:#fdfbf6;border:1px solid #d5ddd1;border-radius:1rem;padding:clamp(1rem,3vw,2rem)}
.project-form label{display:block;margin-bottom:1rem;font-weight:650}
.form-row{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem}
.project-form input,.project-form select,.project-form textarea{display:block;width:100%;border:1px solid #aab6a9;border-radius:.5rem;background:#fff;color:var(--text);font:inherit;font-weight:400;padding:.7rem .75rem;margin-top:.35rem}
.project-form textarea{resize:vertical}
.project-form :is(input,select,textarea,button):focus-visible{outline:2px solid #427753;outline-offset:3px}
.project-form .button,.copy-button{cursor:pointer;font:inherit;font-weight:750}
.project-form .button{border:0;margin-top:0}
.copy-button{border:1px solid var(--green);border-radius:.5rem;background:transparent;color:var(--green);padding:.55rem .9rem}
#projekt-piszkozat{border-top:1px solid var(--line);margin-top:1rem;padding-top:1rem}
@media(max-width:760px){.contact,.form-row{grid-template-columns:1fr}.form-row{gap:0}}

.action-row{display:flex;flex-wrap:wrap;align-items:center;gap:.75rem;margin-top:1.3rem}
.action-row .button{margin-top:0}
.button-outline{background:transparent;color:var(--green);box-shadow:inset 0 0 0 1px currentColor}
.button-outline:hover{background:#eaf0e7}
.projects{grid-template-columns:repeat(2,minmax(0,1fr))}
.scan-case{margin-top:clamp(2rem,5vw,4rem);scroll-margin-top:1rem;border-radius:1rem;background:#eeeee3;padding:clamp(1rem,4vw,2.5rem)}
.scan-case > p{max-width:64ch;margin-top:.5rem}
.scan-steps{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;margin:1rem 0}
.scan-screen{min-width:0;border:1px solid #d0c6a8;border-radius:1rem;background:#fcfaf4;overflow:hidden}
.scan-screen h3{padding:.85rem 1rem;background:#25231e;color:#f7e8bd;font-size:1rem}
.scan-screen dl{display:grid;gap:.25rem;padding:1rem;margin:0}
.scan-screen dt{font-size:.875rem;color:#575345}
.scan-screen dd{margin:0 0 .4rem;font-weight:650}
@media(max-width:700px){.projects,.scan-steps{grid-template-columns:1fr}}

/* Project wizard */
.project-form [hidden]{display:none!important}
.wizard-progress{display:flex;gap:.4rem;margin-bottom:.6rem}
.wizard-progress span{height:5px;flex:1;background:#dce3d9;border-radius:9px}
.wizard-progress span.active{background:var(--green)}
#wizard-status{font-size:.85rem;color:#4c514b;margin-bottom:1.3rem}
.wizard-step{border:0;padding:0;margin:0;min-width:0}
.wizard-step legend{font-size:1.3rem;font-weight:750;line-height:1.3;margin-bottom:1rem;padding:0}
.project-form .wizard-option{display:flex;align-items:center;gap:.75rem;padding:.85rem;border:1px solid #c5d0c2;border-radius:.65rem;background:white;cursor:pointer;margin-bottom:.65rem;font-weight:550}
.project-form .wizard-option:has(input:checked){border-color:var(--green);background:#eaf0e7}
.project-form .wizard-option input{width:1.15rem;height:1.15rem;margin:0;flex-shrink:0;accent-color:var(--green)}
.wizard-actions{display:flex;gap:.6rem;flex-wrap:wrap;justify-content:flex-end;margin-top:1.2rem}
.wizard-actions #wizard-back{margin-right:auto}

.seo-faq details{border-bottom:1px solid #d8ded5;padding:16px 0}.seo-faq summary{cursor:pointer;font-weight:600}.seo-faq details p{margin:12px 0 0}.hero-copy .seo-kicker{font-weight:600;font-size:1rem}

/* Wide Cívis wordmark */
.brand{gap:.45rem;white-space:nowrap;letter-spacing:-.035em}
@media(max-width:700px){.brand-logo{width:clamp(7rem,29vw,10rem)}.brand{font-size:1.3rem}.top nav{flex-wrap:wrap;gap:.65rem 1rem}}

/* Brand refinement */
.brand{gap:0;flex-wrap:nowrap;white-space:nowrap;font-weight:600;letter-spacing:-.025em}.brand span{display:block;white-space:nowrap;color:#965b37;margin-left:-.35rem;font-size:clamp(1.1rem,2.2vw,1.85rem)}
@media(max-width:700px){.brand span{font-size:1.25rem;margin-left:-.2rem}}

@supports (background-clip:text){.brand span{background:linear-gradient(180deg,#754025 5%,#ad7048 40%,#965b37 65%,#713e25 100%);background-clip:text;-webkit-background-clip:text;color:transparent}}

/* Logo and wordmark: shared lower edge */
.brand{align-items:flex-end;flex-wrap:nowrap;white-space:nowrap;gap:0}
.brand span{flex:none;line-height:1;margin-bottom:clamp(.55rem,1.1vw,1rem)}

@media(max-width:700px){.brand span{margin-bottom:clamp(.55rem,2.3vw,.85rem)}}

.hero-copy{max-width:62%}
.hero h1{max-width:22ch}
#munkaim{margin-top:clamp(1.5rem,4vw,3rem)}
@media(max-width:700px){.hero-copy{max-width:100%}}
