/*
Theme Name: Bressi Installazioni
Theme URI: https://bressinstallazioni.it
Author: Bressi Installazioni
Description: Tema leggero one-page per Bressi Installazioni.
Version: 1.1.0
Text Domain: bressi-installazioni
*/

:root{
  --bg:#f7f8fb;
  --card:#ffffff;
  --ink:#182234;
  --muted:#64748b;
  --gold:#e4a317;
  --gold-2:#f2c24f;
  --green:#18a24b;
  --line:#dfe5ee;
  --soft:#eef3f9;
  --shadow:0 18px 40px rgba(24,34,52,.10);
  --radius:26px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,Arial,Helvetica,sans-serif;background:var(--bg);color:var(--ink);line-height:1.55}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}
.container{width:min(1180px,calc(100% - 32px));margin:0 auto}

.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.92);backdrop-filter:saturate(180%) blur(10px);border-bottom:1px solid rgba(223,229,238,.9)}
.nav-wrap{display:flex;align-items:center;gap:20px;min-height:88px}
.brand img{width:300px;max-height:88px;object-fit:contain}
.site-nav{display:flex;align-items:center;gap:24px;margin-left:auto;font-weight:700}
.site-nav a{color:var(--ink)}
.site-nav a:hover{color:var(--gold)}
.nav-actions{display:flex;gap:10px;flex-wrap:wrap}

.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;padding:14px 22px;border-radius:16px;font-weight:800;transition:.2s ease;box-shadow:none;cursor:pointer}
.btn:hover{transform:translateY(-1px)}
.btn-call{background:linear-gradient(135deg,var(--gold-2),var(--gold));color:#171717}
.btn-wa{background:var(--green);color:#fff}

.hero{background:linear-gradient(115deg,#ffffff 0%,#ffffff 44%,#f1f5fa 44%,#ebf1f8 100%);overflow:hidden}
.hero-grid{min-height:640px;display:grid;grid-template-columns:1.02fr .98fr;align-items:center;gap:44px;padding:74px 0}
.eyebrow{font-size:13px;letter-spacing:.25em;text-transform:uppercase;color:var(--muted);font-weight:800;margin-bottom:16px}
h1{font-size:clamp(48px,6vw,78px);line-height:.98;letter-spacing:-.045em;margin:0 0 22px;max-width:720px}
h1 span{color:var(--gold)}
.hero-copy p{font-size:22px;color:#445063;max-width:670px;margin:0 0 28px}
.hero-ctas{display:flex;gap:12px;flex-wrap:wrap;margin-bottom:24px}
.trust-row{display:flex;gap:24px;flex-wrap:wrap;color:#445063;font-weight:600}
.trust-dot{display:inline-grid;place-items:center;width:22px;height:22px;border-radius:50%;background:#fff2cf;color:#9a6a00;font-style:normal;margin-right:8px}
.hero-photo-card,.about-photo-card{position:relative;background:#fff;border-radius:34px;overflow:hidden;box-shadow:var(--shadow);border:1px solid var(--line)}
.hero-photo-card img{width:100%;height:100%;object-fit:cover;min-height:460px}
.scribble{position:absolute;right:22px;top:24px;max-width:230px;font-size:28px;line-height:1.15;font-family:"Comic Sans MS","Segoe Print","Bradley Hand",cursive;color:#1f2430;text-align:right}
.scribble::after{content:"";display:block;width:110px;height:4px;border-radius:4px;background:var(--gold);margin-left:auto;margin-top:10px}
.scribble-dark{top:auto;bottom:28px;right:28px}

.section{padding:86px 0}
.section-soft{background:linear-gradient(180deg,#f7f8fb 0%,#eef3f9 100%)}
.section-head{display:flex;justify-content:space-between;align-items:end;gap:20px;margin-bottom:30px}
.section-head h2,.about-panel h2{font-size:50px;line-height:1.02;letter-spacing:-.04em;margin:0}
.section-head h2 span,.about-panel h2 span{color:var(--gold)}
.section-head p{margin:8px 0 0;color:var(--muted);font-size:18px}

.services{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}
.service-card{background:#fff;border:1px solid var(--line);border-radius:24px;padding:26px;box-shadow:0 9px 24px rgba(23,32,51,.055);transition:.2s ease}
.service-card:hover{transform:translateY(-4px);box-shadow:var(--shadow)}
.icon-box{width:52px;height:52px;border-radius:15px;background:#fff5d8;display:grid;place-items:center;font-size:25px;margin-bottom:20px}
.service-card h3{font-size:21px;line-height:1.18;margin:0 0 10px}
.service-card p{color:var(--muted);margin:0}

.about{display:grid;grid-template-columns:.95fr 1.05fr;gap:40px;align-items:center}
.about-panel{border-radius:28px;padding:42px;background:linear-gradient(145deg,#eef4fb,#fff);border:1px solid var(--line);box-shadow:0 9px 24px rgba(23,32,51,.05)}
.about-panel p{font-size:18px;color:var(--muted);margin:0}
.facts{display:grid;grid-template-columns:repeat(3,1fr);gap:14px;margin-top:26px}
.fact{background:#fff;border:1px solid var(--line);border-radius:20px;padding:18px}
.fact strong{display:block;font-size:20px;margin-bottom:6px}
.fact span{font-size:14px;color:var(--muted)}
.about-photo-card img{width:100%;height:auto;min-height:0;object-fit:contain;background:#fff}

.contact-strip{margin:0 auto 80px;width:min(1180px,calc(100% - 32px));background:#fff8e8;border:1px solid #f1e4bf;border-radius:28px;padding:28px 30px;display:flex;gap:20px;align-items:center;justify-content:space-between;box-shadow:0 12px 28px rgba(23,32,51,.06)}
.contact-strip h3{font-size:30px;margin:0 0 6px}
.contact-strip p{margin:0;color:var(--muted)}
.contact-actions{display:flex;gap:10px;flex-wrap:wrap;justify-content:flex-end}

.site-footer{background:#111827;color:#fff;padding:36px 0}
.footer-wrap{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap}
.footer-brand img{width:260px;filter:brightness(1.05)}
.footer-brand p{margin:10px 0 0;color:#cbd5e1}
.footer-meta{display:flex;gap:16px;flex-wrap:wrap;color:#cbd5e1;font-size:14px}

@media (max-width: 1050px){
  .hero-grid,.about{grid-template-columns:1fr}
  .services{grid-template-columns:repeat(2,1fr)}
  .scribble{font-size:22px;max-width:200px}
}
@media (max-width: 760px){
  .nav-wrap{padding:14px 0;align-items:flex-start}
  .site-nav,.nav-actions{display:none}
  .services,.facts{grid-template-columns:1fr}
  .hero-grid{min-height:auto;padding:44px 0 52px}
  h1{font-size:44px}
  .hero-copy p{font-size:18px}
  .hero-photo-card img,.about-photo-card img{min-height:280px}
  .section{padding:64px 0}
  .section-head h2,.about-panel h2{font-size:38px}
  .contact-strip{padding:24px;flex-direction:column;align-items:flex-start}
}

/* Footer contatti cliccabili */
.footer-brand img{width:180px;max-width:100%;height:auto}
.footer-meta a{color:#cbd5e1;text-decoration:none;transition:color .2s ease}
.footer-meta a:hover,.footer-meta a:focus{color:#fff;text-decoration:underline}

/* Correzione finale foto antennista: proporzioni uniformi e nessun bordo/artefatto laterale */
.about-photo-card{aspect-ratio:16/9}
.about-photo-card img{width:100%;height:100%;min-height:0;object-fit:cover;object-position:center center;background:#fff}
@media (max-width:760px){.about-photo-card{aspect-ratio:16/9}.about-photo-card img{height:100%;min-height:0}}
