/*
Theme Name: Villa Porta Modern
Theme URI: https://villa-porta.hu/
Author: Villa Porta
Description: Modern, reszponzív Villa Porta WordPress sablon.
Version: 1.2.3
Text Domain: villa-porta-modern
*/
:root{--green:#07563d;--red:#d71920;--red-dark:#aa1016;--ink:#17251f;--muted:#60736a;--line:#dce5df;--soft:#f4f7f4}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:Arial,"Helvetica Neue",sans-serif}.shell{width:min(1180px,calc(100% - 40px));margin:auto}a{transition:.22s ease}.site-header{background:#fff;position:relative;z-index:10}.header-top{height:116px;display:flex;align-items:center;justify-content:space-between;gap:25px}.brand{display:flex;height:110px;align-items:center}.brand img{display:block;width:350px;height:105px;object-fit:contain;object-position:left center}.header-info{display:flex;align-items:center;gap:28px;color:var(--green);font-size:14px;font-weight:700}.header-info a{color:var(--green);text-decoration:none}.nav-bar{height:62px;background:var(--red)}.nav-row{height:62px;display:flex;align-items:center;justify-content:space-between;gap:24px}.nav-row nav{height:100%;display:flex;align-items:center}.nav-row nav a,.quote-link{height:100%;display:flex;align-items:center;color:#fff!important;text-decoration:none;font-weight:700;font-size:14px;padding:0 17px}.nav-row nav a:hover{background:var(--red-dark)}.quote-link{height:42px;border:2px solid #fff;border-radius:3px;padding:0 18px}.quote-link:hover{background:#fff;color:var(--red)!important}
.hero{background-image:linear-gradient(90deg,rgba(255,255,255,.94) 0%,rgba(255,255,255,.78) 43%,rgba(255,255,255,.18) 72%,rgba(255,255,255,.06) 100%),url('assets/villa-porta-faanyag-hatter.webp');background-size:cover;background-position:center;background-repeat:no-repeat}.hero-grid{min-height:545px;display:flex;align-items:center}.hero-copy{max-width:680px;padding:55px 0}.eyebrow,.kicker{font-size:12px;letter-spacing:.15em;font-weight:800;color:var(--red);margin:0 0 18px}.hero h1{font-size:clamp(44px,5.2vw,68px);line-height:1;letter-spacing:-.045em;margin:0;color:var(--green)}.hero h1 span{color:var(--ink)}.lead{font-size:18px;line-height:1.65;color:#42574e;max-width:610px;margin:27px 0}.hero-actions{display:flex;align-items:center;gap:28px}.btn{display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font-weight:800;padding:16px 23px;border-radius:3px}.btn.red{color:#fff!important;background:var(--red);box-shadow:0 8px 24px #d7192033}.btn.red:hover{background:var(--red-dark)}.text-link{color:var(--green);font-weight:800;text-decoration:none;border-bottom:2px solid var(--green)}.trust{display:flex;align-items:center;gap:11px;margin-top:34px;color:var(--green)}.trust-icon{width:39px;height:39px;border:2px solid var(--green);border-radius:50%;display:grid;place-items:center;font-weight:900}.trust>span:last-child{display:flex;flex-direction:column}.trust b{font-size:13px}.trust small{font-size:12px;color:#5d7167;margin-top:4px}
.benefit-strip{background:var(--green);color:#fff;padding:33px 0}.benefit-grid{display:grid;grid-template-columns:repeat(3,1fr)}.benefit-grid article{display:flex;gap:16px;padding:4px 30px;border-right:1px solid #ffffff35}.benefit-grid article:first-child{padding-left:0}.benefit-grid article:last-child{border:0}.icon{width:46px;height:46px;border-radius:50%;background:#ffffff16;display:grid;place-items:center;flex:0 0 auto;color:#fff}.benefit-grid h3{margin:0 0 7px;font-size:16px;color:#fff}.benefit-grid p{margin:0;color:#d6e5dd;font-size:13px;line-height:1.5}
.products{padding:90px 0 100px}.section-head{display:flex;justify-content:space-between;align-items:end;margin-bottom:42px;gap:50px}.section-head h2,.about h2,.cta h2{font-size:42px;letter-spacing:-.035em;color:var(--green);margin:0}.section-head>p{max-width:490px;line-height:1.7;color:var(--muted);margin:0}.cards{display:grid;gap:22px}.cards.three{grid-template-columns:repeat(3,1fr)}.product-card{position:relative;border:1px solid var(--line);background:#fff;box-shadow:0 12px 35px #1b4b3618}.card-top{height:125px;background:#edf3ef;display:flex;align-items:center;justify-content:space-between;padding:25px 28px;color:var(--green)}.card-top span{font-size:11px;letter-spacing:.14em;font-weight:800}.card-top b{font-size:42px;color:#bdd0c4}.card-body{padding:28px}.card-body h3{font-size:25px;color:var(--green);margin:0 0 12px}.card-body p{color:#697b72;line-height:1.65;min-height:108px}.card-body a{display:inline-flex;align-items:center;justify-content:center;margin-top:8px;padding:11px 20px;color:var(--green)!important;background:transparent;border:2px solid var(--green);border-radius:4px;font-weight:700;text-decoration:none}.card-body a:hover{color:#fff!important;background:var(--green);transform:translateY(-2px);box-shadow:0 7px 16px #07563d35}.featured{border-top:5px solid var(--red)}.badge{position:absolute;right:20px;top:-13px;background:var(--red);color:#fff;font-size:10px;letter-spacing:.12em;font-weight:900;padding:8px 11px}
.about{background:var(--soft);padding:75px 0}.about-grid{display:grid;grid-template-columns:.9fr 1.1fr;gap:75px;align-items:center}.about-grid>p{font-size:17px;line-height:1.8;color:var(--muted);margin:0}.cta{background:var(--red);color:#fff;padding:64px 0}.cta-inner{display:flex;justify-content:space-between;align-items:center;gap:40px}.cta h2{color:#fff}.cta p{margin:12px 0 0;color:#ffe2e3}.kicker.light{color:#fff}.contact-actions{display:flex;flex-direction:column;gap:12px}.btn.white{background:#fff;color:var(--green)!important;min-width:285px}.btn.white:hover{background:#edf4f0}
footer{background:#063b2c;color:#d3e2da;padding:45px 0 25px}.footer-grid{display:grid;grid-template-columns:1.3fr .8fr 1fr;gap:55px}.footer-grid h3{color:#fff;font-size:15px;margin:0 0 17px}.footer-grid p{font-size:13px;line-height:1.65;margin:8px 0}.footer-grid a{display:block;color:#fff;text-decoration:none;font-size:13px;margin:9px 0}.footer-logo-wrap{display:inline-block;background:#fff;border-radius:4px;padding:5px 10px}.footer-logo-wrap img{display:block;width:205px;height:77px;object-fit:contain}.footer-bottom{border-top:1px solid #ffffff25;margin-top:34px;padding-top:22px;display:flex;justify-content:space-between;gap:20px;font-size:12px}.page-hero{background:var(--soft);padding:55px 0}.page-hero h1{font-size:44px;color:var(--green);margin:0}.page-main{padding:65px 0 85px}.content-card{line-height:1.75;color:#354b41}.content-card img{max-width:100%;height:auto}.content-card a{color:var(--red)}
@media(max-width:900px){.header-info{display:none}.header-top{height:100px}.brand,.brand img{height:94px}.brand img{width:300px}.nav-bar{height:auto}.nav-row{height:auto;min-height:58px}.nav-row nav{flex-wrap:wrap}.nav-row nav a{height:58px;padding:0 11px;font-size:13px}.quote-link{display:none}.hero-grid{min-height:510px}.cards.three{grid-template-columns:1fr}.card-body p{min-height:auto}.benefit-grid{grid-template-columns:1fr}.benefit-grid article{border-right:0;border-bottom:1px solid #ffffff30;padding:18px 0}.section-head,.cta-inner{align-items:flex-start;flex-direction:column}.about-grid{grid-template-columns:1fr;gap:25px}.footer-grid{grid-template-columns:1fr 1fr}.footer-about{grid-column:1/-1}}
@media(max-width:600px){.shell{width:min(100% - 30px,1180px)}.header-top{height:96px;justify-content:center}.brand,.brand img{height:90px}.brand img{width:285px;object-position:center}.nav-bar{display:none}.hero{background-image:linear-gradient(rgba(255,255,255,.79),rgba(255,255,255,.47)),url('assets/villa-porta-faanyag-hatter.webp');background-position:58% center}.hero-grid{min-height:610px;align-items:flex-start}.hero-copy{padding:55px 0}.hero h1{font-size:43px}.lead{font-size:16px}.hero-actions{align-items:flex-start;flex-direction:column;gap:20px}.products{padding:70px 0}.section-head h2,.about h2,.cta h2{font-size:34px}.footer-grid{grid-template-columns:1fr;gap:28px}.footer-about{grid-column:auto}.footer-bottom{align-items:center}.footer-bottom span,.footer-bottom small{font-size:11px}.contact-actions,.btn.white{width:100%;min-width:0}.page-hero h1{font-size:36px}}

/* Széchenyi Terv Plusz és kompaktabb főcím */
.hero h1{font-size:clamp(44px,4.5vw,58px);line-height:1.04}.funding-logo{position:absolute!important;display:block!important;visibility:visible!important;opacity:1!important;z-index:20;top:24px;right:max(24px,calc((100vw - 1180px)/2));width:330px;padding:8px 12px;background:#fff;border-radius:4px;box-shadow:0 8px 24px rgba(7,86,61,.18)}.funding-logo img{display:block!important;visibility:visible!important;width:100%;height:auto}
@media(max-width:900px){.funding-logo{width:240px;top:18px;right:20px}}
@media(max-width:600px){.hero h1{font-size:40px}.funding-logo{width:165px;top:12px;right:12px;padding:5px 7px}.hero-copy{padding-top:82px}}

/* Támogatási logó a fehér fejlécben */
.header-top .funding-logo{position:static!important;display:block!important;flex:0 0 280px;width:280px!important;padding:5px 8px!important;background:#fff;box-shadow:none!important;border-radius:0}.header-top .funding-logo img{display:block!important;width:100%!important;height:auto!important}.header-top .header-info{margin-left:auto}
@media(max-width:900px){.header-top .funding-logo{flex-basis:225px;width:225px!important}.header-top .brand img{width:270px}.header-top .header-info{display:none}}
@media(max-width:600px){.header-top{height:100px;justify-content:space-between;gap:8px}.header-top .brand{height:94px;flex:1 1 175px}.header-top .brand img{width:175px;height:82px;object-position:left center}.header-top .funding-logo{position:static!important;flex:0 0 155px;width:155px!important;padding:3px!important}.hero-copy{padding-top:55px}}

/* 1.0.4 – kisebb főlogó, nagy támogatási tábla a menü alatt */
.header-top{height:100px}.brand{height:96px}.brand img{width:280px;height:92px}.hero{position:relative!important}.hero-funding{position:absolute;z-index:6;top:28px;right:max(28px,calc((100vw - 1180px)/2));display:block;width:440px;padding:10px 14px;background:rgba(255,255,255,.94);border-radius:4px;box-shadow:0 10px 28px rgba(7,86,61,.18)}.hero-funding img{display:block;width:100%;height:auto}
@media(max-width:900px){.header-top{height:94px}.brand,.brand img{height:88px}.brand img{width:245px}.hero-funding{width:315px;top:20px;right:20px}}
@media(max-width:600px){.header-top{height:88px;justify-content:center}.header-top .brand{height:84px;flex:0 1 auto}.header-top .brand img{width:225px;height:80px;object-position:center}.hero-funding{width:190px;top:14px;right:14px;padding:5px 7px}.hero-copy{padding-top:100px}}

/* 1.0.5 – kisebb Villa Porta logó, középre igazított támogatási tábla */
.header-top{height:88px}.header-top .brand{height:84px}.header-top .brand img{width:220px;height:80px}.hero-funding{width:440px;right:max(12px,calc((100vw - 1180px)/2 - 148px))}
@media(max-width:900px){.header-top{height:84px}.header-top .brand,.header-top .brand img{height:78px}.header-top .brand img{width:205px}.hero-funding{width:315px;right:12px}}
@media(max-width:600px){.header-top{height:80px}.header-top .brand{height:76px}.header-top .brand img{width:185px;height:72px}.hero-funding{width:190px;right:14px}}

/* 1.0.6 – kompakt Villa Porta logó és fejléc */
.header-top{height:72px}.header-top .brand{height:68px}.header-top .brand img{width:165px;height:64px}.hero-funding{right:max(12px,calc((100vw - 1180px)/2 - 148px))}
@media(max-width:900px){.header-top{height:70px}.header-top .brand,.header-top .brand img{height:64px}.header-top .brand img{width:160px}}
@media(max-width:600px){.header-top{height:68px}.header-top .brand{height:64px}.header-top .brand img{width:150px;height:60px}}

/* 1.0.7 – kompakt kezdőképernyő mobilon */
@media(max-width:600px){
  .hero-grid{min-height:auto!important}
  .hero-copy{padding:86px 0 28px!important}
  .hero-funding{width:170px;top:10px;right:10px;padding:4px 6px}
  .eyebrow{font-size:10px;margin-bottom:12px}
  .hero h1{font-size:34px;line-height:1.01}
  .lead{font-size:14px;line-height:1.48;margin:17px 0}
  .hero-actions{flex-direction:row;align-items:center;gap:15px}
  .hero-actions .btn{padding:13px 16px;font-size:14px}
  .hero-actions .text-link{font-size:13px;white-space:nowrap}
  .trust{margin-top:22px}
  .trust-icon{width:34px;height:34px}
  .trust b{font-size:12px}
  .trust small{font-size:10px}
  .benefit-strip{padding:8px 0!important}
  .benefit-grid article{padding:12px 0}
  .benefit-grid h3{margin-bottom:3px}
}

/* 1.0.8 – jelentéshez illő előnyikonok */
.benefit-grid .icon svg{width:24px;height:24px;fill:none;stroke:#fff;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

/* 1.1.0 – termékfotók a kártyákon */
.product-card .card-top{position:relative;height:205px;overflow:hidden;background:#dfe9e3}.product-card .card-top:after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(7,45,33,.06),rgba(7,45,33,.62))}.product-card .card-top img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;transition:transform .45s ease}.product-card:hover .card-top img{transform:scale(1.045)}.product-card .card-top span,.product-card .card-top b{position:relative;z-index:2;color:#fff;text-shadow:0 2px 8px rgba(0,0,0,.6);align-self:flex-end}.product-card .card-top b{opacity:.85}
@media(max-width:600px){.product-card .card-top{height:185px}}

/* 1.1.3 – a Népszerű címke teljesen látható */
.product-card.featured .badge{top:14px;right:14px;z-index:8;padding:8px 12px;color:#fff!important;background:var(--red);line-height:1;box-shadow:0 4px 12px rgba(0,0,0,.2)}

/* 1.1.4 – Facebook ikon a fejlécben */
.header-info .facebook-link{width:34px;height:34px;display:grid;place-items:center;border-radius:50%;background:#1877f2;color:#fff!important;box-shadow:0 4px 12px rgba(24,119,242,.2)}.header-info .facebook-link:hover{background:#0f5fc4;transform:translateY(-1px)}.header-info .facebook-link svg{width:19px;height:19px;fill:currentColor}

/* 1.1.5 – nagyobb, olvasható támogatási tábla */
.hero-funding{width:600px;right:max(20px,calc((100vw - 1180px)/2 - 228px));padding:12px 16px}
@media(max-width:900px){.hero-funding{width:420px;right:14px}}
@media(max-width:600px){.hero-funding{width:calc(100% - 36px);max-width:340px;top:10px;right:50%;transform:translateX(50%);padding:7px 9px}.hero-copy{padding-top:125px!important}}

/* 1.1.6 – kisebb lábléc-logó, nagyobb láblécszöveg */
.footer-logo-wrap img{width:155px;height:58px}.footer-grid h3{font-size:17px}.footer-grid p,.footer-grid a{font-size:15px;line-height:1.65}.footer-bottom{font-size:13px}.footer-bottom span,.footer-bottom small{font-size:13px}
@media(max-width:600px){.footer-logo-wrap img{width:140px;height:52px}.footer-grid h3{font-size:16px}.footer-grid p,.footer-grid a{font-size:14px}.footer-bottom span,.footer-bottom small{font-size:11px}}

/* 1.1.7 – Weinig Hydro gyalugép a Rólunk sávban */
.about-grid{grid-template-columns:.78fr 1fr 320px;gap:48px}.machine-photo{margin:0;background:#fff;padding:8px;border-radius:5px;box-shadow:0 12px 30px rgba(7,86,61,.16)}.machine-photo img{display:block;width:100%;height:205px;object-fit:cover;border-radius:3px}.machine-photo figcaption{padding:8px 3px 2px;color:var(--green);font-size:12px;font-weight:700}
@media(max-width:900px){.about-grid{grid-template-columns:1fr 1fr}.machine-photo{grid-column:1/-1;max-width:430px}}
@media(max-width:600px){.about-grid{grid-template-columns:1fr}.machine-photo{grid-column:auto;max-width:100%}.machine-photo img{height:auto}}

/* 1.1.8 – a Rólunk szövegei egymás alatt, nagyobb gépfotóval */
.about-grid{grid-template-columns:minmax(0,1fr) 520px;grid-template-rows:auto auto;column-gap:70px;row-gap:18px;align-items:start}
.about-grid>div{grid-column:1;grid-row:1}
.about-grid>p{grid-column:1;grid-row:2;max-width:600px;margin:0}
.about-grid>.machine-photo{grid-column:2;grid-row:1 / 3;width:100%;max-width:520px}
.about-grid>.machine-photo img{height:320px;object-fit:cover}
@media(max-width:900px){
  .about-grid{grid-template-columns:1fr;grid-template-rows:auto;gap:18px}
  .about-grid>div,.about-grid>p,.about-grid>.machine-photo{grid-column:1;grid-row:auto}
  .about-grid>.machine-photo{max-width:560px;margin-top:10px}
}
@media(max-width:600px){.about-grid>.machine-photo img{height:auto}}

/* 1.2.0 – lenyitható mobil hamburger menü */
.menu-toggle{display:none}
@media(max-width:600px){
  .nav-bar{display:block;height:auto}
  .nav-row{display:block;min-height:58px;height:auto;padding-top:4px;padding-bottom:4px}
  .menu-toggle{display:flex;width:50px;height:50px;margin-left:auto;padding:11px;background:var(--red-dark);border:0;border-radius:3px;flex-direction:column;justify-content:center;gap:6px;cursor:pointer}
  .menu-toggle span{display:block;width:100%;height:3px;background:#fff;border-radius:2px}
  .nav-row nav{display:none;height:auto;flex-direction:column;align-items:stretch;padding:5px 0 8px}
  .nav-row nav.is-open{display:flex}
  .nav-row nav a{width:100%;height:48px;padding:0 16px;justify-content:center;border-top:1px solid rgba(255,255,255,.18)}
  .nav-row nav a:hover,.nav-row nav a:focus{background:var(--red-dark)}
}

/* 1.2.1 – nagyobb alsó footer feliratok mobilon */
@media(max-width:600px){
  .footer-bottom{align-items:center;gap:14px}
  .footer-bottom span,.footer-bottom small{font-size:14px;line-height:1.4;color:#fff}
}

/* 1.2.2 – egységes footer tipográfia mobilon */
@media(max-width:600px){
  .footer-about>p,.footer-bottom>span{
    font-family:Arial,"Helvetica Neue",sans-serif;
    font-size:15px;
    font-weight:400;
    line-height:1.5;
    color:#fff;
  }
}

/* 1.2.3 – egységes kapcsolati adatok mobilon */
@media(max-width:600px){
  .footer-grid>div:last-child>p,
  .footer-grid>div:last-child>a{
    font-family:Arial,"Helvetica Neue",sans-serif;
    font-size:15px;
    font-weight:400;
    line-height:1.5;
    color:#fff;
  }
}
