:root {
    --color-background: #FDF4F9;
    --color-accent-soft: #F7C8E0;
    --color-primary: #C39BD3;
    --color-text: #3D2B3D;
    --color-white: #ffffff;
    --color-border: #E8D4E6;
    --font-primary: 'Outfit', sans-serif;
}

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

body {
    font-family: var(--font-primary);
    font-size: 1.125rem;
    line-height: 1.7;
    color: var(--color-text);
    background: var(--color-background);
    font-weight: 400;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 300;
    letter-spacing: 0.02em;
}

h1 {
    font-size: 3.5rem;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    line-height: 1.3;
}

h3 {
    font-size: 1.75rem;
    line-height: 1.4;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(253, 244, 249, 0.95);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--color-border);
    z-index: 1000;
    padding: 1.5rem 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--color-text);
}

.navbar-brand svg {
    width: 42px;
    height: 42px;
}

.navbar-menu {
    display: flex;
    gap: 2.5rem;
    list-style: none;
    align-items: center;
}

.navbar-menu a {
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text);
}

.navbar-menu a:hover {
    color: var(--color-primary);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
}

.hero-split {
    display: grid;
    grid-template-columns: 60fr 40fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
}

.hero-content p {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--color-text);
    opacity: 0.85;
}

.hero-visual img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

.section {
    padding: 5rem 0;
}

.section-manifesto {
    background: var(--color-white);
    text-align: center;
}

.section-manifesto .manifesto-text {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.5rem;
    line-height: 1.8;
    font-weight: 300;
    letter-spacing: 0.01em;
}

.section-percorso {
    background: var(--color-background);
}

.percorso-list {
    max-width: 900px;
    margin: 3rem auto 0;
}

.percorso-item {
    padding: 2rem 0;
    border-bottom: 1px solid var(--color-primary);
}

.percorso-item:last-child {
    border-bottom: none;
}

.percorso-item h3 {
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.percorso-item p {
    font-size: 1.125rem;
    opacity: 0.8;
}

.section-competenze {
    background: var(--color-white);
}

.competenze-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.competenza-box {
    padding: 3rem 2rem;
    border: 1px solid var(--color-border);
    border-radius: 8px;
}

.competenza-box h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.competenza-box p {
    font-size: 1rem;
    line-height: 1.6;
    opacity: 0.8;
}

.section-galleria {
    background: var(--color-background);
}

.galleria-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.galleria-item {
    position: relative;
}

.galleria-item img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.galleria-caption {
    margin-top: 1rem;
    font-size: 0.95rem;
    color: var(--color-text);
    opacity: 0.7;
}

.section-orientamento {
    background: var(--color-accent-soft);
}

.orientamento-wrapper {
    display: grid;
    grid-template-columns: 45fr 55fr;
    gap: 4rem;
    align-items: center;
}

.orientamento-text h2 {
    margin-bottom: 1rem;
}

.orientamento-form {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 12px;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--color-border);
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 1rem;
    background: var(--color-white);
    color: var(--color-text);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-error {
    color: #c44569;
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: block;
}

.btn-submit {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-soft) 100%);
    border: none;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(195, 155, 211, 0.3);
}

.footer {
    background: var(--color-white);
    padding: 3rem 0 2rem;
    border-top: 1px solid var(--color-border);
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
}

.footer-logo svg {
    width: 36px;
    height: 36px;
}

.footer-nav {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.footer-nav a {
    font-size: 0.95rem;
    color: var(--color-text);
    opacity: 0.8;
}

.footer-nav a:hover {
    opacity: 1;
    color: var(--color-primary);
}

.footer-legal {
    display: flex;
    gap: 2rem;
    list-style: none;
    justify-content: center;
    padding-top: 2rem;
    border-top: 1px solid var(--color-border);
}

.footer-legal a {
    font-size: 0.875rem;
    opacity: 0.7;
}

.footer-legal a:hover {
    opacity: 1;
}

.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: var(--color-white);
    border-top: 2px solid var(--color-primary);
    padding: 2rem;
    box-shadow: 0 -4px 20px rgba(61, 43, 61, 0.1);
    z-index: 9999;
    display: none;
    opacity: 0;
    transform: translateY(100%);
    transition: all 0.3s ease;
}

.cookie-notice.show {
    opacity: 1;
    transform: translateY(0);
}

.cookie-notice.hide {
    opacity: 0;
    transform: translateY(100%);
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-text p {
    font-size: 0.95rem;
    line-height: 1.6;
}

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

.cookie-buttons {
    display: flex;
    gap: 1rem;
}

.cookie-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-family: var(--font-primary);
    font-size: 0.95rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.cookie-btn-accept:hover {
    background: #B088C4;
}

.cookie-btn-decline {
    background: var(--color-background);
    color: var(--color-text);
    border: 1px solid var(--color-border);
}

.cookie-btn-decline:hover {
    background: var(--color-white);
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
}

.section-subtitle {
    font-size: 1.125rem;
    color: var(--color-text);
    opacity: 0.7;
    margin-top: 1rem;
}

.hero-tags {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    flex-wrap: wrap;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(195, 155, 211, 0.1);
    border: 1px solid var(--color-primary);
    border-radius: 6px;
    font-size: 0.95rem;
    font-weight: 500;
}

.hero-tag i {
    color: var(--color-primary);
}

.section-filosofia {
    background: var(--color-white);
}

.filosofia-wrapper {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.filosofia-quote {
    position: relative;
    text-align: center;
}

.quote-icon {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 0;
}

.filosofia-quote h2 {
    position: relative;
    z-index: 1;
    margin-bottom: 2rem;
}

.filosofia-text {
    font-size: 1.25rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.filosofia-subtext {
    font-size: 1rem;
    font-style: italic;
    opacity: 0.8;
    position: relative;
    z-index: 1;
}

.section-pilastri {
    background: var(--color-background);
}

.pilastri-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    margin-top: 3rem;
}

.pilastro-item {
    background: var(--color-white);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.pilastro-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-soft) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.pilastro-icon i {
    font-size: 1.75rem;
    color: var(--color-white);
}

.pilastro-item h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.pilastro-item p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.pilastro-details {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pilastro-details li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    opacity: 0.8;
}

.pilastro-details li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: var(--color-primary);
}

.section-esperienza {
    background: var(--color-white);
}

.esperienza-visual {
    margin-bottom: 3rem;
}

.esperienza-visual img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    max-width: 600px;
}

.esperienza-content p {
    font-size: 1.125rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.section-curriculum {
    background: var(--color-background);
}

.curriculum-list {
    max-width: 900px;
    margin: 3rem auto 0;
}

.curriculum-fase {
    display: flex;
    gap: 2rem;
    margin-bottom: 3rem;
    align-items: start;
}

.curriculum-fase:last-child {
    margin-bottom: 0;
}

.curriculum-numero {
    font-size: 3rem;
    font-weight: 300;
    color: var(--color-primary);
    line-height: 1;
    min-width: 80px;
}

.curriculum-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.curriculum-content p {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.85;
}

.section-sbocchi {
    background: var(--color-white);
}

.sbocchi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
}

.sbocco-card {
    background: var(--color-background);
    padding: 2.5rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.sbocco-icon {
    width: 70px;
    height: 70px;
    background: var(--color-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.sbocco-icon i {
    font-size: 2rem;
    color: var(--color-white);
}

.sbocco-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.sbocco-card p {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.sbocco-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.sbocco-skills span {
    padding: 0.4rem 0.8rem;
    background: var(--color-white);
    border: 1px solid var(--color-border);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 500;
}

.sbocchi-visual img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.section-progetti {
    background: var(--color-background);
}

.progetti-list {
    margin-top: 3rem;
}

.progetto-card {
    background: var(--color-white);
    border-radius: 12px;
    border: 1px solid var(--color-border);
    overflow: hidden;
    margin-bottom: 3rem;
}

.progetto-card:last-child {
    margin-bottom: 0;
}

.progetto-visual img {
    width: 100%;
    height: auto;
    display: block;
    max-width: 600px;

}

.progetto-content {
    padding: 3rem;
}

.progetto-content h3 {
    font-size: 1.75rem;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.progetto-meta {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.progetto-meta span {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

.progetto-meta i {
    color: var(--color-primary);
}

.progetto-problema,
.progetto-soluzione,
.progetto-risultato {
    margin-bottom: 2rem;
}

.progetto-problema:last-child,
.progetto-soluzione:last-child,
.progetto-risultato:last-child {
    margin-bottom: 0;
}

.progetto-content h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: var(--color-primary);
}

.progetto-content p {
    font-size: 1rem;
    line-height: 1.7;
}

.section-vantaggi {
    background: var(--color-white);
}

.vantaggi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    margin-top: 3rem;
}

.vantaggio-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--color-background);
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.vantaggio-icon {
    width: 50px;
    height: 50px;
    background: var(--color-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.vantaggio-icon i {
    font-size: 1.5rem;
    color: var(--color-white);
}

.vantaggio-text h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.vantaggio-text p {
    font-size: 0.95rem;
    line-height: 1.6;
    opacity: 0.85;
}

.section-faq {
    background: var(--color-background);
}

.faq-list {
    max-width: 900px;
    margin: 3rem auto 0;
}

.faq-item {
    background: var(--color-white);
    padding: 2rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    margin-bottom: 1.5rem;
}

.faq-item:last-child {
    margin-bottom: 0;
}

.faq-question {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--color-text);
}

.faq-answer {
    font-size: 1rem;
    line-height: 1.7;
    opacity: 0.85;
}

.orientamento-visual {
    margin-bottom: 2rem;
}

.orientamento-visual img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--color-border);
}

.section-about {
    padding: 8rem 0 5rem;
}

.about-block {
    margin-bottom: 5rem;
}

.about-block-vision {
    text-align: center;
}

.about-block-vision img {
    max-width: 500px;
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    margin: 2rem auto;
    display: block;
}

.about-block-standards {
    display: grid;
    grid-template-columns: 40fr 60fr;
    gap: 3rem;
    align-items: start;
}

.about-block-standards h2 {
    font-size: 2rem;
}

.standards-list {
    list-style: none;
}

.standards-list li {
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-border);
    font-size: 1.125rem;
}

.standards-list li:last-child {
    border-bottom: none;
}

.about-block-ambiente img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    margin-bottom: 2rem;
}

.section-contact {
    padding: 8rem 0 5rem;
}

.contact-wrapper {
    max-width: 700px;
    margin: 0 auto;
}

.contact-info {
    background: var(--color-white);
    padding: 3rem;
    border-radius: 12px;
    border: 1px solid var(--color-border);
    margin-bottom: 3rem;
}

.contact-item {
    margin-bottom: 2rem;
}

.contact-item:last-child {
    margin-bottom: 0;
}

.contact-item h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.contact-item p, .contact-item a {
    font-size: 1.125rem;
}

.contact-item a:hover {
    color: var(--color-primary);
}

.section-legal {
    padding: 8rem 0 5rem;
}

.legal-content {
    max-width: 900px;
    margin: 0 auto;
}

.legal-content h2 {
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    font-size: 2rem;
}

.legal-content h3 {
    margin-top: 2rem;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-weight: 600;
}

.legal-content p {
    margin-bottom: 1.5rem;
}

.legal-content ul {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.legal-content ul li {
    margin-bottom: 0.75rem;
}

.section-thanks {
    min-height: 60vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 8rem 0 5rem;
}

.thanks-content h1 {
    margin-bottom: 1.5rem;
}

.thanks-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-accent-soft) 100%);
    color: var(--color-text);
    border-radius: 6px;
    font-size: 1.125rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(195, 155, 211, 0.3);
}

@media (max-width: 992px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-split {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

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

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

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

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

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

    .orientamento-wrapper {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .about-block-standards {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .navbar-menu {
        gap: 1.5rem;
    }

    .footer-content {
        flex-direction: column;
        gap: 2rem;
    }

    .cookie-content {
        flex-direction: column;
        align-items: flex-start;
    }

    .curriculum-fase {
        gap: 1.5rem;
    }

    .curriculum-numero {
        font-size: 2.5rem;
        min-width: 60px;
    }
}

@media (max-width: 768px) {
    body {
        font-size: 1rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .navbar-menu {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0;
    }

    .hero {
        padding: 6rem 0 3rem;
    }

    .hero-tags {
        flex-direction: column;
        gap: 0.75rem;
    }

    .section {
        padding: 3rem 0;
    }

    .section-about, .section-contact, .section-legal {
        padding: 6rem 0 3rem;
    }

    .orientamento-form {
        padding: 2rem;
    }

    .footer-nav, .footer-legal {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
    }

    .cookie-buttons {
        width: 100%;
        flex-direction: column;
    }

    .cookie-btn {
        width: 100%;
    }

    .pilastro-item {
        padding: 2rem;
    }

    .pilastro-icon {
        width: 50px;
        height: 50px;
    }

    .pilastro-icon i {
        font-size: 1.5rem;
    }

    .curriculum-fase {
        flex-direction: column;
        gap: 1rem;
    }

    .curriculum-numero {
        font-size: 2rem;
    }

    .sbocco-card {
        padding: 2rem;
    }

    .sbocco-icon {
        width: 60px;
        height: 60px;
    }

    .progetto-content {
        padding: 2rem;
    }

    .progetto-meta {
        flex-direction: column;
        gap: 1rem;
    }

    .vantaggio-item {
        flex-direction: column;
        gap: 1rem;
        padding: 1.5rem;
    }

    .faq-item {
        padding: 1.5rem;
    }

    .faq-question {
        font-size: 1.125rem;
    }
}