/**
 * MLP Studio - Page Templates Styles
 * Consolidated CSS for all custom page templates
 *
 * @package MLP_Studio
 */

/* ==========================================================================
   SHARED COMPONENTS
   ========================================================================== */

/* Features Grid — shared between page-servizi and page-about */
.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 30px;
}

.feature-item {
    padding: 0;
}

.feature-item .feature-title {
    font-size: 18px;
    font-weight: 600;
    color: var(--color-heading);
    margin: 0 0 12px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-item .feature-title::before {
    content: '';
    width: 8px;
    height: 8px;
    background: #004155;
    border-radius: 50%;
    flex-shrink: 0;
}

.feature-item .feature-title .highlight {
    color: #004155;
}

.feature-item .feature-desc {
    color: var(--color-content-black2);
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

@media (max-width: 1200px) {
    .features-grid { grid-template-columns: repeat(3, 1fr); }
    .mlp-about-why .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 992px) {
    .features-grid { grid-template-columns: repeat(2, 1fr); }
    .mlp-about-why .features-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 576px) {
    .features-grid { grid-template-columns: 1fr; }
}

/* About — Perché Sceglierci section */
.mlp-about-why {
    padding: 100px 0;
    background: var(--color-surface-light, #f0f2f4);
}

.mlp-about-why .mlp-section-header {
    margin-bottom: 60px;
}

.mlp-about-why .features-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0;
    counter-reset: why-counter;
}

.mlp-about-why .feature-item {
    padding: 40px 0 40px;
    border-top: 1px solid rgba(0,0,0,0.12);
    counter-increment: why-counter;
    position: relative;
}

.mlp-about-why .features-grid .feature-item:nth-child(odd) {
    padding-right: 60px;
}

.mlp-about-why .features-grid .feature-item:nth-child(even) {
    padding-left: 60px;
    border-left: 1px solid rgba(0,0,0,0.12);
}

.mlp-about-why .feature-item::before {
    content: "0" counter(why-counter);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: rgba(0,0,0,0.35);
    display: block;
    margin-bottom: 16px;
    font-family: 'Sora', sans-serif;
    text-transform: uppercase;
}

.mlp-about-why .feature-item .feature-title {
    font-size: 19px;
    font-weight: 600;
    margin-bottom: 14px;
}

.mlp-about-why .feature-item .feature-title::before {
    display: none;
}

.mlp-about-why .feature-item .feature-desc {
    font-size: 15px;
    line-height: 1.65;
}

@media (max-width: 768px) {
    .mlp-about-why .features-grid {
        grid-template-columns: 1fr;
    }
    .mlp-about-why .features-grid .feature-item:nth-child(odd),
    .mlp-about-why .features-grid .feature-item:nth-child(even) {
        padding-left: 0;
        padding-right: 0;
        border-left: none;
    }
}

/* Video Banner Hero for Internal Pages */
.mlp-page-video-hero {
    padding-top: 120px;
}

/* Image Banner Hero for Internal Pages */
.mlp-page-image-hero {
    padding-top: 120px;
}

.mlp-page-image-hero .image-banner {
    margin: 0 20px;
    position: relative;
    border-radius: 25px;
    overflow: hidden;
    height: 500px;
}

.mlp-page-image-hero .image-banner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 65, 85, 0.6);
    z-index: 5;
}

.mlp-page-image-hero .image-banner::before {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 120px;
    height: 120px;
    background: #fff;
    border-top-left-radius: 25px;
    z-index: 6;
}

.mlp-page-image-hero .hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlp-image-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    max-width: 700px;
    width: 100%;
    padding: 0 20px;
}

.mlp-image-hero-content h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 25px 0;
    font-style: normal;
    letter-spacing: .2px;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}

.mlp-image-hero-content .btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #333;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mlp-image-hero-content .btn-hero:hover {
    background: #f5f5f5;
}

@media (max-width: 992px) {
    .mlp-page-image-hero {
        padding-top: 90px;
    }
    .mlp-page-image-hero .image-banner {
        margin: 0 15px;
        height: 400px;
    }
    .mlp-image-hero-content h1 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .mlp-page-image-hero {
        padding-top: 80px;
    }
    .mlp-page-image-hero .image-banner {
        margin: 0 12px;
        height: 350px;
    }
    .mlp-image-hero-content h1 {
        font-size: 28px;
    }
    .mlp-image-hero-content .btn-hero {
        padding: 12px 20px;
        font-size: 14px;
    }
}

.mlp-page-video-hero .video-banner {
    margin: 0 20px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
}

.mlp-page-video-hero .video-banner::before {
    display: none;
}

/* CTA Corner Button on Video Hero */
.mlp-hero-cta-corner {
    position: absolute;
    bottom: 0;
    right: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: #002B37;
    color: #fff;
    min-width: 198px;
    height: 63px;
    padding: 0 28px;
    border-radius: 12px;
    border-bottom-right-radius: 0;
    border-top-left-radius: 30px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    z-index: 10;
    transition: background 0.3s ease;
}

.mlp-hero-cta-corner:hover {
    background: #004155;
    color: #fff;
}

.mlp-hero-cta-corner i {
    font-size: 18px;
}

/* White cutout behind corner CTA */
.mlp-hero-cutout {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 200px;
    height: 65px;
    background: #fff;
    border-top-left-radius: 30px;
    z-index: 6;
    pointer-events: none;
}

@media (max-width: 576px) {
    .mlp-hero-cta-corner {
        min-width: 160px;
        height: 55px;
        padding: 0 20px;
        font-size: 14px;
    }
    .mlp-hero-cutout {
        width: 160px;
        height: 55px;
    }
}

/* Article single — color hero (same shape as video/image heroes) */
.mlp-page-color-hero {
    padding-top: 120px;
}

.mlp-article-color-banner {
    margin: 0 20px;
    position: relative;
    border-radius: 24px;
    overflow: hidden;
    height: 500px;
    background: linear-gradient(135deg, #002B37 0%, #004155 55%, #006E90 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mlp-page-banner-left {
    justify-content: flex-start;
    padding-left: 60px;
}

.mlp-page-banner-left .mlp-video-hero-content {
    position: static;
    transform: none;
    text-align: left;
    max-width: 700px;
    padding: 0;
}

.mlp-page-content-section {
    padding: 80px 0;
}

.mlp-page-content-wrap {
    max-width: 800px;
}

.mlp-page-content-wrap h2,
.mlp-page-content-wrap h3,
.mlp-page-content-wrap h4 {
    color: #002B37;
    margin: 32px 0 12px;
}

.mlp-page-content-wrap p {
    color: #444;
    line-height: 1.8;
    margin-bottom: 16px;
}

.mlp-page-content-wrap ul,
.mlp-page-content-wrap ol {
    color: #444;
    line-height: 1.8;
    padding-left: 20px;
    margin-bottom: 16px;
}

.mlp-page-content-wrap a {
    color: #006E90;
    text-decoration: underline;
}

@media (max-width: 992px) {
    .mlp-page-color-hero { padding-top: 90px; }
    .mlp-article-color-banner { height: 400px; }
}

@media (max-width: 768px) {
    .mlp-page-color-hero { padding-top: 80px; }
    .mlp-article-color-banner { height: 340px; margin: 0 12px; border-radius: 18px; }
}

.mlp-page-video-hero .video-banner::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 110, 144, 0.45);
    z-index: 1;
    pointer-events: none;
    border-radius: inherit;
}

/* Title and CTA overlay on video */
.mlp-video-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    max-width: 1000px;
    z-index: 10;
    text-align: center;
    max-width: 700px;
    width: 100%;
    padding: 0 20px;
}

.mlp-video-hero-content h1,
.mlp-video-hero-content h2 {
    color: #fff;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.1;
    margin: 0 0 16px 0;
    font-style: normal;
    letter-spacing: 0.6px;
}

.mlp-video-hero-content .hero-subtitle {
    color: rgba(255, 255, 255, 0.75);
    font-size: 17px;
    font-weight: 400;
    line-height: 1.6;
    margin: 0 0 30px 0;
    letter-spacing: 0.2px;
}

.mlp-video-hero-content .btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 36px;
    background: #fefeff;
    color: #004155;
    padding: 18px 36px;
    border-radius: 16px;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.3s ease;
    position: relative;
    border: none;
}

.mlp-video-hero-content .btn-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, #00202a, #006e90, #96c9d9);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.mlp-video-hero-content .btn-hero i {
    color: #004155;
}

.mlp-video-hero-content .btn-hero:hover {
    background: #f0f0f0;
}

@media (max-width: 992px) {
    .mlp-page-video-hero {
        padding-top: 90px;
    }
    .mlp-page-video-hero .video-banner {
        margin: 0 15px;
    }
    .mlp-video-hero-content h1,
    .mlp-video-hero-content h2 {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .mlp-page-video-hero {
        padding-top: 80px;
    }
    .mlp-page-video-hero .video-banner {
        margin: 0 12px;
    }
    .mlp-video-hero-content h1,
    .mlp-video-hero-content h2 {
        font-size: 30px;
    }
    .mlp-video-hero-content .hero-subtitle {
        font-size: 15px;
    }
    .mlp-video-hero-content .btn-hero {
        padding: 12px 20px;
        font-size: 14px;
    }
}

/* Hero Wrappers - Common padding for header offset */
.mlp-contact-hero-wrapper,
.mlp-portfolio-hero-wrapper,
.mlp-about-hero-wrapper,
.mlp-service-hero-wrapper,
.mlp-project-hero-wrapper {
    padding: 120px 20px 20px 20px;
}

@media (max-width: 992px) {
    .mlp-contact-hero-wrapper,
    .mlp-portfolio-hero-wrapper,
    .mlp-about-hero-wrapper,
    .mlp-service-hero-wrapper,
    .mlp-project-hero-wrapper {
        padding: 100px 15px 15px 15px;
    }
}

@media (max-width: 768px) {
    .mlp-contact-hero-wrapper,
    .mlp-portfolio-hero-wrapper,
    .mlp-about-hero-wrapper {
        padding: 90px 15px 15px 15px;
    }
    .mlp-service-hero-wrapper,
    .mlp-project-hero-wrapper {
        padding: 90px 0 0;
    }
}

/* Hero Common Styles */
.mlp-contact-hero,
.mlp-portfolio-hero,
.mlp-about-hero,
.mlp-service-hero,
.mlp-project-hero {
    position: relative;
    overflow: visible;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mlp-contact-hero-bg,
.mlp-portfolio-hero-bg,
.mlp-about-hero-bg,
.mlp-service-hero-bg,
.mlp-project-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    border-radius: 25px;
}

/* Rectangular step notches - polygon mask */
.mlp-contact-hero,
.mlp-portfolio-hero,
.mlp-about-hero {
    --notch-bg: var(--hero-notch-bg, #ecf0f4);
}

/* Remove pseudo-element notches - using clip-path instead */
.mlp-contact-hero::before,
.mlp-portfolio-hero::before,
.mlp-about-hero::before,
.mlp-contact-hero::after,
.mlp-portfolio-hero::after,
.mlp-about-hero::after {
    display: none;
}

/* Rectangular step notch mask on entire hero */
.mlp-contact-hero,
.mlp-portfolio-hero,
.mlp-about-hero {
    clip-path: polygon(
        50px 0,
        calc(100% - 50px) 0,
        calc(100% - 50px) 40px,
        100% 40px,
        100% calc(100% - 40px),
        calc(100% - 50px) calc(100% - 40px),
        calc(100% - 50px) 100%,
        50px 100%,
        50px calc(100% - 40px),
        0 calc(100% - 40px),
        0 40px,
        50px 40px
    );
}

.mlp-contact-hero-bg,
.mlp-portfolio-hero-bg,
.mlp-about-hero-bg {
    border-radius: 0;
}

/* Wrapper positioning */
.mlp-contact-hero-wrapper,
.mlp-portfolio-hero-wrapper,
.mlp-about-hero-wrapper {
    position: relative;
    --notch-bg: var(--hero-notch-bg, #ecf0f4);
}

/* Remove wrapper pseudo-element */
.mlp-contact-hero-wrapper::after,
.mlp-portfolio-hero-wrapper::after,
.mlp-about-hero-wrapper::after {
    display: none;
}

/* Responsive - smaller notches on mobile */
@media (max-width: 768px) {
    .mlp-contact-hero,
    .mlp-portfolio-hero,
    .mlp-about-hero {
        clip-path: polygon(
            35px 0,
            calc(100% - 35px) 0,
            calc(100% - 35px) 30px,
            100% 30px,
            100% calc(100% - 30px),
            calc(100% - 35px) calc(100% - 30px),
            calc(100% - 35px) 100%,
            35px 100%,
            35px calc(100% - 30px),
            0 calc(100% - 30px),
            0 30px,
            35px 30px
        );
    }
}

/* Hero Watermark */
.mlp-contact-hero-watermark,
.mlp-portfolio-hero-watermark,
.mlp-about-hero-watermark {
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
    opacity: 0.15;
}

.mlp-contact-hero-watermark span,
.mlp-portfolio-hero-watermark span,
.mlp-about-hero-watermark span {
    display: block;
    font-size: 120px;
    font-weight: 800;
    color: #fff;
    line-height: 0.85;
    text-transform: uppercase;
}

@media (max-width: 992px) {
    .mlp-contact-hero-watermark,
    .mlp-portfolio-hero-watermark,
    .mlp-about-hero-watermark {
        display: none;
    }
}

/* Shared Button Styles */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #006E90;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    background: #005a75;
    color: #fff;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #1a3a4a;
    color: #1a3a4a;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-outline:hover {
    background: #1a3a4a;
    color: #fff;
}

/* FAQ Section - Shared */
.mlp-faq-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 60px;
    align-items: center;
}

.mlp-faq-image {
    border-radius: 20px;
    overflow: hidden;
}

.mlp-faq-image img {
    width: 100%;
    height: auto;
    display: block;
}

.mlp-service-faq .mlp-faq-image {
    aspect-ratio: 4 / 5;
}

.mlp-service-faq .mlp-faq-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
}

.mlp-faq-content .section-label {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

.mlp-faq-content .section-title {
    font-size: 36px;
    line-height: 1.2;
    margin-bottom: 40px;
}

.mlp-faq-accordion {}

.mlp-faq-item {
    border-bottom: 1px solid rgba(255,255,255,0.2);
}

.mlp-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
}

.mlp-faq-question .num {
    color: #006E90;
    font-weight: 600;
    margin-right: 15px;
}

.mlp-faq-question i {
    transition: transform 0.3s ease;
}

.mlp-faq-item.active .mlp-faq-question i {
    transform: rotate(180deg);
}

.mlp-faq-answer {
    display: none;
    padding: 0 0 20px 35px;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    line-height: 1.7;
}

.mlp-faq-item.active .mlp-faq-answer {
    display: block;
}

.mlp-faq-cta {
    margin-top: 30px;
}

@media (max-width: 992px) {
    .mlp-faq-grid {
        grid-template-columns: 1fr;
    }
    .mlp-faq-image {
        display: none;
    }
    .mlp-portfolio-faq,
    .mlp-service-faq {
        padding: 60px 30px !important;
        margin: 0 12px !important;
    }
}

@media (max-width: 768px) {
    .mlp-portfolio-faq,
    .mlp-service-faq {
        margin: 0 !important;
        padding: 40px 20px !important;
        border-radius: 25px;
    }
    .mlp-portfolio-faq .mlp-faq-content .section-label,
    .mlp-service-faq .mlp-faq-content .section-label {
        font-size: 12px;
        margin-bottom: 10px;
    }
    .mlp-portfolio-faq .mlp-faq-content .section-title,
    .mlp-service-faq .mlp-faq-content .section-title {
        font-size: 24px;
        line-height: 1.3;
        margin-bottom: 24px;
    }
    .mlp-portfolio-faq .mlp-faq-question,
    .mlp-service-faq .mlp-faq-question {
        padding: 14px 0;
        font-size: 14px;
        gap: 12px;
    }
    .mlp-portfolio-faq .mlp-faq-question .num,
    .mlp-service-faq .mlp-faq-question .num {
        margin-right: 8px;
        flex-shrink: 0;
    }
    .mlp-portfolio-faq .mlp-faq-answer,
    .mlp-service-faq .mlp-faq-answer {
        padding: 0 0 14px 20px;
        font-size: 13px;
    }
    .mlp-portfolio-faq .mlp-faq-cta,
    .mlp-service-faq .mlp-faq-cta {
        margin-top: 20px;
    }
}

/* ==========================================================================
   CONTACT PAGE (page-contatti.php)
   ========================================================================== */

/* Hero Section */
.mlp-contact-hero {
    height: 400px;
}

.mlp-contact-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,50,70,0.85) 0%, rgba(0,80,100,0.6) 50%, rgba(0,100,120,0.4) 100%);
}

.mlp-contact-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    max-width: 600px;
    width: 100%;
    padding: 0 20px;
}

.mlp-contact-hero-content h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 600;
    line-height: 1.2;
    margin: 0 0 25px 0;
}

.mlp-contact-hero-content .btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #333;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mlp-contact-hero-content .btn-hero:hover {
    background: #f5f5f5;
}

/* Contact Section */
.mlp-contact-section {
    padding: 80px 0;
}

.mlp-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
}

.mlp-contact-grid::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 150px;
    background-image: radial-gradient(circle, #006E90 2px, transparent 2px);
    background-size: 12px 12px;
    opacity: 0.3;
    z-index: 0;
}

.mlp-contact-info {
    position: relative;
    z-index: 1;
}

.mlp-contact-info .section-label {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
    display: block;
}

.mlp-contact-info .section-title {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.mlp-contact-info .section-text {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.mlp-contact-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.mlp-contact-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #1a3a4a;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mlp-contact-btn:hover {
    background: #243f4f;
}

.mlp-contact-btn .btn-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
}

.mlp-contact-btn .btn-content {}

.mlp-contact-btn .btn-label {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2px;
}

.mlp-contact-btn .btn-value {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.mlp-contact-address {
    margin-top: 12px;
    padding: 14px 18px;
    background: #1a3a4a;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mlp-contact-address-label {
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.5);
    margin-bottom: 3px;
}

.mlp-contact-address p {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    line-height: 1.5;
    margin: 0;
}

.mlp-contact-address-text {
    flex: 1;
}

.mlp-maps-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 500;
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    white-space: nowrap;
    transition: color 0.2s ease;
}

.mlp-maps-link:hover {
    color: #fff;
}

/* Contact Form */
.mlp-contact-form-wrapper {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.mlp-contact-form-wrapper h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1a3a4a;
}

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

.mlp-form-group {
    margin-bottom: 20px;
}

.mlp-form-group select {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    color: #333;
    background: #fff;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.mlp-form-group select:focus {
    outline: none;
    border-color: #006E90;
}

.mlp-form-privacy {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.mlp-form-privacy label {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    color: #666;
    cursor: pointer;
    line-height: 1.5;
}

.mlp-form-privacy input[type="checkbox"] {
    width: 16px !important;
    height: 16px !important;
    padding: 0 !important;
    margin-top: 2px;
    flex-shrink: 0;
    opacity: 1 !important;
    accent-color: #006E90;
    border: 1px solid #ccc !important;
    border-radius: 3px !important;
    cursor: pointer;
}

.mlp-form-privacy a {
    color: #006E90;
    text-decoration: underline;
}

@media (max-width: 576px) {
    .mlp-form-row {
        grid-template-columns: 1fr;
    }
}

.mlp-form-group input,
.mlp-form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.mlp-form-group input:focus,
.mlp-form-group textarea:focus {
    outline: none;
    border-color: #006E90;
}

.mlp-form-group input::placeholder,
.mlp-form-group textarea::placeholder {
    color: #aaa;
}

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

.mlp-form-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1a3a4a;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mlp-form-submit:hover {
    background: #2d4a5a;
}

.mlp-form-alert {
    padding: 12px 16px;
    border-radius: 8px;
    font-size: 14px;
    margin-bottom: 16px;
}

.mlp-form-alert--success {
    background: #e6f7f0;
    color: #1a6b45;
    border: 1px solid #b2dfcc;
}

.mlp-form-alert--error {
    background: #fdecea;
    color: #8b1a1a;
    border: 1px solid #f5c2c0;
}

/* Map Section */
.mlp-map-section {
    padding: 0 20px 80px;
}

.mlp-map-wrapper {
    border-radius: 20px;
    overflow: hidden;
    height: 400px;
}

.mlp-map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

/* Social Icons */
.mlp-contact-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 40px;
}

.mlp-contact-social .social-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #1a3a4a;
    color: #fff;
    border-radius: 50%;
    font-size: 20px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mlp-contact-social .social-icon:hover {
    background: #006E90;
    transform: translateY(-3px);
}

/* Contact Page Responsive */
@media (max-width: 992px) {
    .mlp-contact-hero {
        height: 350px;
    }
    .mlp-contact-hero-content h1 {
        font-size: 36px;
    }
    .mlp-contact-grid {
        grid-template-columns: 1fr;
        gap: 50px;
    }
    .mlp-contact-grid::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .mlp-contact-hero {
        height: 300px;
        border-radius: 20px;
    }
    .mlp-contact-hero-content h1 {
        font-size: 28px;
    }
    .mlp-contact-info .section-title {
        font-size: 28px;
    }
    .mlp-contact-buttons {
        grid-template-columns: 1fr;
    }
    .mlp-contact-form-wrapper {
        padding: 30px 20px;
    }
    .mlp-map-wrapper {
        height: 300px;
    }
}

/* ==========================================================================
   PORTFOLIO PAGE (archive-mlp_project.php)
   ========================================================================== */

/* Hero Section */
.mlp-portfolio-hero {
    height: 450px;
}

.mlp-portfolio-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,50,70,0.85) 0%, rgba(0,80,100,0.6) 50%, rgba(0,100,120,0.4) 100%);
}

.mlp-portfolio-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    max-width: 600px;
    width: 100%;
    padding: 0 20px;
}

.mlp-portfolio-hero-content h1 {
    color: #fff;
    font-size: 36px;
    font-weight: 400;
    line-height: 48px;
    letter-spacing: -0.05em;
    margin: 0 0 25px 0;
}

.mlp-portfolio-hero-content .btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #333;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mlp-portfolio-hero-content .btn-hero:hover {
    background: #f5f5f5;
    transform: translateY(-2px);
}

.mlp-portfolio-hero-watermark span {
    font-size: 140px;
}

/* Portfolio Section */
.mlp-portfolio-section {
    padding: 80px 0;
}

.mlp-portfolio-header {
    text-align: center;
    margin-bottom: 50px;
}

.mlp-portfolio-header h2 {
    font-size: 60px;
    font-weight: 600;
    margin-bottom: 32px;
    background: linear-gradient(135deg, #00202a, #006e90 42%, #96c9d9 98%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Filter Tabs */
.mlp-portfolio-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-bottom: 50px;
    max-width: 840px;
    margin-left: auto;
    margin-right: auto;
}

.mlp-filter-btn {
    padding: 10px 20px;
    border: 1px solid #ddd;
    border-radius: 25px;
    background: transparent;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mlp-filter-btn:hover,
.mlp-filter-btn.active {
    background: #006E90;
    border-color: #006E90;
    color: #fff;
}

/* Masonry 2-Column Grid */
.mlp-portfolio-grid-wrapper {
    position: relative;
}

.mlp-portfolio-grid {
    display: flex;
    gap: 48px;
}

.mlp-portfolio-column {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 48px;
}

.mlp-portfolio-column:nth-child(2) {
    padding-top: 180px;
}

.mlp-portfolio-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 4 / 5;
    text-decoration: none;
    display: block;
}

.mlp-portfolio-item.ratio-16-9 {
    aspect-ratio: 16 / 9;
}

.mlp-portfolio-item.hidden {
    display: none;
}

/* Overlay fade bianco in basso */
.mlp-portfolio-fade {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 250px;
    background: linear-gradient(to top, #ffffff, transparent);
    pointer-events: none;
    z-index: 10;
}

.mlp-portfolio-item .item-image {
    position: absolute;
    inset: 0;
}

.mlp-portfolio-item .item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.mlp-portfolio-item:hover .item-image img {
    transform: scale(1.05);
}

.mlp-portfolio-item .item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0) 40%, rgba(0,0,0,0.7) 100%);
    transition: background 0.3s ease;
}

.mlp-portfolio-item:hover .item-overlay {
    background: linear-gradient(180deg, rgba(0,0,0,0.1) 40%, rgba(0,0,0,0.8) 100%);
}

.mlp-portfolio-item .item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    z-index: 5;
}

.mlp-portfolio-item .item-category {
    display: inline-block;
    background: rgba(255,255,255,0.9);
    color: #333;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 12px;
}

.mlp-portfolio-item .item-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    margin: 0;
}

.mlp-portfolio-item.size-large .item-title {
    font-size: 24px;
}

/* Load More */
.mlp-portfolio-loadmore {
    text-align: center;
    margin-top: 50px;
}

.mlp-loadmore-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #006E90;
    color: #fff;
    padding: 14px 30px;
    border-radius: 30px;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mlp-loadmore-btn:hover {
    background: #005a75;
    transform: translateY(-2px);
}

.mlp-loadmore-btn i {
    font-size: 12px;
}

/* FAQ Section */
.mlp-portfolio-faq,
.mlp-service-faq {
    margin: 0 20px;
    padding: 100px 90px;
    background: radial-gradient(ellipse 70% 70% at 0% 0%, #feca72 0%, #1f1f1f 65%);
    color: #fff;
    border-radius: 20px;
}

.mlp-portfolio-faq .mlp-faq-image,
.mlp-service-faq .mlp-faq-image {
    border-radius: 16px;
    border: 1px solid rgba(255,255,255,0.1);
    overflow: hidden;
}

.mlp-portfolio-faq .mlp-faq-grid,
.mlp-service-faq .mlp-faq-grid {
    gap: 64px;
}

.mlp-portfolio-faq .mlp-faq-grid.no-image,
.mlp-service-faq .mlp-faq-grid.no-image {
    grid-template-columns: 1fr;
}

/* Category filter buttons: override dark default for dark-bg context */
.mlp-portfolio-faq .faq-cat-btn,
.mlp-service-faq .faq-cat-btn {
    color: rgba(255, 255, 255, 0.75);
    border-color: rgba(255, 255, 255, 0.25);
}
.mlp-portfolio-faq .faq-cat-btn:hover,
.mlp-portfolio-faq .faq-cat-btn.active,
.mlp-service-faq .faq-cat-btn:hover,
.mlp-service-faq .faq-cat-btn.active {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.6);
    color: #fff;
}

/* Accordion answer: smooth slide instead of instant show/hide */
.mlp-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
    display: block !important;
    padding-bottom: 0;
}
.mlp-faq-item.active .mlp-faq-answer {
    max-height: 600px;
    padding-bottom: 20px;
}

/* Stronger accent on FAQ numbers */

/* Portfolio Page Responsive */
@media (max-width: 992px) {
    .mlp-portfolio-grid {
        gap: 24px;
    }
    .mlp-portfolio-column {
        gap: 24px;
    }
    .mlp-portfolio-column:nth-child(2) {
        padding-top: 80px;
    }
    .mlp-portfolio-header h2 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .mlp-portfolio-grid {
        flex-direction: column;
        gap: 24px;
    }
    .mlp-portfolio-column:nth-child(2) {
        padding-top: 0;
    }
    .mlp-portfolio-header h2 {
        font-size: 32px;
    }
    .mlp-portfolio-filters {
        gap: 8px;
    }
    .mlp-filter-btn {
        padding: 8px 16px;
        font-size: 13px;
    }
    .mlp-portfolio-item {
        aspect-ratio: 4 / 5;
    }
    .mlp-portfolio-item.ratio-16-9 {
        aspect-ratio: 4 / 5;
    }
    .mlp-portfolio-fade {
        height: 150px;
    }
}

/* ==========================================================================
   ABOUT PAGE (page-about.php)
   ========================================================================== */

/* Hero Section */
.mlp-about-hero {
    height: 400px;
}

.mlp-about-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0,50,70,0.85) 0%, rgba(0,80,100,0.6) 50%, rgba(0,100,120,0.4) 100%);
}

.mlp-about-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    text-align: center;
    max-width: 600px;
    width: 100%;
    padding: 0 20px;
}

.mlp-about-hero-content h1 {
    color: #fff;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0 0 25px 0;
    font-style: normal;
    letter-spacing: .2px;
}

.mlp-about-hero-content .btn-hero {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    color: #333;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mlp-about-hero-content .btn-hero:hover {
    background: #f5f5f5;
}

/* Intro Section */
.mlp-about-intro {
    padding: 90px 0;
}

/* Intro Header - Label + Title above the grid */
.mlp-about-intro-header {
    margin-bottom: 40px;
    max-width: 600px;
}

.mlp-about-intro-header .section-label {
    color: #888;
    font-size: 14px;
    margin-bottom: 16px;
    display: block;
}

.mlp-about-intro-header .section-title {
    font-size: 36px;
    line-height: 48px;
    letter-spacing: -0.05em;
    font-weight: 400;
    margin: 0;
}

.mlp-about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: flex-start;
}

.mlp-about-intro-content .section-label {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
    display: block;
}

.mlp-about-intro-content .section-title {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.mlp-about-intro-content .section-text {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
}

/* Intro Slider */
.mlp-about-intro-slider-wrapper {
    position: relative;
    height: 520px;
    max-height: 520px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

.mlp-intro-swiper {
    height: 520px !important;
    max-height: 520px !important;
    overflow: hidden !important;
    border-radius: 20px;
}

.mlp-intro-swiper .swiper-wrapper {
    height: 520px !important;
    max-height: 520px !important;
    align-items: stretch;
}

.mlp-intro-swiper .swiper-slide {
    height: 520px !important;
    max-height: 520px !important;
    overflow: hidden;
}

.mlp-intro-swiper .swiper-slide img {
    width: 100%;
    height: 520px !important;
    max-height: 520px !important;
    object-fit: cover;
    display: block;
}

@media (max-width: 991px) {
    .mlp-about-intro-slider-wrapper {
        height: 380px;
        max-height: 380px;
    }
    .mlp-intro-swiper,
    .mlp-intro-swiper .swiper-wrapper,
    .mlp-intro-swiper .swiper-slide,
    .mlp-intro-swiper .swiper-slide img {
        height: 380px !important;
        max-height: 380px !important;
    }
}

@media (max-width: 575px) {
    .mlp-about-intro-slider-wrapper {
        height: 260px;
        max-height: 260px;
    }
    .mlp-intro-swiper,
    .mlp-intro-swiper .swiper-wrapper,
    .mlp-intro-swiper .swiper-slide,
    .mlp-intro-swiper .swiper-slide img {
        height: 260px !important;
        max-height: 260px !important;
    }
}

/* Navigation arrows */
.mlp-intro-nav {
    position: absolute;
    bottom: 20px;
    left: 20px;
    display: flex;
    gap: 0;
    z-index: 10;
}

.mlp-intro-prev,
.mlp-intro-next {
    width: 50px;
    height: 50px;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    font-size: 16px;
    color: #333;
}

.mlp-intro-prev {
    border-radius: 12px 0 0 12px;
}

.mlp-intro-next {
    border-radius: 0 12px 12px 0;
}

.mlp-intro-prev:hover,
.mlp-intro-next:hover {
    background: #f0f0f0;
}

@media (max-width: 768px) {
    .mlp-intro-prev,
    .mlp-intro-next {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
}

/* Legacy single image support */
.mlp-about-intro-image {
    position: relative;
}

.mlp-about-intro-image img {
    width: 100%;
    border-radius: 20px;
    transform: rotate(3deg);
    box-shadow: 0 20px 60px rgba(0,0,0,0.15);
}

/* Mission Section */
.mlp-about-mission {
    background: linear-gradient(135deg, #1f1f1f, #feca72);
    padding: 145px 90px;
    position: relative;
    overflow: hidden;
    border-radius: 25px;
    margin: 0 20px;
}

.mlp-about-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.mlp-about-mission-content h2 {
    color: #fff;
    font-size: 48px;
    font-weight: 600;
    margin-bottom: 25px;
}

.mlp-about-mission-content p {
    color: rgba(255,255,255,0.8);
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.mlp-about-mission-buttons {
    display: flex;
    gap: 15px;
}

.mlp-about-mission-buttons .btn-mission {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mlp-about-mission-buttons .btn-primary {
    background: #006E90;
    color: #fff;
}

.mlp-about-mission-buttons .btn-primary:hover {
    background: #005a75;
}

.mlp-about-mission-buttons .btn-outline {
    background: transparent;
    color: #fff;
    border: 1px solid rgba(255,255,255,0.3);
}

.mlp-about-mission-buttons .btn-outline:hover {
    border-color: #fff;
}

.mlp-about-mission-stats {
    display: flex;
    flex-direction: column;
    gap: 30px;
    background-size: cover;
    background-position: center;
    background-color: #3d2a1a;
    border-radius: 20px;
    padding: 50px 40px;
    position: relative;
    border: 2px solid rgba(200, 160, 100, 0.4);
}

.mlp-about-mission-stats::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.3) 0%, rgba(0,0,0,0.5) 100%);
    border-radius: 18px;
    z-index: 0;
}

.mlp-about-mission-stats .mlp-stat-item {
    position: relative;
    z-index: 1;
}

/* Outline style numbers */
.mlp-about-mission-stats .stat-number {
    font-size: 80px;
    font-weight: 700;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px rgba(200, 160, 100, 0.7);
    line-height: 1;
    margin-bottom: 8px;
    display: block;
}

.mlp-about-mission-stats .stat-label {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.mlp-stat-item {
    display: flex;
    align-items: baseline;
    gap: 15px;
}

.mlp-stat-item .stat-number {
    font-size: 72px;
    font-weight: 700;
    color: #fff;
    line-height: 1;
}

.mlp-stat-item .stat-label {
    font-size: 14px;
    color: rgba(255,255,255,0.6);
}

.mlp-about-mission-image {
    position: absolute;
    right: -100px;
    bottom: -50px;
    width: 400px;
    opacity: 0.1;
}

/* Big Text Section */
.mlp-about-bigtext {
    padding: 100px 0;
    text-align: center;
}

.mlp-about-bigtext h2 {
    font-size: 56px;
    font-weight: 400;
    line-height: 1.3;
    color: #1a3a4a;
    margin-bottom: 60px;
}

.mlp-about-bigtext h2 strong {
    font-weight: 600;
}

.mlp-about-partners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
    opacity: 0.5;
}

.mlp-about-partners img {
    height: 40px;
    width: auto;
    filter: grayscale(100%);
    transition: all 0.3s ease;
}

.mlp-about-partners img:hover {
    filter: grayscale(0%);
    opacity: 1;
}

/* Team Section */
.mlp-about-team {
    padding: 80px 0;
    background: #f8f9fa;
}

.mlp-about-team-header {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 40px;
    margin-bottom: 50px;
}

.mlp-about-team-header .team-label {
    font-size: 14px;
    color: #006E90;
    margin-bottom: 10px;
}

.mlp-about-team-header h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.mlp-about-team-header h2 span {
    background: linear-gradient(90deg, #006E90, #00a5b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mlp-about-team-header .btn-team {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1a3a4a;
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mlp-about-team-header .btn-team:hover {
    background: #243f4f;
}

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

.mlp-team-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 1;
}

.mlp-team-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlp-team-card .team-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}

.mlp-team-card .team-name {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 5px;
}

.mlp-team-card .team-role {
    font-size: 13px;
    opacity: 0.8;
}

.mlp-team-card.featured {
    grid-row: span 2;
    aspect-ratio: auto;
}

/* Team Section V2 - Figma Design */
.mlp-about-team-v2 {
    padding: 100px 0;
    background: #fff;
}

.mlp-team-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.mlp-team-intro {
    position: sticky;
    top: 150px;
}

.mlp-team-intro .team-label {
    font-size: 14px;
    color: #888;
    margin-bottom: 20px;
    display: block;
}

.mlp-team-intro h2 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 400;
    margin-bottom: 30px;
}

.mlp-team-intro .btn-team-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #E87A2E;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mlp-team-intro .btn-team-cta:hover {
    background: #d06a20;
}

/* Team Grid */
.mlp-team-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

/* Subtle vertical offset - middle column shifted down */
.mlp-team-card-v2:nth-child(3n+2) {
    margin-top: 40px;
}

.mlp-team-card-v2 {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5e5e5;
}

.mlp-team-card-v2 .card-image {
    position: relative;
    aspect-ratio: 4/4;
    overflow: hidden;
    background: #7a9ba8;
}

.mlp-team-card-v2 .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlp-team-card-v2 .card-overlay {
    display: none;
}

.mlp-team-card-v2 .card-role-vertical {
    position: absolute;
    right: 10px;
    bottom: 10px;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 14px;
    font-weight: 600;
    color: #004155;
    text-transform: capitalize;
    white-space: nowrap;
    opacity: 0.7;
}

.mlp-team-card-v2 .card-info {
    padding: 16px 20px;
    background: #fff;
}

.mlp-team-card-v2 .card-name {
    font-size: 16px;
    font-weight: 600;
    color: #1a3a4a;
    margin-bottom: 4px;
}

.mlp-team-card-v2 .card-role {
    font-size: 13px;
    color: #888;
}

/* Responsive Team V2 */
@media (max-width: 1200px) {
    .mlp-team-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .mlp-team-intro {
        position: static;
        text-align: center;
    }
}

/* Desktop: show masonry, hide swiper */
.mlp-team-mobile {
    display: none;
}

@media (max-width: 768px) {
    /* Switch: hide masonry, show swiper */
    .mlp-team-desktop {
        display: none !important;
    }
    .mlp-team-mobile {
        display: block;
        position: relative;
        width: 100%;
    }
    .mlp-team-swiper .swiper-slide {
        height: auto;
    }
    .mlp-team-swiper .mlp-team-card-v2 {
        width: 100%;
    }
    .mlp-team-swiper .swiper-pagination {
        position: relative;
        margin-top: 20px;
    }
    .mlp-team-intro h2 {
        font-size: 32px;
    }
}

/* Blog Section */
.mlp-about-blog {
    padding: 80px 0;
}

.mlp-about-blog-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 40px;
}

.mlp-about-blog-title .section-label {
    font-size: 14px;
    color: #888;
    margin-bottom: 12px;
    display: block;
}

.mlp-about-blog-header h2 {
    font-size: 36px;
    line-height: 1.3;
    font-weight: 400;
    margin: 0;
}

.mlp-about-blog-header h2 span {
    background: linear-gradient(90deg, #006E90, #00a5b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mlp-about-blog-header .btn-blog {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f5f5f5;
    color: #333;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.mlp-about-blog-header .btn-blog:hover {
    background: #e8e8e8;
}

.mlp-about-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.mlp-blog-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.mlp-blog-card-image {
    height: 200px;
    overflow: hidden;
}

.mlp-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.mlp-blog-card-content {
    padding: 25px;
}

.mlp-blog-card-content h3 {
    font-size: 16px;
    line-height: 1.5;
    margin: 0;
}

.mlp-blog-card-content h3 a {
    color: #1a3a4a;
    text-decoration: none;
}

.mlp-blog-card-content h3 a:hover {
    color: #006E90;
}

/* Ecosystem/Partners Section */
.mlp-about-ecosystem {
    padding: 100px 0;
    background: #fff;
}

.mlp-about-ecosystem .ecosystem-header {
    margin-bottom: 40px;
}

.mlp-about-ecosystem .ecosystem-header .section-label {
    display: block;
    font-size: 14px;
    letter-spacing: 1px;
    color: #999;
    margin-bottom: 15px;
    text-transform: lowercase;
}

.mlp-about-ecosystem .ecosystem-header .gradient-title {
    font-size: 42px;
    font-weight: 400;
    line-height: 1.2;
    margin: 0;
}

.mlp-about-ecosystem .ecosystem-content {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

.mlp-about-ecosystem .ecosystem-text {
    color: #555;
    font-size: 16px;
    line-height: 1.8;
}

.mlp-about-ecosystem .ecosystem-text p {
    margin: 0;
}

.mlp-about-ecosystem .ecosystem-text strong {
    color: #004155;
}

.ecosystem-logos {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    align-items: center;
}

.ecosystem-logo-item {
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.3s ease;
}

.ecosystem-logo-item:hover {
    transform: scale(1.05);
}

.ecosystem-logo-item img {
    max-width: 180px;
    max-height: 100px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.ecosystem-logo-item:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

@media (max-width: 992px) {
    .mlp-about-ecosystem .ecosystem-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .ecosystem-logos {
        grid-template-columns: repeat(3, 1fr);
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .mlp-about-ecosystem .ecosystem-header .gradient-title {
        font-size: 32px;
    }

    .ecosystem-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .ecosystem-logo-item img {
        max-width: 120px;
        max-height: 70px;
    }
}

/* Gallery Section */
.mlp-about-gallery {
    padding: 80px 0;
}

.mlp-about-gallery-header {
    margin-bottom: 30px;
}

.mlp-about-gallery-header h2 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 10px;
}

.mlp-about-gallery-header h2 span {
    background: linear-gradient(90deg, #006E90, #00a5b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mlp-about-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mlp-gallery-item {
    border-radius: 15px;
    overflow: hidden;
    aspect-ratio: 4/3;
}

.mlp-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlp-gallery-item.large {
    grid-column: span 2;
}

/* Contact Section (About Page) */
.mlp-about-contact {
    padding: 80px 0;
    background: #f8f9fa;
}

.mlp-about-contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    position: relative;
}

.mlp-about-contact-grid::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 150px;
    background-image: radial-gradient(circle, #006E90 2px, transparent 2px);
    background-size: 12px 12px;
    opacity: 0.3;
    z-index: 0;
}

.mlp-about-contact-info {
    position: relative;
    z-index: 1;
}

.mlp-about-contact-info .section-label {
    color: #888;
    font-size: 14px;
    margin-bottom: 20px;
    display: block;
}

.mlp-about-contact-info .section-title {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 20px;
}

.mlp-about-contact-info .section-text {
    color: #666;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 35px;
}

.mlp-about-contact-buttons {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.mlp-about-contact-btn {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #1a3a4a;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.mlp-about-contact-btn:hover {
    background: #243f4f;
}

.mlp-about-contact-btn .btn-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-radius: 8px;
    font-size: 15px;
}

.mlp-about-contact-btn .btn-label {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 2px;
}

.mlp-about-contact-btn .btn-value {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #fff;
}

.mlp-about-contact-form {
    position: relative;
    z-index: 1;
    background: #fff;
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.08);
}

.mlp-about-contact-form h3 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    color: #1a3a4a;
}

.mlp-about-form-group {
    margin-bottom: 20px;
}

.mlp-about-form-group input,
.mlp-about-form-group textarea {
    width: 100%;
    padding: 14px 18px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    transition: border-color 0.3s ease;
    font-family: inherit;
}

.mlp-about-form-group input:focus,
.mlp-about-form-group textarea:focus {
    outline: none;
    border-color: #006E90;
}

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

.mlp-about-form-submit {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1a3a4a;
    color: #fff;
    padding: 14px 28px;
    border-radius: 8px;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mlp-about-form-submit:hover {
    background: #2d4a5a;
}

/* About Page Responsive */
@media (max-width: 992px) {
    .mlp-about-hero {
        height: 350px;
    }
    .mlp-about-hero-content h1 {
        font-size: 36px;
    }
    .mlp-about-mission {
        padding: 60px 30px;
    }
    .mlp-about-intro-grid,
    .mlp-about-mission-grid,
    .mlp-about-contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .mlp-about-intro-grid {
        display: flex;
        flex-direction: column-reverse;
    }
    .mlp-about-intro-slider-wrapper {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
    .mlp-about-team-header {
        grid-template-columns: 1fr;
    }
    .mlp-about-team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mlp-about-blog-grid {
        grid-template-columns: 1fr;
    }
    .mlp-about-gallery-grid {
        grid-template-columns: 1fr;
    }
    .mlp-gallery-item.large {
        grid-column: span 1;
    }
    .mlp-about-bigtext h2 {
        font-size: 36px;
    }
    .mlp-about-contact-grid::before {
        display: none;
    }
}

@media (max-width: 768px) {
    .mlp-about-hero {
        height: 300px;
        border-radius: 20px;
    }
    .mlp-about-hero-content h1 {
        font-size: 28px;
    }
    .mlp-about-intro-content .section-title {
        font-size: 28px;
    }
    .mlp-about-mission-content h2 {
        font-size: 32px;
    }
    .mlp-stat-item .stat-number {
        font-size: 48px;
    }
    .mlp-about-bigtext h2 {
        font-size: 28px;
    }
    .mlp-about-team-grid {
        grid-template-columns: 1fr;
    }
    .mlp-about-contact-buttons {
        grid-template-columns: 1fr;
    }
    .mlp-about-blog-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
}

/* ==========================================================================
   SINGLE SERVICE PAGE (single-mlp_service.php)
   ========================================================================== */

/* Hero Section */
.mlp-service-hero {
    height: 500px;
    overflow: hidden;
    border-radius: 24px;
}

.mlp-service-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 30% 40%, rgba(0, 0, 0, 0.7), transparent),
        linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, transparent 65%);
    border-radius: inherit;
}

.mlp-service-hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
}

.mlp-service-hero-content .title {
    color: #fff;
    font-size: 48px;
    font-weight: 400;
    line-height: 1.15;
    letter-spacing: -0.03em;
    margin: 0;
}

.mlp-service-hero-content .btn-scopri {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.95);
    color: #004155;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 700;
    transition: all 0.3s ease;
}

.mlp-service-hero-content .btn-scopri:hover {
    background: #fff;
}

/* Media Section - Video or Masonry Gallery */
.mlp-service-media {
    padding: 0 20px 40px;
}

.mlp-service-media-video {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 16/9;
    background: #000;
}

.mlp-service-media-video iframe,
.mlp-service-media-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlp-service-media-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: 200px;
    gap: 20px;
}

.mlp-media-item {
    border-radius: 15px;
    overflow: hidden;
    position: relative;
}

.mlp-media-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mlp-media-item:hover img {
    transform: scale(1.05);
}

.mlp-media-item.wide {
    grid-column: span 2;
}

.mlp-media-item.tall {
    grid-row: span 2;
}

/* Content Section */
.mlp-service-content {
    padding: 80px 0;
}

.mlp-service-grid {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 60px;
}

/* Left Sidebar */
.mlp-service-sidebar {}

.mlp-service-card {
    background: linear-gradient(135deg, #f8b500 0%, #e09200 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 20px;
    color: #fff;
}

.mlp-service-card.blue {
    background: linear-gradient(135deg, #006E90 0%, #004d66 100%);
}

.mlp-service-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 12px;
}

.mlp-service-card p {
    font-size: 14px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 20px;
}

.mlp-service-card .btn-card {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #fff;
    color: #333;
    padding: 10px 20px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.mlp-service-card .btn-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.15);
}

/* Keywords Box */
.mlp-service-card.mlp-service-keywords {
    background: var(--color-surface-light, #f0f2f4);
    color: var(--color-heading, #111);
}

.mlp-service-card.mlp-service-keywords h4 {
    color: var(--color-heading, #111);
}

.mlp-keywords-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}

.mlp-keyword-tag {
    display: inline-block;
    background: #fff;
    border: 1px solid rgba(0,0,0,0.12);
    color: var(--color-heading, #111);
    font-size: 12px;
    font-weight: 500;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.01em;
}

/* Gallery Grid */
.mlp-service-gallery {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.mlp-service-gallery img {
    width: 100%;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
}

/* Right Content */
.mlp-service-main {}

.mlp-service-main .service-title {
    font-size: 36px;
    font-weight: 400;
    line-height: 48px;
    letter-spacing: -0.05em;
    margin-bottom: 30px;
}

.mlp-service-main .service-text {
    color: #555;
    font-size: 15px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.mlp-service-main .service-image {
    margin: 40px 0;
    border-radius: 15px;
    overflow: hidden;
}

.mlp-service-main .service-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* Service Sections (H3 + text blocks) */
.service-sections {
    margin-top: 40px;
}

.service-section-title {
    font-size: 22px;
    font-weight: 600;
    color: #004155;
    margin: 32px 0 12px;
}

.service-section-title:first-child {
    margin-top: 0;
}

.service-section-text {
    font-size: 16px;
    line-height: 1.7;
    color: #333;
}

.service-section-text p {
    margin-bottom: 16px;
}

.mlp-service-features {
    list-style: none;
    padding: 0;
    margin: 30px 0 0 0;
}

.mlp-service-features li {
    color: #444;
    font-size: 15px;
    padding: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.mlp-service-features li i {
    color: #006E90;
    font-size: 10px;
    margin-top: 6px;
}

/* Projects Section */
.mlp-service-projects {
    padding: 80px 0;
    background: #fafafa;
}

.mlp-service-projects .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.mlp-service-projects .section-label {
    color: #006E90;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

.mlp-service-projects .section-title {
    font-size: 36px;
    line-height: 1.2;
    max-width: 500px;
}

.mlp-service-projects .projects-stat {
    text-align: right;
}

.mlp-service-projects .stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #006E90;
}

.mlp-service-projects .stat-label {
    font-size: 16px;
    color: #666;
}

.mlp-projects-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    margin-bottom: 40px;
}

.mlp-project-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s ease;
}

.mlp-project-card:hover {
    transform: translateY(-5px);
}

.mlp-project-card .card-image {
    height: 180px;
    overflow: hidden;
}

.mlp-project-card .card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlp-project-card .card-content {
    padding: 20px;
}

.mlp-project-card .card-category {
    font-size: 12px;
    color: #888;
    margin-bottom: 8px;
}

.mlp-project-card .card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a3a4a;
    line-height: 1.4;
}

.mlp-projects-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.slider-arrows {
    display: flex;
    gap: 10px;
}

.slider-arrows button {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: 2px solid #ddd;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
}

.slider-arrows button:hover {
    border-color: #006E90;
    color: #006E90;
}

/* ==========================================================================
   SINGLE SERVICE PAGE - V2 STYLES (Figma Match)
   ========================================================================== */

/* Projects Section V2 */
.mlp-service-projects .section-header-v2 {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
    gap: 40px;
}

.mlp-service-projects .header-left {
    flex: 1;
    max-width: 550px;
}

.mlp-service-projects .section-title-gradient {
    font-size: 36px;
    font-weight: 500;
    line-height: 1.3;
    color: #1a3a4a;
}

.mlp-service-projects .section-title-gradient .gradient-text {
    background: linear-gradient(90deg, #006E90 0%, #4ECDC4 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mlp-service-projects .header-right {
    flex-shrink: 0;
}

.mlp-service-projects .projects-stat-outline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.mlp-service-projects .stat-number-outline {
    font-size: 72px;
    font-weight: 700;
    color: transparent;
    -webkit-text-stroke: 2px #006E90;
    line-height: 1;
}

.mlp-service-projects .stat-label-vertical {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    font-size: 14px;
    color: #666;
}

/* Project Card V2 - Overlay Style */
.mlp-service-projects-swiper {
    margin-bottom: 40px;
    overflow: hidden;
}

.mlp-project-card-v2 {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 380px;
    text-decoration: none;
}

.mlp-project-card-v2 .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.mlp-project-card-v2:hover .card-bg {
    transform: scale(1.05);
}

.mlp-project-card-v2 .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.7) 100%);
    z-index: 1;
}

.mlp-project-card-v2 .card-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    background: rgba(255,255,255,0.95);
    color: #333;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 500;
}

.mlp-project-card-v2 .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    z-index: 2;
}

.mlp-project-card-v2 .card-title {
    color: #fff;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

/* Projects Actions V2 */
.mlp-projects-actions-v2 {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e8a54b;
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    font-size: 14px;
    transition: all 0.3s ease;
}

.btn-gold:hover {
    background: #d4953f;
    color: #fff;
}

.slider-arrows-v2 {
    display: flex;
    gap: 0;
}

.slider-arrows-v2 button {
    width: 50px;
    height: 50px;
    border: none;
    background: #006E90;
    color: #fff;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.slider-arrows-v2 button:first-child {
    border-radius: 10px 0 0 10px;
}

.slider-arrows-v2 button:last-child {
    border-radius: 0 10px 10px 0;
}

.slider-arrows-v2 button:hover {
    background: #005570;
}

/* Other Services Section */
.mlp-other-services {
    padding: 80px 0;
}

.mlp-other-services .section-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 50px;
}

.mlp-other-services .section-label {
    color: #006E90;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

.mlp-other-services .section-title {
    font-size: 36px;
    font-weight: 400;
    line-height: 48px;
    letter-spacing: -0.05em;
    background: linear-gradient(135deg, #00202a, #006e90 42%, #96c9d9 98%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mlp-other-services .section-subtitle {
    color: #666;
    font-size: 14px;
    margin-bottom: 15px;
}

.mlp-services-bento {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mlp-services-bento-row {
    display: flex;
    gap: 16px;
    min-height: 400px;
}

.mlp-services-bento-row .mlp-service-item {
    flex: 1;
}

.mlp-services-bento-row .mlp-service-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mlp-service-item {
    background: #f5f5f5;
    border-radius: 20px;
    padding: 25px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mlp-service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.mlp-service-item.has-image {
    padding: 0;
}

.mlp-service-item.has-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlp-service-item.has-image .item-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 25px;
    background: linear-gradient(transparent, rgba(0,0,0,0.7));
    color: #fff;
}

.mlp-service-item .item-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
}

.mlp-service-item .item-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #666;
}

.mlp-service-item.has-image .item-desc {
    color: rgba(255,255,255,0.8);
}

.mlp-service-item.has-image::after {
    content: '\2197';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 48px;
    height: 48px;
    background: #fff;
    border-top-left-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    z-index: 3;
}

.mlp-service-item.text-top .item-content {
    position: absolute;
    top: 0;
    bottom: auto;
    left: 0;
    right: 0;
    padding: 36px 84px 0 36px;
}

/* Service Page Responsive */
@media (max-width: 1200px) {
    .mlp-projects-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mlp-services-bento-row {
        flex-wrap: wrap;
        min-height: 300px;
    }
    .mlp-services-bento-row .mlp-service-item,
    .mlp-services-bento-row .mlp-service-col {
        flex: 1 1 45%;
    }
    .mlp-other-services .section-title {
        font-size: 36px;
    }
    .mlp-other-services .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 20px;
    }
    .mlp-service-projects .section-title-gradient {
        font-size: 30px;
    }
    .mlp-service-projects .stat-number-outline {
        font-size: 56px;
    }
}

@media (max-width: 992px) {
    .mlp-service-media {
        padding: 0 15px 30px;
    }
    .mlp-service-media-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 180px;
        gap: 15px;
    }
    .mlp-service-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .mlp-service-main   { order: 1; }
    .mlp-service-sidebar { order: 2; }
    .mlp-service-hero {
        height: 420px;
    }
    .mlp-service-hero-content .title {
        font-size: 36px;
    }
    .mlp-service-projects .section-header-v2 {
        flex-direction: column;
        gap: 20px;
    }
    .mlp-service-projects .header-right {
        align-self: flex-start;
    }
    .mlp-service-faq .container {
        padding: 40px 30px;
    }
    .mlp-service-faq .mlp-faq-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .mlp-service-faq .mlp-faq-image {
        max-width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .mlp-service-media-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: 200px;
    }
    .mlp-media-item.wide,
    .mlp-media-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    .mlp-service-hero {
        height: 350px;
    }
    .mlp-service-hero-content {
        text-align: center;
        align-items: center;
        padding: 0 24px;
        width: 100%;
    }
    .mlp-service-hero-content .title {
        font-size: 28px;
        line-height: 1.3;
    }
    .mlp-service-main .service-title {
        font-size: 28px;
    }
    .mlp-projects-grid {
        grid-template-columns: 1fr;
    }
    .mlp-services-bento {
        grid-template-columns: 1fr;
    }
    .mlp-service-item.large,
    .mlp-service-item.wide {
        grid-row: auto;
        grid-column: auto;
    }
    .mlp-service-projects .section-title-gradient {
        font-size: 26px;
    }
    .mlp-project-card-v2 {
        height: 320px;
    }
    .mlp-projects-actions-v2 {
        flex-direction: column;
        gap: 20px;
        align-items: flex-start;
    }
    .mlp-service-faq .container {
        padding: 30px 20px;
        border-radius: 20px;
    }
    .mlp-service-faq .section-title {
        font-size: 26px;
    }
    .mlp-service-faq .mlp-faq-image img {
        height: 300px;
    }
    /* Other services grid: collapse to 2-column stack on mobile */
    .services-grid-row1 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
        height: auto;
    }
    .services-grid-row1 .service-card:nth-child(1),
    .services-grid-row1 .service-card:nth-child(4) {
        grid-column: auto;
        grid-row: auto;
    }
    .services-grid-row1 .service-card {
        height: 220px;
    }
    .services-grid-row2 {
        grid-template-columns: 1fr 1fr;
        height: auto;
    }
    .services-grid-row2 .service-card {
        height: 220px;
    }
    /* Projects section: border-radius on mobile */
    .mlp-service-projects {
        border-radius: 25px;
        margin: 0;
        padding: 48px 0;
    }
    .mlp-other-services .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    .mlp-other-services .section-title {
        font-size: 26px;
        line-height: 1.3;
    }
}

/* ==========================================================================
   SINGLE PROJECT PAGE (single-mlp_project.php)
   ========================================================================== */

/* Hero Section */
.mlp-project-hero {
    height: 380px;
}

.mlp-project-hero-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
}

.mlp-project-hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
}

.mlp-project-hero-content .title {
    color: #fff;
    font-size: 48px;
    font-weight: 500;
    margin-bottom: 25px;
}

.mlp-project-hero-content .btn-scopri {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.95);
    color: #333;
    padding: 14px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    transition: all 0.3s ease;
}

.mlp-project-hero-content .btn-scopri:hover {
    background: #fff;
}

/* Media Section - Video or Masonry Gallery (Project) */
.mlp-project-media {
    padding: 0 20px 40px;
}

.mlp-project-media-video {
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
}

.mlp-project-media-video .video-wrapper {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.mlp-project-media-video .video-wrapper iframe,
.mlp-project-media-video .video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.mlp-project-media-masonry {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    grid-auto-rows: 250px;
}

/* Project Details Section */
.mlp-project-details {
    padding: 80px 0;
}

.mlp-project-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}

.mlp-project-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.mlp-project-logo img {
    max-width: 200px;
    height: auto;
}

.mlp-project-category {
    color: #888;
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

.mlp-project-info .mlp-project-title {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.mlp-project-description {
    color: #555;
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 30px;
}

.mlp-project-features {
    list-style: none;
    padding: 0;
    margin: 0 0 40px 0;
    border-top: 1px solid #eee;
    padding-top: 25px;
}

.mlp-project-features li {
    color: #444;
    font-size: 15px;
    padding: 8px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.mlp-project-features li i {
    color: #006E90;
    font-size: 12px;
}

.mlp-project-meta {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    padding-top: 30px;
    border-top: 1px solid #eee;
    margin-bottom: 30px;
}

.mlp-project-meta-item .meta-label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #1a3a4a;
    margin-bottom: 8px;
}

.mlp-project-meta-item .meta-value {
    display: block;
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.mlp-project-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1a3a4a;
    color: #fff;
    padding: 14px 28px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 15px;
    font-weight: 500;
    transition: background 0.3s ease;
}

.mlp-project-btn:hover {
    background: #2d4a5a;
    color: #fff;
}

/* Full Width Image */
.mlp-project-fullimage {
    padding: 0 40px 80px;
}

.mlp-project-fullimage-wrapper {
    border-radius: 20px;
    overflow: hidden;
    max-height: 500px;
}

.mlp-project-fullimage-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Key Outcomes Section */
.mlp-project-outcomes {
    padding: 60px 0 80px;
}

.mlp-project-outcomes-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.mlp-project-outcomes h3 {
    font-size: 28px;
    font-weight: 600;
    color: #1a3a4a;
    margin-bottom: 20px;
    display: inline-block;
    border-bottom: 2px solid #1a3a4a;
    padding-bottom: 8px;
}

.mlp-project-outcomes-text {
    color: #555;
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.mlp-project-outcomes-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mlp-project-outcomes-list li {
    color: #444;
    font-size: 14px;
    padding: 6px 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.mlp-project-outcomes-list li i {
    color: #006E90;
    font-size: 11px;
}

.mlp-project-outcomes-cta {
    text-align: right;
}

.mlp-project-outcomes-cta .btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #1a3a4a;
    color: #fff;
    padding: 16px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-size: 15px;
}

.mlp-project-outcomes-cta .btn-cta:hover {
    background: #2d4a5a;
    color: #fff;
}

/* Project Navigation */
.mlp-project-nav {
    padding: 60px 0;
    background: #fafafa;
}

.mlp-project-nav-grid {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.mlp-project-nav-item {
    text-decoration: none;
    display: block;
    max-width: 45%;
}

.mlp-project-nav-item.empty {
    visibility: hidden;
}

.mlp-project-nav-item .nav-label {
    display: block;
    font-size: 14px;
    color: #888;
    margin-bottom: 15px;
}

.mlp-project-nav-item .nav-content {
    display: flex;
    align-items: center;
    gap: 15px;
}

.mlp-project-nav-item.next .nav-content {
    justify-content: flex-end;
}

.mlp-project-nav-item.next {
    text-align: right;
}

.mlp-project-nav-item .nav-thumb {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
}

.mlp-project-nav-item .nav-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlp-project-nav-item .nav-category {
    font-size: 13px;
    color: #888;
    display: block;
}

.mlp-project-nav-item .nav-title {
    font-size: 18px;
    font-weight: 600;
    color: #1a3a4a;
    display: block;
}

.mlp-project-nav-item:hover .nav-title {
    color: #006E90;
}

/* Project Page Responsive */
@media (max-width: 992px) {
    .mlp-project-hero {
        height: 320px;
    }
    .mlp-project-media-masonry {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    .mlp-project-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .mlp-project-info  { order: 1; }
    .mlp-project-logo  { order: 2; }
    .mlp-project-info .mlp-project-title {
        font-size: 32px;
    }
    .mlp-project-meta {
        grid-template-columns: repeat(2, 1fr);
    }
    .mlp-project-outcomes-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    .mlp-project-outcomes-cta {
        text-align: left;
    }
}

@media (max-width: 768px) {
    .mlp-project-hero {
        height: 600px;
        border-radius: 24px;
        overflow: hidden;
    }
    .mlp-project-hero-bg {
        border-radius: 24px;
    }
    .mlp-project-hero-content {
        position: absolute;
        top: auto;
        left: 30px;
        right: 30px;
        bottom: 56px;
        transform: none;
        text-align: left;
    }
    .mlp-project-hero-content .title {
        font-size: 36px;
        line-height: 48px;
        text-align: left;
        margin-bottom: 16px;
    }
    .mlp-project-hero-content .btn-scopri {
        background: rgba(255, 255, 255, 0.95);
        color: #004155;
        padding: 10px 24px;
        gap: 10px;
        font-size: 14px;
        font-weight: 700;
    }
    .mlp-project-fullimage {
        padding: 0 12px 60px;
    }
    .mlp-project-fullimage-wrapper {
        padding: 10px;
        max-height: 420px;
    }
    .mlp-project-nav-grid {
        flex-direction: column;
        gap: 30px;
    }
    .mlp-project-nav-item {
        max-width: 100%;
        width: 100%;
    }
    .mlp-project-nav-item.next {
        text-align: left;
    }
    .mlp-project-nav-item.next .nav-content {
        justify-content: flex-start;
        flex-direction: row-reverse;
    }
}

@media (max-width: 576px) {
    .mlp-project-media {
        padding: 0 15px 30px;
    }
    .mlp-project-media-masonry {
        grid-template-columns: 1fr;
        grid-auto-rows: auto;
    }
    .mlp-media-item {
        height: 250px;
    }
    .mlp-media-item.wide,
    .mlp-media-item.tall {
        grid-column: span 1;
        grid-row: span 1;
    }
    .mlp-media-item.tall {
        height: 400px;
    }
    .mlp-project-details {
        padding: 50px 0;
    }
    .mlp-project-info .mlp-project-title {
        font-size: 26px;
    }
    .mlp-project-meta {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

/* ==========================================================================
   CHAT WIDGET
   ========================================================================== */

/* Chat Button */
.mlp-chat-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #006E90 0%, #004d66 100%);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    z-index: 9999;
    box-shadow: 0 4px 20px rgba(0, 110, 144, 0.4);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mlp-chat-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(0, 110, 144, 0.5);
}

.mlp-chat-btn.active {
    background: #e74c3c;
}

.mlp-chat-btn.active i::before {
    content: "\f00d"; /* fa-times */
}

/* Chat Panel */
.mlp-chat-panel {
    position: fixed;
    bottom: 110px;
    right: 30px;
    width: 350px;
    max-height: 450px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.2);
    z-index: 9998;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px) scale(0.95);
    transition: all 0.3s ease;
}

.mlp-chat-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Chat Header */
.mlp-chat-header {
    background: linear-gradient(135deg, #006E90 0%, #004d66 100%);
    color: #fff;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mlp-chat-header span {
    font-size: 16px;
    font-weight: 600;
}

.mlp-chat-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    line-height: 1;
}

.mlp-chat-close:hover {
    opacity: 1;
}

/* Chat Body */
.mlp-chat-body {
    padding: 25px;
    max-height: 350px;
    overflow-y: auto;
}

/* Default Chat Content */
.mlp-chat-default p {
    color: #333;
    margin-bottom: 15px;
    font-size: 15px;
}

.mlp-chat-default p:first-child {
    font-size: 18px;
    font-weight: 600;
}

.mlp-chat-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 14px 18px;
    background: #f5f5f5;
    border-radius: 12px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.mlp-chat-link:hover {
    background: #e8e8e8;
    transform: translateX(5px);
}

.mlp-chat-link i {
    width: 24px;
    font-size: 18px;
    color: #006E90;
}

.mlp-chat-link.mlp-chat-whatsapp {
    background: #25D366;
    color: #fff;
}

.mlp-chat-link.mlp-chat-whatsapp i {
    color: #fff;
}

.mlp-chat-link.mlp-chat-whatsapp:hover {
    background: #20bd5a;
}

/* Responsive */
@media (max-width: 480px) {
    .mlp-chat-btn {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
        font-size: 22px;
    }

    .mlp-chat-panel {
        bottom: 90px;
        right: 15px;
        left: 15px;
        width: auto;
        max-height: 400px;
    }
}

/* === Moved from header.php === */
/* SVG Logo Fix */
.header-logo img {
    width: auto;
    height: 40px;
    max-width: 200px;
}
.side-menu .logo img {
    width: auto;
    height: 50px;
    max-width: 180px;
}

/* === Moved from template-parts/sections/about.php === */
/* Projects Section */
.mlp-projects-section {
    background: linear-gradient(135deg, #2d1810 0%, #4a3028 50%, #6b4a3a 100%);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.mlp-projects-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 50px;
    flex-wrap: wrap;
    gap: 30px;
}

.mlp-projects-header-left {
    max-width: 650px;
}

.mlp-projects-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 15px;
    display: block;
}

.mlp-projects-title {
    color: #fff;
    font-size: 42px;
    font-weight: 500;
    line-height: 1.2;
    margin: 0;
}

.mlp-projects-counter {
    text-align: right;
}

.mlp-projects-counter-number {
    display: flex;
    align-items: center;
    font-size: 80px;
    color: var(--color-content-white);
}

.mlp-projects-counter-number span {
    font-size: 60px;
}

.mlp-projects-counter-label {
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px !important;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    margin-left: 10px;
}

/* Projects Grid */
.mlp-projects-swiper {
    margin-bottom: 50px;
}

.mlp-projects-swiper .swiper-slide {
    width: calc(25% - 15px);
}

/* Project Card */
.mlp-project-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    height: 450px;
    display: block;
    text-decoration: none;
}

.mlp-project-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.mlp-project-card:hover .mlp-project-card-bg {
    transform: scale(1.05);
}

.mlp-project-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
    z-index: 1;
}

.mlp-project-card-category {
    position: absolute;
    top: 20px;
    left: 20px;
    z-index: 2;
    background: #fff;
    color: #333;
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 13px;
    font-weight: 500;
}

.mlp-project-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    z-index: 2;
}

.mlp-project-card-title {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    line-height: 1.4;
    margin: 0;
}

/* Footer */
.mlp-projects-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mlp-projects-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #e8a54b;
    color: #fff;
    padding: 15px 30px;
    border-radius: var(--radius-lg, 12px);
    text-decoration: none;
    font-weight: 500;
    transition: background 0.3s ease;
}

.mlp-projects-btn:hover {
    background: #d4953f;
    color: #fff;
}

.mlp-projects-btn i {
    font-size: 14px;
}

.mlp-projects-nav {
    display: flex;
    gap: 0;
}

.mlp-projects-nav-btn {
    width: 50px;
    height: 50px;
    background: #fff;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
}

.mlp-projects-nav-btn:first-child {
    border-radius: var(--radius-lg, 12px) 0 0 var(--radius-lg, 12px);
}

.mlp-projects-nav-btn:last-child {
    border-radius: 0 var(--radius-lg, 12px) var(--radius-lg, 12px) 0;
}

.mlp-projects-nav-btn:hover {
    background: #f0f0f0;
}

/* Swiper overrides */
.mlp-projects-swiper {
    overflow: hidden;
}

.mlp-projects-swiper .swiper-slide {
    width: auto;
}

/* Responsive */
@media (max-width: 1200px) {
    .mlp-projects-title {
        font-size: 36px;
    }
    .mlp-projects-counter-number {
        font-size: 80px;
    }
}

@media (max-width: 992px) {
    .mlp-projects-swiper .swiper-slide {
        width: calc(50% - 10px);
    }
    .mlp-project-card {
        height: 400px;
    }
    .mlp-projects-header {
        flex-direction: column;
    }
    .mlp-projects-counter {
        text-align: left;
    }
    .mlp-projects-counter-number {
        font-size: 60px;
    }
}

@media (max-width: 576px) {
    .mlp-projects-section {
        padding: 60px 0;
    }
    .mlp-projects-swiper .swiper-slide {
        width: 100%;
    }
    .mlp-project-card {
        height: 350px;
    }
    .mlp-projects-title {
        font-size: 28px;
    }
    .mlp-projects-footer {
        flex-direction: column;
        gap: 20px;
    }
}

/* === Moved from template-parts/sections/services.php === */
/* Services Section Grid */
.mlp-services-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    max-width: 83.333%;
    margin: 0 auto;
    height: 600px;
}
@media (min-width: 1920px) {
    .mlp-services-grid {
        max-width: 1600px;
    }
}
@media (max-width: 1199px) {
    .mlp-services-grid {
        max-width: 90%;
    }
}
@media (max-width: 767px) {
    .mlp-services-desktop { display: none !important; }
}

@media (min-width: 768px) {
    .mlp-services-mobile { display: none !important; }
}

/* Mobile services swiper */
.mlp-services-swiper {
    width: 100%;
    position: relative;
    overflow: hidden;
    padding-bottom: 44px;
}

.mlp-services-swiper .swiper-slide {
    height: 360px;
}

.mlp-services-swiper .mlp-service-card {
    height: 360px;
    border-radius: 20px;
}

.mlp-services-swiper .swiper-pagination {
    bottom: 12px;
}

.mlp-services-swiper .swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: #d9d9d9;
    opacity: 1;
}

.mlp-services-swiper .swiper-pagination-bullet-active {
    background: #787b8b;
}

.mlp-services-grid .mlp-card-1 { grid-column: 1; grid-row: 1 / 3; }
.mlp-services-grid .mlp-card-2 { grid-column: 2; grid-row: 1 / 3; }
.mlp-services-grid .mlp-card-3 { grid-column: 3; grid-row: 1; }
.mlp-services-grid .mlp-card-4 { grid-column: 3; grid-row: 2; }

.mlp-services-grid-row2 {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    max-width: 83.333%;
    margin: 20px auto 0;
    height: 400px;
}
@media (min-width: 1920px) {
    .mlp-services-grid-row2 {
        max-width: 1600px;
    }
}
@media (max-width: 1199px) {
    .mlp-services-grid-row2 {
        max-width: 90%;
    }
}
@media (max-width: 767px) {
    .mlp-services-grid-row2 {
        max-width: 100%;
        padding: 0 20px;
        margin-top: 20px;
    }
}

/* Card Base — homepage services grid only (scoped to avoid conflicts with sidebar cards) */
.mlp-services-grid .mlp-service-card,
.mlp-services-grid-row2 .mlp-service-card,
.mlp-services-swiper .mlp-service-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    height: 100%;
    text-decoration: none;
}

/* Background Image */
.mlp-services-grid .mlp-service-card .mlp-card-bg,
.mlp-services-grid-row2 .mlp-service-card .mlp-card-bg,
.mlp-services-swiper .mlp-service-card .mlp-card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    z-index: 1;
}

/* Dark Overlay */
.mlp-services-grid .mlp-service-card .mlp-card-overlay,
.mlp-services-grid-row2 .mlp-service-card .mlp-card-overlay,
.mlp-services-swiper .mlp-service-card .mlp-card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 2;
}

/* Content */
.mlp-services-grid .mlp-service-card .mlp-card-content,
.mlp-services-grid-row2 .mlp-service-card .mlp-card-content,
.mlp-services-swiper .mlp-service-card .mlp-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 70px;
    padding: 24px;
    z-index: 3;
}

.mlp-services-grid .mlp-service-card .mlp-card-title,
.mlp-services-grid-row2 .mlp-service-card .mlp-card-title,
.mlp-services-swiper .mlp-service-card .mlp-card-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px 0;
    text-decoration: underline;
    line-height: 1.3;
}

.mlp-services-grid .mlp-service-card .mlp-card-excerpt,
.mlp-services-grid-row2 .mlp-service-card .mlp-card-excerpt,
.mlp-services-swiper .mlp-service-card .mlp-card-excerpt {
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

/* Arrow Button */
.mlp-services-grid .mlp-service-card .mlp-card-arrow,
.mlp-services-grid-row2 .mlp-service-card .mlp-card-arrow,
.mlp-services-swiper .mlp-service-card .mlp-card-arrow {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: #000;
    border-radius: 12px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    color: #fff;
    font-size: 18px;
}

/* Cut-out effect behind arrow */
.mlp-services-grid .mlp-service-card::after,
.mlp-services-grid-row2 .mlp-service-card::after,
.mlp-services-swiper .mlp-service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70px;
    height: 70px;
    background: white;
    border-top-left-radius: 30px;
    z-index: 2;
}

/* Responsive */
@media (max-width: 1200px) {
    .mlp-services-grid {
        height: 500px;
    }
    .mlp-services-grid-row2 {
        height: 350px;
    }
}

@media (max-width: 992px) {
    .mlp-services-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: 1fr 1fr 1fr;
        height: auto;
    }
    .mlp-services-grid .mlp-card-1 { grid-column: 1; grid-row: 1 / 3; }
    .mlp-services-grid .mlp-card-2 { grid-column: 2; grid-row: 1; min-height: 250px; }
    .mlp-services-grid .mlp-card-3 { grid-column: 2; grid-row: 2; min-height: 250px; }
    .mlp-services-grid .mlp-card-4 { grid-column: 1 / 3; grid-row: 3; min-height: 250px; }

    .mlp-services-grid-row2 {
        grid-template-columns: 1fr 1fr;
        height: auto;
    }
    .mlp-services-grid-row2 > a:last-child {
        grid-column: 1 / 3;
        min-height: 250px;
    }
}

@media (max-width: 576px) {
    .mlp-services-grid,
    .mlp-services-grid-row2 {
        grid-template-columns: 1fr;
    }
    .mlp-services-grid .mlp-card-1,
    .mlp-services-grid .mlp-card-2,
    .mlp-services-grid .mlp-card-3,
    .mlp-services-grid .mlp-card-4,
    .mlp-services-grid-row2 > a {
        grid-column: auto;
        grid-row: auto;
        min-height: 300px;
    }
    .mlp-services-grid-row2 > a:last-child {
        grid-column: auto;
    }
}

/* === Moved from template-parts/sections/blog.php === */
/* Blog Section - Figma Aligned */
.blog-sec {
    padding: 100px 0;
}

.blog-sec .title-area {
    margin-bottom: 56px;
}

.blog-sec .sec-btn-box .ibt-btn {
    background: #006e90;
    color: #fff;
    border-color: #006e90;
    border-radius: 16px;
    padding: 18px 36px;
    font-size: 16px;
    font-weight: 600;
}

.blog-sec .sec-btn-box .ibt-btn:hover {
    background: #004155;
    border-color: #004155;
}

.blog-sec .sec-btn-box .ibt-btn span {
    color: #fff;
}

/* Blog Grid */
.blog-sec .mlp-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: auto;
    gap: 24px;
    position: relative;
}

/* Blog Card */
.blog-sec .blog-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    min-height: 470px;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease;
    margin-bottom: 0;
}

.blog-sec .blog-card:hover {
    border-color: #006e90;
}

/* Row 2 cards fill height */
.blog-sec .blog-card:nth-child(n+4) {
    min-height: 0;
    height: 100%;
}

.blog-sec .blog-card .blog-img {
    position: relative;
    overflow: hidden;
    padding: 8px 8px 0;
}

.blog-sec .blog-card .blog-img a {
    display: block;
    border-radius: 16px;
    overflow: hidden;
}

.blog-sec .blog-card .blog-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.blog-sec .blog-card:hover .blog-img img {
    transform: scale(1.05);
}

/* Date tag on image */
.blog-sec .blog-card .blog-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    z-index: 2;
}

.blog-sec .blog-card .blog-content {
    padding: 36px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-height: 210px;
}

.blog-sec .blog-card .blog-content .title {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
    order: 1;
}

.blog-sec .blog-card .blog-content .title a {
    color: #1a1a1a;
    text-decoration: none;
}

.blog-sec .blog-card .blog-content > span {
    font-size: 13px;
    color: #006e90;
    order: 2;
}

/* Blog archive + related posts — same card style as blog-sec */
.mlp-blog-grid .blog-card {
    background: #fff;
    border: 2px solid #e0e0e0;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: border-color 0.3s ease;
}

.mlp-blog-grid .blog-card:hover {
    border-color: #006e90;
}

.mlp-blog-grid .blog-card .blog-img {
    position: relative;
    overflow: hidden;
    padding: 8px 8px 0;
}

.mlp-blog-grid .blog-card .blog-img a {
    display: block;
    border-radius: 16px;
    overflow: hidden;
}

.mlp-blog-grid .blog-card .blog-img img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.mlp-blog-grid .blog-card:hover .blog-img img {
    transform: scale(1.05);
}

.mlp-blog-grid .blog-card .blog-date {
    position: absolute;
    top: 20px;
    left: 20px;
    background: rgba(255, 255, 255, 0.9);
    color: #333;
    font-size: 12px;
    font-weight: 500;
    padding: 6px 12px;
    border-radius: 8px;
    z-index: 2;
}

.mlp-blog-grid .blog-card .blog-content {
    padding: 24px 28px 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.mlp-blog-grid .blog-card .blog-content .title {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
    margin: 0;
}

.mlp-blog-grid .blog-card .blog-content .title a {
    color: #1a1a1a;
    text-decoration: none;
}

.mlp-blog-grid .blog-card .blog-content .title a:hover {
    color: #006e90;
}

.mlp-blog-grid .blog-card .blog-content > span {
    font-size: 13px;
    color: #006e90;
}

/* Fade overlay - disabled for 3 cards */

@media (max-width: 991px) {
    .mlp-blog-grid .blog-card .blog-img img {
        height: 200px;
    }
}

@media (max-width: 991px) {
    .blog-sec .mlp-blog-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: auto;
    }
    .blog-sec .blog-card {
        min-height: auto;
    }
}

@media (max-width: 767px) {
    .blog-sec .mlp-blog-grid {
        grid-template-columns: 1fr;
    }
    .blog-sec .blog-card .blog-content {
        padding: 24px;
    }
}

/* === Moved from template-parts/sections/fun-facts.php === */
/* Fun Fact Black Card - New Design */
.fun-fact-content.black {
    background: linear-gradient(135deg, #1f1f1f, #feca72);
    border-radius: 25px;
    padding: 50px 60px;
}

.fun-fact-content.black .counter-box {
    font-size: 80px;
    font-weight: 700;
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px #fff;
    background: none;
    background-image: none;
    margin-bottom: 16px;
}

.fun-fact-content.black .counter-box .counter-text,
.fun-fact-content.black .counter-box .counter-number {
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-text-stroke: 2px #fff;
}

.fun-fact-content.black .title {
    color: #fff;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 12px;
}

.fun-fact-content.black p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 15px;
    line-height: 1.6;
    max-width: 100%;
}

@media (max-width: 1200px) {
    .fun-fact-content.black {
        padding: 40px 40px;
    }
    .fun-fact-content.black .counter-box {
        font-size: 60px;
    }
}

@media (max-width: 576px) {
    .fun-fact-content.black {
        padding: 30px 24px;
    }
    .fun-fact-content.black .counter-box {
        font-size: 48px;
    }
}

/* === Moved from template-parts/sections/testimonials.php === */
/* Testimonials Section - Clean Centered Design */
.mlp-testimonials-section {
    padding: 80px 0;
    background: transparent;
    margin: 0;
}

.mlp-testimonials-header {
    text-align: left;
    margin-bottom: 40px;
    max-width: 1320px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 24px;
}

.mlp-testimonials-header .section-label {
    font-size: 14px;
    font-weight: 500;
    color: #004155;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}

.mlp-testimonials-row {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

/* Testimonial Card */
.mlp-testimonial-card {
    width: 100%;
    background: transparent;
    padding: 40px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mlp-testimonial-slider {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.mlp-testimonial-slider .swiper {
    flex: 1;
    width: 100%;
}

.mlp-testimonial-slider .swiper-wrapper {
    height: auto;
}

.mlp-testimonial-slide {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.mlp-testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 24px;
    border: 3px solid rgba(0, 43, 55, 0.1);
}

.mlp-testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.mlp-testimonial-quote {
    color: #002B37;
    font-size: 20px;
    line-height: 1.6;
    font-weight: 400;
    margin-bottom: 24px;
    flex: 1;
}

.mlp-testimonial-author {
    margin-bottom: 16px;
}

.mlp-testimonial-name {
    color: #002B37;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px 0;
}

.mlp-testimonial-role {
    color: rgba(0, 43, 55, 0.6);
    font-size: 14px;
    margin: 0;
}

.mlp-testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 30px;
}

.mlp-testimonial-stars i {
    color: #F5A623;
    font-size: 16px;
}

/* Google Reviews (Elfsight) */
.mlp-google-reviews {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    overflow: hidden;
}

.mlp-google-reviews > div,
.mlp-google-reviews iframe {
    width: 100%;
}

/* Navigation */
.mlp-testimonial-nav {
    display: flex;
    gap: 0;
    margin-top: auto;
}

.mlp-testimonial-nav-btn {
    width: 50px;
    height: 50px;
    background: rgba(0, 43, 55, 0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background 0.3s ease;
    color: #002B37;
}

.mlp-testimonial-nav-btn:first-child {
    border-radius: var(--radius-lg, 12px) 0 0 var(--radius-lg, 12px);
}

.mlp-testimonial-nav-btn:last-child {
    border-radius: 0 var(--radius-lg, 12px) var(--radius-lg, 12px) 0;
}

.mlp-testimonial-nav-btn:hover {
    background: rgba(0, 43, 55, 0.2);
}

/* Responsive */
@media (max-width: 992px) {
    .mlp-testimonials-section {
        padding: 60px 0;
    }

    .mlp-testimonials-header {
        padding: 0 16px;
    }

    .mlp-testimonial-card {
        padding: 30px 20px;
    }
}

@media (max-width: 576px) {
    .mlp-testimonials-section {
        padding: 40px 0;
    }

    .mlp-testimonials-header {
        padding: 0 12px;
    }

    .mlp-testimonial-card {
        padding: 20px 10px;
    }

    .mlp-testimonial-quote {
        font-size: 18px;
    }
}

/* === Moved from page-servizi.php === */
/* Services Page Hero */
.services-hero {
    position: relative;
    background: #fff;
    padding: 180px 0 48px;
}

.services-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.3;
}

.services-hero .container {
    position: relative;
    z-index: 1;
}

.services-hero-row {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 60px;
}

.services-hero-left {
    flex: 1;
    max-width: 600px;
}

.services-hero-subtitle {
    color: var(--color-content-black2);
    font-size: 14px;
    margin-bottom: 16px;
    display: block;
}

.services-hero-title {
    font-size: 36px;
    font-weight: 400;
    line-height: 48px;
    letter-spacing: -0.05em;
    margin: 0;
    background: linear-gradient(135deg, #00202a, #006e90 42%, #96c9d9 98%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.services-hero-right {
    max-width: 400px;
    text-align: right;
}

.services-hero-desc {
    color: var(--color-content-black2);
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.services-hero-btn {
    display: inline-flex;
    align-items: center;
    gap: 36px;
    background: transparent;
    color: #004155;
    padding: 18px 36px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.services-hero-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 16px;
    padding: 1px;
    background: linear-gradient(135deg, #00202a, #006e90, #96c9d9);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    pointer-events: none;
}

.services-hero-btn:hover {
    background: rgba(0, 110, 144, 0.08);
    color: #004155;
}

/* Services Grid - Masonry Style */
.services-archive-section {
    padding: 0 0 80px;
    background: #fff;
}

/* Row 1: 4 cards */
.services-grid-row1 {
    display: grid;
    grid-template-columns: 1fr 1.5fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 20px;
    height: 600px;
    margin-bottom: 20px;
}

.services-grid-row1 .service-card:nth-child(1) { grid-column: 1; grid-row: 1 / 3; }
.services-grid-row1 .service-card:nth-child(2) { grid-column: 2; grid-row: 1; }
.services-grid-row1 .service-card:nth-child(3) { grid-column: 2; grid-row: 2; }
.services-grid-row1 .service-card:nth-child(4) { grid-column: 3; grid-row: 1 / 3; }

/* Row 2: 3 cards */
.services-grid-row2 {
    display: grid;
    grid-template-columns: 1fr 2fr 1fr;
    gap: 20px;
    height: 400px;
}

.service-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    display: block;
    text-decoration: none;
    height: 100%;
}

.service-card .card-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.4s ease;
}

.service-card:hover .card-bg {
    transform: scale(1.05);
}

.service-card .card-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.6) 100%);
}

.service-card .card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 70px;
    padding: 24px;
    z-index: 2;
}

.service-card .card-title {
    color: #fff;
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 8px;
    text-decoration: underline;
}

.service-card .card-excerpt {
    color: rgba(255,255,255,0.9);
    font-size: 14px;
    line-height: 1.5;
    margin: 0;
}

.service-card .card-arrow {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 60px;
    height: 60px;
    background: #000;
    border-radius: 12px;
    border-top-left-radius: 20px;
    border-bottom-right-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    color: #fff;
    font-size: 18px;
}

.service-card::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 70px;
    height: 70px;
    background: white;
    border-top-left-radius: 30px;
    z-index: 2;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: #fff;
}

.features-section .sec-title {
    margin-bottom: 50px;
}

/* .features-grid and .feature-item styles moved to mlp-pages.css (shared) */

/* Testimonials Archive Section */
.testimonials-archive-section {
    padding: 80px 24px;
    background: #fff;
}

.testimonials-archive-row {
    display: flex;
    gap: 24px;
    align-items: stretch;
}

.testimonials-archive-card {
    flex: 1;
    background: #002B37;
    border-radius: 24px;
    padding: 50px;
    display: flex;
    flex-direction: column;
    min-height: 450px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 20px;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-author-name {
    color: #fff;
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 4px;
}

.testimonial-author-role {
    color: rgba(255,255,255,0.6);
    font-size: 14px;
    margin: 0 0 20px;
}

.testimonial-quote {
    color: #fff;
    font-size: 18px;
    line-height: 1.7;
    flex: 1;
    margin-bottom: 24px;
}

.testimonial-stars {
    display: flex;
    gap: 4px;
    margin-bottom: 30px;
}

.testimonial-stars i {
    color: #F5A623;
    font-size: 14px;
}

.testimonial-nav {
    display: flex;
    gap: 0;
}

.testimonial-nav-btn {
    width: 45px;
    height: 45px;
    background: rgba(255,255,255,0.1);
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #fff;
    transition: background 0.3s;
}

.testimonial-nav-btn:first-child {
    border-radius: 10px 0 0 10px;
}

.testimonial-nav-btn:last-child {
    border-radius: 0 10px 10px 0;
}

.testimonial-nav-btn:hover {
    background: rgba(255,255,255,0.2);
}

.testimonials-archive-right {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.testimonials-archive-title {
    margin-bottom: 24px;
}

.testimonials-archive-title .sub-title {
    color: var(--color-content-black2);
    font-size: 14px;
    margin-bottom: 12px;
    display: block;
}

.testimonials-archive-title h2 {
    font-size: 36px;
    font-weight: 500;
    color: var(--color-heading);
    margin: 0;
    line-height: 1.3;
}

.testimonials-archive-title h2 .highlight {
    color: #004155;
}

.reviews-count-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #f5f5f5;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    color: #333;
    margin-top: 20px;
}

.reviews-count-badge .count {
    font-weight: 700;
    color: #004155;
}

.testimonials-archive-image {
    flex: 1;
    border-radius: 24px;
    overflow: hidden;
    min-height: 300px;
}

.testimonials-archive-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* FAQ Archive Section */
.faq-archive-section {
    padding: 80px 0;
    background: transparent;
}

.faq-archive-section .container {
    background: radial-gradient(ellipse 70% 70% at 0% 0%, #feca72 0%, #1f1f1f 65%);
    border-radius: 25px;
    padding: 145px 90px;
    color: #fff;
    max-width: 100%;
    margin: 0 20px;
    width: auto;
}

.faq-archive-row {
    display: flex;
    gap: 64px;
    align-items: flex-start;
}

.faq-archive-image {
    flex: 0 0 400px;
    border-radius: 40px;
    overflow: hidden;
    border: 2px solid #f69e03;
}

.faq-archive-image img {
    width: 100%;
    height: auto;
    display: block;
}

.faq-archive-content {
    flex: 1;
}

.faq-archive-content .sec-title {
    margin-bottom: 30px;
}

.faq-category-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 24px;
}

.faq-cat-btn {
    padding: 6px 16px;
    border: 1px solid var(--color-border, #d0d5dd);
    background: transparent;
    border-radius: 20px;
    font-size: 13px;
    cursor: pointer;
    color: var(--color-text, #444);
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.faq-cat-btn:hover,
.faq-cat-btn.active {
    background: var(--color-primary, #006E90);
    border-color: var(--color-primary, #006E90);
    color: #fff;
}

.faq-archive-content .sec-title .sub-title {
    color: rgba(255, 255, 255, 0.6);
}

.faq-archive-content .sec-title h2 {
    color: #fff;
}

.faq-archive-section .faq-accordion .accordion-item {
    background: transparent;
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 0;
    margin-bottom: 0;
    overflow: hidden;
}

.faq-archive-section .faq-accordion .accordion-button {
    background: transparent;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    padding: 20px 0;
    box-shadow: none;
}

.faq-archive-section .faq-accordion .accordion-button:not(.collapsed) {
    background: transparent;
    color: #fff;
}

.faq-archive-section .faq-accordion .accordion-button::after {
    display: none;
}

.faq-archive-section .faq-accordion .accordion-button .faq-number {
    color: #006E90;
    font-weight: 700;
    margin-right: 16px;
}

.faq-archive-section .faq-accordion .accordion-body {
    padding: 0 0 20px;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.7;
}

.faq-archive-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #f69e03;
    color: #fff;
    padding: 14px 28px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 500;
    margin-top: 24px;
    transition: background 0.3s;
}

.faq-archive-btn:hover {
    background: #d48a03;
    color: #fff;
}

/* Statement Section */
.statement-section {
    padding: 60px 0;
    margin-top: 100px;
    background: var(--color-surface-light, #f0f2f4);
    text-align: center;
}

.statement-section .gradient-title {
    font-size: 42px;
    font-weight: 400;
    line-height: 1.4;
    color: var(--color-heading, #111111);
    max-width: 900px;
    margin: 0 auto 20px;
}

.statement-section .gradient-title span {
    background: linear-gradient(90deg, #006E90, #00a5b5);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.statement-bullets {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
}

.statement-bullets li {
    font-size: 16px;
    color: var(--color-body, #333333);
    letter-spacing: 0.01em;
    position: relative;
    padding-left: 20px;
    text-align: left;
}

.statement-bullets li::before {
    content: '—';
    position: absolute;
    left: 0;
    color: #00a5b5;
}

@media (max-width: 768px) {
    .statement-bullets li {
        text-align: center;
        padding-left: 0;
    }
    .statement-bullets li::before {
        display: none;
    }
}

/* Statement Products */
.statement-products {
    margin-top: 64px;
    max-width: 860px;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.statement-products-title {
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(0, 0, 0, 0.4);
    margin: 0 0 24px;
    font-family: 'Sora', sans-serif;
}

.statement-products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1px;
    background: rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    overflow: hidden;
}

.statement-product-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding: 28px 32px;
    background: var(--color-surface-light, #f0f2f4);
    text-decoration: none !important;
    transition: background 0.2s;
}

.statement-product-item:hover {
    background: #e8ebed;
}

.statement-product-name {
    font-family: 'Sora', sans-serif;
    font-size: 17px;
    font-weight: 600;
    color: var(--color-heading, #111);
    letter-spacing: -0.02em;
    line-height: 1.3;
}

.statement-product-desc {
    font-size: 14px;
    color: var(--color-body, #555);
    line-height: 1.6;
    flex: 1;
}

.statement-product-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #006e90;
    margin-top: 4px;
}

.statement-product-link i {
    font-size: 10px;
    transition: transform 0.2s;
}

.statement-product-item:hover .statement-product-link i {
    transform: translateX(3px);
}

.partners-logos {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
    flex-wrap: wrap;
}

.partners-logos img {
    max-height: 40px;
    width: auto;
    opacity: 0.6;
    transition: opacity 0.3s;
}

.partners-logos img:hover {
    opacity: 1;
}

/* Responsive */
@media (max-width: 1200px) {
    .services-hero-title {
        font-size: 38px;
    }
}

@media (max-width: 992px) {
    .services-hero-row {
        flex-direction: column;
        gap: 30px;
    }
    .services-hero-right {
        text-align: left;
        max-width: 100%;
    }
    .services-grid-row1 {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto auto auto;
        height: auto;
    }
    .services-grid-row1 .service-card:nth-child(1) { grid-column: 1; grid-row: 1 / 3; min-height: 400px; }
    .services-grid-row1 .service-card:nth-child(2) { grid-column: 2; grid-row: 1; min-height: 190px; }
    .services-grid-row1 .service-card:nth-child(3) { grid-column: 2; grid-row: 2; min-height: 190px; }
    .services-grid-row1 .service-card:nth-child(4) { grid-column: 1 / 3; grid-row: 3; min-height: 250px; }
    .services-grid-row2 {
        grid-template-columns: 1fr 1fr;
        height: auto;
    }
    .services-grid-row2 .service-card {
        min-height: 250px;
    }
    .services-grid-row2 .service-card:last-child {
        grid-column: 1 / 3;
    }
    .testimonials-archive-row {
        flex-direction: column;
    }
    .testimonials-archive-card {
        min-height: auto;
        padding: 40px;
    }
    .faq-archive-section .container {
        padding: 60px 30px;
        margin: 0 12px;
    }
    .faq-archive-row {
        flex-direction: column;
    }
    .faq-archive-image {
        flex: none;
        width: 100%;
        max-width: 400px;
        display: none;
    }
    .statement-section .gradient-title {
        font-size: 32px;
    }
    .statement-products {
        margin-top: 48px;
    }
}

@media (max-width: 576px) {
    .services-hero {
        padding: 140px 0 60px;
    }
    .services-hero-title {
        font-size: 32px;
    }
    .services-grid-row1,
    .services-grid-row2 {
        grid-template-columns: 1fr;
        height: auto;
    }
    .services-grid-row1 .service-card,
    .services-grid-row2 .service-card {
        grid-column: auto !important;
        grid-row: auto !important;
        min-height: 280px !important;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .testimonials-archive-section {
        padding: 60px 16px;
    }
    .testimonials-archive-card {
        padding: 30px 24px;
    }
    .statement-section .gradient-title {
        font-size: 26px;
    }
    .statement-products-grid {
        grid-template-columns: 1fr;
    }
    .statement-product-item {
        padding: 22px 20px;
    }
    .partners-logos {
        gap: 30px;
    }
}

/* ==========================================================================
   Mobile Menu — Full Screen Overlay (Figma node 1612:5882)
   ========================================================================== */

/* Override side panel → full-screen overlay */
.side-menu2 {
    width: 100% !important;
    right: -100% !important;
    top: 0 !important;
    height: 100vh !important;
    border: none !important;
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    overflow-y: auto !important;
    scrollbar-width: none;
    isolation: isolate;
}

.side-menu2::before {
    display: none;
}


.side-menu2::-webkit-scrollbar {
    display: none;
}

.side-menu2.active {
    right: 0 !important;
}

/* Header: logo + close button */
.mlp-mobile-menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 56px 28px 20px;
    flex-shrink: 0;
}

.mlp-mobile-logo img {
    height: 36px;
    width: auto;
}

/* Close button — override absolute positioning */
.side-menu2 .close-btn {
    position: static !important;
    top: auto !important;
    right: auto !important;
    transform: none !important;
    -webkit-transform: none !important;
    -ms-transform: none !important;
    width: 44px;
    height: 44px;
    display: flex !important;
    align-items: center;
    justify-content: center;
    background: transparent !important;
    border-radius: 0 !important;
    border: none !important;
    cursor: pointer;
    flex-shrink: 0;
    color: #fff;
    padding: 0 !important;
}

.side-menu2 .close-btn::before {
    content: "\00d7";
    font-size: 28px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.85) !important;
    font-family: sans-serif;
    font-weight: 300;
}

/* Nav list */
.side-menu2 > ul {
    padding: 12px 0 0 !important;
    border-bottom: none !important;
    flex: 1;
    margin: 0;
}

.side-menu2 > ul > li {
    margin: 0 !important;
    border-bottom: none;
}

.side-menu2 > ul > li > a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    height: auto !important;
    padding: 12px 28px !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #fff !important;
    transition: color 0.2s, background 0.2s !important;
}

.side-menu2 > ul > li > a:hover {
    background: rgba(255, 255, 255, 0.06) !important;
    color: #fff !important;
}

/* Forward chevron on leaf items (no children) */
.side-menu2 > ul > li > a::before {
    content: "\203a" !important;
    position: static !important;
    font-size: 26px !important;
    font-weight: 300 !important;
    color: rgba(255, 255, 255, 0.6) !important;
    width: auto !important;
    height: auto !important;
    background: transparent !important;
    border-radius: 0 !important;
    transform: none !important;
    -webkit-transform: none !important;
    order: 2;
    font-family: sans-serif;
}

/* Items with children use toggle button — hide ::before to avoid double arrow */
.side-menu2 li.menu-item-has-children > a::before {
    display: none !important;
}

/* Sub-menu */
.side-menu2 > ul ul {
    padding: 0 !important;
    background: none !important;
}

.side-menu2 > ul ul li a {
    display: block !important;
    color: rgba(255, 255, 255, 0.6) !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 16px !important;
    font-weight: 500 !important;
    letter-spacing: 0.04em !important;
    text-transform: none !important;
    padding: 9px 28px 9px 40px !important;
    height: auto !important;
    border: none !important;
    background: none !important;
    transition: color 0.2s ease, padding-left 0.2s ease !important;
}

.side-menu2 > ul ul li a:hover {
    color: #fff !important;
    padding-left: 48px !important;
}

/* Active state for sub-menus */
.side-menu2 > ul > li.active > a {
    color: #fff !important;
}

.side-menu2 .sub-menu::before {
    display: none !important;
}

/* Footer: social + tagline + CTA anchored to bottom */
.mlp-mobile-menu-footer {
    padding: 0 24px calc(28px + env(safe-area-inset-bottom, 0px));
    display: flex;
    flex-direction: column;
    gap: 12px;
    flex-shrink: 0;
}

.mlp-mobile-action-btns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 8px;
}

.mlp-mobile-action-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 16px;
    border-radius: 14px;
    font-family: 'Manrope', sans-serif;
    font-size: 17px;
    font-weight: 700;
    text-decoration: none !important;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mlp-mobile-action-btn:hover {
    opacity: 0.85;
    transform: translateY(-1px);
}

.mlp-mobile-action-call,
.mlp-mobile-action-wa {
    background: linear-gradient(#fff, #fff) padding-box,
                linear-gradient(135deg, #00202a 0%, #006e90 42%, #96c9d9 100%) border-box;
    border: 1px solid transparent;
    color: #004155 !important;
}

.mlp-mobile-tagline {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 400;
    color: #96c9d9;
    line-height: 1.5;
    margin: 0;
}

/* Nav-area Contatti button (below last menu item) */
.mlp-mobile-nav-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 28px 32px;
    padding: 14px 24px;
    border-radius: 16px;
    border: 1px solid #ffe4ae;
    background: linear-gradient(135deg, #7a4d01 5%, #f69e03 85%, #ffca71 100%);
    color: #fff !important;
    font-family: 'Manrope', sans-serif;
    font-size: 19px;
    font-weight: 700;
    text-decoration: none !important;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.mlp-mobile-nav-cta:hover {
    opacity: 0.88;
    transform: translateY(-1px);
    color: #fff !important;
}

.mlp-mobile-nav-cta i {
    font-size: 14px;
}

/* Mobile menu: flat section (parent items with children — no link, no toggle) */
.side-menu2 li.mlp-mobile-nav-section {
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    display: block !important;
}

/* Flat submenu: always-visible, styled like top-level items */
.mlp-mobile-submenu-flat {
    display: block !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    background: none !important;
    border-left: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    height: auto !important;
}

.mlp-mobile-submenu-flat li {
    margin: 0 !important;
}

.side-menu2 .mlp-mobile-submenu-flat li a {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    padding: 12px 28px !important;
    font-family: 'Manrope', sans-serif !important;
    font-size: 16px !important;
    font-weight: 700 !important;
    letter-spacing: 0.08em !important;
    text-transform: uppercase !important;
    color: #fff !important;
    opacity: 1 !important;
    text-decoration: none !important;
    height: auto !important;
    background: none !important;
    transition: color 0.2s, background 0.2s !important;
}

.side-menu2 .mlp-mobile-submenu-flat li a::after {
    content: "\203a";
    font-size: 20px;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.5);
    font-family: sans-serif;
}

.side-menu2 .mlp-mobile-submenu-flat li a:hover {
    color: #fff !important;
    background: rgba(255, 255, 255, 0.05) !important;
}

.side-menu2 .mlp-mobile-submenu-flat li a:hover::after {
    color: rgba(255, 255, 255, 0.9);
}

/* Contact info block (phone + address) above social */
.mlp-mobile-contact-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 20px;
}

.mlp-mobile-contact-item {
    font-family: 'Manrope', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    line-height: 1.5;
}

a.mlp-mobile-contact-item:hover {
    color: #fff;
}

.mlp-mobile-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: 16px;
    border: 1px solid #ffe4ae;
    background: linear-gradient(90deg, #7a4d01 0%, #f69e03 60%, #ffca71 100%);
    color: #fff !important;
    font-family: 'Manrope', sans-serif;
    font-size: 14px;
    font-weight: 700;
    text-decoration: none !important;
    transition: opacity 0.2s;
    align-self: flex-start;
}

.mlp-mobile-cta:hover {
    opacity: 0.9;
}

.mlp-mobile-cta i {
    font-size: 13px;
}

/* Overlay color update to match dark menu */
.overlay2 {
    background: rgba(0, 0, 0, 0.6) !important;
}

/* ==========================================================================
   SINGLE ARTICLE
   ========================================================================== */

/* Hero */
.mlp-article-hero {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    background: #006e90;
    overflow: hidden;
}

.mlp-article-hero--has-image {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.mlp-article-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,32,42,0.82) 0%, rgba(0,110,144,0.55) 100%);
    z-index: 1;
}

.mlp-article-hero .container {
    position: relative;
    z-index: 2;
    padding: 80px 0 60px;
}

/* Meta bar between hero and image */
.mlp-article-meta-bar {
    background: #ffffff;
    border-bottom: 1px solid #e0e0e0;
}

.mlp-meta-bar-inner {
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 18px 0;
    flex-wrap: wrap;
}

.mlp-meta-author {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    font-weight: 600;
    color: #111111;
}

.mlp-meta-author a {
    color: #111111;
    text-decoration: none;
}

.mlp-meta-author a:hover {
    color: #006e90;
}

.mlp-meta-avatar {
    width: 36px !important;
    height: 36px !important;
    border-radius: 50%;
    object-fit: cover;
}

.mlp-meta-divider {
    width: 1px;
    height: 28px;
    background: #e0e0e0;
    flex-shrink: 0;
}

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

.mlp-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    color: #787b8b;
    text-decoration: none;
}

.mlp-meta-item i {
    font-size: 12px;
    color: #9b9b9b;
}

.mlp-meta-cat {
    color: #006e90;
    font-weight: 600;
}

.mlp-meta-cat:hover {
    color: #004155;
}

/* Featured image below meta bar */
.mlp-article-featured-image-wrap {
    background: #ffffff;
    padding: 40px 0 0;
}

.mlp-article-featured-image {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 56px rgba(0, 110, 144, 0.14);
    display: block;
}

.mlp-article-featured-image img {
    width: 100%;
    height: auto;
    max-height: 520px;
    object-fit: cover;
    display: block;
}

.mlp-article-hero-content {
    max-width: 760px;
}

.mlp-article-section-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #feca72;
    margin-bottom: 16px;
}

.mlp-article-category {
    display: inline-block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #feca72;
    text-decoration: none;
    margin-bottom: 20px;
}

.mlp-article-title {
    font-size: clamp(32px, 4.5vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.03em;
    color: #fff;
    margin-bottom: 24px;
}

.mlp-article-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 14px;
    font-weight: 600;
    color: #96c9d9;
}

.mlp-article-meta a {
    color: #96c9d9;
    text-decoration: none;
    transition: color 0.2s;
}

.mlp-article-meta a:hover {
    color: #fff;
}

/* Body */
.mlp-article-body {
    background: #ffffff;
    padding: 80px 0 100px;
}

.mlp-article-wrap {
    max-width: 760px;
    margin: 0 auto;
}

/* Content typography */
.mlp-article-content {
    font-size: 17px;
    line-height: 1.75;
    color: var(--color-dark, #0a0a0a);
}

.mlp-article-content h2 {
    font-size: clamp(22px, 3vw, 32px);
    font-weight: 700;
    letter-spacing: -0.03em;
    margin: 56px 0 20px;
    color: var(--color-dark, #0a0a0a);
    line-height: 1.2;
}

.mlp-article-content h3 {
    font-size: clamp(18px, 2.5vw, 24px);
    font-weight: 600;
    letter-spacing: -0.02em;
    margin: 40px 0 16px;
    color: var(--color-dark, #0a0a0a);
    line-height: 1.3;
}

.mlp-article-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 32px 0 12px;
}

.mlp-article-content p {
    margin-bottom: 24px;
    color: #333;
}

.mlp-article-content a {
    color: #006e90;
    text-decoration: underline;
}

.mlp-article-content ul,
.mlp-article-content ol {
    margin: 0 0 24px 24px;
    padding: 0;
}

.mlp-article-content li {
    margin-bottom: 8px;
    color: #333;
}

.mlp-article-content blockquote {
    border-left: 3px solid #006e90;
    margin: 40px 0;
    padding: 16px 24px;
    background: rgba(0,110,144,0.06);
    border-radius: 0 8px 8px 0;
    font-size: 18px;
    font-style: italic;
    color: #444;
}

.mlp-article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    margin: 32px 0;
    display: block;
}

.mlp-article-content figure {
    margin: 32px 0;
}

.mlp-article-content figcaption {
    font-size: 13px;
    color: #888;
    text-align: center;
    margin-top: 8px;
}

/* Tags */
.mlp-article-tags {
    margin-top: 48px;
    padding-top: 24px;
    border-top: 1px solid rgba(0,0,0,0.1);
    font-size: 14px;
    color: #666;
}

.mlp-article-tags a {
    color: #006e90;
    text-decoration: none;
    margin: 0 4px;
}

/* Navigation prev/next */
.mlp-article-nav {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid rgba(0,0,0,0.1);
}

.mlp-article-nav-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    text-decoration: none;
    padding: 20px 24px;
    background: #fff;
    border-radius: 12px;
    transition: box-shadow 0.2s, transform 0.2s;
    border: 1px solid rgba(0,0,0,0.08);
}

.mlp-article-nav-item:hover {
    box-shadow: 0 8px 30px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.mlp-article-nav-next {
    text-align: right;
}

.mlp-nav-label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #006e90;
}

.mlp-nav-title {
    font-size: 15px;
    font-weight: 600;
    color: var(--color-dark, #0a0a0a);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Related posts */
.mlp-related-posts {
    background: #f5f7fa;
    padding: 80px 0;
}

.mlp-related-title {
    font-size: 32px;
    font-weight: 700;
    letter-spacing: -0.04em;
    color: #111111;
    margin-bottom: 40px;
}

.mlp-related-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.mlp-related-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: #ffffff;
    border: 2px solid #e0e0e0;
    text-decoration: none;
    transition: transform .3s, box-shadow .3s;
}

.mlp-related-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,43,55,.12);
    border-color: transparent;
}

.mlp-related-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #a2bbe4;
}

.mlp-related-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

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

.mlp-related-card-placeholder {
    width: 100%;
    height: 100%;
    background: #a2bbe4;
}

.mlp-related-date {
    position: absolute;
    bottom: 12px;
    left: 16px;
    font-size: 12px;
    font-weight: 500;
    color: #787b8b;
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 100px;
}

.mlp-related-card-body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.mlp-related-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #111111;
    line-height: 1.35;
    margin: 0;
    letter-spacing: -0.02em;
}

.mlp-related-card-cat {
    font-size: 13px;
    color: #9b9b9b;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
    .mlp-article-hero {
        min-height: 360px;
    }

    .mlp-meta-bar-inner {
        gap: 12px;
    }

    .mlp-meta-divider {
        display: none;
    }

    .mlp-meta-items {
        gap: 12px;
    }

    .mlp-article-nav {
        grid-template-columns: 1fr;
    }

    .mlp-related-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================================
   BLOG ARCHIVE
   ============================================================ */

/* --- Hero --- */
.mlp-blog-hero {
    position: relative;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: #002b37;
    overflow: hidden;
}

.mlp-blog-hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: .35;
}

.mlp-blog-hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 40% 60%, #002b37 0%, transparent 70%);
}

.mlp-blog-hero-content {
    position: relative;
    z-index: 2;
    max-width: 760px;
    padding: 100px 0 80px;
}

.mlp-blog-hero-sub {
    display: block;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #feca72;
    margin-bottom: 20px;
}

.mlp-blog-hero-title {
    font-size: clamp(32px, 4.5vw, 64px);
    font-weight: 700;
    color: #fff;
    line-height: 1.1;
    margin: 0;
}

/* --- Blog section --- */
.mlp-blog-section {
    padding: 80px 0 60px;
}

.mlp-blog-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    margin-bottom: 56px;
    text-align: center;
}

.mlp-blog-main-title {
    font-size: clamp(36px, 4vw, 60px);
    font-weight: 700;
    margin: 0;
}

/* --- Filters --- */
.mlp-blog-filters {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.mlp-filter-pill {
    display: inline-block;
    padding: 6px 18px;
    border-radius: 100px;
    border: 1px solid #b7b9c3;
    font-size: 14px;
    font-weight: 500;
    color: #4e515f;
    background: #fff;
    text-decoration: none;
    transition: all .2s;
}

.mlp-filter-pill:hover,
.mlp-filter-pill.is-active {
    background: linear-gradient(135deg, #00202a, #006e90, #96c9d9);
    border-color: transparent;
    color: #fff;
}

/* --- Featured Article --- */
.mlp-featured-article {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 480px;
    border-radius: 24px;
    overflow: hidden;
    background: #002b37;
    text-decoration: none;
    margin-bottom: 56px;
    position: relative;
    transition: transform .3s;
}

.mlp-featured-article:hover {
    transform: translateY(-4px);
}

.mlp-featured-image {
    position: absolute;
    top: 0; right: 0;
    width: 55%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.mlp-featured-image-overlay {
    position: absolute;
    top: 0; right: 0;
    width: 55%;
    height: 100%;
    background: linear-gradient(to right, #002b37 0%, rgba(0,43,55,.6) 40%, rgba(0,43,55,.1) 100%);
}

.mlp-featured-content {
    position: relative;
    z-index: 2;
    grid-column: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    padding: 64px 56px;
}

.mlp-featured-cat {
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.5px;
    color: #feca72;
}

.mlp-featured-title {
    font-size: clamp(26px, 3vw, 42px);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin: 0;
}

.mlp-featured-excerpt {
    font-size: 16px;
    line-height: 1.6;
    color: #96c9d9;
    margin: 0;
}

.mlp-featured-meta {
    font-size: 14px;
    font-weight: 600;
    color: #96c9d9;
}

/* --- Blog Grid 3×2 --- */
.mlp-blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin-bottom: 48px;
}

.mlp-blog-card {
    display: flex;
    flex-direction: column;
    border-radius: 20px;
    overflow: hidden;
    background: #fff;
    border: 2px solid #e0e0e0;
    text-decoration: none;
    transition: transform .3s, box-shadow .3s;
}

.mlp-blog-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0,43,55,.12);
    border-color: transparent;
}

.mlp-blog-card-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: #a2bbe4;
}

.mlp-blog-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s;
}

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

.mlp-blog-card-placeholder {
    width: 100%;
    height: 100%;
    background: #a2bbe4;
}

.mlp-blog-card-date {
    position: absolute;
    bottom: 12px;
    left: 16px;
    font-size: 12px;
    font-weight: 500;
    color: #787b8b;
    background: #ffffff;
    padding: 4px 10px;
    border-radius: 100px;
}

.mlp-blog-card-body {
    padding: 24px 24px 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.mlp-blog-card-title {
    font-size: 17px;
    font-weight: 700;
    color: #111;
    line-height: 1.35;
    margin: 0;
}

.mlp-blog-card-cat {
    font-size: 13px;
    color: #9b9b9b;
    font-weight: 400;
}

/* --- Pagination --- */
.mlp-blog-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: wrap;
    padding: 16px 0 0;
}

.mlp-blog-pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 16px;
    border-radius: 12px;
    border: 1px solid #e0e0e0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    text-decoration: none;
    transition: all .2s;
}

.mlp-blog-pagination .page-numbers.current,
.mlp-blog-pagination .page-numbers:hover {
    background: #006e90;
    border-color: #006e90;
    color: #fff;
}

/* --- Conversion Section --- */
.mlp-blog-conversion {
    padding: 80px 0 80px;
}

.mlp-conversion-inner {
    background: #002b37;
    border-radius: 24px;
    padding: 72px 80px;
    display: grid;
    grid-template-columns: 520px 1fr;
    gap: 80px;
    align-items: start;
}

.mlp-conversion-newsletter-only {
    grid-template-columns: 1fr;
}

/* Newsletter col */
.mlp-newsletter-label {
    display: block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 2px;
    color: #feca72;
    margin-bottom: 16px;
}

.mlp-newsletter-title {
    font-size: clamp(24px, 2.5vw, 34px);
    font-weight: 700;
    color: #fff;
    line-height: 1.15;
    margin: 0 0 16px;
}

.mlp-newsletter-desc {
    font-size: 15px;
    line-height: 1.6;
    color: #96c9d9;
    margin: 0 0 28px;
}

.mlp-newsletter-form .mlp-newsletter-input-row {
    display: flex;
    gap: 10px;
    height: 52px;
}

.mlp-newsletter-input-row input[type="email"] {
    flex: 1;
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 12px;
    padding: 0 20px;
    font-size: 14px;
    color: #fff;
    outline: none;
    transition: border-color .2s;
}

.mlp-newsletter-input-row input[type="email"]::placeholder {
    color: rgba(255,255,255,.4);
}

.mlp-newsletter-input-row input[type="email"]:focus {
    border-color: rgba(255,255,255,.5);
}

.mlp-newsletter-input-row button {
    background: #feca72;
    border: none;
    border-radius: 12px;
    padding: 0 28px;
    font-size: 14px;
    font-weight: 700;
    color: #002b37;
    cursor: pointer;
    white-space: nowrap;
    transition: background .2s;
}

.mlp-newsletter-input-row button:hover {
    background: #ffda99;
}

/* Services col */
.mlp-services-col-title {
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin: 0 0 10px;
}

.mlp-services-col-desc {
    font-size: 14px;
    line-height: 1.6;
    color: #96c9d9;
    margin: 0 0 28px;
}

.mlp-service-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.mlp-service-mini-card {
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 16px;
    padding: 24px 22px;
    text-decoration: none;
    transition: background .25s, transform .25s;
}

.mlp-service-mini-card:hover {
    background: rgba(255,255,255,.1);
    transform: translateY(-3px);
}

.mlp-smc-label {
    font-size: 17px;
    font-weight: 700;
    color: #fff;
}

.mlp-smc-desc {
    font-size: 13px;
    line-height: 1.5;
    color: #96c9d9;
    flex: 1;
}

.mlp-smc-cta {
    font-size: 13px;
    font-weight: 600;
    color: #feca72;
    margin-top: 4px;
}

/* ============================================================
   BLOG ARCHIVE – Responsive
   ============================================================ */
@media (max-width: 1100px) {
    .mlp-conversion-inner {
        grid-template-columns: 1fr;
        gap: 48px;
        padding: 56px 48px;
    }
    .mlp-service-cards-row {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .mlp-blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .mlp-featured-article {
        grid-template-columns: 1fr;
        min-height: auto;
    }
    .mlp-featured-image,
    .mlp-featured-image-overlay {
        display: none;
    }
    .mlp-featured-content {
        padding: 48px 40px;
    }
    .mlp-service-cards-row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .mlp-blog-grid {
        grid-template-columns: 1fr;
    }
    .mlp-conversion-inner {
        padding: 40px 24px;
    }
    .mlp-newsletter-input-row {
        flex-direction: column;
        height: auto;
        gap: 12px;
    }
    .mlp-newsletter-input-row input[type="email"] {
        height: 52px;
    }
    .mlp-newsletter-input-row button {
        height: 52px;
    }
    .mlp-blog-hero-content {
        padding: 80px 0 60px;
    }
}

/* ==========================================================================
   FAQ Consistency Overrides — uniform style across all FAQ blocks
   ========================================================================== */

/* --- Service FAQ: smooth accordion transition (replaces display:none/block) --- */
.mlp-service-faq .mlp-faq-answer {
    display: block !important;
    max-height: 0;
    overflow: hidden;
    padding-top: 0;
    padding-bottom: 0;
    transition: max-height 0.3s ease, padding 0.3s ease;
}
.mlp-service-faq .mlp-faq-item.active .mlp-faq-answer {
    display: block !important;
    max-height: 600px;
    padding-top: 15px;
    padding-bottom: 20px;
}

/* --- FAQ: num white on dark backgrounds --- */
.mlp-service-faq .mlp-faq-question .num,
.mlp-portfolio-faq .mlp-faq-question .num {
    color: #fff;
}

/* --- FAQ: title white on dark backgrounds (overrides gradient-title) --- */
.mlp-service-faq .gradient-title,
.mlp-portfolio-faq .gradient-title {
    background-image: none;
    -webkit-text-fill-color: #fff;
    color: #fff;
}
.mlp-service-faq .gradient-title .word,
.mlp-portfolio-faq .gradient-title .word {
    background-image: none;
    -webkit-text-fill-color: #fff;
}

/* --- FAQ: CTA button — amber gradient, consistent with Figma --- */
.mlp-service-faq .mlp-faq-cta .btn-primary,
.mlp-portfolio-faq .mlp-faq-cta .btn-primary {
    background: linear-gradient(90deg, #7a4d01, #f69e03, #ffca71);
    border: 1px solid #ffe4ae;
    color: #fff;
    border-radius: 16px;
}
.mlp-service-faq .mlp-faq-cta .btn-primary:hover,
.mlp-portfolio-faq .mlp-faq-cta .btn-primary:hover {
    opacity: 0.9;
}

/* --- Page FAQ (page-faq.php): override purple theme vars with MLP teal --- */
.page-template-page-faq {
    --theme-primary: #006E90;
    --theme-secondary: #004A63;
}

/* --- Services archive FAQ (page-servizi.php): cat buttons visible on dark bg --- */
.faq-archive-section .faq-cat-btn {
    color: rgba(255,255,255,0.75);
    border-color: rgba(255,255,255,0.25);
}
.faq-archive-section .faq-cat-btn:hover,
.faq-archive-section .faq-cat-btn.active {
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.6);
    color: #fff;
}
