@font-face {
    font-family:'Roboto';
    src: url('../fonts/roboto/Roboto-Regular.ttf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family:'Source Sans Pro';
    src: url('../fonts/source-sans-pro/SourceSansPro-Regular.otf');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family:'Sf Pro Display';
    src: url('../fonts/sf-pro-display/SFPRODISPLAYREGULAR.OTF');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family:'Sf Pro Display Italic';
    src: url('../fonts/sf-pro-display/SFPRODISPLAYLIGHTITALIC.OTF');
    font-weight: normal;
    font-style: normal;
}

:root {
    --primary: #7DB928;
    --primary-dark: #58741A;
    --primary-darker: #5A8520;
    --primary-light: #2DA237;
    --primary-lighter: #B4D96A;
    --primary-lightest: #E8F5D6;
    --dark: #1a1a1a;
    --dark-secondary: #2d2d2d;
    --text-dark: #333333;
    --text-light: #666666;
    --text-lighter: #999999;
    --white: #ffffff;
    --orange: #F39200;
    --light-bg: #f5f5f5;
    --green-accent: #7DB928;
    --green-light:#E8F8EF;
    --shadow-soft: 0 2px 20px rgba(0, 176, 80, 0.08);
    --shadow-card: 0 4px 30px rgba(0, 176, 80, 0.10);
    --radius: 20px;

    --card-width: 200px;
    --card-height: 280px;
    --spin-duration: 90s;
    --green-start: #4a9d3f;
    --green-end: #2d7a24;
    --bg-dark: #0f1a0d;
}

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

html {
    scroll-behavior: smooth;
    background-color: #ededed;
}

body {
    font-family: 'Sf Pro Display', 'Source Sans Pro', 'Roboto',sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
    overflow-x: hidden;
}

a, .fa {
    text-decoration: none;
    color:var(--primary);
}

.fa {
    font-size: 30px;
}

.push-top {
    margin-top: 10px;
}

.push-top-20 {
    margin-top: 20px;
}

.push-top-30 {
    margin-top: 30px;
}

.push-left {
    margin-left: 10px;
}

.text-center {
    text-align: center;
}

.hide {
    display: none;
}

.text-right {
    text-align: right;
}

.padd-top-10 {
    padding-top: 10px;
}

.flex {
    display: flex;
}

/* ==================== HEADER ==================== */
.header {
    font-family: 'Sf Pro Display Italic', 'Sf Pro Display', 'Roboto', sans-serif;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #1E3C6B;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.box-logo {
    display: flex;
    align-items: center;
}

.content-logo {
    align-content: center;
}

.header-inner {
    max-width: 95%;
    margin: 0 auto;
    /*padding: 15px 20px;*/
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.active {
    border-bottom: 5px solid var(--primary);
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.logo-icon {
    width: auto;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    /*position: absolute;*/
}

.logo-text {
    font-weight: 700;
    font-size: 18px;
    color: var(--dark);
}

.logo-text span {
    color: var(--primary);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 97px;
    align-items: center;
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color:var(--white);
    font-weight: 600;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary);
}

.btn-simulator {
    background: var(--primary);
    color: var(--white) !important;
    padding: 12px 25px;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-simulator:hover {
    background: var(--orange);
    transform: translateY(-2px);
}

.btn-simulator .fa {
    color:#FFFFFF;
    font-size: 25px;
    margin-right: 10px;
}

.hr-header {
    border-bottom: 1px solid var(--primary);
    margin: 5px 0 15px;
    opacity: 1;
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
    padding: 5px;
}

.mobile-menu span {
    width: 28px;
    height: 3px;
    background: #FFFFFF;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.mobile-menu.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.mobile-menu.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Mobile Navigation */
.mobile-nav {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--white);
    z-index: 999;
    padding-top: 100px;
    transform: translateX(100%);
    transition: transform 0.4s ease;
}

.mobile-nav.active {
    transform: translateX(0);
}

.mobile-nav ul {
    list-style: none;
    padding: 20px;
}

.mobile-nav ul li {
    margin-bottom: 0;
    border-bottom: 1px solid #eee;
}

.mobile-nav ul li a {
    display: block;
    padding: 18px 15px;
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 600;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.mobile-nav ul li a:hover {
    color: var(--primary);
    background: var(--primary-lightest);
    padding-left: 25px;
}

/* ==================== VIDEO HERO SECTION ==================== */
.video-hero {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    /*filter: brightness(.75);*/
}

.video-hero-bg {
    position: absolute;
    top: 100px;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.video-hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Overlay gradiente chiaro e luminoso */
.video-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    background: linear-gradient( to bottom, rgba(0,20,60,0.5) 0%, rgba(0,0,0,0.3) 50%, rgba(0,20,60,0.6) 100% );
}

/* Pattern overlay per sfondo chiaro */
.video-hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 3;
}

.video-hero-content {
    position: relative;
    z-index: 4;
    text-align: center;
    color: var(--dark);
    max-width: 1000px;
    padding: 0 20px;
}

/* ==================== HERO SLIDER ==================== */
.hero-slider {
    height: 100vh;
    min-height: 700px;
    position: relative;
    overflow: hidden;
    background: var(--dark);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide.active {
    opacity: 1;
}

.slide-bg {
    position: absolute;
    min-width: 100%;
    min-height: 100%;
}

@keyframes zoomOut {
    from { transform: scale(1.1); }
    to { transform: scale(1); }
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000000;
}

.slide-content {
    position: relative;
    z-index: 10;
    height: 100%;
    width: 100%;
    display: flex;
/*    align-items: center;*/
    justify-content: center;
    margin: 0 auto;
    padding-top: 100px;
}

.hero-layout {
    display: flex;
    align-items: center;
    gap: 90px;
    width: 100%;
}

.home-logo {
    width: 20%;
}

/* Logo animato a destra */
.hero-text-box-2 {
    flex: 0 0 auto;
    opacity: 0;
    transform: translateX(3000px);
    animation: fadeInRight 3s ease forwards 0.3s;
    padding: 100px 0 25px 30px;
    color: #FFFFFF;
    text-align: center;
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-best{
    font-size: 20px;
}

/* Box di testo a sinistra */
.hero-text-box {
    padding: 25px 0 25px 30px;
    opacity: 1;
    transform: translateY(-400px);
    animation: fadeInLeft 3s ease forwards 0.4s;
    text-align: justify;
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-text-box .hero-title {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 15px;
    opacity: 0;
    animation: slideUp 3s ease forwards 0.3s;
}

.hero-text-box .hero-heading {
    font-size: 22px;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 20px;
    opacity: 0;
    animation: slideUp 3s ease forwards 0.3s;
}

.hero-text-box .hero-heading span {
    color: var(--primary);
}

.hero-text-box .hero-description, .hero-text-box-2 .hero-description {
    font-size: 20px;
    color: #ffffff;
    line-height: 1.8;
    margin-bottom: 10px;
    opacity: 0;
    animation: slideUp 3s ease forwards 0.3s;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.9);
}

.hero-text-box .hero-description strong {
    color: var(--primary);
    font-weight: 600;
}

.box-slogan-home {
    position: absolute;
    bottom: 0;
    text-align: center;
    padding: 45px 30px 60px 45px;
    font-size: 35px;
    color: var(--primary);
    transform: translateY(400px);
    animation: slideUp 3s ease forwards 0.3s;
    text-shadow: 1px 1px 6px rgba(0,0,0,0.9);
}

@keyframes slideUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    color: var(--primary);
    text-shadow: 1px 1px 6px rgba(0,0,0,0.9);
}

.hero-heading-half {
    padding: 5px 30px;
}

.mirror-img {
    -webkit-transform: scaleX(-1);
    transform: scaleX(-1);
}

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

.hero-page {
    position: relative;
    height: 30vh;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 110px;
}

.hero-page::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.5) 100%);
}

.hero-page-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 3s ease forwards 0.3s;
}

.hero-page-content h1 {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
}

.hero-page-content .separator {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ==================== CONTENT SECTIONS ==================== */
.content-section {
    padding: 100px 70px;
    overflow: hidden;
}

.content-section:nth-child(even) {
    background: var(--light-bg);
}

.content-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.content-container.reverse {
    direction: rtl;
}

.content-container.reverse > * {
    direction: ltr;
}

.content-image {
    position: relative;
    opacity: 0;
    transform: translateX(-60px);
    transition: all 2s ease;
}

.view {
    display: block;
}

.view-mobile, .view-cards-mobile {
    display: none;
}

.content-container.reverse .content-image {
    transform: translateX(0px);
}

.content-image.animate {
    opacity: 1;
    transform: translateX(0);
}

.content-image img {
    width: 100%;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    transition: transform 0.5s ease;
}

.content-image:hover img {
    transform: scale(1.02);
}

.content-container.reverse .content-image::before {
    left: auto;
    right: -20px;
}

.content-text {
    opacity: 0;
    transform: translateX(60px);
    transition: all 2s ease 0.2s;
}

.content-container.reverse .content-text {
    transform: translateX(0px);
}

.content-text.animate {
    opacity: 1;
    transform: translateX(0);
}

.content-text h2 {
    font-size: 38px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
    line-height: 1.2;
}

.content-text .separator {
    width: 60px;
    height: 4px;
    background: var(--primary);
    margin-bottom: 25px;
}

.content-text p {
    color: var(--text-light);
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 20px;
    text-align: justify;
}

.content-text p strong {
    color: var(--primary);
    font-weight: 600;
}

.box-generic-bottom {
    color: var(--primary) !important;
    font-size: 18px;
    margin-top: 20px;
    text-align: center;
}

/* ==================== PARALLAX DIVIDER ==================== */
.parallax-divider {
    height: 400px;
    background-image: url('../images/parallax-1.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.parallax-divider::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(130, 185, 50, 0.85);
}

.parallax-divider-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: var(--white);
    max-width: 800px;
    padding: 0 20px;
}

.parallax-divider-content h3 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.parallax-divider-content p {
    font-size: 18px;
    line-height: 1.8;
    opacity: 0.95;
}

/* ==================== VALUES SECTION ==================== */
.values-section {
    padding: 100px 20px;
    background: var(--white);
}

.values-section .section-header {
    text-align: center;
}

.values-section .section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.values-section .section-header .separator {
    width: 80px;
    height: 4px;
    background: var(--primary);
    margin: 0 auto;
}

/* === CAROUSEL SCENE === */
.scene {
    width: 100%;
    height: 500px;
    perspective: 1100px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.carousel {
    width: var(--card-width);
    height: var(--card-height);
    position: relative;
    transform-style: preserve-3d;
    animation: spin var(--spin-duration) linear infinite;
}

.carousel:hover {
    animation-play-state: paused;
}

@keyframes spin {
    0%   { transform: rotateY(0deg); }
    100% { transform: rotateY(-360deg); }
}

/* === CARDS === */
.card {
    position: absolute;
    width: var(--card-width);
    height: var(--card-height);
    border-radius: 18px;
    padding: 28px 22px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    backface-visibility: hidden;
    background: linear-gradient(160deg, var(--primary), var(--green-end));
    box-shadow:
      0 8px 32px rgba(0,0,0,0.4),
      inset 0 1px 0 rgba(255,255,255,0.15);
    transition: box-shadow 0.4s ease;
    cursor: default;
}

.card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(255,255,255,0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Position each card around the Y-axis circle */
.card:nth-child(1) { transform: rotateY(0deg)    translateZ(420px); }
.card:nth-child(2) { transform: rotateY(45deg)   translateZ(420px); }
.card:nth-child(3) { transform: rotateY(90deg)   translateZ(420px); }
.card:nth-child(4) { transform: rotateY(135deg)  translateZ(420px); }
.card:nth-child(5) { transform: rotateY(180deg)  translateZ(420px); }
.card:nth-child(6) { transform: rotateY(225deg)  translateZ(420px); }
.card:nth-child(7) { transform: rotateY(270deg)  translateZ(420px); }
.card:nth-child(8) { transform: rotateY(315deg)  translateZ(420px); }

.card .icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    font-size: 20px;
    flex-shrink: 0;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255,255,255,0.12);
}

.card:hover .icon {
    transform: rotateY(180deg);
}

.card .icon svg {
    width: 22px;
    height: 22px;
    fill: var(--white);
}

.card h3 {
    font-size: 0.95rem;
    height: 50px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    align-content: center;
}

.card p {
    font-size: 0.7rem;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 80px 20px;
    background: var(--dark);
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: var(--primary);
    color: var(--white);
}

.cta-btn.primary:hover {
    background: var(--orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(130, 185, 50, 0.4);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-btn.secondary:hover {
    background: var(--white);
    color: var(--dark);
}



/* ==================== WHY US SECTION - NEW DESIGN ==================== */
.why-section {
    background-color: var(--orange);
    position: relative;
    min-height: 700px;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.why-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 60%;
    height: 100%;
    background-image: url('../images/home.png');
    background-color: var(--orange);
    background-size: cover;
}

.why-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.why-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: flex-end;
}

.why-box {
    width: 55%;
    background: var(--white);
    border-radius: 20px 0 0 20px;
    padding: 20px 50px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.25), 
                0 15px 40px rgba(130, 185, 50, 0.15);
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease;
    margin: 30px 0;
}

.why-box.animate {
    opacity: 1;
    transform: translateX(0);
}

.why-box .section-title {
    font-size: 36px;
}

.why-box .section-subtitle {
    margin-bottom: 30px;
}

/* Why Slider */
.why-slider-container {
    position: relative;
    overflow: hidden;
}

.why-slider {
    display: flex;
    transition: transform 0.5s ease;
}

.why-slide {
    min-width: 100%;
    padding: 0 10px;
}

.why-card-new {
    background: var(--light-bg);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.why-card-new-image {
    height: 300px;
    overflow: hidden;
}

.why-card-new-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.why-card-new:hover .why-card-new-image img {
    transform: scale(1.1);
}

.why-card-new-content {
    padding: 10px 25px;
}

.why-card-new-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.why-card-new-content h3 .icon {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.why-card-new-content h3 .icon svg {
    width: 40px;
    height: 20px;
    fill: var(--white);
}

.why-card-new-content p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

/* Slider Navigation */
.why-slider-nav {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
    margin-top: 10px;
}

.why-slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.why-slider-dot.active {
    background: var(--primary);
    transform: scale(1.2);
}

.why-slider-arrows {
    display: none;
    gap: 10px;
    margin-top: 20px;
}

.why-arrow {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.why-arrow:hover {
    background: var(--orange);
    transform: scale(1.1);
}

.why-arrow svg {
    width: 20px;
    height: 20px;
    fill: var(--white);
}

/* ==================== TESTIMONIALS SECTION ==================== */
.testimonials-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--white) 100%);
    overflow: hidden;
}

.testimonials-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Desktop: Slider autoplay */
.testimonials-slider-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    overflow: hidden;
}

.testimonials-slider {
    display: flex;
    animation: scrollTestimonials 200s linear infinite;
}

.testimonials-slider:hover {
    animation-play-state: paused;
}

@keyframes scrollTestimonials {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(calc(-430px * 18));
    }
}

.testimonials-grid-static {
    display: grid;
    grid-template-columns: auto auto auto;
}

.testimonials-grid-static .testimonial-card {
    margin: 15px !important;
}

.testimonial-card {
    min-width: 400px;
    max-width: 400px;
    background: var(--white);
    border-radius: 20px;
    padding: 35px;
    margin: 0 15px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.12);
}

.testimonial-stars {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

.testimonial-stars svg {
    width: 20px;
    height: 20px;
    fill: #FFD700;
}

.testimonial-text {
    font-size: 15px;
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 25px;
    font-style: italic;
    max-height: 130px;
    overflow: scroll;
}

.testimonial-text::before {
    content: '"';
    font-size: 40px;
    color: var(--primary);
    font-family: Georgia, serif;
    line-height: 0;
    vertical-align: bottom;
    margin-right: 5px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: auto;
}

.testimonial-avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    background: var(--primary-lightest);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--primary);
    flex-shrink: 0;
}

.testimonial-info h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 3px;
}

.testimonial-info span {
    font-size: 13px;
    color: var(--text-lighter);
}

/* Mobile: Grid statico */
.testimonials-grid-mobile {
    display: none;
    max-width: 1200px;
    margin: 0 auto;
}

/* ==================== SERVICES PARALLAX SECTION ==================== */
.services-section {
    position: relative;
    padding: 100px 20px;
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-image: url('../images/parallax-2.jpg');
}

.services-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(178,178,178,0.75);
}

.services-content {
    font-family: 'Sf Pro Display Italic', 'Sf Pro Display', 'Roboto', sans-serif;
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
}

.services-section .section-header {
    text-align: center;
    margin-bottom: 60px;
}

.services-section .section-title {
    color: var(--white);
}

.services-section .section-subtitle {
    color: rgba(255,255,255,0.7);
    font-weight: 400;
    font-size: 20px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.service-card {
    background-image: linear-gradient(0deg, var(--primary) 0%, var(--primary) 100%);
    background-color: var(--primary);
    backdrop-filter: blur(10px);
    box-shadow: 5px 5px 20px 0 #000000;
    border-radius: 20px;
    padding: 30px 20px;
    text-align: center;
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(30px) scale(0.95);
}

.service-card.animate {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.service-card:hover {
    background: var(--orange);
    border-color: var(--primary);
    transform: translateY(-8px) scale(1.02);
}

.service-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg);
}

.service-icon img {
    width: 100px;
    height: 100px;
    fill: var(--white);
}

.service-card h3 {
    font-size: 18px;
    height: 50px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    align-content: center;
}

.service-card p {
    font-size: 18px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    text-align: left;
}

/* ==================== CONTACT SECTION ==================== */
.contact-section {
    padding: 100px 20px;
    background: var(--white);
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.contact-section .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.contact-form {
    background: var(--light-bg);
    padding: 50px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.contact-form.animate {
    opacity: 1;
    transform: translateY(0);
}

.type-selector {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
}

.type-btn {
    flex: 1;
    padding: 15px;
    border: 2px solid #ddd;
    border-radius: 20px;
    background: var(--white);
    cursor: pointer;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: var(--text-dark);
    transition: all 0.3s ease;
}

.type-btn:hover {
    border-color: var(--orange);
}

.type-btn.active {
    border-color: var(--primary);
    background: var(--primary-lightest);
    color: var(--primary);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 20px;
}

.form-group {
    position: relative;
}

.form-group.full {
    grid-column: 1 / -1;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 14px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(130, 185, 50, 0.15);
}

.form-group textarea {
    min-height: 120px;
    resize: vertical;
}

.submit-btn {
    width: 100%;
    padding: 18px;
    background: var(--primary);
    color: var(--white);
    border: none;
    border-radius: 20px;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    background: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(130, 185, 50, 0.3);
}

.alert-success {
    align-content: center;
    background-color: var(--primary-darker);
    border-radius: 20px;
    color: #FFF;
    height: 40px;
}

.alert-danger {
    align-content: center;
    background-color: #F00;
    border-radius: 20px;
    color: #FFF;
    height: 40px;
}

/* ==================== INTRO SECTION ==================== */
.intro-section {
    padding: 100px 20px;
    background: var(--white);
    text-align: center;
}

.intro-section h2 {
    font-size: 48px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 20px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.intro-section h2.animate {
    opacity: 1;
    transform: translateY(0);
}

.intro-section h3 {
    font-size: 22px;
    font-weight: 500;
    color: var(--text-light);
    max-width: 700px;
    margin: 0 auto;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.2s;
}

.intro-section h3.animate {
    opacity: 1;
    transform: translateY(0);
}

/* ==================== APPROACH SECTION ==================== */
.approach-section {
    padding: 40px 20px;
    background: var(--light-bg);
}

.approach-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.approach-image {
    position: relative;
    opacity: 0;
    transform: translateX(-50px);
    transition: all 0.8s ease;
}

.approach-image.animate {
    opacity: 1;
    transform: translateX(0);
}

.approach-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
}

.approach-content {
    opacity: 0;
    transform: translateX(50px);
    transition: all 0.8s ease 0.2s;
}

.approach-content.animate {
    opacity: 1;
    transform: translateX(0);
}

.approach-content h2 {
    font-size: 32px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 30px;
}

.approach-list {
    list-style: none;
    margin-bottom: 30px;
}

.approach-list li {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    margin-bottom: 20px;
    padding: 15px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.approach-list li:hover {
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(130, 185, 50, 0.15);
}

.approach-list li .icon {
    width: 50px;
    height: 50px;
    background: var(--primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.approach-list li .icon svg {
    width: 24px;
    height: 24px;
    fill: var(--white);
}

.approach-list li .text {
    flex: 1;
}

.approach-list li .text strong {
    display: block;
    color: var(--dark);
    font-weight: 700;
    margin-bottom: 5px;
}

.approach-list li .text span {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.6;
}

/* ==================== DESCRIPTION SECTION ==================== */
.description-section {
    padding: 80px 20px;
    background: var(--white);
}

.description-container {
    max-width: 1000px;
    margin: 0 auto;
}

.description-main {
    text-align: center;
    margin-bottom: 60px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.description-main.animate {
    opacity: 1;
    transform: translateY(0);
}

.description-main p {
    font-size: 18px;
    line-height: 1.9;
    color: var(--text-light);
    margin-bottom: 20px;
}

.description-main p strong {
    color: var(--text-dark);
}

.description-main .highlight {
    font-size: 22px;
    font-weight: 600;
    color: var(--primary);
    padding: 25px;
    background: var(--primary-lightest);
    border-radius: 20px;
    border-left: 5px solid var(--primary);
    text-align: left;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--light-bg);
    border-radius: 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.feature-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.feature-item:hover {
    background: var(--primary-lightest);
    transform: translateY(-5px);
}

.feature-item .check {
    width: 30px;
    height: 30px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-item .check svg {
    width: 16px;
    height: 16px;
    fill: var(--white);
}

.feature-item p {
    color: var(--text-dark);
    font-size: 15px;
    line-height: 1.6;
}

.feature-item p strong {
    color: var(--primary);
}

/* ==================== SERVICES CARDS SECTION ==================== */
.services-cards-section {
    padding: 100px 20px;
    background: linear-gradient(180deg, var(--light-bg) 0%, var(--white) 100%);
}

.services-cards-section .section-header {
    text-align: center;
    margin-bottom: 20px;
}

.services-cards-section .section-header h2 {
    font-size: 42px;
    font-weight: 800;
    color: var(--dark);
    margin-bottom: 15px;
}

.services-cards-section .section-header p {
    font-size: 18px;
    color: var(--text-light);
    margin-bottom: 50px;
}

.services-cards-grid {
    max-width: 1300px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 25px;
}

.service-card-link {
    text-decoration: none;
    display: block;
}

.service-card-item {
    background: var(--white);
    border-radius: 20px;
    padding: 40px 25px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
    transition: all 0.4s ease;
    opacity: 0;
    transform: translateY(40px);
    position: relative;
    overflow: hidden;
}

.service-card-item.animate {
    opacity: 1;
    transform: translateY(0);
}

.service-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card-item:hover::before {
    transform: scaleX(1);
}

.service-card-item:hover {
    transform: translateY(-15px);
    box-shadow: 0 25px 60px rgba(130, 185, 50, 0.2);
}

.service-card-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: var(--primary-lightest);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
}

.service-card-item:hover .service-card-icon {
    background: var(--orange);
    transform: scale(1.1) rotate(10deg);
}

.service-card-icon svg {
    width: 50px;
    height: 50px;
    fill: var(--primary);
    transition: all 0.4s ease;
}

.service-card-item:hover .service-card-icon svg {
    fill: var(--white);
}

.service-card-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 15px;
    transition: color 0.3s ease;
}

.service-card-item:hover h3 {
    color: var(--primary);
}

.service-card-item p {
    color: var(--text-light);
    font-size: 14px;
    line-height: 1.7;
}

.service-card-arrow {
    margin-top: 20px;
    width: 40px;
    height: 40px;
    background: var(--light-bg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    margin-right: auto;
    transition: all 0.3s ease;
}

.service-card-item:hover .service-card-arrow {
    background: var(--orange);
}

.service-card-arrow svg {
    width: 20px;
    height: 20px;
    fill: var(--text-light);
    transition: all 0.3s ease;
}

.service-card-item:hover .service-card-arrow svg {
    fill: var(--white);
    transform: translateX(3px);
}

/* ==================== CTA SECTION ==================== */
.cta-section {
    padding: 80px 20px;
    background: var(--dark);
    text-align: center;
}

.cta-section h2 {
    font-size: 36px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
}

.cta-section p {
    color: rgba(255,255,255,0.7);
    font-size: 18px;
    max-width: 600px;
    margin: 0 auto 30px;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-btn {
    display: inline-block;
    padding: 16px 40px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.cta-btn.primary {
    background: var(--primary);
    color: var(--white);
}

.cta-btn.primary:hover {
    background: var(--orange);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(130, 185, 50, 0.4);
}

.cta-btn.secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.cta-btn.secondary:hover {
    background: var(--white);
    color: var(--dark);
}



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

.footer {
    background: #1E3C6B;
    color: var(--white);
    text-align: justify;
    padding-bottom: 20px;
    padding-top: 1px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 40px;
    padding: 0 20px;
}

.footer-brand p {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    line-height: 1.8;
    margin-top: 20px;
}

.footer-logo, .header-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.bacheca-logo-icon {
    height: 30px;
    margin-right: 10px;
}

.footer-logo-icon {
    height: 80px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo-text {
    font-weight: 700;
    font-size: 18px;
    color: var(--white);
}

.footer-logo-text span {
    color: var(--primary);
}

.footer h4 {
    font-family: 'Sf Pro Display Italic', 'Sf Pro Display', 'Roboto', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 25px;
    color: var(--primary);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact-item {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-contact-item .icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-contact-item .text {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.footer-contact-item .text strong {
    display: block;
    color: var(--white);
    font-size: 14px;
    margin-bottom: 3px;
}

.footer-bottom {
    max-width: 1200px;
    margin: 20px auto 0;
    padding: 30px 40px 0 40px;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
}

.hr-footer {
    border-bottom: 1px solid var(--primary);
    margin-bottom: 50px;
    opacity: 1;
}

/* ==================== COOKIE ==================== */

#cookie, #privacy {
    padding: 6em 15em;
    text-align:justify;
}

.header-cookie {
    color: #2872BA;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 10px;
}

.cookie-overlay {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    background: #DEDEDE;
    color: #000;
    font-weight: 300;
    text-align: justify;
    z-index: 2051;
    line-height: 20px;
    font-size: 14px;
    border-radius: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    padding: 1.5rem !important;
    margin-right: 15px;
    max-width: 950px;
}

.cookie-overlay > div:first-child {
    width: auto;
}

.cookie-a {
    color: var(--primary);
    opacity: 0.7;
    text-decoration: underline;
}

.accept-cookies {
    background-color: var(--primary) !important;
    margin-right: 10px;
}

button {
    border-radius: 20px;
    border: 0;
    line-height: 3em;
    padding: 0 1.5em;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background: white;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

th, td {
    border: 1px solid #e5e7eb;
    padding: 12px 15px;
    text-align: left;
}

th {
    background-color: #2563eb;
    color: white;
    font-weight: 600;
}

tr:nth-child(even) {
    background-color: #f9fafb;
}

.highlight-box {
    background-color: #eff6ff;
    border-left: 4px solid #2563eb;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.warning-box {
    background-color: #fef3c7;
    border-left: 4px solid #f59e0b;
    padding: 20px;
    margin: 25px 0;
    border-radius: 0 8px 8px 0;
}

.placeholder-text {
    color:var(--primary);
    padding: 2px 6px;
    border-radius: 3px;
    font-weight: 500;
}

  /* ── HERO ── */
  .hero {
    background: linear-gradient(160deg, #f7fdf9 0%, #e0f5e8 40%, #d4f1de 70%, #c8edcf 100%);
    padding: 80px 24px 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .hero::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(0,176,80,0.08) 0%, transparent 70%);
    border-radius: 50%;
  }
  .hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,176,80,0.06) 0%, transparent 70%);
    border-radius: 50%;
  }
  .hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.6rem);
    color: var(--primary);
    font-weight: 800;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 1;
  }
  .hero h1 span {
    color: var(--primary);
  }
  .hero .subtitle {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--primary);
    font-weight: 700;
    margin-top: 16px;
    position: relative;
    z-index: 1;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero .brand {
    display: inline-block;
    margin-top: 24px;
    font-size: 0.85rem;
    color: var(--primary);
    opacity: 0.7;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
  }

  /* ── NAVIGATION PILLS ── */
  .nav-bar {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(250, 252, 250, 0.85);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(0,176,80,0.1);
    padding: 14px 24px;
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
  }
  .nav-pill {
    padding: 8px 22px;
    border-radius: 100px;
    border: 1.5px solid rgba(0,176,80,0.25);
    background: transparent;
    color: var(--primary);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
  }
  .nav-pill:hover, .nav-pill.active {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(0,176,80,0.25);
  }

  /* ── INTRO ── */
  .intro-section-faq {
    max-width: 780px;
    margin: 0 auto;
    padding: 60px 24px 40px;
  }
  .intro-card-faq {
    background: white;
    border-radius: var(--radius);
    padding: 10px 30px;
    box-shadow: var(--shadow-card);
    border-left: 5px solid var(--primary);
    position: relative;
  }
  .intro-card-faq .section-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
  }
  .intro-card-faq blockquote {
    font-size: clamp(1.05rem, 2vw, 1.2rem);
    color: var(--primary);
    font-weight: 600;
    line-height: 1.8;
    font-style: italic;
  }

  /* ── MAIN CONTENT ── */
  .content {
    margin: 0 auto;
    padding: 0 24px 80px;
  }

  /* ── SECTION HEADER ── */
  .section-header-faq {
    margin-bottom: 36px;
    padding: 32px 36px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary) 0%, #00c95a 100%);
    color: white;
    position: relative;
    overflow: hidden;
  }
  .section-header-faq::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
  }
  .section-header-faq .section-icon {
    font-size: 2rem;
    margin-bottom: 8px;
  }
  .section-header-faq h2 {
    font-size: clamp(1.6rem, 3.5vw, 2rem);
    font-weight: 800;
    letter-spacing: -0.01em;
    position: relative;
    z-index: 1;
  }
  .section-header-faq .section-sub {
    margin-top: 6px;
    font-size: 1rem;
    opacity: 0.9;
    font-weight: 500;
    position: relative;
    z-index: 1;
  }

  /* ── FAQ ITEM ── */
  .faq-item {
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-soft);
    margin-bottom: 20px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
  }
  .faq-item:hover {
    box-shadow: var(--shadow-card);
  }
  .faq-question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    cursor: pointer;
    gap: 16px;
    user-select: none;
  }
  .faq-question h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1E3C6B;
    flex: 1;
    line-height: 1.4;
  }
  .faq-toggle {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: var(--green-light);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.35s ease;
  }
  .faq-toggle svg {
    width: 16px;
    height: 16px;
    stroke: var(--green-accent);
    transition: transform 0.35s ease;
  }
  .faq-item.open .faq-toggle {
    background: var(--primary);
    transform: rotate(180deg);
  }
  .faq-item.open .faq-toggle svg {
    stroke: white;
  }
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s ease, padding 0.35s ease;
  }
  .faq-item.open .faq-answer {
    max-height: 2000px;
  }
  .faq-answer-inner {
    padding: 0 28px 28px;
    color: var(--text-light);
    font-weight: 500;
  }
  .faq-answer-inner .answer-subtitle {
    font-weight: 700;
    font-size: 1rem;
    color: var(--primary);
    margin-bottom: 10px;
    display: block;
  }
  .faq-answer-inner p {
    margin-bottom: 14px;
    line-height: 1.7;
  }
  .faq-answer-inner .sub-heading {
    font-weight: 700;
    color: var(--primary);
    margin-top: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
  }
  .faq-answer-inner ul {
    list-style: none;
    padding: 0;
    margin-bottom: 14px;
  }
  .faq-answer-inner ul li {
    padding: 5px 0 5px 24px;
    position: relative;
  }
  .faq-answer-inner ul li::before {
    content: '';
    position: absolute;
    left: 4px;
    top: 14px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0.4;
  }
  .faq-answer-inner .highlight-box {
    background: var(--primary);
    border-left: 3px solid var(--primary);
    padding: 14px 18px;
    border-radius: 0 10px 10px 0;
    margin-top: 12px;
    font-weight: 700;
  }
  .faq-answer-inner ol {
    padding-left: 20px;
    margin-bottom: 14px;
  }
  .faq-answer-inner ol li {
    padding: 4px 0;
  }

  /* ── CONCLUSION ── */
  .conclusion {
    margin-top: 64px;
    background: linear-gradient(160deg, #f7fdf9 0%, #e0f5e8 100%);
    border-radius: var(--radius);
    padding: 48px 40px;
  }
  .conclusion .label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
  }
  .conclusion p {
    font-size: clamp(1.05rem, 2vw, 1.25rem);
    color: var(--primary);
    font-weight: 700;
    line-height: 1.8;
    margin: 0 auto;
  }
  .conclusion .staff {
    margin-top: 28px;
    font-size: 1rem;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.8;
  }

  /* ── ANIMATIONS ── */
  .fade-up {
    opacity: 0;
    transform: translateY(24px);
    animation: fadeUp 0.6s ease forwards;
  }
  @keyframes fadeUp {
    to { opacity: 1; transform: translateY(0); }
  }
  .faq-item:nth-child(1) { animation-delay: 0.05s; }
  .faq-item:nth-child(2) { animation-delay: 0.1s; }
  .faq-item:nth-child(3) { animation-delay: 0.15s; }
  .faq-item:nth-child(4) { animation-delay: 0.2s; }
  .faq-item:nth-child(5) { animation-delay: 0.25s; }


/* ==================== RESPONSIVE ==================== */
@media (max-width: 1440px) {

    .nav-links {
        gap: 59px;
    }
}

@media (max-width: 1200px) {
     
    .video-hero {
        padding-top: 0;
        height: auto;
    }

    .nav-links {
        gap: 26px;
    }

    .hero-layout {
        gap: 11px;
    }

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

    .hero-text-box {
        padding: 25px 0 60px 30px;
    }

    .hero-text-box-2 .hero-description {
        font-size: 19px;
    }

    .box-slogan-home {
        padding: 0 30px;
    }

    h1 {
        font-size: calc(1rem + 1.5vw);
    }

    .why-bg {
        width: 55%;
    }

    .why-box {
        width: 50%;
    }

    .testimonial-card {
        min-width: 350px;
        max-width: 350px;
    }

    .footer-inner {
        padding: 0 30px;
    }    
}

@media (max-width: 992px) {

    ul { 
        padding-left: 0;
    }

    .video-hero {
        padding-top: 90px;
    }

    .nav-links {
        gap: 20px;
    }

    .bacheca-logo-icon {
        margin-right: 0;
    }

    .bacheca-span {
        display: none;
    }

    .content-container {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-top: 30px;
    }

    .content-container.reverse {
        direction: ltr;
    }

    .content-image,
    .content-container.reverse .content-image {
        transform: translateY(40px);
    }

    .content-text,
    .content-container.reverse .content-text {
        transform: translateY(40px);
    }

    .hero-layout {
        flex-direction: column;
        display: block;
        gap: 40px;
    }

    .hero-text-box {
        padding: 35px 20px 0 20px;
        width: 100%;
        margin-left: 0;
        max-width: 100%;
        text-align: center;
    }

    .hero-text-box::before {
        display: none;
    }

    .hero-text-box-2 {
        width: 100%;
        padding: 50px 10px 150px 10px;
    }

    .box-slogan-home {
        padding: 5px 10px;
        font-size: 30px;
    }

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

    .why-bg {
        width: 100%;
        height: 300px;
        position: relative;
    }

    .why-content-wrapper {
        justify-content: center;
    }

    .why-box {
        width: 100%;
        max-width: 100%;
        margin-left: 20px;
        margin-right: 20px;
    }

    .parallax-divider {
        margin-top: 30px;
    }

    /* Testimonials: passa a griglia statica */
    .testimonials-slider-wrapper {
        display: none;
    }

    .testimonials-grid-mobile {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .testimonials-grid-mobile .testimonial-card {
        min-width: unset;
        max-width: unset;
        width: 100%;
        margin: 0;
    }

    .approach-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

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

    .intro-section h2 {
        font-size: 36px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-inner {
        grid-template-columns: 3fr 2fr;
        padding: 0 90px;
    }

    #cookie, #privacy {
        padding: 100px 1em;
    }

    .view {
        display: none;
    }

    .view-mobile {
        display: block;
    }

    .view-cards-mobile {
        display: grid;
    }

    .values-card {
        background-image: linear-gradient(0deg, #2da237 0%, var(--primary) 100%);
        background-color: var(--primary);
        backdrop-filter: blur(10px);
        box-shadow: 5px 5px 20px 0 #000000;
        border-radius: 20px;
        margin-top: 20px;
        margin-left: 10px;
        margin-right: 10px;
        padding: 30px 20px;
        text-align: center;
        transition: all 0.4s ease;
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }    

    .values-card.animate {
        opacity: 1;
        transform: translateY(0) scale(1);
    }

    .values-card .icon {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(255,255,255,0.18);
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0 auto 20px;
        flex-shrink: 0;
        backdrop-filter: blur(4px);
        border: 1px solid rgba(255,255,255,0.12);
    }

    .values-card:hover .icon {
        transform: rotateY(180deg);
    }

    .values-card .icon svg {
        width: 22px;
        height: 22px;
        fill: var(--white);
    }

    .values-card h3 {
        font-size: 18px;
        height: 50px;
        font-weight: 700;
        color: var(--white);
        margin-bottom: 10px;
        align-content: center;
    }

    .values-card p {
        font-size: 18px;
        line-height: 1.6;
        color: rgba(255,255,255,0.7);
    }

    .view-cards-mobile {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .bacheca-logo-icon {
        margin-right: 10px;
    }

    .bacheca-span {
        display: block;
    }

    .mobile-menu {
        display: flex;
    }

    .mobile-nav {
        display: block;
    }

    .section-title {
        font-size: 32px;
    }

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

    .form-row {
        grid-template-columns: 1fr;
    }

    .type-selector {
        flex-direction: column;
    }

    .hero-page {
        height: 15vh;
        min-height: 150px;
    }

    .hero-page-content h1 {
        font-size: 32px;
        letter-spacing: 2px;
    }

    .content-section {
        padding: 100px 40px;
    }

    .content-text h2 {
        font-size: 28px;
    }

    .parallax-divider {
        height: 350px;
        background-attachment: scroll;
    }

    .parallax-divider-content h3 {
        font-size: 26px;
    }

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

    .intro-section {
        padding-bottom: 20px;
    }

    .intro-section h2 {
        font-size: 28px;
    }

    .intro-section h3 {
        font-size: 18px;
    }

    .approach-section,
    .description-section,
    .services-cards-section {
        padding: 60px 20px;
    }

    .approach-content {
        transform: translateX(-50px);
    }

    .approach-content h2 {
        font-size: 26px;
    }

    .services-cards-grid {
        grid-template-columns: 1fr;
        max-width: 400px;
    }

    .cta-section h2 {
        font-size: 28px;
    }

    .services-cards-section .section-header h2 {
        font-size: 32px;
    }

    .footer-inner {
        grid-template-columns: 1fr;
        text-align: justify;
        padding: 0 50px;
    }

    .contact-form {
        padding: 30px 20px;
    }

    .hero-text-box .hero-heading {
        font-size: 26px;
    }

    .hero-text-box .hero-description {
        font-size: 14px;
    }

    .box-slogan-home {
        padding: 10px 0;
        font-size: 18px;
    }

    h1 {
        font-size: calc(0.85rem + 1.5vw);
    }

    .why-box {
        padding: 30px;
    }

    .why-box .section-title {
        font-size: 28px;
    }

    .testimonials-grid-mobile {
        grid-template-columns: 1fr;
    }

    .testimonials-grid-mobile .testimonial-card {
        padding: 25px;
    }

    th, td {
        font-size: 12px;
        padding: 12px 10px;
    }

    .hero { padding: 60px 20px 44px; }
    .section-header { padding: 24px 24px; }
    .faq-question { padding: 18px 20px; }
    .faq-answer-inner { padding: 0 20px 22px; }
    .conclusion { padding: 36px 24px; }
}

@media (max-width: 480px) {

    .services-grid, .view-cards-mobile {
        grid-template-columns: 1fr;
    }

    .about-section,
    .services-section,
    .contact-section,
    .testimonials-section {
        padding-bottom: 20px;
    }

    .hero-text-box .hero-heading {
        font-size: 20px;
    }

    .hero-text-box .hero-title {
        font-size: 12px;
    }

    .hero-text-box-2 .hero-description {
        font-size: 16px;
        padding: 0 31px;
    }

    .hero-best {
        font-size: 16px;
    }

    .box-slogan-home {
        padding: 3px;
        font-size: 13px;
    }

    .why-box {
        padding: 80px 30px 30px 30px;
    }

    .why-card-new-content h3 {
        font-size: 18px;
    }
    
    h1 {
        font-size: calc(0.56rem + 1.5vw);
    }

    .section-title {
        font-size: 26px;
    }

    .testimonials-section .section-header {
        margin-bottom: 0;
    }

    .testimonials-grid-mobile .testimonial-card {
        padding: 20px;
    }

    .testimonial-text {
        font-size: 14px;
    }

    .testimonial-avatar {
        width: 45px;
        height: 45px;
        font-size: 14px;
    }

    .intro-section h2 {
        font-size: 24px;
    }

    .description-main .highlight {
        font-size: 18px;
        padding: 20px;
    }

    .hero-page-content h1 {
        font-size: 26px;
    }

    .content-text h2 {
        font-size: 24px;
    }

    .values-section .section-header h2 {
        font-size: 28px;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .cta-btn {
        width: 100%;
        max-width: 280px;
    }

}