/* Composizione delle pagine interne, coerente con la landing Nexxtevo. */
/* Il titolo riceve il focus dopo la navigazione per i lettori di schermo. */
h1:focus { outline: none; }
@media (min-width: 1181px) {
    .nx-nav__links { gap: 18px; }
}
.nx-ai-example { padding: 32px; }
.nx-ai-example h3 { font-size: 1.3rem; }
.nx-ai-example__question { padding: 20px; border-left: 3px solid var(--nx-blue); background: var(--nx-surface-2); border-radius: 0 14px 14px 0; color: var(--nx-deep); font-weight: 600; }
.nx-ai-example .nx-note { font-size: .85rem; margin: 20px 0 0; }
.nx-ai-callout { display: flex; align-items: flex-start; gap: 20px; padding: 28px; margin-top: 28px; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); background: #fff; }
.nx-ai-callout > svg, .nx-ai-confirm > svg { width: 28px; height: 28px; flex-shrink: 0; color: var(--nx-teal); }
.nx-ai-callout h3 { font-size: 1.15rem; }
.nx-ai-callout p:last-child { margin-bottom: 0; }
.nx-ai-confirm { display: flex; align-items: flex-start; gap: 12px; padding: 20px 0; border-top: 1px solid var(--nx-line); }
.nx-ai-faq { max-width: 860px; margin: 36px auto 0; }
.nx-ai-discover { padding-top: 24px; padding-bottom: 24px; }
@media (min-width: 981px) and (max-width: 1180px) {
    .nx-nav__links { gap: 14px; }
    .nx-nav__links a { font-size: .82rem; }
    .nx-nav__cta .nx-btn { padding: 12px 16px; }
}
@media (max-width: 600px) {
    .nx-ai-example, .nx-ai-callout { padding: 22px; }
    .nx-ai-callout { flex-direction: column; gap: 12px; }
}
.nx-page-hero { padding: 40px 0; }
.nx-page-hero__grid {
    display: grid;
    grid-template-columns: minmax(0,1.2fr) minmax(0,.8fr);
    gap: 56px;
    align-items: center;
}
.nx-page-hero h1 { font-size: clamp(2rem,3.6vw,3.1rem); }
.nx-page-hero .nx-hero__lead { margin: 0; max-width: 640px; }
.nx-page-hero__art { margin: 0; min-width: 0; }
.nx-page-hero__art img { width: auto; height: auto; max-height: 310px; margin-inline: auto; border-radius: var(--nx-radius); }
.nx-page-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.nx-page-actions--center { justify-content: center; margin-top: 32px; }
.nx-page-actions .nx-btn { padding: 12px 22px; font-size: .9rem; }
.nx-btn { max-width: 100%; justify-content: center; text-align: center; }
.nx-btn svg { flex-shrink: 0; }
.nx-nav__links a.active { color: var(--nx-teal-dark); text-decoration: underline; text-decoration-color: var(--nx-coral); text-decoration-thickness: 2px; text-underline-offset: 8px; }
.nx-nav__inner > nav { margin-left: auto; }
.nx-module-nav { border-bottom: 1px solid var(--nx-line); background: #fff; }
.nx-module-nav__links { display: flex; flex-wrap: wrap; gap: 10px 26px; padding-top: 20px; padding-bottom: 20px; }
.nx-module-nav a { font-size: .82rem; color: var(--nx-teal-dark); font-weight: 600; }
.nx-module-nav a:hover { text-decoration: underline; text-underline-offset: 5px; }

.nx-screenshots { margin-top: 32px; align-items: start; }
.nx-screenshots--single { max-width: 920px; margin-inline: auto; }
.nx-screenshot { display: block; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); background: var(--nx-surface); }
.nx-screenshot figure { margin: 0; }
.nx-screenshot img { width: 100%; height: auto; border-radius: var(--nx-radius) var(--nx-radius) 0 0; }
.nx-screenshot figcaption { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 16px; padding: 12px 16px; font-size: .85rem; color: var(--nx-deep); }
.nx-screenshot figcaption span { color: var(--nx-teal-dark); text-decoration: underline; text-underline-offset: 3px; }
.nx-screenshot:hover { border-color: var(--nx-teal); }
.nx-screenshot-viewer { width: min(96vw, 1440px); max-width: none; max-height: calc(100dvh - 24px); padding: 0; border: 1px solid var(--nx-line); border-radius: var(--nx-radius); background: var(--nx-surface); }
.nx-screenshot-viewer::backdrop { background: rgba(8, 42, 53, .8); }
html:has(.nx-screenshot-viewer[open]) { overflow: hidden; }
.nx-screenshot-viewer__content { display: grid; gap: 12px; padding: 12px; }
.nx-screenshot-viewer__header { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.nx-screenshot-viewer__header h2 { margin: 0; font-size: clamp(1rem, 3vw, 1.25rem); }
.nx-screenshot-viewer__header .nx-btn { padding: 8px 14px; }
.nx-screenshot-viewer img { width: 100%; height: auto; max-height: calc(100dvh - 108px); object-fit: contain; }
.nx-departments { counter-reset: department; gap: 24px; }
.nx-departments > .nx-card { counter-increment: department; position: relative; padding: 32px; }
.nx-departments > .nx-card::after {
    content: '0' counter(department);
    position: absolute;
    top: 20px;
    right: 28px;
    color: transparent;
    -webkit-text-stroke: 1px #7ba6ae;
    font-family: 'Manrope',sans-serif;
    font-size: 3.5rem;
    line-height: 1;
    font-weight: 800;
}
.nx-departments h3 { font-size: 1.3rem; margin-top: 24px; }
.nx-departments ul { line-height: 1.65; }
.nx-departments li { margin-bottom: 8px; }
.nx-adoption-steps { gap: 0; }
.nx-adoption-steps .nx-card { border: 0; border-left: 1px solid #b8ced2; border-radius: 0; background: none; padding: 12px 24px; }
.nx-adoption-steps .nx-card:hover { transform: none; box-shadow: none; }
.nx-adoption-steps .nx-step__num {
    display: block;
    background: none;
    color: transparent;
    -webkit-text-stroke: 1.5px var(--nx-teal);
    box-shadow: none;
    border-radius: 0;
    width: auto;
    height: auto;
    font-family: 'Manrope',sans-serif;
    font-size: 4rem;
    line-height: 1;
    margin-bottom: 24px;
}
.nx-adoption-steps h3 { font-size: 1.12rem; }
.nx-adoption-steps p { font-size: .9rem; }
.nx-reading { max-width: 860px; }
.nx-guide .nx-lead { font-size: 1.05rem; }
.nx-guide-index { display: grid; grid-template-columns: 1fr 1fr; gap: 12px 24px; padding: 28px; margin: 32px 0; border: 1px solid var(--nx-line); border-radius: 22px; background: linear-gradient(135deg,#f6fafb,#e9f3f5); }
.nx-guide-index .nx-eyebrow { grid-column: 1/-1; margin: 0 0 4px; }
.nx-guide-index a { color: var(--nx-teal-dark); font-size: .9rem; font-weight: 600; }
.nx-guide-index a:hover { text-decoration: underline; text-underline-offset: 4px; }
.nx-guide__chapter { padding: 24px 0; border-bottom: 1px solid var(--nx-line); }
.nx-guide__chapter h3 { font-size: clamp(1.15rem,2.5vw,1.4rem); line-height: 1.4; }
.nx-guide__chapter p { margin: 0; }
.nx-contact-page { padding: 48px 0 64px; }
.nx-contact-grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: 56px; align-items: start; }
.nx-contact-page h1 { font-size: clamp(2rem,3.8vw,3.2rem); }
.nx-contact-art { max-width: 360px; margin: 24px 0 0; }
.nx-contact-art img { width: auto; height: auto; max-height: 220px; margin-inline: auto; border-radius: var(--nx-radius); }
.nx-contact-details { display: grid; gap: 12px; margin-top: 24px; }
.nx-contact-details:empty { display: none; }
.nx-contact-form { padding: 32px; background: #fff; box-shadow: 0 20px 60px -40px rgba(8,42,53,.4); }
.nx-form-heading .nx-eyebrow { margin-bottom: 10px; }
.nx-form-heading h2 { font-size: 1.5rem; margin-bottom: 10px; }
.nx-form-heading p { font-size: .82rem; color: #526b72; margin: 0 0 8px; }
.nx-form-success { padding: 30px 10px; }
.nx-contact-form .nx-row2 { gap: 14px; }
.nx-field input, .nx-field select, .nx-field textarea { min-width: 0; }
.nx-contact-form .nx-big { width: 34px; height: 34px; }
.nx-videopage { padding-top: 36px; padding-bottom: 32px; }
.nx-section--dark .nx-vidtitle { color: #fff; font-size: clamp(1.5rem,3vw,2rem); }
.nx-section--dark .nx-head p { color: rgba(255,255,255,.75); }
.nx-videopage-cta { padding: 0; }
.nx-vidtab { font-size: .9rem; }
.nx-vidpanel__cap a { display: inline-block; }
.nx-status-page { padding: 64px 0; min-height: 55vh; }
.nx-status-symbol { width: 80px; height: 80px; object-fit: contain; margin: 0 auto 24px; }
.nx-status-page h1 { margin-top: 12px; }
.nx-note, .nx-faq__a { color: #526b72; }
.nx-contact-grid > *, .nx-page-hero__grid > * { min-width: 0; }
@media (max-width: 980px) {
    .nx-page-hero__grid { gap: 32px; }
    .nx-contact-grid { gap: 28px; }
    .nx-contact-form { padding: 24px; }
    .nx-nav__inner > nav { margin-left: 0; }
    .nx-adoption-steps { gap: 28px 0; }
}
@media (max-width: 860px) {
    .nx-contact-grid { grid-template-columns: 1fr; }
    .nx-contact-art { margin-left: auto; margin-right: auto; }
    .nx-contact-art img { max-height: 180px; }
    .nx-contact-form { max-width: 620px; margin: 0 auto; }
}
@media (max-width: 720px) {
    .nx-page-hero { padding: 32px 0; }
    .nx-page-hero__grid { grid-template-columns: 1fr; gap: 28px; }
    .nx-page-hero__art { max-width: 360px; width: 100%; margin: 0 auto; }
    .nx-page-hero__art img { max-height: 240px; }
    .nx-module-nav__links { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 20px; }
    .nx-departments > .nx-card { padding: 24px; }
    .nx-guide-index { grid-template-columns: 1fr; padding: 24px; }
    .nx-contact-page { padding: 32px 0 44px; }
    .nx-vidtabs { display: grid; width: 100%; border-radius: 20px; }
    .nx-vidtab { justify-content: center; border-radius: 14px; padding: 12px 16px; }
    .nx-status-page { padding: 44px 0; }
}
@media (max-width: 420px) {
    .nx-page-actions { flex-direction: column; align-items: stretch; }
    .nx-page-actions .nx-btn { width: 100%; }
    .nx-contact-form { padding: 22px 18px; }
    .nx-adoption-steps .nx-card { padding: 8px 20px; }
}

/* Logo prodotto leggibile nell'intestazione e nel footer. */
.nx-language { display: inline-flex; flex-shrink: 0; gap: 2px; padding: 3px; border: 1px solid var(--nx-line); border-radius: 8px; }
.nx-language a { display: grid; place-items: center; min-width: 34px; min-height: 36px; padding: 4px; color: var(--nx-ink); font-size: .78rem; font-weight: 700; border-radius: 5px; }
.nx-language a.is-active { color: #fff; background: var(--nx-teal-dark); }
.nx-language a:focus-visible { outline: 2px solid var(--nx-teal-dark); outline-offset: 3px; }
@media (min-width: 981px) and (max-width: 1180px) {
    .nx-burger { display: block; }
    .nx-nav__cta .nx-btn { display: none; }
    .nx-nav__links { display: none; position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: #fff; border-bottom: 1px solid var(--nx-line); padding: 8px 24px 16px; }
    .nx-nav__links.is-open { display: flex; }
    .nx-nav__links li { width: 100%; }
    .nx-nav__links a { display: block; padding: 12px 0; }
}
.nx-brand { flex-shrink: 0; }
.nx-brand img { display: block; width: 240px; max-width: none; height: auto; }
.nx-nav__inner { gap: 16px; }
.nx-foot__logo { max-width: 100%; }
.nx-foot__logo img { display: block; width: 230px; max-width: 100%; height: auto; }
@media (min-width: 981px) and (max-width: 1180px) {
    .nx-brand img { width: 210px; }
    .nx-nav__inner { gap: 12px; }
    .nx-nav__links { gap: 12px; }
}
@media (max-width: 980px) {
    .nx-brand img { width: min(260px, calc(100vw - 190px)); }
    .nx-nav__inner { height: 96px; }
    .nx-nav__links { top: 96px; }
}

/* ---------- Header armonizzato (IT/EN): una sola riga, bottone compatto ---------- */
.nx-nav__links a, .nx-nav__cta .nx-btn { white-space: nowrap; }
.nx-nav__inner { gap: 20px; }
.nx-nav__cta .nx-btn { padding: 9px 18px; font-size: .86rem; }
@media (max-width: 1180px) {
    .nx-burger { display: block; }
    .nx-nav__cta .nx-btn { display: none; }
    .nx-nav__inner > nav { margin-left: 0; }
    .nx-nav__links { display: none; position: absolute; top: 84px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 0; background: #fff; border-bottom: 1px solid var(--nx-line); padding: 8px 24px 16px; }
    .nx-nav__links.is-open { display: flex; }
    .nx-nav__links li { width: 100%; }
    .nx-nav__links a { display: block; padding: 12px 0; }
    .nx-nav__cta { margin-left: auto; }
}
@media (max-width: 620px) { .nx-nav__links { top: 72px; } }
