/* -------------------------
   IMPOSTAZIONI GENERALI
------------------------- */

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: "Nunito Sans", sans-serif;
    color: #282828;
    background: #ffffff;
}

a {
    text-decoration: none;
}


/* -------------------------
   HEADER
------------------------- */

.header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 18px 7%;

    background: #fff8ec;

}

.logo img {
    width: 105px;
    height: auto;
    display: block;
}


/* MENU */
.menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

.menu a {
    color: #202520;
    text-decoration: none;
    font-family: "Poppins", sans-serif;
    font-weight: 500;

    white-space: nowrap;
}
.menu a:hover {
    color: #008c45;
}
.menu .menu-mamme {
    color: #a24f6f;
    font-weight: 700;
}

/* -------------------------
   HERO
------------------------- */

.hero {
    min-height: calc(100vh - 110px);

    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 70px 8% 100px;

    background:
        linear-gradient(
            120deg,
            #ffffff 0%,
            #ffffff 55%,
            #f4f8f3 100%
        );
}


/* TESTO */

.hero-content {
    width: 56%;
    max-width: 800px;
}

.hero-small {
    margin: 0 0 22px;

    color: #c96855;

    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
}

.hero h1 {
    margin: 0;

    font-family: "Poppins", sans-serif;
    font-size: clamp(44px, 4.2vw, 66px);
    font-weight: 700;
    line-height: 1.08;
    letter-spacing: -1.5px;

    color: #272727;
}

.hero h1 span {
    color: #008c45;
}

.hero-description {
    max-width: 650px;

    margin: 30px 0 0;

    font-size: 20px;
    line-height: 1.7;

    color: #555555;
}


/* PULSANTI */

.hero-buttons {
    display: flex;
    gap: 15px;

    margin-top: 38px;
}

.button {
    display: inline-block;

    padding: 15px 27px;

    border-radius: 8px;

    font-size: 16px;
    font-weight: 700;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.button:hover {
    transform: translateY(-2px);
}

.button-primary {
    background: #008c45;
    color: white;
}

.button-primary:hover {
    background: #00743a;
}

.button-secondary {
    color: #008c45;
    background: white;

    border: 2px solid #008c45;
}

.button-secondary:hover {
    background: #f0f7f2;
}
/* -------------------------
   FOTO AULA
------------------------- */

.hero-image {
    position: relative;

    width: 38%;
    max-width: 520px;
}
.hero-image::after {
    content: "";

    position: absolute;

    width: 92%;
    height: 92%;

    right: -24px;
    bottom: -24px;

    background: #e98b73;

    border-radius: 32px;

    z-index: 0;
}
.hero-image img {
     position: relative;
    z-index: 1;

    display: block;

    width: 100%;
    height: 570px;

    object-fit: cover;
    object-position: center;

    border-radius: 28px;

    box-shadow:
        0 20px 50px rgba(0, 0, 0, 0.10);
    
filter:
    brightness(1.38)
    contrast(1.10)
    saturate(1.28);

}

.menu-toggle {
    display: none;

    background: none;
    border: none;

    font-family: "Poppins", sans-serif;
    font-size: 32px;
    line-height: 1;

    color: #222222;

    cursor: pointer;
}
.hero-dot {
    color: #e98b73;
}
/* -------------------------
   PERCHÉ MERAKI
------------------------- */

.why-meraki {
    padding: 110px 8% 120px;
    background: #f7faf7;
}

.why-intro {
    max-width: 100%;
    margin-bottom: 65px;
}

.section-small {
    margin: 0 0 18px;

    color: #008c45;

    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 2px;
}

.why-intro h2 {
    margin: 0;

    font-family: "Poppins", sans-serif;
    font-size: clamp(38px, 3.5vw, 58px);
    line-height: 1.12;
    letter-spacing: -1px;

    color: #272727;
}

.why-intro h2 span {
    color: #008c45;
}

.why-intro > p:last-child {
    margin: 25px 0 0;

    max-width: 1000px;

    font-size: 19px;
    line-height: 1.7;

    color: #5a5a5a;
}



/* CARDS */

.why-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.why-card {
    min-height: 280px;
    padding: 35px;

    border: 1px solid transparent;
    border-radius: 20px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.why-card:hover {
    transform: translateY(-6px);

    box-shadow:
        0 18px 40px rgba(0, 0, 0, 0.07);
}


/* COLORI DELLE TRE CARD */

.why-card-green {
    background: #e8f0df;
}

.why-card-yellow {
    background: #f7e8a9;
}

.why-card-pink {
    background: #f3dde5;
}


/* ICONE */

.why-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    margin-bottom: 32px;

    border-radius: 50%;

    background: rgba(255, 255, 255, 0.55);
}

.why-icon svg {
    width: 31px;
    height: 31px;

    fill: none;
    stroke: #202520;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* TESTI */

.why-card h3 {
    margin: 0 0 14px;

    font-family: "Poppins", sans-serif;
    font-size: 23px;
    font-weight: 600;

    color: #282828;
}

.why-card p {
    margin: 0;

    font-size: 17px;
    line-height: 1.65;

    color: #626262;
}
/* -------------------------
   FOOTER
------------------------- */

.footer {
    padding: 75px 8% 25px;

    background: #202520;
    color: #ffffff;
}

.footer-main {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 60px;

    padding-bottom: 65px;
}


/* BRAND */

.footer-brand img {
    width: 110px;
    height: auto;

    margin-bottom: 25px;
}

.footer-brand p {
    margin: 0;

    font-size: 16px;
    line-height: 1.7;

    color: #c9cec9;
}


/* COLONNE */

.footer-column {
    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 12px;
}

.footer-column h3 {
    margin: 0 0 10px;

    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 600;

    color: #ffffff;
}

.footer-column a,
.footer-column p {
    margin: 0;

    color: #bfc5bf;

    font-size: 15px;
    line-height: 1.6;

    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #ffffff;
}


/* PARTE INFERIORE */

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding-top: 25px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
    margin: 0;

    color: #969d96;

    font-size: 13px;
}

.footer-legal {
    display: flex;
    gap: 25px;
}

.footer-legal a {
    color: #969d96;

    font-size: 13px;

    transition: color 0.2s ease;
}

.footer-legal a:hover {
    color: #ffffff;
}

.social-links {
    display: flex;
    gap: 14px;

    margin-top: 25px;
}

.social-links a {
    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 50%;

    transition:
        background 0.2s ease,
        transform 0.2s ease;
}

.social-links svg {
    width: 20px;
    height: 20px;

    fill: #ffffff;
}

.social-links a:hover {
    background: #008c45;
    transform: translateY(-2px);
}
/* -------------------------
   COOKIE BANNER
------------------------- */

.cookie-banner {
    position: fixed;
    left: 25px;
    right: 25px;
    bottom: 25px;

    z-index: 5000;

    padding: 25px;

    background: #ffffff;

    border: 1px solid #e1e7e2;
    border-radius: 18px;

    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.15);
}

.cookie-content {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 40px;

    max-width: 1500px;
    margin: auto;
}

.cookie-text {
    max-width: 850px;
}

.cookie-text h2 {
    margin: 0 0 8px;

    font-family: "Poppins", sans-serif;
    font-size: 20px;
}

.cookie-text p {
    margin: 0;

    font-size: 14px;
    line-height: 1.6;

    color: #555555;
}

.cookie-text a {
    color: #008c45;
    font-weight: 700;
}


/* PULSANTI */

.cookie-actions {
    display: flex;
    gap: 10px;
}

.cookie-button {
    padding: 12px 20px;

    border-radius: 8px;

    font-family: "Poppins", sans-serif;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;
}

.cookie-reject,
.cookie-settings-button {
    background: #ffffff;
    color: #333333;

    border: 1px solid #cccccc;
}

.cookie-accept {
    background: #008c45;
    color: #ffffff;

    border: 1px solid #008c45;
}


/* -------------------------
   COOKIE MODAL
------------------------- */

.cookie-modal {
    position: fixed;
    inset: 0;

    display: none;
    align-items: center;
    justify-content: center;

    padding: 25px;

    background: rgba(0, 0, 0, 0.45);

    z-index: 6000;
}

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

.cookie-modal-box {
    position: relative;

    width: 100%;
    max-width: 620px;

    padding: 35px;

    background: #ffffff;

    border-radius: 20px;

    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.25);
}

.cookie-modal-box h2 {
    margin: 0 0 15px;

    font-family: "Poppins", sans-serif;
}

.cookie-modal-box > p {
    color: #555555;
    line-height: 1.6;
}

.cookie-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;

    border: none;
    background: none;

    font-size: 22px;

    cursor: pointer;
}


/* OPZIONI */

.cookie-option {
    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;

    padding: 22px 0;

    border-top: 1px solid #eeeeee;
}

.cookie-option h3 {
    margin: 0 0 5px;

    font-family: "Poppins", sans-serif;
    font-size: 16px;
}

.cookie-option p {
    margin: 0;

    color: #666666;
    font-size: 14px;
}

.cookie-required {
    color: #008c45;

    font-size: 13px;
    font-weight: 700;

    white-space: nowrap;
}


/* SWITCH */

.cookie-switch {
    position: relative;

    width: 48px;
    height: 26px;

    flex-shrink: 0;
}

.cookie-switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.cookie-slider {
    position: absolute;
    inset: 0;

    background: #cccccc;

    border-radius: 50px;

    cursor: pointer;

    transition: 0.2s;
}

.cookie-slider::before {
    content: "";

    position: absolute;

    width: 20px;
    height: 20px;

    left: 3px;
    top: 3px;

    background: #ffffff;

    border-radius: 50%;

    transition: 0.2s;
}

.cookie-switch input:checked + .cookie-slider {
    background: #008c45;
}

.cookie-switch input:checked + .cookie-slider::before {
    transform: translateX(22px);
}


/* SALVA */

.cookie-save {
    width: 100%;

    margin-top: 20px;
    padding: 14px;

    border: none;
    border-radius: 8px;

    background: #008c45;
    color: #ffffff;

    font-family: "Poppins", sans-serif;
    font-size: 15px;
    font-weight: 600;

    cursor: pointer;
}

/* -------------------------
   TABLET / TELEFONO
------------------------- */

@media (max-width: 1050px) {

    .header {
        min-height: 90px;
        padding: 10px 5%;
    }

    .logo img {
        width: 85px;
    }
.menu-toggle {
    display: block;
    position: relative;
    z-index: 1001;
}

.menu {
    position: absolute;

    top: 90px;
    left: 0;

    width: 100%;

    display: flex;
    flex-direction: column;
    align-items: flex-start;

    gap: 0;

    padding: 20px 5% 30px;

    background: #ffffff;

    border-top: 1px solid #eeeeee;

    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.08);

    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;

    z-index: 1000;
}

.menu.menu-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu a {
    width: 100%;

    padding: 15px 0;

    font-size: 18px;

    border-bottom: 1px solid #eeeeee;
}

    .hero {
        min-height: auto;

        flex-direction: column;

        padding: 70px 7%;
    }

    .hero-content {
        width: 100%;
    }

    .hero h1 {
        font-size: 48px;
    }

    .hero-description {
        font-size: 18px;
    }
    .hero-image {
    width: 100%;
    max-width: none;
    margin-top: 50px;
}

    .hero-image img {
        height: 450px;
        border-radius: 22px;
    }
.why-meraki {
    padding: 85px 7%;
}

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

.why-card {
    min-height: auto;
}

.footer {
    padding: 65px 7% 25px;
}

.footer-main {
    grid-template-columns: 1fr 1fr;
    gap: 50px;
}
.cookie-content {
    flex-direction: column;
    align-items: flex-start;
}

.cookie-actions {
    width: 100%;
}
}


@media (max-width: 550px) {

    .hero {
        padding: 50px 6% 70px;
    }

    .hero h1 {
        font-size: 39px;
        letter-spacing: -1px;
    }

    .hero-description {
        font-size: 17px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .button {
        text-align: center;
    }
    .hero-image img {
    height: 380px;
}
.why-meraki {
    padding: 70px 6%;
}

.why-intro {
    margin-bottom: 45px;
}

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

.why-intro > p:last-child {
    font-size: 17px;
}

.why-card {
    padding: 28px;
}
.footer {
    padding: 55px 6% 25px;
}

.footer-main {
    grid-template-columns: 1fr;
    gap: 40px;

    padding-bottom: 45px;
}

.footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
}

.footer-legal {
    gap: 18px;
}
.cookie-banner {
    left: 10px;
    right: 10px;
    bottom: 10px;

    padding: 20px;
}

.cookie-actions {
    flex-direction: column;
}

.cookie-button {
    width: 100%;
}

.cookie-modal-box {
    padding: 30px 22px;
}
}

/* =========================
   PAGINE LEGALI
========================= */

.legal-page {
    background: #fff;
}

.legal-hero {
    padding: 100px 8% 70px;
    background: #f7faf7;
    border-bottom: 1px solid #e7eee8;
}

.legal-hero h1 {
    margin: 10px 0 20px;
    font-family: "Poppins", sans-serif;
    font-size: clamp(42px, 5vw, 70px);
    line-height: 1.05;
    letter-spacing: -1.5px;
    color: #272727;
}

.legal-intro {
    max-width: 800px;
    margin: 0;
    font-size: 19px;
    line-height: 1.7;
    color: #555;
}

.legal-update {
    margin: 25px 0 0;
    font-size: 14px;
    color: #7a7a7a;
}

.legal-content {
    max-width: 1050px;
    margin: 0 auto;
    padding: 80px 8% 110px;
}

.legal-section {
    padding: 0 0 45px;
    margin: 0 0 45px;
    border-bottom: 1px solid #e8e8e8;
}

.legal-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.legal-section h2 {
    margin: 0 0 22px;
    font-family: "Poppins", sans-serif;
    font-size: 27px;
    line-height: 1.3;
    color: #282828;
}

.legal-section p {
    margin: 0 0 17px;
    font-size: 17px;
    line-height: 1.75;
    color: #565656;
}

.legal-section ul {
    margin: 18px 0 20px 22px;
    padding: 0;
}

.legal-section li {
    margin-bottom: 10px;
    padding-left: 6px;
    font-size: 17px;
    line-height: 1.65;
    color: #565656;
}

.legal-section a {
    color: #008c45;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-section strong {
    color: #292929;
}


@media (max-width: 700px) {

    .legal-hero {
        padding: 70px 6% 55px;
    }

    .legal-content {
        padding: 60px 6% 80px;
    }

    .legal-section h2 {
        font-size: 23px;
    }

    .legal-section p,
    .legal-section li {
        font-size: 16px;
    }

}
/* CONTENITORE FOOTER CARICATO DINAMICAMENTE */

#footer-container {
    display: block;
    width: 100%;
}

#footer-container .footer-main {
    width: 100%;
}
/* =========================
   PAGINA CORSI
========================= */

.courses-hero {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 70px;
    align-items: center;

    padding: 70px 8% 35px;
    background: #ffffff;
}

.courses-hero-content {
    max-width: 850px;
}

.courses-hero .section-label {
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: #c96855;
}

.courses-hero h1 {
    margin: 0 0 24px;
    font-family: "Poppins", sans-serif;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;
    font-weight: 700;
    color: #202520;
}

.courses-hero h1 span {
    color: #2f9648;
}

.courses-hero-description {
    max-width: 760px;
    margin: 0;
    font-size: 19px;
    line-height: 1.7;
    color: #555b55;
}
@media (max-width: 700px) {
    .courses-hero {
        padding: 65px 6% 60px;
    }

    .courses-hero-description {
        font-size: 17px;
    }
}
/* =========================
   BOLLE LINGUE
========================= */

.courses-hero-languages {
    position: relative;
    width: 100%;
    max-width: 520px;
    height: 390px;
    justify-self: end;
}

.language-bubble {
    position: absolute;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 20px 32px;
    border-radius: 999px;

    font-family: "Nunito Sans", sans-serif;
font-weight: 700;
letter-spacing: 1.5px;

    color: #202520;
}


/* CIAO */

.bubble-ciao {
    top: 25px;
    left: 40px;

    min-width: 150px;
    min-height: 82px;

    background: #f7e8a9;

    font-size: 25px;
    transform: rotate(-6deg);
}


/* HELLO */

.bubble-hello {
    top: 65px;
    right: 15px;

    min-width: 175px;
    min-height: 95px;

    background: #e8f0df;

    font-size: 27px;
    transform: rotate(5deg);
}


/* HOLA */

.bubble-hola {
    top: 175px;
    left: 5px;

    min-width: 165px;
    min-height: 88px;

    background: #f3dde5;

    font-size: 25px;
    transform: rotate(4deg);
}


/* BONJOUR */

.bubble-bonjour {
    top: 185px;
    right: 5px;

    min-width: 220px;
    min-height: 105px;

    background: #f2b59f;

    font-size: 26px;
    transform: rotate(-4deg);
}


/* HALLO */

.bubble-hallo {
    bottom: 5px;
    left: 145px;

    min-width: 175px;
    min-height: 86px;

    background: #dce9c8;

    font-size: 25px;
    transform: rotate(2deg);
}
/* =========================
   PERCORSI CORSI
========================= */

.course-paths {
    padding: 45px 8% 90px;
    background: #ffffff;
}

.course-paths-intro {
    max-width: 760px;
    margin-bottom: 55px;
}

.course-paths-intro .section-label {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: #5d725f;
}

.course-paths-intro h2 {
    margin: 0 0 18px;
    font-family: "Poppins", sans-serif;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    color: #202520;
}

.course-paths-intro > p:last-child {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #606560;
}

.course-paths-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.course-path-card {
    display: flex;
    flex-direction: column;
    padding: 38px;
    min-height: 310px;
    border: 1px solid #e4e6e2;
    border-radius: 18px;
    background: #ffffff;
}
/* ICONE - PERCORSI */

.course-path-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    margin-bottom: 28px;

    border-radius: 50%;

    flex-shrink: 0;
}

.course-path-icon-green {
    background: #e8f0df;
}

.course-path-icon-yellow {
    background: #fff1bd;
}

.course-path-icon-pink {
    background: #f8e1e8;
}

.course-path-icon svg {
    width: 31px;
    height: 31px;

    fill: none;
    stroke: #202520;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.course-path-card h3 {
    margin: 0 0 15px;
    font-family: "Poppins", sans-serif;
    font-size: 24px;
    color: #202520;
}

.course-path-card p {
    margin: 0 0 25px;
    font-size: 16px;
    line-height: 1.7;
    color: #606560;
}

.course-path-card a {
    margin-top: auto;
    font-weight: 700;
    color: #4f6751;
    text-decoration: none;
}

.course-path-card a:hover {
    text-decoration: underline;
}
.course-paths .section-label {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #d06450;
}
.course-path-icon-blue {
    background: #dfeaf0;
}
.course-path-toggle {
    display: flex;
    align-items: center;
    gap: 8px;

    margin-top: 22px;
    padding: 0;

    border: 0;
    background: transparent;

    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;
    color: #4f6751;

    cursor: pointer;
}

.course-path-toggle span {
    font-size: 20px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.course-path-dropdown {
    display: none;

    margin-top: 18px;
    padding-top: 16px;

    border-top: 1px solid #e3e5e1;
}

.course-path-dropdown.active {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.course-path-dropdown a {
    display: inline-block;

    padding: 8px 13px;

    border-radius: 999px;
    background: #f6f3ed;

    color: #202520;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.course-path-dropdown a:hover {
    background: #f5e6a7;
}

.course-path-toggle.active span {
    transform: rotate(180deg);
}
.course-flip-card {
    min-height: 390px;
    perspective: 1200px;
}

.course-flip-inner {
    position: relative;
    width: 100%;
    height: 100%;
    min-height: 390px;

    transition: transform 0.6s ease;
    transform-style: preserve-3d;
}

.course-flip-card.flipped .course-flip-inner {
    transform: rotateY(180deg);
}

.course-flip-face {
    position: absolute;
    inset: 0;

    display: flex;
    flex-direction: column;

    padding: 38px;

    border: 1px solid #e4e6e2;
    border-radius: 18px;

    background: #ffffff;

    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

.course-flip-back {
    transform: rotateY(180deg);
}

.course-flip-face h3 {
    margin: 0 0 15px;

    font-family: "Poppins", sans-serif;
    font-size: 24px;

    color: #202520;
}

.course-flip-face p {
    margin: 0 0 25px;

    font-size: 16px;
    line-height: 1.7;

    color: #606560;
}
.course-flip-back .course-path-icon {
    margin-bottom: 18px;
}

.course-flip-back .flip-links {
    margin-top: 0;
}

.course-flip-back .flip-back-description {
    margin: 18px 0 0;
    line-height: 1.5;
}

.course-flip-back .flip-back-button {
    margin-top: 18px;
}
/* BOTTONI */

.flip-button,
.flip-back-button {
    padding: 0;

    align-self: flex-start;

    border: 0;
    background: transparent;

    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;

    color: #4f6751;

    cursor: pointer;
}

/* Scopri sul fronte: sempre in basso */
.flip-button {
    margin-top: auto;
}

/* Torna indietro sul retro: sempre in basso */
.flip-back-button {
    margin-top: auto;
}
.course-flip-back .course-path-icon {
    margin-bottom: 14px;
}

.course-flip-back .flip-links {
    margin-top: 0;
}

.course-flip-back .flip-back-description {
    margin: 16px 0 0;
    line-height: 1.45;
}

.course-flip-back .flip-back-button {
    margin-top: auto;
}
.flip-links-individual span {
    display: inline-block;
    padding: 9px 15px;
    border-radius: 999px;

    font-size: 15px;
    font-weight: 700;
    color: #202520;
}

.flip-links-individual span:nth-child(4n + 1) {
    background: #f8e1e8;
}

.flip-links-individual span:nth-child(4n + 2) {
    background: #e8f0df;
}

.flip-links-individual span:nth-child(4n + 3) {
    background: #fff1bd;
}

.flip-links-individual span:nth-child(4n + 4) {
    background: #f4c2ad;
}
.flip-links-study span {
    display: inline-block;
    padding: 9px 15px;
    border-radius: 999px;

    font-size: 15px;
    font-weight: 700;
    color: #202520;
}

.flip-links-study span:nth-child(4n + 1) {
    background: #dfeaf0;
}

.flip-links-study span:nth-child(4n + 2) {
    background: #fff1bd;
}

.flip-links-study span:nth-child(4n + 3) {
    background: #e8f0df;
}

.flip-links-study span:nth-child(4n + 4) {
    background: #f8e1e8;
}


/* LINK SUL RETRO */

.flip-links {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;

    margin-top: 5px;
}

.flip-links a {
    padding: 9px 15px;

    border-radius: 999px;

    background: #e8f0df;
    color: #202520;

    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
}

.flip-links a:hover {
    background: #d8e6d0;
}
.flip-links-kids span {
    display: inline-block;
    padding: 9px 15px;
    border-radius: 999px;

    font-size: 15px;
    font-weight: 700;
    color: #202520;
}

.flip-links-kids span:nth-child(4n + 1) {
    background: #e8f0df;
}

.flip-links-kids span:nth-child(4n + 2) {
    background: #fff1bd;
}

.flip-links-kids span:nth-child(4n + 3) {
    background: #f8e1e8;
}

.flip-links-kids span:nth-child(4n + 4) {
    background: #f4c2ad;
}

.flip-back-description {
    margin: 28px 0 0;
    font-size: 15px;
    line-height: 1.6;
    color: #606560;
}

@media (max-width: 900px) {
    .courses-hero {
    grid-template-columns: 1fr;
    gap: 45px;
}

.courses-hero-languages {
    justify-self: start;
    max-width: 520px;
}
    .course-paths-grid {
        grid-template-columns: 1fr;
    }

    .course-path-card {
        min-height: auto;
    }
}

@media (max-width: 700px) {
    .courses-hero-languages {
    height: 320px;
    transform: scale(0.82);
    transform-origin: top left;
    margin-bottom: -55px;
}
    .course-paths {
        padding: 70px 6%;
    }

    .course-paths-intro {
        margin-bottom: 40px;
    }

    .course-path-card {
        padding: 30px;
    }
}
/* =========================
   CORSI PER ADULTI
========================= */

.adult-courses {
    padding: 70px 8% 85px;
    background: #f6f3ed;
}

.adult-courses-intro {
    max-width: 760px;
    margin-bottom: 38px;
}

.adult-courses-intro .section-label {
    margin-bottom: 12px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: #5d725f;
}

.adult-courses-intro h2 {
    margin: 0 0 14px;
    font-family: "Poppins", sans-serif;
    font-size: clamp(34px, 4vw, 48px);
    line-height: 1.15;
    color: #202520;
}
.adult-courses-intro h2 span {
    color: #d3634f;
}

.adult-courses-intro > p:last-child {
    margin: 0;
    font-size: 18px;
    line-height: 1.7;
    color: #606560;
}

.language-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.language-card {
    display: flex;
    flex-direction: column;
    min-height: 210px;
    padding: 34px;
    border-radius: 18px;
    background: #ffffff;
}

.language-flag {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 52px;
    height: 52px;

    margin-bottom: 32px;

    border-radius: 50%;
    background: #fff8ec;

    font-size: 28px;
    line-height: 1;
}

.language-card h3 {
    margin: 0 0 14px;
    font-family: "Poppins", sans-serif;
    font-size: 25px;
    color: #202520;
}

.language-card p {
    margin: 0 0 24px;
    font-size: 16px;
    line-height: 1.7;
    color: #606560;
}

.language-card a {
    margin-top: auto;
    font-weight: 700;
    color: #4f6751;
    text-decoration: none;
}

.language-card a:hover {
    text-decoration: underline;
}

@media (max-width: 1000px) {
    .language-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .adult-courses {
        padding: 70px 6%;
    }

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

    .language-card {
        min-height: auto;
        padding: 30px;
    }
}
.language-card-playful {
    position: relative;

    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    min-height: 170px;
    padding: 28px 32px;

    overflow: hidden;
}
/* macchia decorativa */
.language-card-playful::after {
    content: "";
    position: absolute;

    width: 150px;
    height: 150px;

    right: -45px;
    bottom: -55px;

    border-radius: 48% 52% 60% 40%;
    background: #e4eedf;

    transform: rotate(-12deg);
}

.language-card-playful .language-flag {
    width: 52px;
    height: 52px;
    margin-bottom: 22px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 27px;
}

.language-card-playful h3 {
    margin: 0 0 13px;

    font-size: 27px;
}

.language-expression {
    position: relative;
    z-index: 1;

    display: inline-block;

    padding: 8px 16px;

    border-radius: 999px;

    background: #f6e8a8;

    font-size: 16px;
    font-weight: 700;

    transform: rotate(-2deg);
}

.language-card-featured .language-flag {
    width: 60px;
    height: 60px;

    margin-bottom: 20px;

    font-size: 32px;
}

.language-card-featured h3 {
    margin: 0 0 18px;

    font-size: 27px;
}

.language-expression {
    display: inline-block;

    padding: 10px 18px;

    border-radius: 999px;

    font-family: "Nunito Sans", sans-serif;
    font-size: 16px;
    font-weight: 700;

    color: #202520;
}

.language-expression-green {
    background: #e8f0df;
}
@media (min-width: 1001px) {
    .language-card:nth-child(4) {
        grid-column: 1 / 2;
        transform: translateX(50%);
    }

    .language-card:nth-child(5) {
        grid-column: 2 / 3;
        transform: translateX(50%);
    }
}
/* INGLESE */
.language-english::after {
    background: #f7e7a6;
}

.language-english .language-expression {
    background: #e3ecdc;
    transform: rotate(2deg);
}


/* SPAGNOLO */
.language-spanish::after {
    background: #f3dce5;
}

.language-spanish .language-expression {
    background: #f7e7a6;
    transform: rotate(-1deg);
}


/* FRANCESE */
.language-french::after {
    background: #f4b59e;
}

.language-french .language-expression {
    background: #f3dce5;
    transform: rotate(2deg);
}


/* TEDESCO */
.language-german::after {
    background: #dfead7;
}

.language-german .language-expression {
    background: #f4b59e;
    transform: rotate(-2deg);
}
/* =========================
   PAGINA CORSI IN PARTENZA
========================= */

.upcoming-hero {
    padding: 70px 8% 65px;
    background: #ffffff;
}

.upcoming-hero-content {
    max-width: 850px;
}

.upcoming-hero .section-label {
    margin-bottom: 18px;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.6px;
    color: #c96855;
}

.upcoming-hero h1 {
    margin: 0 0 24px;
    font-family: "Poppins", sans-serif;
    font-size: clamp(42px, 5vw, 68px);
    line-height: 1.08;
    font-weight: 700;
    color: #202520;
}
.upcoming-hero h1 span {
    color: #2f9648;
}

.upcoming-hero-content > p:last-child {
    max-width: 760px;
    margin: 0;
    font-size: 19px;
    line-height: 1.7;
    color: #4f554f;
}

@media (max-width: 700px) {
    .upcoming-hero {
        padding: 65px 6% 60px;
    }

    .upcoming-hero-content > p:last-child {
        font-size: 17px;
    }
}
/* =========================
   LOCANDINE CORSI IN PARTENZA
========================= */

.upcoming-list {
    padding: 30px 8% 90px;
    background: #fff;
}

.upcoming-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    align-items: start;
}

.upcoming-item {
    overflow: hidden;
    border: 1px solid #e4e6e2;
    border-radius: 18px;
    background: #ffffff;
}

.upcoming-item img {
    display: block;
    width: 100%;
    height: auto;
}

.upcoming-button {
    display: block;

    margin: 22px;
    padding: 13px 18px;

    border-radius: 10px;

    background: #2f9348;
    color: #ffffff;

    font-weight: 700;
    text-align: center;
    text-decoration: none;

    transition: transform 0.2s ease, background 0.2s ease;
}

.upcoming-button:hover {
    background: #287f3e;
    transform: translateY(-2px);
}
.upcoming-category {
    margin-bottom: 80px;
}

.upcoming-category:last-child {
    margin-bottom: 0;
}

.upcoming-category-title {
    margin-bottom: 32px;
}

.upcoming-category-title .section-label {
    margin: 0 0 8px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;

    color: #c96855;
}

.upcoming-category-title h2 {
    margin: 0;

    font-family: "Poppins", sans-serif;
    font-size: clamp(28px, 3vw, 40px);
    line-height: 1.2;

    color: #202520;
}
@media (max-width: 1000px) {
    .upcoming-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 650px) {
    .upcoming-list {
        padding: 65px 6% 80px;
    }

    .upcoming-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .upcoming-item {
        border-radius: 14px;
    }
}
/* =========================
   LINK RAPIDO CORSI IN PARTENZA
========================= */

.courses-quick-link {
    width: 86%;
    max-width: 1500px;

    margin: 20px auto 45px;
    padding: 28px 46px;

    background: #f7e8a9;
    border-radius: 28px;
    color: #202520;
}

.courses-quick-link-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 40px;
}

.courses-quick-link .section-label {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #c96855;
}

.courses-quick-link h2 {
    margin: 0 0 6px;
    font-family: "Poppins", sans-serif;
    font-size: 28px;
    color: #202520;
}

.courses-quick-link p {
    margin: 0;
    font-size: 16px;
    color: #606560;
}

.courses-quick-button {
    flex-shrink: 0;
    display: inline-block;
    padding: 14px 22px;
    border-radius: 10px;
background: #008c45;
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.courses-quick-button:hover {
    opacity: 0.9;
}

@media (max-width: 750px) {
    .courses-quick-link-content {
        flex-direction: column;
        align-items: flex-start;
    }
}
/* =========================
   ITALIANO PER MAMME
========================= */


/* =========================
   HERO
========================= */

.mamme-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 85px;
    align-items: center;

    padding: 80px 7% 85px;

    background: #fffdf8;
}

.mamme-hero-content {
    max-width: 760px;
}

.mamme-hero .section-label {
    margin: 0 0 20px;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.6px;

    color: #b55473;
}

.mamme-hero h1 {
    margin: 0 0 28px;

    font-family: "Poppins", sans-serif;
    font-size: clamp(48px, 5vw, 70px);
    line-height: 1.05;
    font-weight: 700;

    color: #202520;
}

.mamme-hero h1 span {
    color: #2f9648;
}

.mamme-hero-description {
    max-width: 690px;

    margin: 0 0 34px;

    font-size: 18px;
    line-height: 1.75;

    color: #555b55;
}


/* BOTTONE HERO */

.mamme-hero-button {
    display: inline-block;

    padding: 15px 24px;

    border-radius: 9px;

    background: #2f9648;
    color: #ffffff;

    font-weight: 700;
    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.mamme-hero-button:hover {
    background: #287f3e;
    transform: translateY(-2px);
}


/* =========================
   FOTO HERO
========================= */

.mamme-hero-image {
    position: relative;

    width: 100%;
    max-width: 620px;

    justify-self: end;
}


/* SFONDO GIALLO DIETRO LA FOTO */

.mamme-hero-image::after {
    content: "";

    position: absolute;

    width: 94%;
    height: 90%;

    right: -28px;
    bottom: -28px;

    background: #f5cc55;

    border-radius: 32px;

    z-index: 0;
}


/* FOTO */

.mamme-hero-photo {
    position: relative;
    z-index: 1;

    display: block;

    width: 100%;
    height: 500px;

    object-fit: cover;
    object-position: center 68%;

    border-radius: 28px;
}


/* LOGHINO ITALIANO PER MAMME */

.mamme-special-logo {
    position: absolute;
    z-index: 3;

    width: 145px;
    height: auto;

    left: -90px;
    bottom: 18px;

    display: block;
}


/* =========================
   INTRO
========================= */

.mamme-intro {
    padding: 100px 8% 45px;
    background: #ffffff;
}

.mamme-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 100px;

    align-items: start;
}

.mamme-intro-text .section-label {
    margin: 0 0 15px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;

    color: #a24f6f;
}

.mamme-intro-text h2 {
    position: relative;

    display: inline-block;

    margin: 0 0 28px;

    font-family: "Poppins", sans-serif;
    font-size: clamp(36px, 4vw, 50px);
    line-height: 1.15;

    color: #202520;
}


/* LINEA GIALLA SOTTO IL TITOLO */

.mamme-intro-text h2::after {
    content: "";

    display: block;

    width: 85px;
    height: 7px;

    margin-top: 14px;

    border-radius: 999px;

    background: #e6c767;
}

.mamme-intro-text > p {
    margin: 0 0 18px;

    font-size: 17px;
    line-height: 1.8;

    color: #606560;
}


/* =========================
   CARATTERISTICHE
========================= */

.mamme-features {
    display: flex;
    flex-direction: column;
}

.mamme-feature {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 24px;

    align-items: center;

    padding: 24px 0;

    border-bottom: 1px solid #e3e5e1;
}

.mamme-feature:first-child {
    padding-top: 0;
}

.mamme-feature:last-child {
    border-bottom: 0;
}


/* CERCHI DELLE ICONE */

.mamme-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    border-radius: 50%;
}

.mamme-feature-icon-green {
    background: #e8f0df;
}

.mamme-feature-icon-yellow {
    background: #fff1bd;
}

.mamme-feature-icon-pink {
    background: #f8e1e8;
}


/* DISEGNI DELLE ICONE */

.mamme-feature-icon svg {
    width: 31px;
    height: 31px;

    fill: none;
    stroke: #202520;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}


/* TESTI CARATTERISTICHE */

.mamme-feature h3 {
    margin: 0 0 7px;

    font-family: "Poppins", sans-serif;
    font-size: 21px;

    color: #202520;
}

.mamme-feature p {
    margin: 0;

    font-size: 16px;
    line-height: 1.7;

    color: #606560;
}

/* =========================
   COME FUNZIONA
========================= */

.mamme-how {
    width: calc(100% - 8%);
    max-width: 1650px;

    margin: 45px auto 70px;
    padding: 75px 5% 80px;

    background: #dfe9dc;

    border-radius: 42px;
}

.mamme-how-intro {
    max-width: 780px;

    margin-bottom: 55px;
}

.mamme-how .section-label {
    margin: 0 0 15px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;

    color: #b56f87;
}

.mamme-how-intro h2 {
    margin: 0 0 22px;

    font-family: "Poppins", sans-serif;
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.15;

    color: #202520;
}

.mamme-how-intro > p {
    max-width: 700px;

    margin: 0;

    font-size: 18px;
    line-height: 1.75;

    color: #606560;
}


/* CARTE COME FUNZIONA */

.mamme-how-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.mamme-how-card {
    padding: 30px;

    border: 0;
    border-radius: 16px;
}

.mamme-how-card:nth-child(1) {
    background: #e8e2f3;
}

.mamme-how-card:nth-child(2) {
    background: #f7e8a9;
}

.mamme-how-card:nth-child(3) {
    background: #f3dde5;
}

.mamme-how-card > span {
    display: block;

    margin-bottom: 24px;

    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 700;

    color: #9f536d;
}

.mamme-how-card h3 {
    margin: 0 0 14px;

    font-family: "Poppins", sans-serif;
    font-size: 22px;
    line-height: 1.3;

    color: #202520;
}

.mamme-how-card p {
    margin: 0;

    font-size: 16px;
    line-height: 1.7;

    color: #606560;
}


/* NOTA BABYSITTING */

.mamme-how-note {
    max-width: 880px;

    margin: 35px 0 0;
    padding: 18px 22px;

    border-left: 3px solid #b56f87;

    background: #ffffff;

    font-size: 15px;
    line-height: 1.7;

    color: #606560;
}


/* =========================
   TABLET
========================= */

@media (max-width: 950px) {

    .mamme-hero {
        grid-template-columns: 1fr;
        gap: 55px;

        padding: 70px 7% 80px;
    }

    .mamme-hero-image {
        max-width: 650px;

        justify-self: start;
    }

    .mamme-special-logo {
        width: 145px;

        left: 25px;
        bottom: -35px;
    }

    .mamme-intro-content {
        grid-template-columns: 1fr;
        gap: 55px;
    }


    .mamme-how-grid {
        grid-template-columns: 1fr;
    }
}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .mamme-hero {
        padding: 55px 6% 70px;
    }

    .mamme-hero h1 {
        font-size: 43px;
    }

    .mamme-hero-description {
        font-size: 17px;
    }

    .mamme-hero-photo {
        height: 390px;
    }

    .mamme-hero-image::after {
        width: 94%;
        height: 90%;

        right: -10px;
        bottom: -14px;

        border-radius: 26px;
    }

    .mamme-special-logo {
        width: 120px;

        left: 18px;
        bottom: -28px;
    }

    .mamme-intro {
    padding: 65px 6%;
}

.mamme-how {
    width: calc(100% - 8%);
    margin: 30px auto 50px;
    padding: 55px 6%;
    border-radius: 28px;
}
    .mamme-feature {
        grid-template-columns: 62px 1fr;
        gap: 18px;
    }

    .mamme-feature-icon {
        width: 54px;
        height: 54px;
    }

    .mamme-feature-icon svg {
        width: 27px;
        height: 27px;
    }

    .mamme-how-card {
        padding: 25px;
    }
}
/* =========================
   CHI SIAMO
========================= */


/* HERO */

.about-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: center;

    padding: 75px 8% 85px;

    background: #ffffff;
}

.about-hero-content {
    max-width: 760px;
}

.about-hero .section-label {
    margin: 0 0 18px;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.6px;

    color: #c96855;
}

.about-hero h1 {
    margin: 0 0 28px;

    font-family: "Poppins", sans-serif;
    font-size: clamp(48px, 5vw, 70px);
    line-height: 1.05;
    font-weight: 700;

    color: #202520;
}

.about-hero h1 span {
    color: #2f9648;
}

.about-hero-description {
    max-width: 680px;

    margin: 0;

    font-size: 19px;
    line-height: 1.75;

    color: #555b55;
}


/* FOTO HERO */

.about-hero-image {
    position: relative;

    width: 100%;
    max-width: 480px;

    justify-self: end;
}

.about-hero-image::after {
    content: "";

    position: absolute;

    width: 92%;
    height: 92%;

    right: -22px;
    bottom: -22px;

    border-radius: 30px;

    background: #f3dde5;

    z-index: 0;
}

.about-hero-image img {
    position: relative;
    z-index: 1;

    display: block;

    width: 100%;
    height: 560px;

    object-fit: cover;
    object-position: center;

    border-radius: 28px;

    filter:
        brightness(1.13)
        contrast(1.14)
        saturate(1.18);

    box-shadow: 0 18px 45px rgba(32, 37, 32, 0.10);
}


/* STORIA */

.about-story {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 60px;

    padding: 65px 8% 70px;

    background: #f6f3ed;
}

.about-story .section-label {
    margin: 0 0 12px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;

    color: #c96855;
}

.about-story h2 {
    margin: 0;

    font-family: "Poppins", sans-serif;
    font-size: clamp(36px, 4vw, 50px);
    line-height: 1.1;

    color: #202520;
}

.about-story-text {
    max-width: 760px;
}

.about-story-text p {
    margin: 0 0 16px;

    font-size: 17px;
    line-height: 1.65;

    color: #606560;
}

.about-story-text p:last-child {
    margin-bottom: 0;
}

/* FRASE CENTRALE */

.about-belief {
    padding: 55px 8% 60px;

    text-align: center;

    background: #ffffff;
}

.about-belief p {
    max-width: 1000px;

    margin: 0 auto;

    font-family: "Poppins", sans-serif;
    font-size: clamp(30px, 3.2vw, 44px);
    font-weight: 700;
    line-height: 1.18;

    color: #202520;
}

.about-belief span {
    color: #2f9648;
}
/* METODO */

.about-method {
    padding: 60px 8% 95px;

    background: #ffffff;
}

.about-method-intro {
    max-width: 800px;

    margin-bottom: 50px;
}

.about-method .section-label {
    margin: 0 0 14px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;

    color: #c96855;
}

.about-method-intro h2 {
    margin: 0;

    font-family: "Poppins", sans-serif;
    font-size: clamp(36px, 4vw, 50px);
    line-height: 1.15;

    color: #202520;
}

.about-method-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 26px;
}

.about-method-card {
    min-height: 290px;

    padding: 34px;

    border-radius: 22px;
}

.about-method-green {
    background: #e8f0df;
}

.about-method-yellow {
    background: #f7e8a9;
}

.about-method-pink {
    background: #f3dde5;
}

.about-method-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    margin-bottom: 28px;

    border-radius: 50%;

    background: rgba(255,255,255,0.55);
}

.about-method-icon svg {
    width: 30px;
    height: 30px;

    fill: none;
    stroke: #202520;
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.about-method-card h3 {
    margin: 0 0 13px;

    font-family: "Poppins", sans-serif;
    font-size: 22px;

    color: #202520;
}

.about-method-card p {
    margin: 0;

    font-size: 16px;
    line-height: 1.7;

    color: #606560;
}
.about-hero-office img {
    filter:
         brightness(1.30)
        contrast(1.08)
        saturate(1.16);


    object-position: center;
}

/* SQUADRA */

.about-team {
    padding: 90px 8% 65px;

    background: #fff8ec;
}

.about-team-intro {
    max-width: 850px;

    margin-bottom: 55px;
}

.about-team .section-label {
    margin: 0 0 14px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;

    color: #a24f6f;
}

.about-team-intro h2 {
    margin: 0 0 20px;

    font-family: "Poppins", sans-serif;
    font-size: clamp(36px, 4vw, 52px);
    line-height: 1.15;

    color: #202520;
}

.about-team-intro > p {
    max-width: 720px;

    margin: 0;

    font-size: 18px;
    line-height: 1.7;

    color: #606560;
}

.about-team-grid {
    display: grid;
    grid-template-columns: 1fr;

    gap: 28px;
}

.team-card {
    display: grid;
    grid-template-columns: 0.7fr 1.3fr;

    max-width: 1150px;

    overflow: hidden;

    border-radius: 26px;

    background: #ffffff;
}

.team-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    min-height: 460px;

    object-fit: cover;
    object-position: center 65%;

    filter:
        brightness(1.13)
        contrast(1.14)
        saturate(1.18);
}

    .team-card-content {
    padding: 65px 55px 55px;
}


.team-role {
    margin: 0 0 15px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.4px;

    color: #c96855;
}

.team-card-content h3 {
    margin: 0 0 25px;

    font-family: "Poppins", sans-serif;
    font-size: 38px;

    color: #202520;
}

.team-card-content > p:not(.team-role) {
    margin: 0 0 18px;

    font-size: 17px;
    line-height: 1.75;

    color: #606560;
}


/* TABLET */

@media (max-width: 950px) {

    .about-hero,
    .about-story,
    .team-card {
        grid-template-columns: 1fr;
    }

    .about-hero-image {
        justify-self: start;
    }

    .about-method-grid {
        grid-template-columns: 1fr;
    }

    .team-card-image img {
        height: 500px;
        min-height: auto;
    }
}


/* MOBILE */

@media (max-width: 600px) {

    .about-hero,
    .about-story,
    .about-method,
    .about-team {
        padding-left: 6%;
        padding-right: 6%;
    }

    .about-hero {
        padding-top: 55px;
        padding-bottom: 70px;
    }

    .about-hero-image img {
        height: 450px;
    }

    .about-story {
        gap: 40px;
        padding-top: 65px;
        padding-bottom: 65px;
    }

    .about-belief {
        padding: 65px 6%;
    }

    .about-method {
        padding-top: 65px;
        padding-bottom: 70px;
    }

    .about-team {
        padding-top: 65px;
        padding-bottom: 75px;
    }

    .team-card-content {
        padding: 32px 26px;
    }
}

.mamme-hero-photo {
    filter:
        brightness(1.25)
        contrast(1.10)
        saturate(1.35);
}
.kids-back-top {
    display: grid;
    grid-template-columns: 1fr 230px;
    gap: 26px;
    align-items: start;
}

.kids-back-image {
    overflow: hidden;
    border-radius: 16px;
}
.kids-back-image img {
    display: block;
    width: 100%;
    height: 190px;

    object-fit: cover;
    object-position: center;

    filter:
        brightness(1.28)
        contrast(1.10)
        saturate(1.30);
}

@media (max-width: 700px) {
    .kids-back-top {
        grid-template-columns: 1fr;
    }

    .kids-back-image img {
        height: 220px;
    }
}
/* =========================
   TRADUZIONI
========================= */


/* HERO */

.translations-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: center;

    padding: 75px 8% 85px;

    background: #ffffff;
}

.translations-hero-content {
    max-width: 760px;
}

.translations-hero .section-label {
    margin: 0 0 18px;

    font-size: 14px;
    font-weight: 700;
    letter-spacing: 1.6px;

    color: #c96855;
}

.translations-hero h1 {
    margin: 0 0 28px;

    font-family: "Poppins", sans-serif;
    font-size: clamp(48px, 5vw, 70px);
    line-height: 1.05;
    font-weight: 700;

    color: #202520;
}

.translations-hero h1 span {
    color: #2f9648;
}

.translations-hero-description {
    max-width: 680px;

    margin: 0 0 30px;

    font-size: 19px;
    line-height: 1.7;

    color: #555b55;
}

.translations-hero-button {
    display: inline-block;

    padding: 15px 24px;

    border-radius: 10px;

    background: #2f9648;
    color: #ffffff;

    font-weight: 700;
    text-decoration: none;
}

.translations-hero-button:hover {
    opacity: 0.9;
}


/* HERO PAROLE */

/* HERO TRADUZIONI - DOCUMENTI */

.translations-hero-documents {
    position: relative;

    display: flex;
    align-items: center;
    justify-content: center;

    min-height: 470px;
    padding: 45px;

    border-radius: 30px;

    background: #f6f3ed;
}

.translation-document {
    position: relative;

    width: 210px;
    min-height: 280px;

    padding: 28px 24px;

    border-radius: 18px;

    background: #ffffff;

    box-shadow: 0 15px 35px rgba(32, 37, 32, 0.08);
}

.translation-document-original {
    transform: rotate(-5deg);
}

.translation-document-result {
    transform: rotate(4deg);
}

.translation-document-label {
    display: block;

    margin-bottom: 28px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.4px;

    color: #c96855;
}

.translation-line {
    width: 82%;
    height: 9px;

    margin-bottom: 13px;

    border-radius: 999px;

    background: #e2e4df;
}

.translation-line-long {
    width: 100%;
}

.translation-line-short {
    width: 60%;
}

.translation-highlight {
    display: inline-block;

    margin: 8px 0 18px;
    padding: 9px 14px;

    border-radius: 999px;

    background: #f7e8a9;

    font-weight: 700;

    color: #202520;
}

.translation-highlight-green {
    background: #e8f0df;
}

.translation-arrow {
    position: relative;
    z-index: 2;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 62px;
    height: 62px;

    margin: 0 -8px;

    border-radius: 50%;

    background: #f3dde5;

    font-family: "Poppins", sans-serif;
    font-size: 30px;
    font-weight: 700;

    color: #202520;
}

@media (max-width: 650px) {

    .translations-hero-documents {
        min-height: 390px;
        padding: 30px 20px;
    }

    .translation-document {
        width: 150px;
        min-height: 230px;

        padding: 22px 18px;
    }

    .translation-arrow {
        width: 50px;
        height: 50px;

        font-size: 24px;
    }
}

/* SERVIZI */

.translations-services {
    padding: 50px 8% 55px;

    background: #f6f3ed;
}

.translations-services-intro {
    max-width: 820px;

    margin-bottom: 35px;
}

.translations-services .section-label {
    margin: 0 0 12px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;

    color: #c96855;
}

.translations-services-intro h2 {
    margin: 0 0 18px;

    font-family: "Poppins", sans-serif;
    font-size: clamp(36px, 4vw, 50px);
    line-height: 1.1;

    color: #202520;
}

.translations-services-intro > p {
    max-width: 730px;

    margin: 0;

    font-size: 17px;
    line-height: 1.65;

    color: #606560;
}

.translations-services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
}

.translation-service-card {
    min-height: 285px;

    padding: 34px;

    border-radius: 22px;
}

.translation-service-green {
    background: #e8f0df;
}

.translation-service-yellow {
    background: #f7e8a9;
}

.translation-service-pink {
    background: #f3dde5;
}

.translation-service-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    margin-bottom: 28px;

    border-radius: 50%;

    background: rgba(255,255,255,0.65);
}

.translation-service-icon svg {
    width: 27px;
    height: 27px;

    fill: none;
    stroke: #202520;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.translation-service-card h3 {
    margin: 0 0 12px;

    font-family: "Poppins", sans-serif;
    font-size: 22px;

    color: #202520;
}

.translation-service-card p {
    margin: 0;

    font-size: 16px;
    line-height: 1.65;

    color: #606560;
}


/* ASSEVERATE */

.translations-certified {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 70px;
    align-items: center;

    padding: 55px 8% 45px;

    background: #ffffff;
}
.translations-certified-content {
    max-width: 760px;
}

.translations-certified .section-label {
    margin: 0 0 12px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;

    color: #a24f6f;
}

.translations-certified h2 {
    margin: 0 0 24px;

    font-family: "Poppins", sans-serif;
    font-size: clamp(36px, 4vw, 50px);
    line-height: 1.1;

    color: #202520;
}

.translations-certified-content > p {
    margin: 0 0 16px;

    font-size: 17px;
    line-height: 1.65;

    color: #606560;
}

.translations-text-link {
    display: inline-block;

    margin-top: 8px;

    font-weight: 700;
    color: #4f6751;

    text-decoration: none;
}

.translations-certified-box {
    padding: 42px;

    border-radius: 24px;

    background: #fff3c6;
}

.translations-certified-box span {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin-bottom: 18px;

    border-radius: 50%;

    background: #ffffff;

    font-size: 25px;
    font-weight: 700;

    color: #2f9648;
}
.translations-certified-box span svg {
    width: 30px;
    height: 30px;

    fill: none;
    stroke: #2f9648;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.translations-certified-box p {
    margin: 0;

    font-size: 18px;
    line-height: 1.65;

    color: #4f554f;
}


/* PROCESSO */

.translations-process {
    padding: 70px 8% 80px;

    background: #fff8ec;
}

.translations-process-intro {
    max-width: 800px;

    margin-bottom: 42px;
}

.translations-process .section-label {
    margin: 0 0 12px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;

    color: #c96855;
}

.translations-process h2 {
    margin: 0;

    font-family: "Poppins", sans-serif;
    font-size: clamp(36px, 4vw, 50px);
    line-height: 1.1;

    color: #202520;
}

.translations-process-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 26px;
}

.translations-process-card {
    padding: 32px;

    border: 1px solid #e4e6e2;
    border-radius: 18px;

    background: #ffffff;
}

.translations-process-card > span {
    display: block;

    margin-bottom: 25px;

    font-family: "Poppins", sans-serif;
    font-size: 13px;
    font-weight: 700;

    color: #c96855;
}

.translations-process-card h3 {
    margin: 0 0 12px;

    font-family: "Poppins", sans-serif;
    font-size: 21px;

    color: #202520;
}

.translations-process-card p {
    margin: 0;

    font-size: 16px;
    line-height: 1.65;

    color: #606560;
}


/* CTA */

.translations-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 50px;

    margin: 55px 8% 65px;
    padding: 38px 42px;

    border-radius: 24px;

    background: #f7e8a9;
}

.translations-cta .section-label {
    margin: 0 0 8px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.5px;

    color: #c96855;
}

.translations-cta h2 {
    margin: 0 0 10px;

    font-family: "Poppins", sans-serif;
    font-size: clamp(28px, 3vw, 38px);
    line-height: 1.15;

    color: #202520;
}

.translations-cta p {
    margin: 0;

    font-size: 17px;
    line-height: 1.6;

    color: #606560;
}

.translations-cta-button {
    flex-shrink: 0;

    display: inline-block;

    padding: 15px 22px;

    border-radius: 10px;

    background: #2f9648;
    color: #ffffff;

    font-weight: 700;
    text-decoration: none;
}

.translations-cta-button:hover {
    opacity: 0.9;
}


/* RESPONSIVE */

@media (max-width: 900px) {

    .translations-hero,
    .translations-certified {
        grid-template-columns: 1fr;
    }

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

    .translations-hero-visual {
        min-height: 400px;
    }

    .translations-cta {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 650px) {

    .translations-hero,
    .translations-services,
    .translations-certified,
    .translations-process {
        padding-left: 6%;
        padding-right: 6%;
    }

    .translations-hero {
        padding-top: 55px;
        padding-bottom: 65px;
    }

    .translations-hero-visual {
        min-height: 340px;
    }

    .translation-word-1 {
        left: 25px;
    }

    .translation-word-2 {
        right: 20px;
    }

    .translation-word-3 {
        left: 65px;
        font-size: 38px;
    }

    .translations-cta {
        margin-left: 6%;
        margin-right: 6%;

        padding: 30px 26px;
    }
}
/* CONTATTI - HERO */

.contact-hero {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 90px;
    align-items: center;

    padding: 75px 8%;

    background: #fffdf8;
}

.contact-hero-content {
    max-width: 720px;
}

.contact-hero .section-label {
    margin: 0 0 16px;

    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.6px;

    color: #c96855;
}

.contact-hero h1 {
    margin: 0 0 26px;

    font-family: "Poppins", sans-serif;
    font-size: clamp(46px, 5vw, 68px);
    line-height: 1.08;

    color: #202520;
}

.contact-hero h1 span {
    color: #2f9648;
}

.contact-hero-description {
    max-width: 650px;

    margin: 0;

    font-size: 18px;
    line-height: 1.7;

    color: #606560;
}


/* DATI CONTATTO */

.contact-hero-details {
    padding: 18px 40px;

    border-radius: 26px;

    background: #f6f3ed;
}

.contact-hero-detail {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 18px;
    align-items: center;

    padding: 19px 0;

    border-bottom: 1px solid #dedfdc;
}

.contact-detail-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 44px;
    height: 44px;

    border-radius: 50%;

    background: #ffffff;
}

.contact-detail-icon svg {
    width: 21px;
    height: 21px;

    fill: none;
    stroke: #c96855;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.contact-hero-detail:last-child {
    border-bottom: none;
}


.contact-hero-detail p {
    margin: 0 0 5px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.3px;

    color: #606560;
}

.contact-hero-detail a,
.contact-address {
    font-size: 18px;
    line-height: 1.5;
    font-weight: 600;

    color: #202520;
    text-decoration: none;
}

.contact-hero-detail a:hover {
    color: #2f9648;
}


/* MOBILE */

@media (max-width: 900px) {

    .contact-hero {
        grid-template-columns: 1fr;
        gap: 45px;

        padding: 60px 6%;
    }

}

@media (max-width: 550px) {

    .contact-hero-details {
        padding: 12px 25px;
    }

    .contact-hero-detail {
        grid-template-columns: 46px 1fr;
        gap: 14px;
    }

    .contact-detail-icon {
        width: 40px;
        height: 40px;
    }

    .contact-detail-icon svg {
        width: 19px;
        height: 19px;
    }

    .contact-hero-detail a,
    .contact-address {
        font-size: 16px;
    }

}
/* =========================
   PAGINA 404
========================= */

.error-page {
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: center;

    min-height: 620px;
    padding: 70px 8%;

    background: #fffdf8;
}

.error-content {
    max-width: 760px;
}

.error-number {
    margin: 0 0 10px;

    font-family: "Poppins", sans-serif;
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;

    color: #c96855;
}

.error-page h1 {
    margin: 0 0 25px;

    font-family: "Poppins", sans-serif;
    font-size: clamp(44px, 5vw, 66px);
    line-height: 1.08;

    color: #202520;
}

.error-page h1 span {
    color: #2f9648;
}

.error-description {
    max-width: 620px;
    margin: 0 0 30px;

    font-size: 18px;
    line-height: 1.7;

    color: #606560;
}

.error-button {
    display: inline-block;

    padding: 15px 23px;

    border-radius: 10px;

    background: #2f9648;
    color: #ffffff;

    font-weight: 700;
    text-decoration: none;
}

.error-button:hover {
    opacity: 0.9;
}


/* GRAFICA 404 */

.error-visual {
    position: relative;

    min-height: 420px;

    border-radius: 30px;

    background: #f6f3ed;

    overflow: hidden;
}

.error-card {
    position: absolute;

    padding: 14px 22px;

    border-radius: 999px;

    font-family: "Poppins", sans-serif;
    font-weight: 700;

    color: #202520;

    box-shadow: 0 10px 25px rgba(32, 37, 32, 0.06);
}

.error-card-green {
    top: 75px;
    left: 55px;

    background: #e8f0df;

    font-size: 29px;

    transform: rotate(-5deg);
}

.error-card-yellow {
    top: 175px;
    right: 55px;

    background: #f7e8a9;

    font-size: 35px;

    transform: rotate(4deg);
}

.error-card-pink {
    bottom: 65px;
    left: 100px;

    background: #f3dde5;

    font-size: 28px;

    transform: rotate(-3deg);
}

.error-question {
    position: absolute;

    top: 45%;
    left: 50%;

    transform: translate(-50%, -50%) rotate(7deg);

    font-family: "Poppins", sans-serif;
    font-size: 100px;
    font-weight: 700;

    color: #c96855;

    opacity: 0.16;
}


/* MOBILE */

@media (max-width: 900px) {

    .error-page {
        grid-template-columns: 1fr;
        gap: 45px;

        min-height: auto;
        padding: 60px 6%;
    }

    .error-visual {
        min-height: 360px;
    }

}

@media (max-width: 550px) {

    .error-page {
        padding-top: 50px;
        padding-bottom: 60px;
    }

    .error-visual {
        min-height: 320px;
    }

    .error-card-green {
        left: 25px;
    }

    .error-card-yellow {
        right: 25px;
    }

    .error-card-pink {
        left: 55px;
    }

}
@media (max-width: 700px) {

    .course-flip-card {
        min-height: 390px;
    }

    .course-flip-inner {
        min-height: 390px;
    }

    .course-flip-card:has(.flip-links-kids),
    .course-flip-card:has(.flip-links-kids) .course-flip-inner {
        min-height: 700px;
    }

}
/* =========================================================
   SCHEDA SARA
   ========================================================= */

.sara-card .team-card-image {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 45px;
    overflow: hidden;
    border-radius: 24px;
}

.sara-card .team-card-image img {
    display: block;
    width: auto;
    max-width: 78%;
    max-height: 720px;
    height: auto;
    object-fit: contain;
    border-radius: 18px;
}

.sara-card .team-card-content {
    padding-top: 28px;
}

.sara-card .team-role {
    margin-bottom: 12px;
}

.sara-card .team-card-content p:not(.team-role) {
    margin-bottom: 18px;
}

.sara-card .team-card-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 768px) {

    .sara-card .team-card-image {
        padding: 30px 25px;
    }

    .sara-card .team-card-image img {
        max-width: 82%;
        max-height: 520px;
    }

}
@media (max-width: 700px) {

    .bubble-bonjour {
        top: 165px;
        right: 0;
    }

    .bubble-hallo {
        bottom: -15px;
        left: 155px;
    }

}
/* =========================================================
   SCHEDA GAIA
   ========================================================= */

.gaia-card .team-card-image {
    padding: 25px 20px;
}

.gaia-card .team-card-image img {
    max-width: 92%;
    max-height: 820px;
}
/* =========================================================
   CORSI PER AZIENDE
   ========================================================= */


/* =========================================================
   HERO
   ========================================================= */

.aziende-hero {
    max-width: 1280px;
    margin: 0 auto;
    padding: 95px 60px 110px;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    gap: 80px;
    align-items: center;
}

.aziende-hero-content h1 {
    margin: 12px 0 24px;
    font-family: "Poppins", sans-serif;
    font-size: clamp(3rem, 5.5vw, 5.6rem);
    line-height: 1.02;
    letter-spacing: -0.045em;
    color: #202520;
}

.aziende-hero-content h1 span {
    color: #008c45;
}

.aziende-hero-description {
    max-width: 620px;
    margin: 0;
    font-size: 1.25rem;
    line-height: 1.75;
    color: #535a53;
}

.aziende-hero-actions {
    margin-top: 38px;
    display: flex;
    align-items: center;
    gap: 28px;
    flex-wrap: wrap;
}

.aziende-primary-button,
.aziende-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 25px;
    border-radius: 999px;
    background: #008c45;
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.aziende-primary-button:hover,
.aziende-cta-button:hover {
    background: #00753a;
    transform: translateY(-2px);
}

.aziende-secondary-link {
    color: #202520;
    font-weight: 700;
    text-decoration: none;
    border-bottom: 2px solid #f7e8a9;
    padding-bottom: 3px;
}

.aziende-secondary-link:hover {
    border-color: #008c45;
}


/* HERO VISUAL */

.aziende-hero-visual {
    position: relative;
    min-height: 480px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aziende-hero-card-main {
    width: min(100%, 480px);
    min-height: 315px;
    padding: 50px;
    border-radius: 42px;
    background: #e8f0df;
    display: flex;
    flex-direction: column;
    justify-content: center;
    transform: rotate(-2deg);
    box-shadow: 0 20px 50px rgba(32, 37, 32, 0.08);
}

.aziende-card-small {
    margin-bottom: 18px;
    font-family: "Poppins", sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    color: #008c45;
}

.aziende-hero-card-main strong {
    font-family: "Poppins", sans-serif;
    font-size: clamp(2rem, 3.4vw, 3rem);
    line-height: 1.15;
    color: #202520;
}

.aziende-language-tags {
    position: absolute;
    inset: auto 0 10px auto;
    width: 300px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-end;
}

.aziende-language-tags span {
    padding: 9px 15px;
    border-radius: 999px;
    font-family: "Poppins", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: #fff;
    border: 1px solid rgba(32, 37, 32, 0.12);
}

.aziende-language-tags span:nth-child(1) {
    background: #f7e8a9;
}

.aziende-language-tags span:nth-child(2) {
    background: #e8f0df;
}

.aziende-language-tags span:nth-child(3) {
    background: #f3dfe6;
}

.aziende-language-tags span:nth-child(4) {
    background: #f4d7cf;
}

.aziende-language-tags span:nth-child(5) {
    background: #fff8ec;
}


/* =========================================================
   INTRO
   ========================================================= */

.aziende-intro {
    background: #fff8ec;
    padding: 105px max(60px, calc((100vw - 1160px) / 2));
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
    align-items: start;
}

.aziende-intro-heading h2,
.aziende-section-heading h2,
.aziende-needs-text h2,
.aziende-languages-intro h2,
.aziende-why-heading h2,
.aziende-cta h2 {
    margin: 12px 0 0;
    font-family: "Poppins", sans-serif;
    font-size: clamp(2.3rem, 4vw, 4rem);
    line-height: 1.12;
    letter-spacing: -0.035em;
    color: #202520;
}

.aziende-intro-text {
    padding-top: 10px;
}

.aziende-intro-text p {
    margin: 0 0 22px;
    font-size: 1.12rem;
    line-height: 1.8;
    color: #535a53;
}


/* =========================================================
   TITOLI SEZIONI
   ========================================================= */

.aziende-section-heading {
    max-width: 760px;
    margin-bottom: 35px;
}

.aziende-section-heading > p:not(.section-label) {
    margin: 22px 0 0;
    max-width: 680px;
    font-size: 1.12rem;
    line-height: 1.75;
    color: #596059;
}


/* =========================================================
   MODALITÀ
   ========================================================= */

.aziende-modes {
    max-width: 1280px;
    margin: 0 auto;
    padding: 70px 60px 55px;
}

.aziende-modes-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.aziende-mode-card {
    min-height: 330px;
    padding: 38px 34px;
    border: 1px solid rgba(32, 37, 32, 0.1);
    border-radius: 28px;
    background: #fffdf8;
}

.aziende-mode-card:nth-child(2) {
    background: #fff8ec;
}

.aziende-mode-card:nth-child(3) {
    background: #f5f8f1;
}

.aziende-mode-icon {
    width: 62px;
    height: 62px;
    margin-bottom: 30px;
    border-radius: 20px;
    background: #e8f0df;
    display: flex;
    align-items: center;
    justify-content: center;
}

.aziende-mode-card:nth-child(2) .aziende-mode-icon {
    background: #f7e8a9;
}

.aziende-mode-card:nth-child(3) .aziende-mode-icon {
    background: #f3dfe6;
}

.aziende-mode-icon svg {
    width: 30px;
    height: 30px;
    fill: none;
    stroke: #202520;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.aziende-mode-card h3 {
    margin: 0 0 15px;
    font-family: "Poppins", sans-serif;
    font-size: 1.45rem;
    color: #202520;
}

.aziende-mode-card p {
    margin: 0;
    font-size: 1rem;
    line-height: 1.75;
    color: #5b625b;
}


/* =========================================================
   OBIETTIVI
   ========================================================= */

.aziende-needs {
    background: #202520;
    color: #fff;
    padding: 110px 60px;
}

.aziende-needs-content {
    max-width: 1160px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 90px;
    align-items: start;
}

.aziende-needs .section-label {
    color: #f7e8a9;
}

.aziende-needs-text h2 {
    color: #fff;
}

.aziende-needs-text > p:not(.section-label) {
    margin: 25px 0 0;
    max-width: 480px;
    font-size: 1.1rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.72);
}

.aziende-needs-list {
    display: grid;
    gap: 0;
}

.aziende-need {
    padding: 22px 0;
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 18px;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.aziende-need:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.aziende-need span {
    font-family: "Poppins", sans-serif;
    font-size: 0.8rem;
    font-weight: 700;
    color: #f7e8a9;
}

.aziende-need p {
    margin: 0;
    font-size: 1.08rem;
    line-height: 1.45;
}


/* =========================================================
   PROCESSO
   ========================================================= */

.aziende-process {
    max-width: 1280px;
    margin: 0 auto;
    padding: 55px 60px 70px;
}

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

.aziende-process-card {
    position: relative;
    min-height: 260px;
    padding: 32px 28px;
    border-radius: 26px;
    background: #fff8ec;
}

.aziende-process-card:nth-child(2) {
    background: #e8f0df;
}

.aziende-process-card:nth-child(3) {
    background: #f3dfe6;
}

.aziende-process-card:nth-child(4) {
    background: #f7e8a9;
}

.aziende-process-card > span {
    display: block;
    margin-bottom: 65px;
    font-family: "Poppins", sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: #008c45;
}

.aziende-process-card h3 {
    margin: 0 0 14px;
    font-family: "Poppins", sans-serif;
    font-size: 1.3rem;
    line-height: 1.3;
    color: #202520;
}

.aziende-process-card p {
    margin: 0;
    font-size: 0.98rem;
    line-height: 1.7;
    color: #535a53;
}


/* =========================================================
   LINGUE
   ========================================================= */

.aziende-languages {
    padding: 105px max(60px, calc((100vw - 1160px) / 2));
    background: #f6f8f3;
}

.aziende-languages-intro {
    max-width: 700px;
    margin-bottom: 50px;
}

.aziende-languages-intro p:not(.section-label) {
    margin: 20px 0 0;
    font-size: 1.08rem;
    line-height: 1.75;
    color: #596059;
}

.aziende-languages-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.aziende-language-card {
    min-height: 175px;
    padding: 25px 22px;
    border-radius: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: #fff;
    border: 1px solid rgba(32, 37, 32, 0.08);
}

.aziende-language-card span {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e8f0df;
    font-family: "Poppins", sans-serif;
    font-size: 0.77rem;
    font-weight: 700;
    color: #008c45;
}

.aziende-language-card:nth-child(2) span {
    background: #f7e8a9;
    color: #202520;
}

.aziende-language-card:nth-child(3) span {
    background: #f3dfe6;
    color: #a24f6f;
}

.aziende-language-card:nth-child(4) span {
    background: #f4d7cf;
    color: #c96855;
}

.aziende-language-card:nth-child(5) span {
    background: #e8f0df;
}

.aziende-language-card strong {
    font-family: "Poppins", sans-serif;
    font-size: 1.05rem;
    line-height: 1.3;
    color: #202520;
}


/* =========================================================
   PERCHÉ MERAKI
   ========================================================= */

.aziende-why {
    max-width: 1280px;
    margin: 0 auto;
    padding: 115px 60px;
}

.aziende-why-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 90px;
    align-items: start;
    margin-bottom: 65px;
}

.aziende-why-text {
    padding-top: 8px;
}

.aziende-why-text p {
    margin: 0 0 22px;
    font-size: 1.1rem;
    line-height: 1.8;
    color: #596059;
}

.aziende-why-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid rgba(32, 37, 32, 0.12);
}

.aziende-why-points > div {
    padding: 30px 30px 30px 0;
    border-bottom: 1px solid rgba(32, 37, 32, 0.12);
}

.aziende-why-points > div:nth-child(odd) {
    border-right: 1px solid rgba(32, 37, 32, 0.12);
    padding-right: 40px;
}

.aziende-why-points > div:nth-child(even) {
    padding-left: 40px;
}

.aziende-why-points strong {
    display: block;
    margin-bottom: 8px;
    font-family: "Poppins", sans-serif;
    font-size: 1.08rem;
    color: #202520;
}

.aziende-why-points span {
    font-size: 0.98rem;
    line-height: 1.6;
    color: #626962;
}


/* =========================================================
   FAQ
   ========================================================= */

.aziende-faq {
    padding: 65px max(60px, calc((100vw - 1160px) / 2));
    background: #fff8ec;
}

.aziende-faq-list {
    max-width: 900px;
}

.aziende-faq-item {
    border-top: 1px solid rgba(32, 37, 32, 0.14);
}

.aziende-faq-item:last-child {
    border-bottom: 1px solid rgba(32, 37, 32, 0.14);
}

.aziende-faq-item summary {
    position: relative;
    padding: 25px 50px 25px 0;
    cursor: pointer;
    list-style: none;
    font-family: "Poppins", sans-serif;
    font-size: 1.08rem;
    font-weight: 600;
    color: #202520;
}

.aziende-faq-item summary::-webkit-details-marker {
    display: none;
}

.aziende-faq-item summary::after {
    content: "+";
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8rem;
    font-weight: 400;
    color: #008c45;
}

.aziende-faq-item[open] summary::after {
    content: "−";
}

.aziende-faq-item p {
    max-width: 750px;
    margin: -4px 0 25px;
    padding-right: 40px;
    font-size: 1rem;
    line-height: 1.75;
    color: #596059;
}


/* =========================================================
   CTA FINALE
   ========================================================= */

.aziende-cta {
    padding: 55px 60px;
    background: #e8f0df;
}

.aziende-cta-content {
    max-width: 850px;
    margin: 0 auto;
    text-align: center;
}

.aziende-cta h2 {
    margin-top: 12px;
}

.aziende-cta-content > p:not(.section-label) {
    max-width: 680px;
    margin: 24px auto 35px;
    font-size: 1.12rem;
    line-height: 1.75;
    color: #535a53;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1000px) {

    .aziende-hero {
        grid-template-columns: 1fr;
        gap: 55px;
        padding: 75px 40px 90px;
    }

    .aziende-hero-visual {
        min-height: 390px;
    }

    .aziende-hero-card-main {
        margin-right: auto;
        margin-left: auto;
    }

    .aziende-language-tags {
        right: 6%;
    }

    .aziende-intro,
    .aziende-needs-content,
    .aziende-why-content {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .aziende-modes-grid {
        grid-template-columns: 1fr 1fr;
    }

    .aziende-mode-card:last-child {
        grid-column: 1 / -1;
    }

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

    .aziende-languages-grid {
        grid-template-columns: repeat(3, 1fr);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 700px) {

    .aziende-hero {
        padding: 55px 22px 75px;
        gap: 45px;
    }

    .aziende-hero-content h1 {
        font-size: clamp(2.7rem, 13vw, 4rem);
    }

    .aziende-hero-description {
        font-size: 1.08rem;
    }

    .aziende-hero-actions {
        align-items: flex-start;
        flex-direction: column;
        gap: 20px;
    }

    .aziende-primary-button {
        width: 100%;
    }

    .aziende-hero-visual {
        min-height: 380px;
    }

    .aziende-hero-card-main {
        min-height: 280px;
        padding: 35px 28px;
        border-radius: 30px;
    }

    .aziende-hero-card-main strong {
        font-size: 2rem;
    }

    .aziende-language-tags {
        position: relative;
        inset: auto;
        width: 100%;
        margin-top: -45px;
        justify-content: center;
    }


    .aziende-intro,
    .aziende-languages,
    .aziende-faq {
        padding: 50px 22px;
    }

    .aziende-modes,
    .aziende-process,
    .aziende-why {
        padding: 50px 22px;
    }

    .aziende-needs {
        padding: 80px 22px;
    }

    .aziende-cta {
        padding: 45px 22px;
    }


    .aziende-intro-heading h2,
    .aziende-section-heading h2,
    .aziende-needs-text h2,
    .aziende-languages-intro h2,
    .aziende-why-heading h2,
    .aziende-cta h2 {
        font-size: 2.35rem;
    }


    .aziende-modes-grid {
        grid-template-columns: 1fr;
    }

    .aziende-mode-card:last-child {
        grid-column: auto;
    }

    .aziende-mode-card {
        min-height: auto;
    }


    .aziende-process-grid {
        grid-template-columns: 1fr;
    }

    .aziende-process-card {
        min-height: auto;
    }

    .aziende-process-card > span {
        margin-bottom: 40px;
    }


    .aziende-languages-grid {
        grid-template-columns: 1fr 1fr;
    }

    .aziende-language-card {
        min-height: 150px;
    }

    .aziende-language-card:last-child {
        grid-column: 1 / -1;
    }


    .aziende-why-points {
        grid-template-columns: 1fr;
    }

    .aziende-why-points > div,
    .aziende-why-points > div:nth-child(odd),
    .aziende-why-points > div:nth-child(even) {
        padding: 25px 0;
        border-right: none;
    }


    .aziende-need {
        grid-template-columns: 42px 1fr;
    }


    .aziende-faq-item summary {
        font-size: 1rem;
        padding-right: 42px;
    }

}


/* =========================================================
   MOBILE PICCOLO
   ========================================================= */

@media (max-width: 430px) {

    .aziende-languages-grid {
        grid-template-columns: 1fr;
    }

    .aziende-language-card:last-child {
        grid-column: auto;
    }

    .aziende-language-card {
        min-height: 130px;
    }

}
.aziende-process-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 28px;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.65);

    display: flex;
    align-items: center;
    justify-content: center;
}

.aziende-process-icon svg {
    width: 26px;
    height: 26px;
    fill: none;
    stroke: #008c45;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}