/* Hero Section - Ristrutturata */
.hero {
    margin-top: 80px;
    min-height: 95vh;
    background: var(--antracite);            
    padding: 5rem 5%;
    position: relative;
    overflow: hidden;
}
.hero-container {
max-width: 1600px;
margin: 0 auto;
display: flex;
align-items: center;
min-height: calc(95vh - 80px - 10rem);
position: relative;
z-index: 1;
}        
/* Colonna sinistra con padding allineato navbar */
.hero-left {
    display: flex;
    align-items: center;  
}

.hero-text-wrapper {
    max-width: 700px;           
}
.hero-text {width:100%;}

/* Colonna destra senza padding - immagine full */
.hero-right {
    position: absolute;
    right: 0;
    top: 0;
    width: 50vw;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.hero-text h1 {
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 1.05;
    margin-bottom: 2rem;
    margin-left: 0;
    margin-right: 0;
    padding-left: 0;
    color: var(--bianco-sporco);
}

.hero-text h1 .highlight {
    color: var(--green-l);
    display: block;
}

.hero-text .tagline {
    font-size: 1.4rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 3rem;
    font-weight: 400;
    line-height: 1.5;
}

@media (max-width:1600px) {
    .hero-text h1 {font-size:3.5rem; max-width:500px;}
    .hero-text .tagline {font-size:1.2rem; max-width:500px;}
}        

.hero-image-placeholder {
    width: 100%;
    min-height: 100vh;
    background-image: url('../img/test.jpg');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}
 
/* Mobile */
@media (max-width: 1100px) {
    .hero {   min-height: 100vh;  }    
    .hero-container { padding: 3rem 0; min-height: auto;  }    
    .hero-left { width: 100%;  min-height: auto; }    
    .hero-right {
        position: relative;
        width: 100%;
        height: 50vh;
        top: auto;
        margin-top: 2rem;
    }       
    
    .hero-text h1 { font-size: 3rem; max-width:100%; }
    .hero-text .tagline {max-width:100%;}
}
@media (max-width:890px) {.hero{margin-top:0;}}

.cta-group { display: flex; gap: 1.5rem;}

/* Full Width Sections general */
.full-section {
    padding: 8rem 5%;
    position: relative;
}

.section-content {
    max-width: 1600px;
    margin: 0 auto;
}

.section-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    line-height: 1.1;
}

.section-p {
    font-size: 1.3rem;
    line-height: 1.7;
    max-width: 1000px;
}


/* Chi Siamo - White Section */
.chi-siamo {
    background: white;
    color: var(--antracite);
    padding: 8rem 5%;
}

.chi-siamo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-block: 3rem;
}

.chi-siamo-card {
    padding: 4rem 3rem;
    background: rgba(74, 124, 109, 0.1);
    border-right: 1px solid var(--green);
    transition: all 0.4s ease;
    position: relative;
}

.chi-siamo-card:last-child {
    border-right: none;
}

.chi-siamo-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--green);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.chi-siamo-card:hover::before {
    transform: scaleX(1);
}

.chi-siamo-card:hover {
    background: white;
    transform: translateY(-10px);
}

.chi-siamo-card i {
    font-size:2.5rem;
    color:var(--green);
    text-align:center;
}

.chi-siamo-card h3 {
    margin-top:1.5rem;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    color: var(--green);
}

.chi-siamo-card p {
    font-size: 1.1rem;
    color: var(--antracite-l);
    line-height: 1.7;
}

/* Servizi - Dark Section pulita */
.servizi {
    background: var(--antracite);
    color: white;
    position: relative;
    overflow: hidden;
}

.servizi-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    margin-top: 4rem;
    position: relative;
    z-index: 1;
}

.servizio-box {
    padding: 4rem;
    background: rgba(255,255,255,0.05);
    border-left: 6px solid var(--green);
    transition: all 0.3s ease;
}

.servizio-box:hover {
    background: rgba(255,255,255,0.08);
    transform: translateX(10px);
}

.servizio-box h3 {
    font-size: 2.2rem;
    margin-top:0;
    margin-bottom: 1.5rem;
    font-weight: 700;
}
.servizio-box h4 {font-size:1.5rem;}

.servizio-box p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-size: 1.1rem;
}

.servizi-list {
    list-style: none;
    margin-bottom: 3rem;
    padding-left:0;
}

.servizi-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--green-l);
    color: rgba(255,255,255,0.9);
    font-size: 1.05rem;
    font-weight: 500;
}

.btn-outline-white {
    background: transparent;
    color: white;
    border: 2px solid white;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
}

@media (max-width:1050px) {.btn-outline-white {padding: 1rem;}}

.btn-outline-white::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 0;
    background: white;
    transition: height 0.3s ease;
    z-index: -1;
}

.btn-outline-white:hover::after {
    height: 100%;
}

.btn-outline-white:hover {
    color: var(--antracite);
}
.long-arrow {margin-left:10px;}

/* Come Lavoriamo  */
.metodo {
    background: white;
    color: var(--antracite);
    padding: 8rem 5%;
    position: relative;
}

/* Striscia verde obliqua SOPRA */
.metodo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--green);
    clip-path: polygon(0 0, 100% 0, 100% 50%, 0 100%);
    z-index: 0;
}

/* Striscia verde obliqua SOTTO */
.metodo::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: var(--green);
    clip-path: polygon(0 50%, 100% 0, 100% 100%, 0 100%);
    z-index: 0;
}

.metodo .section-content {
    position: relative;
    z-index: 1;
}

.metodo .section-title {
    color: var(--antracite);
}

.metodo .section-p {
    color: var(--antracite-l);
}

.metodo-steps {
    margin-top: 3rem;
    position: relative;
    max-width: 1400px;
}

.metodo-steps::before {
    content: '';
    position: absolute;
    left: 20px;
    top: 20px;
    bottom: 20px;
    width: 2px;
    background: linear-gradient(to bottom, var(--green), var(--green-l));
}

.step {
    display: flex;    
    gap: 2rem;
    margin-bottom: 2.5rem;
    position: relative;
    transition: all 0.3s ease;   
}

.step:hover {
    transform: translateX(10px);
}

.step-number {
    width: 42px;
    height: 42px;
    background: var(--green);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.step:hover .step-number {
    background: var(--green);
    transform: translateX(-10px) scale(1.15);
}

.step-content h3 {
    margin-top:0;
    font-size: 1.4rem;
    margin-bottom: 0.8rem;
    color: var(--antracite);
}

.step-content p {
    color: var(--antracite-l);
    line-height: 1.7;
}

/* Insight */
.insight {
    background: var(--green);
    color: var(--bianco-sporco);    
    position: relative;
    overflow: hidden;
}

.insight .section-content {
    position: relative;
    z-index: 1;    
}

.insight .section-title {
    color: var(--bianco-sporco);
    margin-top:0;
}

.insight .section-p {
    color: rgba(255,255,255,0.9);    
    margin-bottom:2rem;
}

/* Contatti  */
.contatti {
    background: var(--bianco-sporco);
    color: var(--antracite);    
    position: relative;
    box-shadow: inset 0 10px 30px rgba(0,0,0,0.05);
}

@media (max-width:890px) {.full-section, .chi-siamo{padding:4rem 5%;}.section-title {font-size:2.5rem; margin-top:0;}.section-p {font-size:1.1rem;}.servizio-box{padding:2rem;} .servizio-box h3 {font-size:1.8rem;} .section-title-margin-m {margin-top:2rem;}}

 @media (max-width: 968px) {
.chi-siamo-grid {
    grid-template-columns: 1fr;
}

.chi-siamo-card {
    border-right: none;
    border-bottom: 1px solid var(--green);
}

.servizi-container {
    grid-template-columns: 1fr;
}
            
 }