/* ===== RESET & BASE ===== */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
    --sage: #7A8F6E;
    --sage-dark: #5B6B50;
    --sage-deep: #3E4A36;
    --sage-light: #A3B396;
    --sage-pale: #C5D1BB;
    --beige: #F5F0E8;
    --beige-warm: #EDE6D8;
    --beige-dark: #D9CFC0;
    --cream: #FDFBF7;
    --white: #FFFFFF;
    --text-dark: #2C2C2C;
    --text-body: #4A4A4A;
    --text-muted: #7A7A7A;
    --teal-brand: #2A6B5E;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-body);
    line-height: 1.7;
    font-size: 16px;
    overflow-x: hidden;
    background: var(--cream);
}

h1, h2, h3, h4, h5 {
    font-family: 'Playfair Display', serif;
    color: var(--sage-deep);
    line-height: 1.3;
    letter-spacing: -0.02em;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

img { max-width: 100%; height: auto; }
a { text-decoration: none; color: inherit; transition: all 0.3s ease; }

/* ===== HEADER / NAVIGATION ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    height: 69px;
    display: flex;
    align-items: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
}

.header.scrolled {
    background: rgba(253, 251, 247, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 1px 30px rgba(0,0,0,0.06);
}

.header .container {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    position: relative;
    z-index: 2;
}

.logo-circle {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    margin-top: 25px;
    padding-top: 10px;
}

.logo-circle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(253, 251, 247, 0.92);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 25px rgba(0,0,0,0.08);
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.logo-circle::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 0;
    height: 0;
    border-radius: 50%;
    border: 2px dashed var(--sage-pale);
    opacity: 0;
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    animation: none;
    z-index: -1;
}

.header.scrolled .logo-circle::before {
    width: 100px;
    height: 100px;
}

.header.scrolled .logo-circle::after {
    width: 118px;
    height: 118px;
    opacity: 0.4;
    animation: spinSlow 30s linear infinite;
}

.logo img {
    height: 80px;
    width: auto;
    transition: filter 0.4s ease;
}

.header.scrolled .logo img {
    filter: brightness(0.3) sepia(1) hue-rotate(70deg) saturate(0.5);
}

.nav-menu { display: flex; list-style: none; gap: 35px; }

.nav-menu a {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    position: relative;
    padding: 5px 0;
}

.header.scrolled .nav-menu a { color: var(--sage-deep); }

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--sage);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-menu a:hover::after { width: 100%; }

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    background: none;
    border: none;
    padding: 5px;
    margin-left: auto;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--white);
    transition: all 0.3s ease;
}

.header.scrolled .menu-toggle span { background: var(--sage-deep); }

/* Back link (article pages) */
.back-link {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sage-deep);
    display: flex;
    align-items: center;
    gap: 8px;
}

.back-link:hover { color: var(--sage); }

/* ===== HERO SECTION ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background:
        url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?w=1920&q=80') center/cover no-repeat;
    transform: scale(1.1);
    will-change: transform;
}

.hero-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        160deg,
        rgba(62, 74, 54, 0.88) 0%,
        rgba(42, 107, 94, 0.82) 40%,
        rgba(91, 107, 80, 0.78) 100%
    );
}

/* Floating leaf particles */
.hero-particles {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    overflow: hidden;
    z-index: 1;
}

.leaf-particle {
    position: absolute;
    width: 20px;
    height: 20px;
    opacity: 0.08;
    animation: floatLeaf linear infinite;
}

.leaf-particle svg { width: 100%; height: 100%; fill: white; }

.leaf-particle:nth-child(1) { left: 10%; animation-duration: 18s; animation-delay: 0s; top: -5%; width: 25px; height: 25px; }
.leaf-particle:nth-child(2) { left: 30%; animation-duration: 22s; animation-delay: 3s; top: -5%; width: 18px; height: 18px; }
.leaf-particle:nth-child(3) { left: 55%; animation-duration: 20s; animation-delay: 6s; top: -5%; width: 22px; height: 22px; }
.leaf-particle:nth-child(4) { left: 75%; animation-duration: 25s; animation-delay: 2s; top: -5%; width: 16px; height: 16px; }
.leaf-particle:nth-child(5) { left: 90%; animation-duration: 19s; animation-delay: 8s; top: -5%; width: 20px; height: 20px; }
.leaf-particle:nth-child(6) { left: 45%; animation-duration: 24s; animation-delay: 5s; top: -5%; width: 28px; height: 28px; }

@keyframes floatLeaf {
    0% { transform: translateY(0) rotate(0deg) translateX(0); opacity: 0; }
    10% { opacity: 0.08; }
    90% { opacity: 0.06; }
    100% { transform: translateY(110vh) rotate(720deg) translateX(80px); opacity: 0; }
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
    max-width: 900px;
}

.hero-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 48px;
    font-weight: 600;
    letter-spacing: -0.02em;
    text-transform: none;
    color: var(--white);
    margin-bottom: 25px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.3s forwards;
    text-shadow: 0 2px 40px rgba(0,0,0,0.15);
    line-height: 1.3;
}

.hero h1 {
    font-size: 18px;
    font-weight: 300;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeInUp 1s ease 0.6s forwards;
    font-family: 'Open Sans', sans-serif;
    letter-spacing: 0.02em;
    line-height: 1.8;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
}

.hero-btn {
    display: inline-block;
    padding: 16px 45px;
    border: 1.5px solid rgba(255,255,255,0.4);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 3px;
    text-transform: uppercase;
    border-radius: 50px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    animation: fadeInUp 1s ease 1.2s forwards;
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.08);
}

.hero-btn:hover {
    background: var(--white);
    color: var(--sage-deep);
    border-color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
}

.hero-scroll-indicator {
    position: absolute;
    bottom: 90px;
    left: calc(50vw - 17px);
    transform: translateX(-50%);
    z-index: 3;
    opacity: 0;
    animation: fadeInUp 1s ease 1.8s forwards;
}

.hero-scroll-indicator .mouse {
    width: 24px;
    height: 38px;
    border: 2px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    display: flex;
    justify-content: center;
    padding-top: 8px;
}

.hero-scroll-indicator .wheel {
    width: 3px;
    height: 8px;
    background: rgba(255,255,255,0.5);
    border-radius: 2px;
    animation: scrollWheel 2s ease-in-out infinite;
}

@keyframes scrollWheel {
    0%, 100% { transform: translateY(0); opacity: 1; }
    50% { transform: translateY(8px); opacity: 0.3; }
}

.hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    z-index: 3;
}

.hero-wave svg { display: block; width: 100%; height: auto; }

/* ===== SECTION DIVIDERS ===== */
.wave-divider {
    width: 100%;
    line-height: 0;
    overflow: hidden;
}

.wave-divider svg { display: block; width: 100%; height: auto; }

/* ===== INTRO SECTION ===== */
.intro {
    padding: 110px 0 90px;
    background: var(--cream);
    position: relative;
}

.intro .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: start;
}

.intro-highlight {
    position: relative;
    padding: 40px 35px;
    background: transparent;
    border-radius: 20px;
    border-left: 5px solid var(--sage);
}

.intro-highlight p {
    font-family: 'Playfair Display', serif;
    font-size: 21px;
    line-height: 1.7;
    color: var(--sage-deep);
    font-style: normal;
}

.intro-highlight p + p {
    margin-top: 16px;
}

.intro-body p {
    margin-bottom: 22px;
    font-size: 15px;
    line-height: 1.9;
}

.intro-body p:last-child { margin-bottom: 0; }

.intro-body .foglia-image {
    text-align: center;
    margin-top: 30px;
    position: relative;
}

.intro-body .foglia-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 350px;
    height: 350px;
    border-radius: 50%;
    border: 2px dashed var(--sage-pale);
    opacity: 0.4;
    animation: spinSlow 30s linear infinite;
}

.intro-body .foglia-image img {
    max-width: 320px;
    position: relative;
    z-index: 1;
    filter: hue-rotate(20deg) saturate(0.6);
    opacity: 0.85;
}

/* ===== SECTION STYLES ===== */
.section-title {
    text-align: center;
    margin-bottom: 65px;
}

.section-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 12px;
    display: block;
}

.section-title h2 {
    font-size: 42px;
    margin-bottom: 18px;
    position: relative;
    display: inline-block;
}

.section-title h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: linear-gradient(90deg, var(--sage), var(--sage-light));
    margin: 18px auto 0;
    border-radius: 2px;
}

.section-title p {
    font-size: 16px;
    color: var(--text-muted);
    max-width: 550px;
    margin: 0 auto;
}

/* ===== PERCHE ESISTIAMO ===== */
.perche {
    padding: 110px 0;
    background: var(--beige);
    position: relative;
    overflow: hidden;
}

.perche::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--sage-pale) 0%, transparent 70%);
    opacity: 0.2;
}

.perche-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    direction: rtl;
}

.perche-grid > * {
    direction: ltr;
}

.perche-image {
    text-align: center;
    position: relative;
}

.perche-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    border-radius: 50%;
    background: var(--sage-pale);
    opacity: 0.15;
}

.perche-image img {
    max-width: 340px;
    position: relative;
    z-index: 1;
    filter: hue-rotate(20deg) saturate(0.6);
    opacity: 0.85;
}

.perche-content h2 {
    font-size: 40px;
    margin-bottom: 28px;
}

.perche-content p {
    margin-bottom: 18px;
    font-size: 15px;
    line-height: 1.9;
}

.mission-quote {
    margin-top: 35px;
    padding: 35px 40px;
    background: linear-gradient(135deg, var(--sage-deep), var(--teal-brand));
    border-radius: 16px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(62, 74, 54, 0.2);
}

.mission-quote::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255,255,255,0.05);
}

.mission-quote p {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--white);
    font-style: italic;
    line-height: 1.6;
    margin: 0;
    position: relative;
    z-index: 1;
}

.mission-quote::before {
    content: '\201C';
    font-family: 'Playfair Display', serif;
    font-size: 80px;
    color: var(--sage-light);
    position: absolute;
    top: -5px;
    left: 15px;
    opacity: 0.2;
    line-height: 1;
}

.perche-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 30px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sage-dark);
    padding: 14px 30px;
    border: 2px solid var(--sage);
    border-radius: 50px;
    transition: all 0.4s ease;
}

.perche-cta:hover {
    background: var(--sage);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(122, 143, 110, 0.3);
}

.perche-cta i {
    transition: transform 0.3s ease;
}

.perche-cta:hover i {
    transform: translateX(4px);
}

/* ===== SLIDER (ex nature-parallax) ===== */
.slider-section {
    position: relative;
    overflow: hidden;
    background: var(--sage-deep);
}

.slider-wrapper {
    position: relative;
    overflow: hidden;
}

.slider-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.slider-slide {
    min-width: 100%;
    flex-shrink: 0;
    position: relative;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-slide-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-size: cover;
    background-position: center;
}

.slider-slide-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(62, 74, 54, 0.9) 0%,
        rgba(42, 107, 94, 0.85) 100%
    );
}

.slider-slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 80px 40px;
    margin: 0 auto;
}

.slider-slide-content .section-label {
    color: var(--sage-pale);
}

.slider-slide-content h2 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 30px;
}

.slider-slide-content h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--sage-pale);
    margin: 18px auto 0;
}

.slider-slide-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    line-height: 1.9;
    margin-bottom: 20px;
}

/* Quattro azioni graphic */
.quattro-azioni {
    position: relative;
    width: 380px;
    height: 380px;
    margin: 50px auto 10px;
}

.quattro-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
}

.quattro-center img {
    height: 70px;
    filter: brightness(10);
}

.quattro-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 260px;
    height: 260px;
    border-radius: 50%;
    border: 2px dashed rgba(255,255,255,0.2);
    animation: spinSlow 40s linear infinite;
}

.azione-label {
    position: absolute;
    font-family: 'Playfair Display', serif;
    font-size: 22px;
    color: var(--white);
    font-weight: 600;
    font-style: italic;
    white-space: nowrap;
    letter-spacing: 0.02em;
}

.azione-label.top { top: 10px; left: 50%; transform: translateX(-50%); }
.azione-label.right { right: -10px; top: 50%; transform: translateY(-50%); }
.azione-label.bottom { bottom: 10px; left: 50%; transform: translateX(-50%); }
.azione-label.left { left: -10px; top: 50%; transform: translateY(-50%); }

.azione-connector {
    position: absolute;
    background: rgba(255,255,255,0.15);
}

.azione-connector.vertical {
    width: 1px;
    height: 60px;
    left: 50%;
    transform: translateX(-50%);
}

.azione-connector.vertical.top-conn { top: 55px; }
.azione-connector.vertical.bottom-conn { bottom: 55px; }

.azione-connector.horizontal {
    height: 1px;
    width: 60px;
    top: 50%;
    transform: translateY(-50%);
}

.azione-connector.horizontal.left-conn { left: 45px; }
.azione-connector.horizontal.right-conn { right: 45px; }

/* Slider with 16:9 photo slides */
.slider-slide-photo {
    min-height: 0;
    aspect-ratio: 16 / 9;
    max-height: 600px;
}

.slider-slide-photo .slider-slide-content {
    padding: 60px 40px;
    max-width: 700px;
}

.slider-slide-photo h2 {
    font-size: 36px;
}

.slider-slide-photo p {
    font-size: 16px;
}

.slider-placeholder-text {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-top: 20px;
}

/* Banner slides (image-only, no overlay, contain) */
.slider-slide-banner {
    min-height: 0;
    aspect-ratio: 16 / 9;
    max-height: 600px;
}

.slider-slide-banner .slider-slide-bg {
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    background-color: var(--sage-deep);
}

.slider-slide-banner .slider-slide-overlay {
    display: none;
}

.slider-slide-link {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    z-index: 3;
    cursor: pointer;
}

.slider-banner-cta {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 33.33%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 4;
    background: linear-gradient(to top, rgba(62, 74, 54, 0.6) 0%, transparent 100%);
}

.slider-banner-cta .hero-btn {
    opacity: 1;
    animation: none;
}

/* Slider navigation */
.slider-nav {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 5;
}

.slider-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
    border: none;
    transition: all 0.3s ease;
    padding: 0;
}

.slider-dot.active {
    background: var(--white);
    transform: scale(1.3);
}

.slider-dot:hover {
    background: rgba(255,255,255,0.7);
}

.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    background: rgba(255,255,255,0.15);
    border: 1px solid rgba(255,255,255,0.2);
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 16px;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrow:hover {
    background: rgba(255,255,255,0.3);
}

.slider-arrow.prev { left: 25px; }
.slider-arrow.next { right: 25px; }

/* ===== COSA FACCIAMO ===== */
.cosa-facciamo {
    padding: 110px 0;
    background: var(--cream);
    position: relative;
}

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

.service-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 25px rgba(0,0,0,0.03);
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--sage), var(--teal-brand));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.service-card::after {
    content: '';
    position: absolute;
    top: -60px;
    right: -60px;
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: var(--sage-pale);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);
}

.service-card:hover::before { transform: scaleX(1); }
.service-card:hover::after { opacity: 0.08; }

.service-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--beige), var(--beige-warm));
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 25px;
    color: var(--sage-dark);
    font-size: 22px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--sage), var(--sage-dark));
    color: var(--white);
    transform: scale(1.1) rotate(-5deg);
    box-shadow: 0 8px 25px rgba(122, 143, 110, 0.3);
}

.service-card h3 {
    font-size: 23px;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.service-card .service-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 18px;
    display: block;
    position: relative;
    z-index: 1;
}

.service-card p {
    font-size: 14.5px;
    line-height: 1.85;
    color: var(--text-muted);
    position: relative;
    z-index: 1;
    margin-bottom: 12px;
}

.service-card p:last-of-type {
    margin-bottom: 0;
}

.service-card-footer {
    margin-top: auto;
    padding-top: 22px;
    border-top: 1px solid var(--beige-dark);
    position: relative;
    z-index: 1;
}

.service-card-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sage-dark);
    margin-bottom: 12px;
    display: block;
    position: relative;
    z-index: 1;
}

.service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    position: relative;
    z-index: 1;
}

.service-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    padding: 6px 14px;
    background: var(--beige);
    border-radius: 20px;
    color: var(--sage-dark);
    transition: all 0.3s ease;
}

.service-card:hover .service-tag {
    background: var(--beige-warm);
}

/* ===== COME LO FACCIAMO (PARALLAX) ===== */
.parallax-section {
    padding: 130px 0;
    position: relative;
    overflow: hidden;
}

.parallax-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://images.unsplash.com/photo-1542601906990-b4d3fb778b09?w=1920&q=80') center/cover no-repeat;
    background-attachment: fixed;
}

.parallax-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        160deg,
        rgba(62, 74, 54, 0.92) 0%,
        rgba(42, 107, 94, 0.88) 100%
    );
}

.parallax-content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.parallax-content h2 {
    font-size: 42px;
    color: var(--white);
    margin-bottom: 30px;
}

.parallax-content h2::after {
    content: '';
    display: block;
    width: 50px;
    height: 3px;
    background: var(--sage-pale);
    margin: 18px auto 0;
}

.parallax-content p {
    font-size: 17px;
    color: rgba(255,255,255,0.85);
    line-height: 1.9;
    margin-bottom: 20px;
}

.parallax-content .highlight-italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 20px;
    color: var(--sage-pale);
    margin-top: 30px;
    padding: 25px 30px;
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    background: rgba(255,255,255,0.05);
    backdrop-filter: blur(5px);
}

/* ===== AREE DI PENSIERO / L'EDITORIALE ===== */
.aree {
    padding: 110px 0;
    background: var(--cream);
    position: relative;
}

.aree-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin-bottom: 40px;
}

.area-item {
    padding: 28px 22px;
    background: var(--white);
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
    flex: 0 1 calc(25% - 20px);
    min-width: 140px;
}

.area-item::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--sage), var(--sage-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.area-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0,0,0,0.06);
}

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

.area-item i {
    font-size: 28px;
    color: var(--sage);
    margin-bottom: 14px;
    display: block;
    transition: transform 0.3s ease;
}

.area-item:hover i { transform: scale(1.15); }

.area-item h4 {
    font-size: 15px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    color: var(--sage-deep);
    letter-spacing: -0.01em;
}

/* Formati sub-section */
.formati-section {
    text-align: center;
}

.formati-label {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--sage);
    margin-bottom: 18px;
    display: block;
}

.formati-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.formati-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 500;
    padding: 10px 20px;
    background: var(--beige);
    border-radius: 30px;
    color: var(--sage-dark);
    transition: all 0.3s ease;
}

.formati-tag:hover {
    background: var(--sage);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(122, 143, 110, 0.25);
}

.formati-tag i {
    font-size: 14px;
}

/* ===== IDEA DI FUTURO (PARALLAX) - REMOVED ===== */

@keyframes spinSlow { to { transform: translate(-50%, -50%) rotate(360deg); } }

/* ===== TEAM SECTION ===== */
.team {
    padding: 110px 0;
    background: var(--beige);
    position: relative;
    overflow: hidden;
}

.team::before {
    content: '';
    position: absolute;
    top: -150px;
    left: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--sage-pale) 0%, transparent 70%);
    opacity: 0.12;
}

.team-intro {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 20px;
}

.team-intro p {
    font-size: 16px;
    color: var(--text-muted);
}

.esg-box {
    max-width: 700px;
    margin: 0 auto 55px;
    text-align: center;
    padding: 35px 40px;
    background: var(--white);
    border-radius: 20px;
    border-left: 5px solid var(--sage);
    box-shadow: 0 8px 30px rgba(0,0,0,0.04);
    position: relative;
    overflow: hidden;
}

.esg-box::after {
    content: '';
    position: absolute;
    top: -30px;
    right: -30px;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background: var(--sage-pale);
    opacity: 0.1;
}

.esg-box h3 {
    font-size: 25px;
    margin-bottom: 12px;
    font-style: italic;
}

.esg-box p {
    font-size: 15px;
    line-height: 1.85;
    color: var(--text-muted);
}

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

.team-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: transparent;
    border-radius: 20px;
    overflow: visible;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    padding-left: 15px;
}

.team-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.1);
}

.team-photo {
    width: 220px;
    min-width: 220px;
    height: 220px;
    overflow: hidden;
    position: relative;
    background: var(--beige-warm);
    border-radius: 50%;
    margin-right: -45px;
    z-index: 2;
    flex-shrink: 0;
    border: 5px solid var(--white);
    box-shadow: 0 8px 30px rgba(0,0,0,0.12);
}

/* Alternate: even cards have photo on the right */
.team-card:nth-child(even) {
    flex-direction: row-reverse;
    padding-left: 0;
    padding-right: 15px;
}

.team-card:nth-child(even) .team-photo {
    margin-right: 0;
    margin-left: -45px;
}

.team-card:nth-child(even) .team-info {
    padding: 30px 55px 30px 35px;
}

.team-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.team-card:hover .team-photo img {
    transform: scale(1.06);
}

.team-info {
    padding: 30px 35px 30px 55px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
    border: 1px solid rgba(0,0,0,0.04);
}

.team-info h3 {
    font-size: 22px;
    margin-bottom: 6px;
}

.team-info .role {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--sage);
    margin-bottom: 16px;
    display: block;
}

.team-info p {
    font-size: 14px;
    line-height: 1.8;
    color: var(--text-muted);
}

/* ===== CTA SECTION ===== */
.cta {
    padding: 130px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('https://images.unsplash.com/photo-1448375240586-882707db888b?w=1920&q=80') center/cover no-repeat;
    background-attachment: fixed;
}

.cta-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(62, 74, 54, 0.92) 0%,
        rgba(42, 107, 94, 0.88) 100%
    );
}

.cta .container {
    position: relative;
    z-index: 2;
}

.cta h2 {
    font-size: 44px;
    color: var(--white);
    margin-bottom: 28px;
}

.cta p {
    font-size: 17px;
    color: rgba(255,255,255,0.8);
    max-width: 600px;
    margin: 0 auto 45px;
    line-height: 1.85;
}

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

.cta-audience-btn {
    display: inline-block;
    padding: 16px 32px;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.35);
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
}

.cta-audience-btn:hover {
    background: var(--white);
    color: var(--sage-deep);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.2);
}

/* ===== MODALS ===== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.modal-overlay.active {
    display: flex;
}

.modal-content {
    background: var(--white);
    border-radius: 24px;
    padding: 50px;
    max-width: 550px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 30px 80px rgba(0,0,0,0.3);
    animation: modalIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

@keyframes modalIn {
    from { opacity: 0; transform: translateY(30px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.modal-close {
    position: absolute;
    top: 18px;
    right: 22px;
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--text-muted);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: var(--beige);
    color: var(--sage-deep);
}

.modal-content h3 {
    font-size: 26px;
    margin-bottom: 8px;
}

.modal-content .modal-subtitle {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

.modal-content label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-body);
    margin-bottom: 6px;
    letter-spacing: 0.5px;
}

.modal-content input,
.modal-content textarea,
.modal-content select {
    width: 100%;
    padding: 13px 16px;
    border: 1.5px solid var(--beige-dark);
    border-radius: 12px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: var(--text-body);
    margin-bottom: 18px;
    transition: border-color 0.3s ease;
    background: var(--cream);
}

.modal-content input:focus,
.modal-content textarea:focus,
.modal-content select:focus {
    outline: none;
    border-color: var(--sage);
    background: var(--white);
}

.modal-content textarea {
    min-height: 100px;
    resize: vertical;
}

.modal-submit {
    display: inline-block;
    width: 100%;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--sage-deep), var(--teal-brand));
    color: var(--white);
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.4s ease;
    margin-top: 10px;
}

.modal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(62, 74, 54, 0.3);
}

/* ===== FOOTER ===== */
.footer {
    background: #1E1E1E;
    padding: 80px 0 35px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 50px;
    margin-bottom: 55px;
}

.footer-brand img {
    height: 80px;
    margin-bottom: 22px;
}

.footer-brand p {
    font-size: 14px;
    color: rgba(255,255,255,0.5);
    line-height: 1.85;
}

.footer h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 25px;
    height: 2px;
    background: var(--sage);
}

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

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

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.45);
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: var(--sage-light);
    transform: translateX(3px);
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-bottom p {
    font-size: 13px;
    color: rgba(255,255,255,0.35);
}

.footer-tagline {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 15px;
    color: rgba(255,255,255,0.4);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Staggered children animation */
.stagger-children .fade-in:nth-child(1) { transition-delay: 0s; }
.stagger-children .fade-in:nth-child(2) { transition-delay: 0.1s; }
.stagger-children .fade-in:nth-child(3) { transition-delay: 0.2s; }
.stagger-children .fade-in:nth-child(4) { transition-delay: 0.3s; }
.stagger-children .fade-in:nth-child(5) { transition-delay: 0.4s; }
.stagger-children .fade-in:nth-child(6) { transition-delay: 0.5s; }
.stagger-children .fade-in:nth-child(7) { transition-delay: 0.6s; }

.fade-in-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-left.visible {
    opacity: 1;
    transform: translateX(0);
}

.fade-in-right {
    opacity: 0;
    transform: translateX(40px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.fade-in-right.visible {
    opacity: 1;
    transform: translateX(0);
}

/* ===== BACK TO TOP ===== */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    background: var(--sage);
    color: var(--white);
    border: none;
    border-radius: 14px;
    cursor: pointer;
    font-size: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 999;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--sage-deep);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

/* ===== ARTICLE PAGE ===== */
.article-hero {
    margin-top: 69px;
    position: relative;
    height: 420px;
    overflow: hidden;
    background: var(--sage-deep);
}

.article-hero img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
}

.article-meta {
    padding: 50px 0 10px;
}

.article-meta .container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.article-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--sage);
    background: rgba(122, 143, 110, 0.1);
    padding: 6px 16px;
    border-radius: 20px;
}

.article-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 13px;
    color: var(--text-muted);
}

.article-content {
    padding: 20px 0 80px;
}

.article-content .container {
    max-width: 800px;
}

.article-content h1 {
    font-size: 42px;
    margin-bottom: 30px;
    line-height: 1.2;
}

.article-content h1::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--sage);
    margin-top: 25px;
}

.article-content .lead {
    font-size: 19px;
    color: var(--text-dark);
    line-height: 1.8;
    margin-bottom: 35px;
    font-weight: 300;
}

.article-content h2 {
    font-size: 28px;
    margin: 45px 0 18px;
}

.article-content p {
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.85;
}

.article-content ul {
    margin: 15px 0 25px 25px;
    line-height: 1.85;
}

.article-content ul li {
    margin-bottom: 8px;
}

.article-content blockquote {
    border-left: 4px solid var(--sage);
    padding: 20px 30px;
    margin: 35px 0;
    background: var(--beige);
    border-radius: 0 8px 8px 0;
}

.article-content blockquote p {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 18px;
    color: var(--sage-deep);
    margin-bottom: 0;
}

.article-info-box {
    background: var(--beige);
    border-radius: 12px;
    padding: 30px 35px;
    margin: 40px 0;
}

.article-info-box h3 {
    font-size: 20px;
    margin-bottom: 15px;
}

.article-info-box p {
    margin-bottom: 8px;
    font-size: 15px;
}

.article-cta {
    text-align: center;
    padding: 50px 0;
    margin-top: 30px;
    border-top: 1px solid var(--beige-dark);
}

.article-cta p {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    color: var(--sage-deep);
    margin-bottom: 20px;
}

.article-cta .btn {
    display: inline-block;
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--white);
    background: var(--sage-dark);
    padding: 16px 40px;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.article-cta .btn:hover {
    background: var(--sage-deep);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* ===== CATEGORY PAGE ===== */
.category-hero {
    margin-top: 69px;
    padding: 80px 0 50px;
    background: var(--beige);
    text-align: center;
}

.category-hero h1 {
    font-size: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
}

.category-hero h1 i {
    font-size: 30px;
    color: var(--sage);
}

.category-content {
    padding: 60px 0 100px;
    background: var(--cream);
}

.articles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
}

.article-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(0,0,0,0.04);
    box-shadow: 0 4px 25px rgba(0,0,0,0.03);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
}

.article-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
}

.article-card-image {
    height: 200px;
    overflow: hidden;
    background: var(--sage-deep);
}

.article-card-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.5s ease;
}

.article-card:hover .article-card-image img {
    transform: scale(1.05);
}

.article-card-body {
    padding: 28px 30px 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.article-card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.article-card-body h3 {
    font-size: 19px;
    margin-bottom: 12px;
    line-height: 1.4;
}

.article-card-body p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
    flex: 1;
}

.article-card-date {
    font-family: 'Montserrat', sans-serif;
    font-size: 12px;
    color: var(--text-muted);
}

.category-empty {
    text-align: center;
    padding: 80px 20px;
}

.category-empty i {
    font-size: 48px;
    color: var(--sage-pale);
    margin-bottom: 24px;
    display: block;
}

.category-empty h3 {
    font-size: 26px;
    margin-bottom: 12px;
}

.category-empty p {
    font-size: 16px;
    color: var(--text-muted);
    margin-bottom: 30px;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 992px) {
    .hero-subtitle { font-size: 36px; }
    .hero h1 { font-size: 16px; }
    .intro .container,
    .perche-grid { grid-template-columns: 1fr; gap: 40px; }
    .services-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 30px; }
    .perche-image { order: -1; }
    .section-title h2,
    .perche-content h2,
    .slider-slide-content h2 { font-size: 32px; }
    .parallax-bg,
    .cta-bg { background-attachment: scroll; }
    .slider-arrow { display: none; }
    .quattro-azioni { width: 300px; height: 300px; }
    .azione-label { font-size: 18px; }
    .area-item { flex: 0 1 calc(33.33% - 20px); }
    .team-card { padding-left: 15px; }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(253,251,247,0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 50px 20px 25px;
        gap: 15px;
        box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    }

    .nav-menu.active { display: flex; }
    .nav-menu a { color: var(--sage-deep) !important; }
    .menu-toggle { display: flex; }

    .hero-subtitle { font-size: 28px; }
    .hero h1 { font-size: 15px; }
    .area-item { flex: 0 1 calc(50% - 20px); }

    .team-card,
    .team-card:nth-child(even) {
        flex-direction: column;
        padding-left: 0;
        padding-right: 0;
        padding-top: 0;
        align-items: center;
    }

    .team-photo,
    .team-card:nth-child(even) .team-photo {
        margin-right: 0;
        margin-left: 0;
        margin-top: -30px;
        margin-bottom: -25px;
        width: 160px;
        min-width: 160px;
        height: 160px;
        position: relative;
        z-index: 2;
    }

    .team-info,
    .team-card:nth-child(even) .team-info {
        padding: 40px 25px 30px;
        text-align: center;
    }

    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .parallax-content h2,
    .cta h2 { font-size: 28px; }
    .service-card { padding: 35px 28px; }
    .intro-highlight { padding: 30px 25px; }

    .quattro-azioni { width: 260px; height: 260px; }
    .azione-label { font-size: 16px; }
    .quattro-center img { height: 50px; }

    .slider-slide { min-height: 400px; }
    .slider-slide-banner { min-height: 0; }
    .slider-slide-content { padding: 50px 20px; }
    .slider-slide-content h2 { font-size: 26px; }

    .cta-buttons { flex-direction: column; align-items: center; }
    .cta-audience-btn { width: 80%; text-align: center; }

    .modal-content { padding: 35px 25px; }

    .formati-tag { font-size: 12px; padding: 8px 16px; }

    /* Article responsive */
    .article-hero { height: 260px; }
    .article-content h1 { font-size: 28px; }
    .article-content .lead { font-size: 17px; }
    .article-info-box { padding: 22px 20px; }

    /* Category responsive */
    .category-hero h1 { font-size: 28px; }
    .articles-grid { grid-template-columns: 1fr; }
}
