
/*
Theme Name: Petre Tehno Expert
Theme URI: https://petretehnoexpert.ro
Author: PETRE TEHNO EXPERT SRL
Description: Tema WordPress editabilă pentru service electrocasnice, montaj și climatizare în Lugoj.
Version: 1.0.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: petre-tehno-expert
*/

:root{--navy:#081d38;--blue:#086edb;--light:#edf6ff;--ink:#12243b;--muted:#5c6d81;--line:#dce7f3}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font:16px/1.65 system-ui,-apple-system,'Segoe UI',Arial,sans-serif;color:var(--ink);background:#fff}
a{text-decoration:none;color:inherit}
img{max-width:100%;height:auto}
.wrap{max-width:1200px;margin:auto;padding:0 24px}
.topbar{background:var(--navy);color:#e9f4ff;font-size:13px;padding:7px 0}
.topbar .wrap,.navrow,.section-head,.footgrid{display:flex;align-items:center;justify-content:space-between;gap:20px}
.header{background:#fff;box-shadow:0 2px 18px #0a27400c;position:sticky;top:0;z-index:30}
.navrow{min-height:86px}
.brand{display:flex;align-items:center;gap:12px}
.brand img{width:64px;height:64px;object-fit:contain}
.brand span{font-size:18px;font-weight:900;line-height:1.1;color:var(--navy)}
.brand small{display:block;color:var(--blue);font-size:11px;letter-spacing:2px}
nav ul{display:flex;list-style:none;gap:16px;padding:0;margin:0;flex-wrap:wrap}
nav a{font-size:14px;font-weight:700}
nav a:hover{color:var(--blue)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:13px 22px;border-radius:11px;background:var(--blue);color:white;font-weight:750;transition:.2s}
.btn:hover{background:#0456b1;color:white;transform:translateY(-1px)}
.btn.secondary{background:white;color:var(--navy);border:1px solid var(--line)}
.btn.dark{background:var(--navy)}
.hero{background:linear-gradient(110deg,#061a33,#103d70);color:white;overflow:hidden}
.hero-grid{display:grid;grid-template-columns:1.05fr .95fr;min-height:540px;align-items:center}
.hero-copy{padding:70px 20px 75px 0}
.eyebrow{text-transform:uppercase;letter-spacing:2px;color:#72baff;font-weight:800;font-size:13px}
.hero h1{font-size:clamp(35px,4.2vw,61px);line-height:1.12;margin:18px 0 20px;letter-spacing:-1.7px}
.hero p{font-size:19px;color:#d6e9ff;max-width:620px}
.actions{display:flex;flex-wrap:wrap;gap:12px;margin-top:27px}
.hero-image{height:100%;min-height:480px;position:relative}
.hero-image img{width:100%;height:100%;object-fit:cover;object-position:center 32%;display:block;mask-image:linear-gradient(to right,transparent,#000 20%)}
.trust{background:var(--light);border-bottom:1px solid var(--line)}
.trust .wrap{display:flex;justify-content:space-between;gap:18px;flex-wrap:wrap;padding-top:19px;padding-bottom:19px;font-size:14px;font-weight:750;color:#16416e}
section{padding:75px 0}
.section-head{align-items:end;margin-bottom:26px}
.section-head h2,h2{font-size:clamp(27px,3vw,39px);line-height:1.2;margin:8px 0 12px;color:var(--navy)}
.lead{color:var(--muted);max-width:750px}
.cards{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}
.card{border:1px solid var(--line);border-radius:18px;overflow:hidden;background:#fff;box-shadow:0 10px 32px #0b31520a;display:flex;flex-direction:column}
.card-visual{height:190px;background:linear-gradient(135deg,#e7f3ff,#c5e3fc);display:flex;align-items:center;justify-content:center;font-size:65px}
.card-visual img{width:100%;height:100%;object-fit:cover}
.card-body{padding:22px;flex:1;display:flex;flex-direction:column}
.card h3{font-size:20px;margin:0 0 7px;color:var(--navy)}
.card p{font-size:14px;color:var(--muted);margin:0 0 16px;flex:1}
.card a.more{color:var(--blue);font-weight:800}
.pale{background:#f5f9fd}
.split{display:grid;grid-template-columns:1fr 1fr;gap:55px;align-items:center}
.split img{border-radius:20px;width:100%;max-height:460px;object-fit:cover}
.bullets{padding-left:20px}
.bullets li{margin:9px 0}
.cta{background:linear-gradient(115deg,#092c55,#086edb);color:white;border-radius:24px;padding:42px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.cta h2{color:white;margin:0}
.cta p{margin:8px 0 0;color:#e1f1ff}
.content-area{max-width:850px;margin:auto}
.page-hero{padding:58px 0;background:linear-gradient(125deg,#08294f,#0b6bd0);color:#fff}
.page-hero h1{font-size:clamp(32px,4vw,48px);line-height:1.2;margin:0}
.page-hero p{color:#d8eaff}
.article{padding:54px 0}
.article h2{font-size:27px;margin-top:34px}
.article p,.article li{font-size:17px}
.article .wp-block-table table,.price-table{border-collapse:collapse;width:100%;margin:20px 0}
.article td,.article th,.price-table td,.price-table th{border:1px solid var(--line);padding:13px;text-align:left}
.article th{background:var(--light)}
.note{background:var(--light);border-left:4px solid var(--blue);padding:18px;border-radius:8px;margin:24px 0}
.footer{background:#061a33;color:#d9e7f7;padding:50px 0 22px}
.footgrid{align-items:start}
.footer h3{color:white;margin-top:0}
.footer a:hover{color:#81c3ff}
.copyright{border-top:1px solid #34506d;margin-top:30px;padding-top:16px;font-size:13px;color:#9fb4c9}
.floatcall{position:fixed;bottom:22px;right:22px;z-index:35;background:#0877e8;color:white;border-radius:40px;padding:13px 20px;box-shadow:0 7px 25px #082a4d55;font-weight:800}
.screen-reader-text{position:absolute;left:-9999px}
.site-content{min-height:40vh}

@media(max-width:950px){
    .navrow{flex-wrap:wrap;padding-top:10px;padding-bottom:14px}
    nav{width:100%}
    nav ul{gap:12px}
    .hero-grid{grid-template-columns:1fr}
    .hero-copy{padding:50px 0 30px}
    .hero-image{height:350px;min-height:0}
    .hero-image img{mask-image:none;object-position:center 24%}
    .cards{grid-template-columns:repeat(2,1fr)}
    .split{grid-template-columns:1fr}
    .cta{flex-direction:column;align-items:start}
}

@media(max-width:580px){
    .topbar{font-size:11px}
    .topbar .wrap{display:block}
    .wrap{padding-left:18px;padding-right:18px}
    .brand img{width:48px;height:48px}
    .brand span{font-size:15px}
    nav ul{gap:9px 14px}
    nav a{font-size:12px}
    .navrow>.btn{display:none}
    .hero h1{font-size:36px}
    .hero p{font-size:16px}
    .hero-image{height:280px}
    .cards{grid-template-columns:1fr}
    section{padding:48px 0}
    .cta{padding:28px}
    .floatcall{bottom:12px;right:12px;padding:11px 15px}
}

@media (max-width: 768px) {
    .hero-image {
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .hero-image img {
        width: 100% !important;
        height: auto !important;
        max-height: none !important;
        object-fit: contain !important;
        object-position: center !important;
        mask-image: none !important;
        -webkit-mask-image: none !important;
        display: block !important;
    }
}

@media (max-width: 768px) {
    .hero-image {
        height: 500px !important;
        min-height: 0 !important;
    }

    .hero-image img {
        height: 100% !important;
        object-fit: cover !important;
        object-position: center top !important;
    }
}
