/* ENICRA — self-contained styles. Desktop measurements preserve the original site. */
@font-face{font-family:Open Sans;src:url('fonts/open-sans.woff') format('woff');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Open Sans;src:url('fonts/open-sans-semibold.woff') format('woff');font-weight:600;font-style:normal;font-display:swap}
@font-face{font-family:Open Sans Extra Bold;src:url('fonts/open-sans-extrabold.woff') format('woff');font-weight:400;font-style:normal;font-display:swap}
@font-face{font-family:Sansation;src:url('fonts/sansation.ttf') format('truetype');font-weight:400;font-style:normal;font-display:swap}
*{box-sizing:border-box}
html,body{margin:0;padding:0}
body{background:#fff;color:#000;font-family:'Open Sans',Arial,sans-serif;font-size:14px}
img{display:block}
h1,h2,p,ul{margin:0}
.container{width:960px;max-width:calc(100% - 40px);margin-inline:auto}
.site-header{height:101px;background:rgba(219,219,219,.3)}
.brand{height:100%;display:flex;align-items:flex-start;padding-left:21.5px;gap:10.5px}
.brand-logo{margin-top:8px;object-fit:contain;width:70px;height:79px}
.brand-text{padding-top:27px}
.brand-heading{font-size:22px;font-weight:600;line-height:26.4px;color:#0f0f0f}
.brand-subtitle{font-size:15px;line-height:18px;margin-top:3.6px}
.hero{position:relative;min-height:603px;background:linear-gradient(rgba(9,6,1,.15),rgba(9,6,1,.15)),url('images/iroasztal.jpg') center bottom/cover no-repeat;box-shadow:10px 10px 20px #000}
.hero-inner{padding-top:80px;padding-bottom:143px}
.hero h1{width:694px;max-width:100%;font:400 36px/43.2px 'Open Sans Extra Bold',Arial,sans-serif;text-align:center}
.introduction{width:684px;max-width:100%;margin-left:10px;margin-top:55.8px;text-align:center;font:700 18px/1.2 Sansation,Arial,sans-serif}
.introduction p{margin-bottom:21.6px}
.specialties{padding:0;list-style:none}
.services{position:relative;padding-bottom:37.2917px;display:flow-root}
.service-grid{display:grid;grid-template-columns:repeat(3,292px);gap:30px;position:relative;margin-top:-90px;padding-left:10px}
.service-card{min-width:0}
.service-photo{border:4.6667px solid #fff;width:292px;height:193.3333px;position:relative}
.service-photo img{width:100%;height:100%;object-fit:cover}
.service-crop{position:relative;width:100%;height:100%;overflow:hidden}
.service-photo::after{content:'';position:absolute;left:0;top:calc(100% + 3.6667px);width:290px;height:13px;background:url('images/kep-arnyek.png') center top/290px 18px no-repeat;pointer-events:none}
.service-card h2{margin:11.34375px 14.6667px 0;height:45.6667px;display:flex;align-items:center;font-size:19px;line-height:1.2;font-weight:400;border-bottom:1px dotted #666}
.service-card p{margin:23px 14.6667px 0;min-height:44.4px;font-size:14px;line-height:1.2}
.contact{min-height:206px;padding-top:28px;background:rgba(246,217,166,.21);color:#444}
.contact h2{font:700 25px/30px 'Open Sans Extra Bold',Arial,sans-serif;text-align:center;width:434px;max-width:100%;margin-left:260px}
.contact address{margin-top:4px;margin-left:44px;font:400 18px/25.2px Sansation,Arial,sans-serif;padding-bottom:16px}
.references{padding-top:9px}
.reference-row{position:relative;min-height:var(--row-height,110px);display:grid;grid-template-columns:repeat(var(--columns,3),1fr);align-items:start}
.reference{display:flex;justify-content:center;align-items:center;min-width:0;min-height:90px}
.reference img{width:var(--logo-width,200px);height:var(--logo-height,70px);max-width:100%;object-fit:contain}
/* Only existing logos have legacy offsets, keeping their original desktop positions.
   New rows need just name, image, width and height; they use the automatic grid. */
@media(min-width:1000px){
 .service-crop img.original-photo{position:absolute;left:var(--photo-x);top:var(--photo-y);width:var(--photo-width);height:var(--photo-height);object-fit:fill}
 .reference-original{position:absolute;left:var(--x);top:var(--y);width:var(--width);height:var(--height);min-height:0;display:block;overflow:hidden}
 .reference-original img{position:absolute;left:var(--imageX);top:var(--imageY);max-width:none;object-fit:fill}
}
.site-footer{height:80px;padding-top:30px;background:#333;color:#fff;text-align:center;font-size:14px;line-height:16.8px}
.site-footer .container{padding-left:3px}
@media(min-width:1000px) and (max-width:1926px){.hero{background-size:100% 100%,1926px 603px}}
@media(max-width:999.98px){
 .container{width:100%;max-width:calc(100% - 40px)}
 .hero-inner{padding-top:60px;padding-bottom:140px}
 .hero h1,.introduction{margin-left:auto;margin-right:auto}
 .introduction{margin-top:44px}
 .service-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;padding-left:0}
 .service-photo{width:100%;height:auto;aspect-ratio:292/193.3333}
 .service-photo::after{width:100%;background-size:100% 18px}
 .service-card h2,.service-card p{margin-left:6px;margin-right:6px}
 .service-card h2{height:auto;min-height:58px;padding-block:10px}
 .service-card p{margin-top:18px}
 .contact h2{margin-inline:auto}
 .contact address{margin-left:20px;padding-bottom:28px}
 .reference-row{min-height:110px;align-items:center;gap:22px}
 .reference{min-height:100px;padding:8px}
 .reference img{height:auto;max-height:90px;max-width:100%;object-fit:contain}
 .reference-rows{padding-block:10px 20px}
}
@media(max-width:639.98px){
 .container{max-width:calc(100% - 32px)}
 .site-header{height:101px}
 .brand{padding-left:0;gap:11px;align-items:center;justify-content:center}
 .brand-logo{width:54px;height:61px;margin-top:0}
 .brand-text{padding-top:0}
 .brand-heading{font-size:20px;line-height:26px}
 .brand-subtitle{font-size:12px;line-height:17px;margin-top:1px}
 .hero{min-height:0;background-position:center bottom}
 .hero-inner{padding-top:42px;padding-bottom:100px}
 .hero h1{font-size:36px;line-height:43.2px}
 .introduction{margin-top:30px;font-size:18px;line-height:1.3}
 .introduction p{margin-bottom:23.4px}
 .service-grid{grid-template-columns:1fr;gap:34px;max-width:360px;width:calc(100% - 48px);margin-top:-62px}
 .service-photo{width:100%;aspect-ratio:292/193.3333}
 .service-card h2{margin-top:14px;min-height:48px}
 .service-card p{min-height:0;margin-top:18px}
 .services{padding-bottom:36px}
 .contact{padding-top:25px}
 .contact h2{font-size:25px;line-height:30px}
 .contact address{margin:20px 8px 0;line-height:27px;padding-bottom:25px}
 .references{padding-top:12px}
 .reference-rows{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 18px;padding:12px 0 28px}
 .reference-row{display:contents}
 .reference{padding:5px;min-height:85px}
 .reference img{max-height:80px;width:auto;max-width:100%;height:auto}
}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}}

/* Long product names wrap without shrinking the company logo. */
.brand-logo{flex-shrink:0}
.brand-text{min-width:0}
@media(max-width:999.98px){
 .site-header{height:auto;min-height:101px}
 .brand{height:auto;min-height:101px;padding-block:12px;align-items:center}
 .brand-logo{margin-top:0}
 .brand-text{padding-top:0}
}
