:root {
    --navy-deep: #071830;
    --navy-mid: #0D2D5E;
    --navy-bright: #1A4A8A;
    --blue: #2B6CB0;
    --blue-light: #4A90D9;
    --sky: #7EC8E3;
    --ice: #E8F4FD;
    --ice-dark: #C8E2F7;
    --white: #FFFFFF;
    --text-dark: #0D1F3C;
    --text-mid: #3A5070;
    --text-light: #7A9BB8;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'DM Sans', sans-serif;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text-dark);
    background: var(--white);
    overflow-x: hidden;
}

/* NAV */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5% 0 2%;
    height: 64px;
    background: rgba(7, 24, 48, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(74, 144, 217, 0.15);
    transition: all 0.3s ease;
}

.nav-brand {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 30px;
    width: auto;
    max-height: 100%;
    object-fit: contain;
    display: block;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-brand:hover .nav-logo {
    opacity: 0.9;
    transform: scale(1.02);
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    transition: color 0.2s;
    display: inline-flex;
    align-items: center;
}

.nav-links a:hover {
    color: var(--sky);
}

.nav-cta {
    background: var(--blue-light);
    color: var(--white) !important;
    padding: 0.45rem 1.1rem;
    border-radius: 4px;
    transition: all 0.25s ease;
    line-height: 1;
}

.nav-cta:hover {
    background: var(--sky) !important;
    color: var(--navy-deep) !important;
    transform: translateY(-1px);
}

/* HERO */
.hero {
    position: relative;
    display: flex;
    align-items: flex-start;
    overflow: hidden;
    background: var(--navy-deep);
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(26, 74, 138, 0.55) 0%, transparent 70%),
        radial-gradient(ellipse 40% 40% at 20% 80%, rgba(74, 144, 217, 0.2) 0%, transparent 60%),
        linear-gradient(135deg, #071830 0%, #0D2D5E 60%, #071830 100%);
}

.hero-grid {
    position: absolute;
    inset: 0;
    background-image: linear-gradient(rgba(74, 144, 217, 0.06) 1px, transparent 1px),
        linear-gradient(90deg, rgba(74, 144, 217, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: gridDrift 20s linear infinite;
}

@keyframes gridDrift {
    to {
        transform: translateY(60px);
    }
}

.hero-orb {
    position: absolute;
    top: 20%;
    right: 15%;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(126, 200, 227, 0.12) 0%, transparent 70%);
    pointer-events: none;
    animation: pulse 8s ease-in-out infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(0.9);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.1);
        opacity: 1;
    }
}

.hero-content {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 5% 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.hero-badge {
    display: block;
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-family: var(--font-serif);
    font-weight: 400;
    letter-spacing: 0.04em;
    text-transform: none;
    color: var(--sky);
    border: none;
    background: transparent;
    padding: 0;
    margin-bottom: 1.5rem;
    text-align: center;
    width: 100%;
    animation: fadeUp 0.8s ease forwards;
}

.hero-inner-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    width: 100%;
}

.hero-text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.hero-title {
    font-family: var(--font-serif);
    font-size: clamp(2.4rem, 4.2vw, 3.6rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--white);
    margin-bottom: 0.4rem;
    animation: fadeUp 0.8s 0.15s ease both;
}

.hero-title em {
    font-style: italic;
    color: var(--sky);
    font-weight: 300;
}

.hero-title strong {
    font-weight: 600;
    display: block;
}

.hero-subtitle {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    margin: 1.6rem 0 2.4rem;
    animation: fadeUp 0.8s 0.3s ease both;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    animation: fadeUp 0.8s 0.45s ease both;
}

.btn-primary {
    background: var(--blue-light);
    color: var(--white);
    border: none;
    padding: 0.85rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s ease;
}

.btn-primary:hover {
    background: var(--sky);
    color: var(--navy-deep);
    transform: translateY(-2px);
}

.btn-ghost {
    background: transparent;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 0.85rem 2rem;
    font-family: var(--font-sans);
    font-size: 0.9rem;
    font-weight: 400;
    border-radius: 3px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.25s ease;
}

.btn-ghost:hover {
    border-color: var(--sky);
    color: var(--sky);
}

.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeUp 0.8s 0.5s ease both;
}

/* HERO DANTE CARD */
.hero-dante-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.2rem;
    background: rgba(13, 45, 94, 0.45);
    border: 1px solid rgba(126, 200, 227, 0.3);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 2.5rem 2.5rem;
    box-shadow: 0 20px 50px rgba(7, 24, 48, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.15);
    animation: cardFloat 6s ease-in-out infinite;
    max-width: 440px;
    width: 100%;
    position: relative;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.hero-dante-card:hover {
    border-color: rgba(126, 200, 227, 0.6);
    box-shadow: 0 25px 60px rgba(74, 144, 217, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

.dante-avatar-wrapper {
    position: relative;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    padding: 6px;
    background: linear-gradient(135deg, var(--sky), var(--blue), var(--navy-mid));
    box-shadow: 0 10px 35px rgba(74, 144, 217, 0.4);
}

.dante-avatar-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    border-radius: 50%;
    display: block;
    background: var(--navy-deep);
}

.dante-card-info {
    text-align: center;
}

.dante-card-label {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--sky);
    margin-bottom: 0.4rem;
}

.dante-card-value {
    font-family: var(--font-serif);
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--white);
    line-height: 1.1;
}

.dante-card-sub {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 0.4rem;
    font-weight: 300;
}

.contact-stats-block {
    margin-top: 1.8rem;
    margin-bottom: 2rem;
    background: rgba(13, 45, 94, 0.35);
    border: 1px solid rgba(126, 200, 227, 0.2);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 1.2rem 1.2rem;
    box-shadow: 0 8px 24px rgba(7, 24, 48, 0.25);
}

.contact-stats-block .stats-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 0.6rem;
}

.contact-stats-block .stat-card {
    padding: 0.8rem 0.6rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.03);
}

.contact-stats-block .stat-num {
    font-size: 1.6rem;
}

.contact-stats-block .stat-desc {
    font-size: 0.73rem;
    line-height: 1.3;
    margin-top: 0.4rem;
}

@keyframes cardFloat {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(28px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* COMMON */
section {
    padding: 100px 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-badge {
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    color: var(--blue-light);
    display: block;
    margin-bottom: 0.9rem;
}

.section-title {
    font-family: var(--font-serif);
    font-size: clamp(2rem, 3.5vw, 3rem);
    font-weight: 300;
    line-height: 1.15;
    color: var(--text-dark);
    margin-bottom: 1.2rem;
}

.section-title em {
    font-style: italic;
    color: var(--blue);
}

.section-title strong {
    font-weight: 600;
}

.section-lead {
    font-size: 1.05rem;
    font-weight: 300;
    line-height: 1.75;
    color: var(--text-mid);
    max-width: 640px;
}

.reveal {
    opacity: 0;
    transform: translateY(32px);
    transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* SVG ICON STYLE */
.icon-wrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    flex-shrink: 0;
}

.icon-wrap svg {
    width: 28px;
    height: 28px;
}

.icon-wrap.lg {
    width: 52px;
    height: 52px;
}

.icon-wrap.lg svg {
    width: 32px;
    height: 32px;
}

/* INTRO */
.intro {
    background: var(--white);
}

.intro-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.intro-header {
    margin-bottom: 0;
}

.intro-header .section-lead {
    max-width: 100%;
}

.intro-cards {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 50px;
}

.icard {
    background: var(--ice);
    border-radius: 10px;
    padding: 1.1rem 1.3rem;
    transition: background 0.6s ease, transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    border-left: 3px solid var(--blue-light);
    box-shadow: 0 2px 15px rgba(13, 45, 94, 0.04);
}

.icard:hover {
    background: var(--ice-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 24px rgba(13, 45, 94, 0.1);
}

.icard-icon-wrap {
    width: 36px;
    height: 36px;
    background: rgba(26, 74, 138, 0.08);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.5rem;
    transition: background 0.3s;
}

.icard-icon-wrap svg {
    width: 20px;
    height: 20px;
}

.icard-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--navy-mid);
    margin-bottom: 0.3rem;
}

.icard-desc {
    font-size: 0.84rem;
    line-height: 1.55;
    color: var(--text-mid);
    font-weight: 300;
}

/* INTRO SUBSECTIONS & SECTION ALTERNATING BACKGROUNDS */
.sub-section {
    padding: 80px 5%;
    position: relative;
    background: var(--ice);
}

.sub-section-ice {
    background: var(--ice);
}

.sub-section-white {
    background: var(--ice);
}

.sub-header {
    margin-bottom: 1.8rem;
}

.sub-badge {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--blue-light);
    display: block;
    margin-bottom: 0.4rem;
}

.sub-title {
    font-family: var(--font-serif);
    font-size: 1.45rem;
    font-weight: 600;
    color: var(--navy-mid);
}

.sub-grid {
    display: grid;
    gap: 1.2rem;
}

.sub-grid-4 {
    grid-template-columns: repeat(4, 1fr);
}

.sub-grid-5 {
    grid-template-columns: repeat(5, 1fr);
    align-items: start;
}

.micro-card {
    background: var(--white);
    border: 1px solid rgba(74, 144, 217, 0.15);
    border-radius: 10px;
    padding: 1.35rem 1.4rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 45, 94, 0.03);
    height: 250px;
}

.sub-section-white .micro-card {
    background: var(--ice);
}

.micro-card:hover {
    border-color: rgba(74, 144, 217, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(74, 144, 217, 0.15);
}

.micro-card h4 {
    font-family: var(--font-serif);
    font-size: 1.08rem;
    font-weight: 600;
    color: var(--navy-mid);
    margin-bottom: 0.45rem;
}

.micro-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-mid);
    font-weight: 300;
}

/* STEP CARDS (COME FUNZIONA) - SFALSATE IN CASCATA */
.step-card {
    background: var(--ice);
    border: 1px solid rgba(74, 144, 217, 0.18);
    border-top: 3px solid var(--blue-light);
    border-radius: 10px;
    padding: 1.35rem 1.4rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 45, 94, 0.04);
}

@media (min-width: 901px) {
    .sub-grid-5 {
        align-items: start;
    }

    .sub-grid-5 .step-card {
        height: 340px;
        box-sizing: border-box;
    }

    .sub-grid-5 .step-card:nth-child(1) { margin-top: 0px; }
    .sub-grid-5 .step-card:nth-child(2) { margin-top: 15px; }
    .sub-grid-5 .step-card:nth-child(3) { margin-top: 30px; }
    .sub-grid-5 .step-card:nth-child(4) { margin-top: 45px; }
    .sub-grid-5 .step-card:nth-child(5) { margin-top: 60px; }
    
    .sub-section-white:has(.sub-grid-5) {
        padding-bottom: 110px;
    }
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(74, 144, 217, 0.2);
    border-top-color: var(--blue);
    background: var(--ice-dark);
}

.step-num {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--blue-light);
    display: inline-block;
    margin-bottom: 0.45rem;
    background: rgba(255, 255, 255, 0.8);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
}

.step-card h4 {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy-mid);
    margin-bottom: 0.45rem;
}

.step-card p {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-mid);
    font-weight: 300;
}

/* FEATURES (SOLUZIONI PER DIVERSI SETTORI) */
.features {
    background: var(--navy-deep);
}

.features .section-title {
    font-size: clamp(2.2rem, 4vw, 3.4rem);
    font-weight: 400;
    color: var(--white);
}

.features .section-badge {
    color: var(--sky);
}

.features .section-lead {
    font-size: 1.15rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.75);
}

.features-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: end;
    margin-bottom: 4rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.features-grid-sectors {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.fcard-sector {
    display: grid;
    grid-template-columns: 1.65fr 1fr;
    gap: 0;
    padding: 0;
    overflow: hidden;
    align-items: stretch;
    background: rgba(13, 45, 94, 0.45);
    border: 1px solid rgba(126, 200, 227, 0.25);
    backdrop-filter: blur(12px);
    border-radius: 14px;
}

.fcard-sector-left {
    padding: 1.8rem 2.2rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    border-right: 1px solid rgba(126, 200, 227, 0.15);
    transition: border-color 0.3s;
}

.fcard:hover .fcard-sector-left {
    border-right-color: rgba(126, 200, 227, 0.3);
}

.fcard-sector-heading {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.fcard-sector-heading .fcard-icon-wrap {
    flex-shrink: 0;
    margin-bottom: 0;
    width: 40px;
    height: 40px;
    background: rgba(126, 200, 227, 0.15);
}

.fcard-sector-heading .fcard-icon-wrap svg path,
.fcard-sector-heading .fcard-icon-wrap svg rect,
.fcard-sector-heading .fcard-icon-wrap svg circle,
.fcard-sector-heading .fcard-icon-wrap svg line {
    stroke: var(--sky);
}

.fcard-sector-heading .fcard-title {
    margin-bottom: 0;
    color: var(--white);
}

.fcard-sector .fcard-desc {
    color: rgba(255, 255, 255, 0.75);
}

.fcard-sector-right {
    padding: 1.8rem 1.6rem;
    display: flex;
    align-items: center;
    background: rgba(7, 24, 48, 0.35);
    transition: background 0.3s;
}

.fcard:hover .fcard-sector-right {
    background: rgba(7, 24, 48, 0.6);
}

.sector-checklist {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
    width: 100%;
}

.sector-checklist li {
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 300;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    line-height: 1.4;
    transition: color 0.3s;
}

.sector-checklist li::before {
    content: '';
    display: inline-block;
    flex-shrink: 0;
    width: 15px;
    height: 15px;
    margin-top: 0.05em;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none'%3E%3Ccircle cx='8' cy='8' r='7' stroke='%237EC8E3' stroke-width='1.2'/%3E%3Cpath d='M5 8.3l2 2 4-4' stroke='%237EC8E3' stroke-width='1.3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    transition: filter 0.3s;
}

.fcard:hover .sector-checklist li {
    color: var(--white);
}

.fcard:hover .sector-checklist li::before {
    filter: brightness(1.2);
}


.fcard {
    background: rgba(13, 45, 94, 0.45);
    border-radius: 12px;
    padding: 2.2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.fcard::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--blue-light), var(--sky));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease;
}

.fcard:hover {
    background: rgba(13, 45, 94, 0.85);
}

.fcard:hover .fcard-title {
    color: var(--sky);
}

.fcard:hover .fcard-desc {
    color: rgba(255, 255, 255, 0.9);
}

.fcard:hover .fcard-icon-wrap {
    background: rgba(74, 144, 217, 0.3);
}

.fcard:hover .fcard-icon-wrap svg path,
.fcard:hover .fcard-icon-wrap svg rect,
.fcard:hover .fcard-icon-wrap svg circle,
.fcard:hover .fcard-icon-wrap svg polyline,
.fcard:hover .fcard-icon-wrap svg line {
    stroke: var(--sky);
}

.fcard:hover::after {
    transform: scaleX(1);
}

.fcard-icon-wrap {
    width: 48px;
    height: 48px;
    background: rgba(126, 200, 227, 0.15);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.2rem;
    transition: background 0.3s;
}

.fcard-icon-wrap svg {
    width: 26px;
    height: 26px;
}

.fcard-title {
    font-family: var(--font-serif);
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.7rem;
    transition: color 0.3s;
}

.fcard-desc {
    font-size: 0.96rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    transition: color 0.3s;
    margin-bottom: 1rem;
}

.fcard-ideal {
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--sky);
    font-weight: 500;
    border-top: 1px solid rgba(126, 200, 227, 0.2);
    padding-top: 0.75rem;
    transition: color 0.3s, border-color 0.3s;
}

.fcard:hover .fcard-ideal {
    color: var(--white);
    border-top-color: rgba(126, 200, 227, 0.4);
}

/* AVATAR SECTION */
/* AVATAR / HUMAN DIGITAL TWIN IN AZIONE */
.avatars {
    background: var(--ice);
}

.case-studies-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 3.5rem;
}

.case-study-card {
    background: var(--white);
    border-radius: 16px;
    padding: 2.2rem 2.5rem;
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2.5rem;
    align-items: center;
    box-shadow: 0 4px 25px rgba(13, 45, 94, 0.06);
    border: 1px solid rgba(74, 144, 217, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.case-study-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 35px rgba(13, 45, 94, 0.12);
    border-color: rgba(74, 144, 217, 0.3);
}

.case-study-left {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.case-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--navy-mid);
    line-height: 1.25;
}

.case-sub {
    font-size: 0.92rem;
    font-weight: 500;
    color: var(--blue);
    margin-bottom: 0.2rem;
}

.case-desc {
    font-size: 0.9rem;
    line-height: 1.65;
    color: var(--text-mid);
    font-weight: 300;
}

.case-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 0.6rem;
}

.feat-tag {
    font-size: 0.76rem;
    color: var(--navy-mid);
    background: rgba(74, 144, 217, 0.08);
    border: 1px solid rgba(74, 144, 217, 0.2);
    padding: 0.3rem 0.75rem;
    border-radius: 20px;
    font-weight: 400;
    line-height: 1.3;
}

.case-study-right {
    width: 100%;
    height: 100%;
    min-height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.case-video {
    width: 100%;
    max-width: 100%;
    height: 100%;
    max-height: 260px;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
    display: block;
    cursor: pointer;
}

/* Audio Toggle Button */
.audio-toggle-btn {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(7, 24, 48, 0.65);
    border: 1px solid rgba(126, 200, 227, 0.25);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    opacity: 0;
    pointer-events: none;
    transform: scale(0.9);
    transition: opacity 0.3s ease, transform 0.3s ease, background-color 0.2s ease, border-color 0.2s ease;
    box-shadow: 0 4px 12px rgba(7, 24, 48, 0.3);
}

.audio-toggle-btn:hover {
    background: rgba(13, 45, 94, 0.85);
    border-color: rgba(126, 200, 227, 0.5);
    transform: scale(1.05);
}

.audio-toggle-btn.visible {
    opacity: 1;
    pointer-events: auto;
    transform: scale(1);
}

.audio-toggle-btn svg {
    width: 18px;
    height: 18px;
    stroke: var(--white);
    stroke-width: 1.5;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
    transition: stroke 0.2s ease;
}

.audio-toggle-btn:hover svg {
    stroke: var(--sky);
}

.video-placeholder {
    width: 100%;
    height: 220px;
    background: linear-gradient(135deg, #071830 0%, #0D2D5E 100%);
    border-radius: 12px;
    border: 1px solid rgba(126, 200, 227, 0.25);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    position: relative;
    overflow: hidden;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.video-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(74, 144, 217, 0.25) 0%, transparent 70%);
}

.case-study-card:hover .video-placeholder {
    border-color: rgba(126, 200, 227, 0.5);
    box-shadow: 0 8px 25px rgba(74, 144, 217, 0.2);
}

.video-play-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(126, 200, 227, 0.4);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1;
    transition: transform 0.3s ease, background 0.3s ease;
}

.video-play-btn svg {
    margin-left: 3px;
}

.case-study-card:hover .video-play-btn {
    transform: scale(1.1);
    background: rgba(74, 144, 217, 0.3);
}

.video-placeholder-label {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
    position: relative;
    z-index: 1;
}

/* 5.8 NUMERI E INDICATORI */
.case-stats-block {
    margin-top: 4.5rem;
    background: var(--navy-deep);
    border-radius: 20px;
    padding: 3.5rem 3rem;
    position: relative;
    overflow: hidden;
}

.case-stats-block::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 144, 217, 0.18) 0%, transparent 70%);
}

.stats-header-title {
    font-family: var(--font-serif);
    font-size: 1.8rem;
    font-weight: 300;
    color: var(--white);
    margin-bottom: 2.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.stat-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(74, 144, 217, 0.2);
    border-radius: 14px;
    padding: 2rem 1.5rem;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    border-color: rgba(126, 200, 227, 0.5);
    background: rgba(255, 255, 255, 0.07);
}

.stat-num {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 600;
    color: var(--sky);
    line-height: 1;
    margin-bottom: 0.8rem;
}

.stat-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.7);
    font-weight: 300;
}

/* CONFRONTO */
.confronto {
    background: var(--white);
}

.vs-table {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 0;
    margin-top: 3.5rem;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 40px rgba(13, 45, 94, 0.1);
}

.vs-col {
    background: var(--ice);
    padding: 2.5rem;
}

.vs-col.ateneo-col {
    background: var(--navy-deep);
}

.vs-separator {
    background: var(--navy-mid);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1.5rem;
}

.vs-badge {
    background: var(--blue-light);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    padding: 0.5rem 0.8rem;
    border-radius: 4px;
    writing-mode: vertical-rl;
    text-transform: uppercase;
}

.vs-header {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.vs-col.ateneo-col .vs-header {
    color: var(--sky);
    border-bottom-color: rgba(74, 144, 217, 0.2);
}

.vs-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 0.86rem;
    line-height: 1.5;
    color: var(--text-mid);
}

.vs-col.ateneo-col .vs-item {
    color: rgba(255, 255, 255, 0.65);
}

.vs-icon {
    font-size: 1rem;
    flex-shrink: 0;
    margin-top: 0.05rem;
}

/* FASI */
.fasi {
    background: var(--navy-deep);
    position: relative;
    overflow: hidden;
}

.fasi::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 144, 217, 0.12) 0%, transparent 65%);
}

.fasi .section-title {
    color: var(--white);
}

.fasi .section-lead {
    color: rgba(255, 255, 255, 0.55);
}

.fasi .section-badge {
    color: var(--sky);
}

.fasi-timeline {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 3.5rem;
    position: relative;
    z-index: 1;
}

.fasi-timeline::before {
    content: '';
    position: absolute;
    top: 44px;
    left: 16.67%;
    right: 16.67%;
    height: 1px;
    background: linear-gradient(90deg, var(--blue), var(--sky), var(--blue));
    opacity: 0.4;
}

.fase {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
}

.fase-num-wrap {
    width: 88px;
    height: 88px;
    border-radius: 50%;
    background: rgba(26, 74, 138, 0.4);
    border: 1.5px solid rgba(74, 144, 217, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.8rem;
}

.fase-num {
    font-family: var(--font-serif);
    font-size: 2rem;
    font-weight: 600;
    color: var(--sky);
}

.fase-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.8rem;
}

.fase-desc {
    font-size: 0.83rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

/* DOCENTE */
.docente {
    background: var(--ice);
}

.docente-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.dashboard-mock {
    background: var(--white);
    border-radius: 14px;
    padding: 1.5rem;
    box-shadow: 0 4px 30px rgba(13, 45, 94, 0.1);
}

.dash-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.4rem;
    padding-bottom: 0.9rem;
    border-bottom: 1px solid var(--ice-dark);
}

.dash-title {
    font-family: var(--font-serif);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--navy-mid);
}

.dash-badge {
    background: #E8F5E9;
    color: #2E7D32;
    font-size: 0.65rem;
    padding: 0.25rem 0.6rem;
    border-radius: 20px;
    font-weight: 500;
}

.dash-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.9rem;
    margin-bottom: 1.4rem;
}

.dash-stat {
    background: var(--ice);
    border-radius: 8px;
    padding: 1rem;
}

.dash-stat-n {
    font-family: var(--font-serif);
    font-size: 1.7rem;
    font-weight: 600;
    color: var(--navy-mid);
}

.dash-stat-l {
    font-size: 0.72rem;
    color: var(--text-light);
    margin-top: 0.15rem;
}

.progress-item {
    margin-bottom: 0.9rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-mid);
    margin-bottom: 0.35rem;
}

.progress-bar {
    height: 6px;
    background: var(--ice-dark);
    border-radius: 3px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--blue), var(--sky));
}

.docente-metrics {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.2rem;
}

.mcard {
    background: var(--white);
    border-radius: 10px;
    padding: 1.5rem;
    box-shadow: 0 2px 12px rgba(13, 45, 94, 0.06);
    border-top: 3px solid var(--blue-light);
}

.mcard-title {
    font-size: 0.78rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.mcard-value {
    font-family: var(--font-serif);
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--navy-mid);
    line-height: 1.4;
}

/* VALORE */
.valore {
    background: var(--white);
}

.valore-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.vcard {
    border-radius: 14px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.vcard:nth-child(1) {
    background: var(--navy-deep);
}

.vcard:nth-child(2) {
    background: var(--navy-mid);
}

.vcard:nth-child(3) {
    background: var(--blue);
}

.vcard:nth-child(4) {
    background: var(--blue-light);
}

.vcard::before {
    content: '';
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
}

.vcard:hover {
    transform: translateY(-5px);
}

.vcard-icon {
    margin-bottom: 1.3rem;
}

.vcard-icon svg {
    width: 32px;
    height: 32px;
}

.vcard-title {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 0.9rem;
}

.vcard-desc {
    font-size: 0.83rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.65);
    font-weight: 300;
}

/* GOVERNANCE */
.governance {
    background: var(--ice);
}

.gov-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.principles {
    display: flex;
    flex-direction: column;
    gap: 1.3rem;
    margin-top: 2rem;
}

.principle {
    display: flex;
    gap: 1.2rem;
    align-items: flex-start;
}

.principle-num {
    width: 36px;
    height: 36px;
    background: var(--navy-mid);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--sky);
    flex-shrink: 0;
}

.principle-content h4 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--navy-mid);
    margin-bottom: 0.3rem;
}

.principle-content p {
    font-size: 0.83rem;
    line-height: 1.6;
    color: var(--text-mid);
    font-weight: 300;
}

.gov-highlight {
    background: var(--navy-deep);
    border-radius: 16px;
    padding: 3rem;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.gov-highlight::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(74, 144, 217, 0.2) 0%, transparent 70%);
}

.gov-title {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    font-weight: 300;
    font-style: italic;
    line-height: 1.4;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.gov-title strong {
    font-weight: 600;
    font-style: normal;
    color: var(--sky);
}

.gov-items {
    position: relative;
    z-index: 1;
}

.gov-item {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.9rem 0;
    border-bottom: 1px solid rgba(74, 144, 217, 0.12);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.7);
}

.gov-item:last-child {
    border-bottom: none;
}

.gov-check {
    color: var(--sky);
    font-size: 1rem;
}

/* DOCENTI */
.docenti {
    background: var(--white);
}

/* ADOZIONE */
.adozione {
    background: var(--ice);
}

/* PCARD (CARDS IN DOCENTI & ADOZIONE SECTIONS) */
.pcard {
    background: var(--ice);
    border: 1px solid rgba(74, 144, 217, 0.15);
    border-radius: 12px;
    padding: 1.8rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(13, 45, 94, 0.03);
}

.adozione .pcard {
    background: var(--white);
}

.pcard:hover {
    transform: translateY(-3px);
    border-color: rgba(74, 144, 217, 0.35);
    box-shadow: 0 8px 25px rgba(74, 144, 217, 0.15);
}

.pcard h3 {
    font-family: var(--font-serif);
    font-size: 1.15rem;
    font-weight: 600;
    color: var(--navy-mid);
    margin-bottom: 0.6rem;
}

.pcard p {
    font-size: 0.85rem;
    line-height: 1.65;
    color: var(--text-mid);
    font-weight: 300;
}

.adoption-track {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    margin-top: 3.5rem;
    position: relative;
}

.adoption-track::before {
    content: '';
    position: absolute;
    top: 28px;
    left: 12.5%;
    right: 12.5%;
    height: 2px;
    background: linear-gradient(90deg, var(--ice-dark) 0%, var(--blue-light) 50%, var(--ice-dark) 100%);
}

.astep {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 1rem;
}

.astep-dot {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--ice);
    border: 2px solid var(--ice-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.3rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s;
}

.astep-dot svg {
    width: 24px;
    height: 24px;
}

.astep:hover .astep-dot {
    background: var(--navy-mid);
    border-color: var(--blue-light);
}

.astep:hover .astep-dot svg path,
.astep:hover .astep-dot svg rect,
.astep:hover .astep-dot svg circle,
.astep:hover .astep-dot svg polyline {
    stroke: var(--sky);
}

.astep-title {
    font-family: var(--font-serif);
    font-size: 1rem;
    font-weight: 600;
    color: var(--navy-mid);
    margin-bottom: 0.6rem;
}

.astep-desc {
    font-size: 0.8rem;
    line-height: 1.6;
    color: var(--text-mid);
    font-weight: 300;
}

/* PRICING */
.pricing {
    background: var(--ice);
}

.pricing-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3.5rem;
}

.pricingcard {
    background: var(--white);
    border-radius: 14px;
    padding: 2.5rem;
    box-shadow: 0 2px 20px rgba(13, 45, 94, 0.07);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.pricingcard.featured {
    background: var(--navy-deep);
    border: 1px solid rgba(74, 144, 217, 0.3);
}

.pricingcard:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 35px rgba(13, 45, 94, 0.12);
}

.feat-badge {
    position: absolute;
    top: 1.2rem;
    right: 1.2rem;
    background: var(--blue-light);
    color: var(--white);
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.7rem;
    border-radius: 20px;
}

.pricingcard-icon {
    margin-bottom: 1.2rem;
}

.pricingcard-icon svg {
    width: 28px;
    height: 28px;
}

.pricingcard-title {
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--navy-mid);
    margin-bottom: 0.6rem;
}

.pricingcard.featured .pricingcard-title {
    color: var(--sky);
}

.pricingcard-desc {
    font-size: 0.83rem;
    line-height: 1.65;
    color: var(--text-mid);
    font-weight: 300;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--ice);
}

.pricingcard.featured .pricingcard-desc {
    color: rgba(255, 255, 255, 0.55);
    border-bottom-color: rgba(74, 144, 217, 0.15);
}

.pricing-features li {
    list-style: none;
    display: flex;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: var(--text-mid);
    margin-bottom: 0.6rem;
    font-weight: 300;
}

.pricingcard.featured .pricing-features li {
    color: rgba(255, 255, 255, 0.6);
}

.check {
    color: var(--blue-light);
}

.pricingcard.featured .check {
    color: var(--sky);
}

/* CTA FINAL / CONTATTI */
.cta-final {
    background: var(--navy-deep);
    padding: 100px 5%;
    text-align: left;
    position: relative;
    overflow: hidden;
}

.cta-final::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 30% 50%, rgba(26, 74, 138, 0.45) 0%, transparent 70%);
}

.cta-final .container {
    position: relative;
    z-index: 1;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1.25fr 1fr;
    gap: 3.5rem;
    align-items: start;
}

.contact-text {
    padding-right: 0.5rem;
}

.cta-title {
    font-family: var(--font-serif);
    font-size: clamp(2.2rem, 3.5vw, 3.1rem);
    font-weight: 400;
    color: var(--white);
    line-height: 1.25;
    margin-bottom: 1.5rem;
}

.cta-title em {
    font-style: italic;
    color: var(--sky);
}

.cta-sub {
    font-size: 1.15rem;
    font-weight: 300;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.8;
    margin-bottom: 2rem;
}

.contact-text .cta-actions {
    display: flex;
    justify-content: flex-start;
}

/* FORM STYLES */
.contact-form-wrapper {
    background: rgba(13, 45, 94, 0.45);
    border: 1px solid rgba(126, 200, 227, 0.25);
    backdrop-filter: blur(16px);
    border-radius: 16px;
    padding: 2.5rem 2.8rem;
    box-shadow: 0 20px 40px rgba(7, 24, 48, 0.4);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.35rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.35rem;
}

.form-label {
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--sky);
    letter-spacing: 0.02em;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: rgba(7, 24, 48, 0.65);
    border: 1px solid rgba(126, 200, 227, 0.25);
    border-radius: 8px;
    padding: 0.85rem 1.1rem;
    font-family: var(--font-sans);
    font-size: 0.95rem;
    color: var(--white);
    outline: none;
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.form-select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%7EC8E3' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 1.1rem center;
    background-size: 1rem;
    cursor: pointer;
}

.form-select option {
    background: var(--navy-deep);
    color: var(--white);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--sky);
    background: rgba(7, 24, 48, 0.85);
    box-shadow: 0 0 0 3px rgba(126, 200, 227, 0.15);
}

.form-input.input-error,
.form-select.input-error,
.form-textarea.input-error {
    border-color: #FF5252 !important;
    box-shadow: 0 0 0 3px rgba(255, 82, 82, 0.25) !important;
    animation: shakeInput 0.4s ease;
}

.form-checkbox.input-error {
    outline: 2px solid #FF5252;
    outline-offset: 2px;
}

@keyframes shakeInput {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-4px); }
    40%, 80% { transform: translateX(4px); }
}

.form-textarea {
    resize: vertical;
    min-height: 115px;
}

.form-checkbox-group {
    margin-top: 0.4rem;
}

.form-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    font-size: 0.82rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.45;
    cursor: pointer;
}

.form-checkbox {
    width: 16px;
    height: 16px;
    accent-color: var(--blue-light);
    cursor: pointer;
    margin-top: 2px;
}

.form-privacy-link {
    color: var(--sky);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.form-privacy-link:hover {
    color: var(--white);
}

.form-submit-btn {
    width: 100%;
    margin-top: 0.5rem;
    padding: 0.95rem 1.5rem;
    text-align: center;
    font-size: 0.95rem;
}

/* FOOTER */
footer {
    background: #040F1E;
    padding: 3rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid rgba(74, 144, 217, 0.1);
}

.footer-brand {
    font-family: var(--font-serif);
    font-size: 1.1rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    display: flex;
    align-items: center;
}

.footer-logo {
    height: 38px;
    width: auto;
    display: block;
}

.footer-copy {
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.3);
}

/* RESPONSIVE */
@media (max-width: 900px) {

    .hero-inner-grid,
    .intro-grid,
    .intro-layout,
    .problema-cols,
    .tutor-layout,
    .docente-grid,
    .gov-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .intro-subsections {
        padding-left: 0;
        padding-right: 0;
    }

    .features-grid,
    .avatars-grid,
    .valore-grid,
    .sub-grid-4,
    .sub-grid-5 {
        grid-template-columns: 1fr 1fr;
    }

    .fcard-sector,
    .case-study-card {
        grid-template-columns: 1fr;
    }

    .case-stats-block:not(.contact-stats-block) .stats-grid {
        grid-template-columns: 1fr;
    }

    .case-study-card {
        padding: 1.8rem;
        gap: 1.5rem;
    }

    .fcard-sector-left {
        border-right: none;
        border-bottom: 1px solid rgba(74, 144, 217, 0.12);
    }

    .fasi-timeline,
    .adoption-track,
    .pricing-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .fasi-timeline::before,
    .adoption-track::before {
        display: none;
    }

    .vs-table {
        grid-template-columns: 1fr;
    }

    .vs-separator {
        display: none;
    }

    .hero-visual {
        display: none;
    }

    .nav-links {
        display: none;
    }

    .features-header {
        grid-template-columns: 1fr;
    }

    section {
        padding: 70px 5%;
    }
}

@media (max-width: 600px) {

    .features-grid,
    .avatars-grid,
    .valore-grid,
    .intro-cards,
    .sub-grid-4,
    .sub-grid-5,
    .docente-metrics,
    .form-row {
        grid-template-columns: 1fr;
    }

    .contact-form-wrapper {
        padding: 1.5rem 1.2rem;
    }

    .dash-stats {
        grid-template-columns: 1fr 1fr;
    }
}