/* ==========================================================
   ATRIATEC.IT
   Versione 0.2
   Identità costruita attorno al logo ufficiale
   ========================================================== */

:root{
    --blue-dark:#06365b;
    --blue:#0b5ea8;
    --blue-light:#73c4e8;
    --ink:#17324a;
    --text:#40566b;
    --soft:#f5f8fb;
    --white:#ffffff;
    --border:#dbe6ef;
    --shadow:0 16px 40px rgba(6,54,91,.10);
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:Arial, Helvetica, sans-serif;
    color:var(--ink);
    background:var(--white);
    line-height:1.65;
}

img{
    max-width:100%;
    display:block;
}

a{
    color:inherit;
}

/* ===========================
   HEADER
=========================== */

.site-header{
    position:sticky;
    top:0;
    z-index:1000;
    background:rgba(255,255,255,.96);
    border-bottom:1px solid var(--border);
    backdrop-filter:blur(12px);
}

.nav-container{
    max-width:1280px;
    margin:auto;
    padding:14px 24px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:30px;
}

.brand-logo{
    display:block;
    width:230px;
    flex-shrink:0;
}

.brand-logo img{
    width:100%;
    height:auto;
}

.main-nav{
    display:flex;
    align-items:center;
    gap:28px;
}

.main-nav a{
    text-decoration:none;
    color:var(--ink);
    font-weight:700;
    font-size:15px;
    transition:color .2s ease;
}

.main-nav a:hover{
    color:var(--blue);
}

.nav-button{
    padding:11px 20px;
    border:2px solid var(--blue);
    border-radius:999px;
    color:var(--blue) !important;
    transition:all .2s ease;
}

.nav-button:hover{
    background:var(--blue);
    color:white !important;
}

.menu-toggle{
    display:none;
    border:0;
    background:none;
    font-size:28px;
    color:var(--blue-dark);
    cursor:pointer;
}

/* ===========================
   HERO
=========================== */

.hero-brand{
    min-height:760px;
    display:flex;
    align-items:center;
    justify-content:center;
    padding:80px 24px;
    background:
        radial-gradient(circle at 20% 15%, rgba(255,237,154,.26), transparent 28%),
        radial-gradient(circle at 82% 18%, rgba(115,196,232,.20), transparent 30%),
        linear-gradient(180deg,#ffffff 0%,#f7fbfe 100%);
}

.hero-brand-content{
    max-width:980px;
    width:100%;
    text-align:center;
    margin:auto;
}

.hero-logo{
    width:min(720px,92vw);
    margin:0 auto 26px auto;
}

.hero-kicker{
    color:var(--blue);
    font-weight:800;
    letter-spacing:2.5px;
    font-size:14px;
    margin-bottom:20px;
}

.hero-brand h1{
    max-width:900px;
    margin:0 auto;
    font-size:58px;
    line-height:1.12;
    letter-spacing:-1.5px;
    color:var(--blue-dark);
}

.hero-text{
    max-width:820px;
    margin:24px auto 0 auto;
    color:var(--text);
    font-size:21px;
}

.hero-actions{
    margin-top:38px;
    display:flex;
    justify-content:center;
    gap:16px;
    flex-wrap:wrap;
}

.button{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:52px;
    padding:0 28px;
    border-radius:999px;
    text-decoration:none;
    font-weight:800;
    transition:transform .2s ease, box-shadow .2s ease, background .2s ease;
}

.button:hover{
    transform:translateY(-2px);
}

.button-primary{
    background:var(--blue);
    color:white;
    box-shadow:0 10px 24px rgba(11,94,168,.22);
}

.button-primary:hover{
    background:var(--blue-dark);
}

.button-secondary-dark{
    border:2px solid var(--blue-dark);
    color:var(--blue-dark);
    background:white;
}

.button-secondary-dark:hover{
    background:var(--blue-dark);
    color:white;
}

.scroll-link{
    display:inline-block;
    margin-top:42px;
    color:var(--blue);
    text-decoration:none;
    font-weight:700;
}

/* ===========================
   SEZIONI
=========================== */

.section{
    padding:96px 24px;
}

.section-label{
    color:var(--blue);
    font-size:13px;
    font-weight:900;
    letter-spacing:2.4px;
    margin-bottom:12px;
}

.section-heading{
    max-width:850px;
    margin:0 auto 54px auto;
    text-align:center;
}

.section-heading h2,
.about-intro h2,
.simplenet-content h2,
.contact-box h2{
    font-size:44px;
    line-height:1.15;
    letter-spacing:-.8px;
    color:var(--blue-dark);
}

.section-heading p,
.about-intro p,
.simplenet-content p,
.contact-box p{
    color:var(--text);
}

/* ===========================
   ABOUT
=========================== */

.about{
    background:var(--soft);
}

.about-content{
    max-width:1200px;
    margin:auto;
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:70px;
    align-items:start;
}

.about-intro p{
    margin-top:18px;
    font-size:18px;
}

.values-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    gap:20px;
}

.value-box{
    background:white;
    border:1px solid var(--border);
    border-radius:18px;
    padding:26px;
    box-shadow:var(--shadow);
}

.value-box strong{
    display:block;
    margin-bottom:8px;
    color:var(--blue-dark);
    font-size:18px;
}

.value-box span{
    color:var(--text);
}

/* ===========================
   SERVIZI
=========================== */

.services{
    background:white;
}

.services-grid{
    max-width:1280px;
    margin:auto;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    gap:24px;
}

.service-card{
    background:white;
    border:1px solid var(--border);
    border-radius:20px;
    padding:28px;
    box-shadow:var(--shadow);
    transition:transform .22s ease, box-shadow .22s ease;
}

.service-card:hover{
    transform:translateY(-5px);
    box-shadow:0 20px 46px rgba(6,54,91,.15);
}

.service-icon{
    font-size:42px;
    margin-bottom:16px;
}

.service-card h3{
    margin-bottom:12px;
    color:var(--blue-dark);
    font-size:22px;
}

.service-card p{
    color:var(--text);
}

/* ===========================
   SIMPLENET
=========================== */

.simplenet-section{
    background:
        linear-gradient(135deg,rgba(6,54,91,.98),rgba(11,94,168,.95));
    color:white;
}

.simplenet-content{
    max-width:1180px;
    margin:auto;
    display:grid;
    grid-template-columns:1.05fr .95fr;
    gap:60px;
    align-items:center;
}

.simplenet-content h2{
    color:white;
}

.simplenet-content p{
    color:#eaf4fb;
    margin-top:16px;
    font-size:18px;
}

.simplenet-content .button-primary{
    margin-top:26px;
    background:white;
    color:var(--blue-dark);
}

.simplenet-highlight{
    background:rgba(255,255,255,.10);
    border:1px solid rgba(255,255,255,.22);
    border-radius:22px;
    padding:32px;
    backdrop-filter:blur(8px);
}

.simplenet-highlight strong{
    display:block;
    font-size:24px;
    margin-bottom:18px;
}

.simplenet-highlight ul{
    padding-left:22px;
}

.simplenet-highlight li{
    margin:10px 0;
    color:#eef8ff;
}

/* ===========================
   CONTATTI
=========================== */

.contact{
    background:#eef5fa;
}

.contact-box{
    max-width:1180px;
    margin:auto;
    background:white;
    border:1px solid var(--border);
    border-radius:24px;
    padding:46px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:50px;
    box-shadow:var(--shadow);
}

.contact-box h2{
    max-width:700px;
}

.contact-box p{
    margin-top:16px;
    font-size:18px;
}

.contact-actions{
    flex-shrink:0;
}

.button-light{
    background:var(--blue);
    color:white;
}

/* ===========================
   FOOTER
=========================== */

.site-footer{
    background:#072f50;
    color:white;
}

.footer-container{
    max-width:1180px;
    margin:auto;
    padding:52px 24px;
    display:grid;
    grid-template-columns:1.4fr 1fr 1fr;
    gap:50px;
}

.footer-brand img{
    width:260px;
    filter:brightness(0) invert(1);
    opacity:.95;
}

.footer-brand p{
    margin-top:14px;
    color:#cfe3f2;
}

.site-footer strong{
    display:block;
    margin-bottom:12px;
}

.site-footer p{
    color:#cfe3f2;
}

.site-footer a{
    color:white;
    text-decoration:none;
    display:block;
    margin:7px 0;
}

.site-footer a:hover{
    text-decoration:underline;
}

.footer-bottom{
    text-align:center;
    padding:18px 24px;
    background:#04253f;
    color:#cfe3f2;
    font-size:14px;
}

/* ===========================
   RESPONSIVE
=========================== */

@media(max-width:1050px){

    .main-nav{
        gap:18px;
    }

    .main-nav a{
        font-size:14px;
    }

    .brand-logo{
        width:195px;
    }

    .services-grid{
        grid-template-columns:repeat(2,1fr);
    }

    .about-content,
    .simplenet-content{
        grid-template-columns:1fr;
    }
}

@media(max-width:820px){

    .menu-toggle{
        display:block;
    }

    .main-nav{
        display:none;
        position:absolute;
        top:100%;
        left:0;
        right:0;
        padding:22px 24px 28px;
        background:white;
        border-bottom:1px solid var(--border);
        flex-direction:column;
        align-items:flex-start;
        box-shadow:0 14px 28px rgba(6,54,91,.10);
    }

    .main-nav.is-open{
        display:flex;
    }

    .nav-button{
        width:100%;
        text-align:center;
    }

    .hero-brand{
        min-height:auto;
        padding:70px 20px;
    }

    .hero-brand h1{
        font-size:42px;
    }

    .hero-text{
        font-size:18px;
    }

    .section{
        padding:74px 20px;
    }

    .section-heading h2,
    .about-intro h2,
    .simplenet-content h2,
    .contact-box h2{
        font-size:36px;
    }

    .contact-box{
        flex-direction:column;
        align-items:flex-start;
    }

    .contact-actions{
        width:100%;
    }

    .contact-actions .button{
        width:100%;
    }

    .footer-container{
        grid-template-columns:1fr;
    }
}

@media(max-width:600px){

    .nav-container{
        padding:12px 18px;
    }

    .brand-logo{
        width:165px;
    }

    .hero-logo{
        width:100%;
        margin-bottom:20px;
    }

    .hero-kicker{
        font-size:12px;
        letter-spacing:1.6px;
    }

    .hero-brand h1{
        font-size:34px;
    }

    .hero-actions{
        flex-direction:column;
    }

    .hero-actions .button{
        width:100%;
    }

    .values-grid,
    .services-grid{
        grid-template-columns:1fr;
    }

    .contact-box{
        padding:30px 22px;
    }

    .footer-brand img{
        width:220px;
    }
}
