/* Via Energia — shared WordPress and preview design system */
:root{--ve-navy:#022e51;--ve-teal:#31525b;--ve-orange:#b74803;--ve-orange-light:#cc6d3d;--ve-sky:#b3dee5;--ve-slate:#a3b4c8;--ve-ink:#173547;--ve-muted:#526773;--ve-paper:#f7f9f9;--ve-line:#d8e2e6;--ve-white:#fff;--ve-max:1200px;--ve-font:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif}
.ve-shell,.ve-shell *,.ve-editor *{box-sizing:border-box}
html{scroll-behavior:smooth;scroll-padding-top:32px}
body.ve-shell{margin:0;background:var(--ve-white);color:var(--ve-ink);font:400 18px/1.7 var(--ve-font);-webkit-font-smoothing:antialiased}
.ve-shell h1,.ve-shell h2,.ve-shell h3,.ve-shell p,.ve-shell ul,.ve-shell ol,.ve-shell figure{margin-top:0}
.ve-shell h1,.ve-shell h2,.ve-shell h3{color:var(--ve-navy);font-family:var(--ve-font);text-wrap:balance;letter-spacing:-.035em}
.ve-shell h1{font-size:clamp(38px,4.4vw,66px);font-weight:650;line-height:1.09;margin-bottom:26px;max-width:20ch}
.ve-shell h2{font-size:clamp(29px,3vw,42px);font-weight:650;line-height:1.2;margin-bottom:24px;max-width:27ch}
.ve-shell h3{font-size:24px;font-weight:620;line-height:1.3;margin-bottom:14px}
.ve-shell p{margin-bottom:18px}
.ve-shell a{color:var(--ve-navy);text-decoration-thickness:1px;text-underline-offset:5px}
.ve-shell a:hover{color:var(--ve-navy)}
.ve-shell :focus-visible{outline:3px solid var(--ve-navy);outline-offset:5px;border-radius:2px}
.ve-shell img{max-width:100%;height:auto;display:block}
:where(.ve-shell .ve-content) .wp-block-group{padding:0}
.ve-shell .ve-content .wp-block-group{margin-block:0}
.ve-shell .ve-content .wp-block-group__inner-container{display:contents}
.ve-shell .ve-content .ve-wrap{max-width:none}
.ve-wrap{width:min(var(--ve-max),calc(100% - 80px));margin:0 auto}
.ve-skip{position:absolute;left:20px;top:-100px;background:white;padding:12px;z-index:100}
.ve-skip:focus{top:8px}
.ve-header{border-bottom:1px solid var(--ve-line);background:var(--ve-white);position:relative;z-index:10}
.ve-header>.ve-wrap{display:flex;align-items:center;justify-content:space-between;gap:32px;min-height:108px}
.ve-brand{display:block;flex:0 0 auto}
.ve-brand img{width:230px;height:66px;object-fit:contain}
.ve-header nav{display:flex;align-items:center;gap:32px;font-size:15px;font-weight:600}
.ve-header nav>a{text-decoration:none}
.ve-header details{position:relative}
.ve-header summary{list-style:none;cursor:pointer;display:flex;gap:10px;align-items:center;color:var(--ve-navy);padding:14px 0}
.ve-header summary::-webkit-details-marker{display:none}
.ve-header summary:after{content:"";display:inline-block;flex:0 0 .4em;width:.4em;height:.4em;border-right:1.5px solid currentColor;border-bottom:1.5px solid currentColor;transform:translateY(-.1em) rotate(45deg)}
.ve-header .ve-menu{position:absolute;right:-40px;top:100%;min-width:340px;padding:14px;background:white;border:1px solid var(--ve-line);box-shadow:0 15px 40px #022e5112;border-radius:3px;display:flex;flex-direction:column;gap:2px}
.ve-menu a{font-size:15px;line-height:1.4;padding:11px 14px;text-decoration:none}
.ve-menu a:hover{background:var(--ve-paper)}
.ve-header nav .ve-button{font-size:15px;padding:13px 20px}
.ve-button,.ve-shell .wp-block-button__link{display:inline-flex;align-items:center;justify-content:center;gap:16px;min-height:50px;padding:14px 24px;border:1px solid transparent;border-radius:3px;color:white;background:var(--ve-orange);font-size:16px;font-weight:650;line-height:1.4;text-decoration:none;box-shadow:none;cursor:pointer}
.ve-button:after{content:"";display:inline-block;flex:0 0 .5em;width:.5em;height:.5em;border-top:1.7px solid currentColor;border-right:1.7px solid currentColor;background:linear-gradient(135deg,transparent 43%,currentColor 44%,currentColor 56%,transparent 57%)}
.ve-shell a.ve-button{color:white}
.ve-shell .ve-button:hover,.ve-shell .wp-block-button__link:hover{background:#913900;color:white}
.ve-button.ve-button-secondary,.ve-shell .ve-secondary .wp-block-button__link{color:var(--ve-navy);background:transparent;border-color:var(--ve-line)}
.ve-button.ve-button-secondary:hover,.ve-shell .ve-secondary .wp-block-button__link:hover{color:var(--ve-navy);background:#edf4f5;border-color:var(--ve-slate)}
.ve-shell .ve-actions,.ve-shell .wp-block-buttons{display:flex;align-items:center;flex-wrap:wrap;gap:14px;margin-top:30px}
.ve-shell .wp-block-button{margin:0}
.ve-eyebrow{display:flex;align-items:center;gap:12px;color:var(--ve-teal);font-size:12px;font-weight:700;text-transform:uppercase;letter-spacing:.17em;margin-bottom:22px!important}
.ve-eyebrow:before{content:"";width:28px;height:2px;background:var(--ve-orange);flex:0 0 auto}
.ve-hero{position:relative;padding:80px 0 84px;background:var(--ve-paper);border-bottom:1px solid var(--ve-line)}
.ve-hero-grid{display:grid;grid-template-columns:1.1fr 1fr;gap:64px;align-items:center}
.ve-hero .ve-lead{font-size:20px;line-height:1.65;color:var(--ve-muted);max-width:57ch;margin-bottom:0}
.ve-hero-copy{max-width:780px}
.ve-hero figure{margin:0;position:relative;padding:18px;background:white;border:1px solid var(--ve-line);border-top:3px solid var(--ve-teal);box-shadow:22px 22px 0 #e6eff1}
.ve-hero figure:before{content:"MÉRNÖKI VIZSGÁLAT / SAJÁT PROJEKT";display:block;font-size:10px;letter-spacing:.13em;color:var(--ve-teal);font-weight:650;margin-bottom:18px}
.ve-hero figure img{width:100%;height:auto;aspect-ratio:1.834;object-fit:contain}
.ve-hero figcaption{font-size:13px;line-height:1.6;margin:16px 0 0;color:var(--ve-muted);border-top:1px solid var(--ve-line);padding-top:14px}
.ve-page-fooldal .ve-hero h1{font-size:clamp(40px,4.5vw,68px);max-width:15ch}
.ve-hero:not(:has(.ve-hero-grid)){padding-bottom:64px}
.ve-hero:not(:has(.ve-hero-grid)) h1{max-width:24ch}
.ve-content>.ve-section,.ve-content>div>.ve-section{padding:72px 0;border-bottom:1px solid var(--ve-line)}
.ve-section:last-child{border-bottom:0}
.ve-section:nth-of-type(even){background:var(--ve-paper)}
.ve-prose{max-width:78ch}
.ve-prose p:last-child{margin-bottom:0}
.ve-section ul,.ve-section ol{padding-left:23px;max-width:78ch;margin-bottom:24px}
.ve-section li{padding-left:6px;margin-bottom:10px}
.ve-section li::marker{color:var(--ve-orange)}
.ve-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:32px}
.ve-shell .ve-content .ve-grid{margin-top:32px}
.ve-services{counter-reset:services}
.ve-service{padding:30px 28px 28px;border:1px solid var(--ve-line);border-radius:3px;background:white;position:relative;min-width:0}
.ve-services .ve-service{counter-increment:services;display:flex;flex-direction:column;align-items:flex-start;min-height:260px;transition:border-color .15s,transform .15s}
.ve-services .ve-service:before{content:"0" counter(services);font-size:12px;letter-spacing:.08em;font-weight:600;color:var(--ve-orange);margin-bottom:24px}
.ve-services .ve-service:hover{border-color:var(--ve-teal);transform:translateY(-2px)}
.ve-service h3{font-size:23px;line-height:1.3;max-width:25ch}
.ve-service p{font-size:16px;line-height:1.65;color:var(--ve-muted);margin-bottom:24px}
.ve-service>a{font-size:14px;font-weight:650;text-decoration:none;margin-top:auto;padding:5px 0}
.ve-service>a:after{content:" →";color:var(--ve-orange);padding-left:5px}
.ve-service .ve-card-link{margin-top:auto!important;margin-bottom:0!important;font-size:14px;font-weight:650}
.ve-card-link a{text-decoration:none}
.ve-card-link span{color:var(--ve-orange);padding-left:5px}
.ve-figures{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));align-items:start;gap:22px;margin-top:32px}
.ve-figures figure{margin-top:0}
.ve-references figcaption{color:var(--ve-muted)}
.ve-step-number{font-size:12px!important;letter-spacing:.08em;color:var(--ve-orange)!important;font-weight:600;margin-bottom:14px!important}
.ve-step{padding:24px 0 10px;border-top:2px solid var(--ve-teal)}
.ve-step h3{font-size:21px;letter-spacing:-.02em}
.ve-step p{font-size:16px;color:var(--ve-muted)}
.ve-section .ve-grid:has(.ve-step){grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:26px}
.ve-section.ve-notice{background:#eef5f6!important;border-left:0}
.ve-notice>.ve-wrap{border-left:3px solid var(--ve-orange);padding-left:28px}
.ve-notice h2{font-size:28px;max-width:35ch}
.ve-notice p,.ve-notice li{font-size:16px}
.ve-sources{display:flex;flex-wrap:wrap;gap:12px 24px;margin-top:24px;padding-top:20px;border-top:1px solid var(--ve-line);font-size:14px}
.ve-section figure{max-width:980px;margin:32px 0 0;padding:24px;background:white;border:1px solid var(--ve-line);border-radius:3px}
.ve-section figure img{width:100%;max-height:610px;object-fit:contain}
.ve-section figcaption{font-size:14px;line-height:1.6;color:var(--ve-muted);margin-top:18px;max-width:75ch}
.ve-section.ve-references{background:var(--ve-navy)!important;color:white}
.ve-references h2,.ve-references h3{color:white}
.ve-references .ve-prose{color:#dfebf0}
.ve-references .ve-service{background:transparent;border-color:#486276}
.ve-references .ve-service p{color:#dfebf0}
.ve-references a{color:#fff}
.ve-prices .ve-grid{grid-template-columns:repeat(auto-fit,minmax(230px,1fr));max-width:920px}
.ve-prices .ve-service{border-top:3px solid var(--ve-orange);background:white}
.ve-prices .ve-service h3{font-size:26px}
.ve-prices .ve-service p{margin-bottom:0}
.ve-related{padding:45px 0;background:var(--ve-paper);border-top:1px solid var(--ve-line)}
.ve-related h2{font-size:21px;margin-bottom:16px}
.ve-related .ve-wrap>div{display:flex;flex-wrap:wrap;gap:14px 26px}
.ve-related a{font-size:16px}
.ve-contact-band{padding:64px 0;background:var(--ve-navy);color:#dfebf0}
.ve-contact-band>.ve-wrap{display:flex;align-items:center;justify-content:space-between;gap:40px}
.ve-contact-band h2{color:white;margin-bottom:14px}
.ve-contact-band p{max-width:60ch;margin-bottom:0}
.ve-contact-band .ve-actions{flex-shrink:0;margin:0;flex-direction:column;align-items:stretch;gap:12px}
.ve-contact-band .ve-button{border-color:#cc9e7b}
.ve-contact-band .ve-email{color:white;text-align:center;font-size:15px;padding:5px}
.ve-footer{padding:54px 0 0;background:#f0f4f5;border-top:1px solid var(--ve-line);font-size:14px;line-height:1.8;color:var(--ve-muted)}
.ve-footer-grid{display:grid;grid-template-columns:1.5fr 1fr 1fr;gap:60px}
.ve-footer h2,.ve-footer h3{font-size:15px;letter-spacing:0;font-weight:650;margin-bottom:14px}
.ve-footer p{margin-bottom:14px}
.ve-footer ul{padding:0;list-style:none;margin:0}
.ve-footer li{margin-bottom:7px}
.ve-footer a{text-decoration:none}
.ve-footer .ve-brand{margin-bottom:20px}
.ve-footer .ve-brand img{width:204px;height:58px}
.ve-footer-base{border-top:1px solid #d3dee3;margin-top:40px;padding:20px 0;display:flex;justify-content:space-between;gap:24px;font-size:12px}
.ve-breadcrumb{font-size:13px;color:var(--ve-muted);margin-bottom:22px}
.ve-breadcrumb a{color:var(--ve-muted)}
.ve-preview-bar{background:#eaf2f4;border-bottom:1px solid var(--ve-line);color:var(--ve-navy);font-size:12px;padding:6px 20px;text-align:center}
.ve-preview-bar a{color:var(--ve-navy)}
.ve-privacy{font-size:14px;color:var(--ve-muted)}
@media(min-width:1500px){.ve-hero{padding:100px 0}}
@media(max-width:1100px){.ve-wrap{width:calc(100% - 56px)}.ve-header nav{gap:20px}.ve-header .ve-brand img{width:200px}.ve-hero-grid{gap:40px;grid-template-columns:1.15fr 1fr}.ve-hero{padding:64px 0}.ve-grid{gap:18px}.ve-service{padding:26px 22px}.ve-footer-grid{gap:36px}}
@media(max-width:850px){.ve-header>.ve-wrap{min-height:94px}.ve-header nav{gap:22px}.ve-header nav>a.ve-nav-about,.ve-header nav>.ve-button{display:none}.ve-hero-grid{grid-template-columns:1fr;gap:42px}.ve-hero-copy{max-width:700px}.ve-hero figure{max-width:650px;box-shadow:12px 12px 0 #e6eff1}.ve-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.ve-page-fooldal .ve-hero h1{max-width:20ch}.ve-contact-band>.ve-wrap{align-items:flex-start;flex-direction:column;gap:25px}.ve-contact-band .ve-actions{flex-direction:row;align-items:center;flex-wrap:wrap}.ve-footer-grid{grid-template-columns:1.2fr 1fr}.ve-footer-grid>div:last-child{grid-column:1/-1}.ve-footer-grid>div:last-child ul{display:flex;flex-wrap:wrap;gap:10px 26px}}
@media(max-width:560px){body.ve-shell{font-size:17px;line-height:1.65}.ve-wrap{width:calc(100% - 36px)}.ve-header>.ve-wrap{min-height:82px;gap:16px}.ve-header .ve-brand img{width:168px;height:50px}.ve-header nav{gap:16px;font-size:13px}.ve-header .ve-menu{right:-70px;min-width:0;width:min(340px,calc(100vw - 36px));padding:10px}.ve-header summary{gap:6px}.ve-hero{padding:44px 0 50px}.ve-shell h1{font-size:38px;letter-spacing:-.04em}.ve-page-fooldal .ve-hero h1{font-size:44px;max-width:14ch}.ve-hero .ve-lead{font-size:18px}.ve-eyebrow{font-size:10px;letter-spacing:.13em;margin-bottom:18px!important}.ve-actions{gap:12px!important}.ve-button,.ve-shell .wp-block-button__link{font-size:15px;padding:13px 19px}.ve-hero figure{padding:12px;box-shadow:8px 8px 0 #e6eff1}.ve-hero figcaption{font-size:12px}.ve-content>.ve-section,.ve-content>div>.ve-section{padding:48px 0}.ve-shell h2{font-size:30px;margin-bottom:20px}.ve-grid{grid-template-columns:1fr;margin-top:26px;gap:16px}.ve-services .ve-service{min-height:0;padding:25px}.ve-services .ve-service:before{margin-bottom:16px}.ve-service h3{font-size:24px}.ve-service p{margin-bottom:18px}.ve-notice>.ve-wrap{padding-left:18px}.ve-notice h2{font-size:25px}.ve-sources{flex-direction:column;gap:12px}.ve-section figure{padding:12px}.ve-section figcaption{font-size:13px}.ve-footer{padding-top:40px}.ve-footer-grid{grid-template-columns:1fr;gap:28px}.ve-footer-grid>div:last-child{grid-column:auto}.ve-footer-grid>div:last-child ul{display:block}.ve-footer-base{margin-top:28px;flex-direction:column;gap:8px}.ve-contact-band{padding:48px 0}.ve-contact-band h2{font-size:32px}.ve-contact-band .ve-actions{flex-direction:column;align-items:flex-start}.ve-contact-band .ve-email{text-align:left}.ve-preview-bar{font-size:10px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}.ve-services .ve-service{transition:none}.ve-services .ve-service:hover{transform:none}}
@media(max-width:560px){.ve-figures{grid-template-columns:1fr}}
@media(max-width:560px){.ve-header>.ve-wrap{gap:12px}.ve-header .ve-brand img{width:clamp(112px,36vw,145px)}.ve-header nav{font-size:12px;gap:12px}.ve-header nav>a{padding:12px 0}.ve-header summary{gap:4px}}
@media print{.ve-header nav,.ve-contact-band,.ve-preview-bar,.ve-actions,.ve-skip{display:none!important}.ve-header>.ve-wrap{min-height:70px}.ve-wrap{width:100%}.ve-content>.ve-section,.ve-hero{padding:25px 0}.ve-shell h1{font-size:32px}.ve-shell h2{font-size:25px}.ve-section{break-inside:avoid}.ve-hero-grid{display:block}.ve-hero figure{max-width:50%;box-shadow:none}.ve-footer{background:white}}
