/* Font in locale (nessuna chiamata a Google Fonts) */
@font-face{font-family:'Open Sans';font-style:normal;font-weight:300 800;font-display:swap;src:url('../fonts/open-sans.woff2') format('woff2')}
@font-face{font-family:'Open Sans';font-style:italic;font-weight:300 800;font-display:swap;src:url('../fonts/open-sans-italic.woff2') format('woff2')}
@font-face{font-family:'Barlow Condensed';font-style:normal;font-weight:500;font-display:swap;src:url('../fonts/barlow-condensed-500.woff2') format('woff2')}
@font-face{font-family:'Outfit';font-style:normal;font-weight:900;font-display:swap;src:url('../fonts/outfit-900.woff2') format('woff2')}
@font-face{font-family:'PT Sans';font-style:normal;font-weight:400;font-display:swap;src:url('../fonts/pt-sans-400.woff2') format('woff2')}

:root{
  --sabbia:#d4cebc;
  --scuro:#554e4e;
  --testo:#666;
}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%}
body{margin:0;background:#fff;color:var(--testo);font-family:'Open Sans',Arial,sans-serif;font-size:14px;line-height:1.7;-webkit-font-smoothing:antialiased}
img{display:block;max-width:100%;height:auto}
h1,h3,p{margin:0}
a{color:inherit;text-decoration:none}
strong{font-weight:700}

.row{width:80%;max-width:1080px;margin:0 auto;padding:2% 0}
.bg-sabbia{background:var(--sabbia)}

/* Header */
.site-header .logo{width:300px;margin:0 auto}

/* Titolo */
.intro{padding-bottom:10px}
.intro h1{font-family:'Outfit',Helvetica,Arial,sans-serif;font-weight:900;font-size:46px;line-height:1;color:var(--scuro);text-align:center;padding-bottom:10px}

.hero img{width:100%}

/* Nomi */
.nomi{padding:30px 0 40px}
.nomi .row{width:100%;max-width:1200px;display:flex;justify-content:center;gap:5.5%}
.nomi .row>div{flex:1;text-align:center}
.nome h3{font-family:'Barlow Condensed',Helvetica,Arial,sans-serif;font-weight:500;font-size:36px;line-height:1;color:var(--scuro);padding-bottom:10px}
.nome p{font-family:'Barlow Condensed',Helvetica,Arial,sans-serif;font-weight:500;font-size:24px;line-height:1;color:var(--scuro)}

/* Schede professionisti */
.profilo .row{width:95%;max-width:1530px;display:flex;align-items:flex-start;gap:5.5%}
.profilo .col{flex:1;min-width:0}
.profilo .foto img{width:100%}
.profilo--andreani .row{padding-bottom:30px}
.profilo--casali .row{padding:0}
.profilo--pollini .row{padding-bottom:20px}

.profilo .marchio{width:250px;margin-bottom:25px}
.profilo--casali .marchio{margin-top:10px}
.profilo .nome{margin-bottom:5.82%}
.profilo .nome h3{font-size:32px}
.profilo .nome p{font-size:22px;line-height:1.1}
.citazione{font-size:17px;line-height:1.4;margin-bottom:5.82%}
.bio{font-size:14px;line-height:1.6;margin-bottom:15px}
.profilo--andreani .bio{font-size:15px}
.profilo--pollini .bio{margin-bottom:5.82%}

.focus{margin:0 -13px 15px}
.focus h4{margin:0;padding:5px 13px;background:#494445;color:#fff;font-size:14px;line-height:1.7;font-weight:700;text-transform:uppercase;letter-spacing:-1px}
.focus p{padding:10px 13px;background:#f4f4f1;font-size:15px;line-height:1.6;letter-spacing:-1px}
.bg-sabbia .focus h4{background:#4c4749}
.bg-sabbia .focus p{background:#d5d2c5}

.contatto{display:flex;align-items:flex-start;gap:15px;font-size:16px;line-height:1.5;margin-bottom:15px}
.contatto img{width:25px;margin:0 3px 0 4px;flex:none}
.contatto a{overflow-wrap:anywhere}
.contatto a:hover{color:var(--scuro)}
.profilo--casali .contatto:last-child{margin-bottom:30px}

/* Footer */
.site-footer{background:var(--scuro);color:#fff;padding:4% 0}
.site-footer .row{width:90%;max-width:1920px;display:flex;gap:5.5%}
.site-footer .row>div{flex:1;min-width:0}
.site-footer .nome{margin-bottom:13.174%}
.site-footer .nome h3{font-size:28px;color:#fff}
.site-footer .nome p{font-size:20px;line-height:1.2;color:#fff}
.site-footer address{font-family:'PT Sans',Helvetica,Arial,sans-serif;font-style:normal;font-size:16px;line-height:1.5;overflow-wrap:anywhere}
.site-footer a:hover{text-decoration:underline}
.legale{border-top:1px solid #fff;padding:2% 0;text-align:center}
.legale .policy{display:flex;justify-content:center;align-items:center;gap:4px;height:24px;margin-bottom:10px}
.legale .policy a{background:#fff;color:rgba(0,0,0,.65);font:700 11px/1.25 -apple-system,'Segoe UI',sans-serif;padding:4px 8px;border-radius:3px;box-shadow:0 1px 0 rgba(0,0,0,.08)}
.legale .policy a:hover{text-decoration:none;color:#000}
.legale .credits{font-size:12px;line-height:24px}

/* Schermi larghi: spaziature fisse come nell'originale */
@media (min-width:1350px){
  .row,.legale{padding-top:27px;padding-bottom:27px}
  .profilo--andreani .row{padding-bottom:30px}
  .profilo--casali .row{padding:0}
  .profilo--pollini .row{padding-bottom:20px}
  .site-footer{padding:54px 0}
}

/* Tablet */
@media (max-width:980px){
  .row,.legale{padding:30px 0}
  .nomi .row{gap:0;align-items:flex-start}
  .nomi .nome:not(:last-child){margin-bottom:30px}
  .profilo .row{flex-direction:column;align-items:stretch;gap:0}
  .profilo .col{margin-bottom:30px}
  .profilo--andreani .foto,.profilo--pollini .foto{order:-1;margin-bottom:0}
  .profilo--casali .col:last-child{margin-bottom:0}
  .profilo .foto img{width:480px;max-width:100%}
  .profilo--casali .row{padding:0 0 20px}
  .profilo--pollini .row{padding-bottom:20px}
  .profilo .nome,.citazione,.profilo--pollini .bio{margin-bottom:30px}
  .site-footer{padding:50px 0}
  .site-footer .row{flex-wrap:wrap;row-gap:30px}
  .site-footer .row>div{flex:0 0 47.25%}
  .site-footer .nome{margin-bottom:30px}
}

/* Telefono */
@media (max-width:767px){
  .intro h1{font-size:30px}
  .nomi{padding:0}
  .nomi .row{width:85%;padding:15px 0 0}
  .nomi .nome h3{font-size:16px}
  .nomi .nome p{font-size:13px}
  .profilo .row{width:90%}
  .profilo--andreani .marchio,.profilo--pollini .marchio{margin-top:30px}
  .profilo--andreani .row,.profilo--pollini .row{padding-bottom:0}
  .profilo--andreani .col:first-child,.profilo--pollini .col:first-child{margin-bottom:10px}
  .profilo--casali .row{padding-bottom:15px}
  .contatto{font-size:13px;line-height:1.85}
  .profilo--casali .contatto:last-child{margin-bottom:10px}
}
@media (max-width:479px){
  .site-footer .row>div{flex-basis:100%}
}
