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

/* ELEMENTI BASE */
ul {
    list-style: none;
}

a {
    text-decoration: none;
    color: #ff6229;
}

a:hover {
    color: #343c5c;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-style: normal;
    color: #7b8095;
    font-size: 15px;
    line-height: 25px;
}

h1 {
    font-size: 26px;
    font-weight: 600;
    line-height: 36px;
    color: #ff6229;
}

h2 {
    font-size: 19px;
    font-weight: 600;
    line-height: 28px;
}

/* HEADER MOBILE */
#header {
    width: 100%;
    padding: 10px 5%;
    position: fixed;
    background: #fff;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

#header img {
    width: 170px;
    vertical-align: middle;
    float: left;
}

#header .menumobile {
    display: block;
    float: right;
    margin-top: 5px;
}

#header .menumobile a.icon {
    font-size: 26px;
    color: #343c5c;
    padding: 5px;
}

#header .hideli {
    display: none;
}

#header ul li.mainmenu {
    clear: both;
    width: 100%;
    margin-top: 10px;
    padding: 8px 0;
    border-bottom: 1px solid #f2f2f2;
}

#header ul a {
    color: #343c5c;
    font-size: 15px;
    font-weight: 600;
    display: block;
}

#header ul li ul {
    display: block;
    margin-left: 15px;
    margin-top: 8px;
}

#header ul li ul li a {
    color: #ff6229;
    font-size: 14px;
}

/* SLIDE */
#slide {
    padding-top: 75px;
}

#slide img {
    width: 100%;
    height: auto;
}

/* ABOUT */
#about {
    padding: 35px 5%;
    clear: both;
}

#about img {
    width: 100%;
    float: none;
    margin: 0 0 15px 0;
}

#about a {
    background: #ff6229;
    color: #fff;
    padding: 12px 25px;
    border-radius: 3px;
    display: inline-block;
    margin-top: 10px;
    font-weight: bold;
}

/* SERVIZI MOBILE */
#servizi {
    padding: 35px 5%;
    clear: both;
}

#servizi h1 {
    font-size: 28px;
    line-height: 35px;
}

#servizi hr {
    width: 80px;
    height: 3px;
    background: #ff6229;
    border: 0;
    margin: 8px 0 12px 0;
}

#servizi h2 {
    font-size: 16px;
    font-weight: 400;
    margin-bottom: 25px;
}

#servizi .servizi-container {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.servizio {
    width: 100%;
    margin: 0;
    padding: 25px 20px;
    background-color: #ffffff;
    box-shadow: 0px 4px 12px rgba(92,104,152,0.08);
    border-radius: 6px;
}

.circle {
    background: #fff5f1;
    border-radius: 50%;
    width: 35px;
    height: 35px;
}

.servizio i {
    color: #ff6229;
    font-size: 26px;
    position: relative;
    top: -22px;
    left: 12px;
}

#servizi .servizio h1 {
    font-size: 18px;
    line-height: 24px;
    color: #343c5c;
    margin-bottom: 8px;
}

.servizio .description {
    font-size: 14px;
    line-height: 22px;
    color: #7b8095;
    margin-bottom: 15px;
}

.link-service a {
    background: #ff6229;
    color: #fff;
    padding: 8px 18px;
    border-radius: 4px;
    display: inline-block;
    font-size: 13px;
}

/* CLIENTI */
#clienti {
    padding: 30px 5%;
}

#clienti img {
    height: 40px;
    margin: 8px 12px;
}

/* CONTENUTO GENERALE / CHI SIAMO */
#content {
    padding: 85px 5% 40px;
    clear: both;
}

.values-section,
.settori-grid-detailed,
.workflow-steps,
.cert-grid,
.legal-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.value-card,
.settore-detail-box,
.step,
.cert-card {
    padding: 20px 18px;
    border-radius: 6px;
}

.settore-detail-box p {
    margin-left: 0;
}

.legal-box {
    padding: 25px 20px;
    margin-top: 35px;
    border-radius: 6px;
}

/* FOOTER */
#footer {
    background: #ff6229;
    color: #fff;
    padding: 35px 5%;
    clear: both;
}

#footer div {
    width: 100%;
    float: none;
    margin-bottom: 25px;
}

#footer div img {
    width: 200px;
}

#footer h3 {
    margin-top: 10px;
    margin-bottom: 8px;
    border-bottom: 2px solid #fff;
    width: 120px;
}

#footer li {
    font-size: 14px;
    line-height: 1.5;
}

#credits {
    background: #303030;
    text-align: center;
    color: #f2f2f2;
    padding: 15px 5%;
    font-size: 12px;
}

/* ==========================================================================
   PAGINA CONTATTI (MOBILE)
   ========================================================================== */

.main-contact-card {
    padding: 20px 15px;
    margin-bottom: 30px;
}

.main-contact-card h3 {
    font-size: 18px;
}

.contact-info-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.team-grid {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.team-card {
    padding: 18px 15px;
}

.team-card p {
    word-break: break-all;
}