/*
	Theme Name: Theme Base
	Theme URI: 
	Author:  Zak
	Author URI: 
	Version: 2.0
	Description: 
	Tags: 
	Licence: GPL v2 or later
	License URI: http://www.gnu.org/licenses/gpl-2.0.html
	Text Domain: ecoffset.it
*/

@font-face {
  font-family: 'ClashGrotesk-Extralight';
  src: url('inc/assets/fonts/ClashGrotesk-Extralight.woff2') format('woff2'),
       url('inc/assets/fonts/ClashGrotesk-Extralight.woff') format('woff'),
       url('inc/assets/fonts/ClashGrotesk-Extralight.ttf') format('truetype');
  font-weight: 200;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'ClashGrotesk-Light';
  src: url('inc/assets/fonts/ClashGrotesk-Light.woff2') format('woff2'),
       url('inc/assets/fonts/ClashGrotesk-Light.woff') format('woff'),
       url('inc/assets/fonts/ClashGrotesk-Light.ttf') format('truetype');
  font-weight: 300;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'ClashGrotesk-Regular';
  src: url('inc/assets/fonts/ClashGrotesk-Regular.woff2') format('woff2'),
       url('inc/assets/fonts/ClashGrotesk-Regular.woff') format('woff'),
       url('inc/assets/fonts/ClashGrotesk-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'ClashGrotesk-Medium';
  src: url('inc/assets/fonts/ClashGrotesk-Medium.woff2') format('woff2'),
       url('inc/assets/fonts/ClashGrotesk-Medium.woff') format('woff'),
       url('inc/assets/fonts/ClashGrotesk-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'ClashGrotesk-Semibold';
  src: url('inc/assets/fonts/ClashGrotesk-Semibold.woff2') format('woff2'),
       url('inc/assets/fonts/ClashGrotesk-Semibold.woff') format('woff'),
       url('inc/assets/fonts/ClashGrotesk-Semibold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}
@font-face {
  font-family: 'ClashGrotesk-Bold';
  src: url('inc/assets/fonts/ClashGrotesk-Bold.woff2') format('woff2'),
       url('inc/assets/fonts/ClashGrotesk-Bold.woff') format('woff'),
       url('inc/assets/fonts/ClashGrotesk-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'RaptorV1_Trial-Regular';
  src: url('inc/assets/fonts/RaptorV1_Trial-Regular.woff2') format('woff2'),
       url('inc/assets/fonts/RaptorV1_Trial-Regular.woff') format('woff'),
       url('inc/assets/fonts/RaptorV1_Trial-Regular.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
  font-style: normal;
} 
@font-face {
  font-family: 'RaptorV1_Trial-Medium';
  src: url('inc/assets/fonts/RaptorV1_Trial-Medium.woff2') format('woff2'),
       url('inc/assets/fonts/RaptorV1_Trial-Medium.woff') format('woff'),
       url('inc/assets/fonts/RaptorV1_Trial-Medium.ttf') format('truetype');
  font-weight: 500;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'RaptorV1_Trial-SemiBold';
  src: url('inc/assets/fonts/RaptorV1_Trial-SemiBold.woff2') format('woff2'),
       url('inc/assets/fonts/RaptorV1_Trial-SemiBold.woff') format('woff'),
       url('inc/assets/fonts/RaptorV1_Trial-SemiBold.ttf') format('truetype');
  font-weight: 600;
  font-display: swap;
  font-style: normal;
}

@font-face {
  font-family: 'RaptorV1_Trial-Bold';
  src: url('inc/assets/fonts/RaptorV1_Trial-Bold.woff2') format('woff2'),
       url('inc/assets/fonts/RaptorV1_Trial-Bold.woff') format('woff'),
       url('inc/assets/fonts/RaptorV1_Trial-Bold.ttf') format('truetype');
  font-weight: 700;
  font-display: swap;
  font-style: normal;
}

:root{
	--blue: #101010;
	--red: #F0474B;
	--grey: #777777;
	--white: #ffffff;
	--black: #333333;

}

body, html{
	margin: 0;
	padding: 0;
	overflow-x: hidden;
	background-color: var(--white);
}
body{
	/*font-family: "ClashGrotesk-Regular", sans-serif;*/
}


h1{
	font-size: 62px;
	letter-spacing: 0;
	font-family: "RaptorV1_Trial-Bold", sans-serif;
	/*text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);*/
}

h2{
	font-size: 48px;
	letter-spacing: 0;
	font-family: "RaptorV1_Trial-Medium", sans-serif;
}

h3{
	font-size: 56px;
	letter-spacing: -4px;
	text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
	font-weight: 300;
}

h4{
	font-size: 32px;
	letter-spacing: 0;
	font-family: "RaptorV1_Trial-Medium", sans-serif;
}
h5{
	font-size: 25px;
	letter-spacing: 0;
	font-family: "RaptorV1_Trial-Medium", sans-serif;
}

h6{
	font-size: 20px;
	letter-spacing: 0;
	font-family: "RaptorV1_Trial-Bold", sans-serif;
}
p {
	font-size: 18px;
	font-family: "RaptorV1_Trial-Regular", sans-serif;
	color: var(--grey);


}

.max-w-1280{
	max-width: 1280px;
	margin: 0 auto;
}

.btn-blue a{
	background: var(--blue);
	border-radius: 50px;
	padding: 18px 36px;
	border: 2px solid var(--blue);
	transition: 0.5s;	
}

.btn-blue a:hover{
	background: var(--white);
	color: var(--blue);
	border: 2px solid var(--blue);	
}

.btn-blue-a{
	background: var(--blue);
	border-radius: 50px;
	padding: 12px 26px;
	color: var(--white);
	text-decoration: none;
	border: 2px solid var(--blue);
	transition: 0.5s;
}

.btn-blue-a:hover{
	background: var(--white);
	color: var(--blue);
	border: 2px solid var(--blue);
}

.btn-white a{
	background: var(--white);
	border-radius: 9px;
	padding: 18px 46px;
	color: var(--blue);
}

.btn-white-a{
	background: var(--white);
	border-radius: 9px;
	padding: 18px 46px;
	color: var(--blue);
	text-decoration: none;
}


/* ===== HEADER ===== */
.rg-header {
    position: fixed;
    top: 0;
    z-index: 1000;
    transition: background-color .25s ease, border-color .25s ease, box-shadow .25s ease;
}

.rg-header.is-solid {
    background: #fff;
    border-bottom-color: rgba(255,255,255,.06);
    box-shadow: 0 6px 20px rgba(0,0,0,.18);
}

/* contenitore header */
.rg-container {
    margin: 0 auto;
    padding: 35px 0px 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

@media (max-width: 900px) {
    .rg-container {
        padding: 18px 20px;
    }
}

/* Logo */
.rg-logo {
    font-weight: 500;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: #fec503;
    text-decoration: none;
    line-height: 1;
    transition: color .2s ease;
    font-size: 1.45rem;
}

.rg-logo:hover,
.rg-logo:focus {
    color: #fec503;
    outline: 0;
}

/* Menu desktop */
.rg-nav {
    display: block;
}

.rg-menu {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    align-items: center;
    gap: 28px;
}

.rg-menu > li {
    position: relative;
}

.rg-menu a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    line-height: 1;
    padding: 10px;
    transition: opacity .2s ease, transform .2s ease;
    text-transform: uppercase;
    font-size: 1rem;
	font-family: "RaptorV1_Trial-SemiBold", sans-serif;
}

.rg-menu a:hover,
.rg-menu a:focus {
    opacity: .8;
    transform: translateY(-1px);
    outline: 0;
}

.is-solid .rg-menu a {
    color: #333;
}

.rg-menu li ul {
    display: none;
    position: absolute;
    top: 110%;
    left: 0;
    min-width: 100px;
    border: 1px solid rgba(0,0,0,.06);
    box-shadow: 0 8px 24px rgba(0,0,0,.08);
    padding: 8px 0;
    z-index: 1001;
    list-style: none;
}

.rg-menu li:hover > ul {
    display: block;
}

.rg-menu li ul a {
    display: block;
    padding: 10px 16px;
}

/* Hamburger mobile */
.rg-burger {
    display: none;
    background: transparent;
    border: 0;
    padding: 6px;
    margin: -6px;
    cursor: pointer;
    border-radius: 8px;
}

.rg-burger-box {
    width: 26px;
    height: 20px;
    display: inline-block;
    position: relative;
}

.rg-burger-inner, 
.rg-burger-inner::before, 
.rg-burger-inner::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: transform .2s ease, top .2s ease, opacity .2s ease;
}

.rg-burger-inner {
    top: 9px;
}

.rg-burger-inner::before {
    top: -7px;
}

.rg-burger-inner::after {
    top: 7px;
}

.rg-burger.is-active .rg-burger-inner {
    background: transparent;
}

.rg-burger.is-active .rg-burger-inner::before {
    top: 0;
    transform: rotate(45deg);
}

.rg-burger.is-active .rg-burger-inner::after {
    top: 0;
    transform: rotate(-45deg);
}

/* Bottone chiudi nel pannello off-canvas */
.rg-close {
    display: none;
    position: absolute;
    top: 20px;
    right: 16px;
    width: 36px;
    height: 36px;
    border: 1px solid rgba(255,255,255,.25);
    background: transparent;
    color: #f2f2f2;
    font-size: 30px;
    line-height: 1;
    border-radius: 8px;
    cursor: pointer;
    transition: background .2s ease, color .2s ease, transform .2s ease, border-color .2s ease;
}

.rg-close:hover, 
.rg-close:focus {
    color: #ffffff;
    border: none;
    outline: none;
}

@media (max-width: 1100px) {
    .rg-close {
        display:inline-flex;
        align-items: center;
        justify-content: center;
    }
}

/* Off-canvas mobile menu */
@media (max-width: 1100px) {
    .rg-burger {
        display: inline-block;
    }

    .rg-nav {
        position: fixed;
        inset: 0 0 0 auto;
        width: min(80vw, 320px);
        background: #161616;
        border-left: 1px solid rgba(0,0,0,.06);
        transform: translateX(100%);
        transition: transform .25s ease;
        padding: 80px 24px 24px;
        box-shadow: -8px 0 24px rgba(0,0,0,.08);
        z-index: 1001;
    }

    .rg-nav.is-open {
        transform: translateX(0);
    }

    body.rg-nav-open::after {
        content: "";
        position: fixed;
        inset: 0;
        background: rgba(0,0,0,.35);
        z-index: 999;
    }

    .rg-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 25px;
    }

    .rg-menu a {
        font-size: 1.25rem;
        padding: 15px 0;
    }

    .rg-menu li ul {
        position: static;
        display: none;
        border: 0;
        box-shadow: none;
        padding: 6px 0 0 12px;
    }

    .rg-menu li:hover > ul {
        display: block;
    }
	.rg-logo img, .rg-header.is-solid .logo-black {
    width: 80%;
}

}

.rg-logo {
    font-size: 1.25rem;
}

.rg-header.is-solid .rg-burger-inner, .rg-header.is-solid .rg-burger-inner::before, .rg-header.is-solid .rg-burger-inner::after {
    background: #333;
}

/* Di default: niente caret (desktop) */
.rg-menu .pll-parent-menu-item .lang-toggle {
    display: none;
}

/* Solo mobile: mostra il caret e gestisci l'apertura */
@media (max-width: 900px) {
    .rg-menu .pll-parent-menu-item > .sub-menu {
        display: none;
    }

    .rg-menu .pll-parent-menu-item.is-open > .sub-menu {
        display: block;
    }

    .rg-menu .pll-parent-menu-item .lang-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: 8px;
        width: 28px;
        height: 28px;
        border: 1px solid rgba(255,255,255,.25);
        border-radius: 6px;
        background: transparent;
        color: #f2f2f2;
        cursor: pointer;
        line-height: 1;
    }

    .rg-menu .pll-parent-menu-item .lang-toggle .caret {
        display: inline-block;
        transition: transform .2s ease;
    }

    .rg-menu .pll-parent-menu-item.is-open .lang-toggle .caret {
        transform: rotate(180deg);
    }

    /* opzionale: riduci un filo il padding del link padre su mobile */
    .rg-menu .pll-parent-menu-item > a {
        padding-right: 4px;
    }

    .is-solid .rg-menu a {
        color: #fff;
    }
}

/* ================================
   LOGO SWITCH ON HEADER SOLID
================================ */

/* Stack logos */
.rg-logo {
    position: relative;
    display: inline-block;
}

.rg-logo img {
    display: block;
    transition: opacity 0.3s ease;
}

/* Hide black logo by default */
.logo-black {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
}

/* When header becomes solid */
.rg-header.is-solid .logo-white {
    opacity: 0;
}

.rg-header.is-solid .logo-black {
    opacity: 1;
}
/* NAVBAR*/
.main-menu-header {
    display: flex;
    list-style: none;
    width: 100%;
    height: 100%;
    justify-content: end;
    align-items: center;
    gap: 40px;
    margin-bottom: 0;
}
.page-id-14 nav .main-menu-header a {
    color: var(--white);
}
.main-menu-header li a {
	text-decoration: none;
	color: var(--grey);
	transition: 0.3s;
	font-size: 14px;
}

.main-menu-header li a:hover {
	color: var(--blue);
}

.navbar-site{
	padding-top: 30px;
	padding-bottom: 30px;
	position: fixed;
	z-index: 1;
}

.navbar-site img{
	max-width: 221px;
}

.swiper-problematiche-widget .slide-button{
	transition: 0.5s;
}

.swiper-problematiche-widget .slide-button:hover{
	background: var(--blue);
	color: var(--white);
}
/* Stili per la navbar bianca */
.navbar-bianca {
    background-color: #ffffff; /* Sfondo bianco */
    color: #000000; /* Testo nero */
}

.navbar-bianca .nav-link {
    color: #000000; /* Link nero */
}

/* Stili per la navbar nera */
.navbar-nera {
    background-color: transparent; /* Sfondo nero */
    color: #ffffff; /* Testo bianco */
}

.navbar-nera .nav-link {
    color: #ffffff; /* Link bianco */
}
/* BOTTONE BIANCO */
.arrow-white {
	color: #fff;
}
.arrow-white::before {
	background-image: url('/wp-content/uploads/2025/11/arrow-w.png');
}

/* CONTACT FORM */
/*********CONTACT US************/

.d-only-mobile{
	display: none;
}

@media only screen and (max-width: 767px) {
	
h1{
	font-size: 48px;
}

h2{
	font-size: 35px;
}

h3{
	font-size: 56px;
	letter-spacing: -4px;
	text-shadow: 0px 4px 8px rgba(0, 0, 0, 0.25);
	font-weight: 300;
}

h4{
	font-size: 28px;
	font-weight: 300;
	letter-spacing: -1px;
}
.d-only-mobile{
	display: flex;
}
}



/** FOOTER **/
footer {
  padding-top: 100px;
  padding-bottom: 100px;
  background: var(--black);
  color: var(--white);
}

footer a {
  text-decoration: none;
  color: var(--white);
  font-family: "RaptorV1_Trial-Regular", sans-serif;
}

.link-container-footer p, .footer-grid-5 p {
   color: var(--white);
	font-size: 16px;
   font-family: "ClashGrotesk-Semibold", sans-serif !important;
	

}
footer .link-container-footer {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

footer .footer-grid-5 {
    padding-top: 50px;
    display: flex;
    justify-content: space-between;
}
footer a:hover {
  color: var(--white);
}

footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

footer ul li {
  margin: 0;
  padding: 0;
}

footer .main-menu {
  margin: 0;
  padding: 0;
}

.footer-logo {
    max-width: 277px;
}
@media only screen and (max-width: 1000px){
	footer {
    padding-top: 80px;
    padding-bottom: 30px;
}
	.p-footer{
		padding-top: 30px;
		text-align: center;
	}
	footer .footer-grid-5 {
    flex-wrap: wrap;
}
	.link-container-footer p {
		margin-bottom: 5px;
	}
}


/* ===== Contact Pagina ===== */


.contact.row input:not([type="checkbox"]) {
    height: 55px;
    box-shadow: unset;
}
.contact.row textarea {
	box-shadow: unset;
}
.contact-submit {
    height: 55px;
    width: 60px;
    border-radius: 12px;
    border: 2px solid #ced4da;
    background: transparent;
    color: #333;
    margin-left: 10px;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s ease;
}

.contact-submit:hover {
background: #F0474B;
	
}
/* ===== Newsletter Section ===== */


/* Form row */
.newsletter-form-row {
    display: flex;
    align-items: center;
}
/* Email input */
.newsletter-input {
    height: 55px;
    border-radius: 12px;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    padding: 0 20px;
    font-size: 16px;
    outline: none;
}

/* Placeholder */
.newsletter-input::placeholder {
	color: var(--white);
      font-family: "ClashGrotesk-Semibold", sans-serif !important;

}

/* Submit button */
.newsletter-submit {
    height: 55px;
    width: 60px;
    border-radius: 12px;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
	margin-left: 10px;
    font-size: 20px;
    cursor: pointer;
    transition: 0.3s ease;
}

/* Hover */
.newsletter-submit:hover {
    background: #ffffff;
    color: var(--black);
}

/* Privacy text */
.newsletter-privacy {
    margin-top: 15px;
}
.newsletter-privacy p {
	   font-size: 14px;
	    color: var(--white);

}

.newsletter-privacy p a {
    text-transform: capitalize ;
}

/* Remove CF7 default margins */
.wpcf7-form p {
    margin: 0;
}
@media only screen and (max-width: 767px) {
.newsletter-input {
    width: 80%;
   
}
}