/*
Theme Name: Hello Elementor Child - NowDiploma
Theme URI: https://nowdiploma.com
Description: Child theme di Hello Elementor per NowDiploma
Author: NowDiploma
Template: hello-elementor
Version: 1.0.3
Text Domain: hello-elementor-child
*/

/* ===== RESET & BASE ===== */
.nd-page {
    background: #ffffff !important;
    color: #1e293b !important;
    min-height: 100vh;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.nd-page * {
    box-sizing: border-box;
}

/* ===== HEADER ===== */
.nd-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: #ffffff;
    border-bottom: 1px solid #e2e8f0;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.admin-bar .nd-header {
    top: 32px;
}

@media (max-width: 782px) {
    .admin-bar .nd-header {
        top: 46px;
    }
}

.nd-header__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
}

.nd-header__logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.nd-header__logo img {
    height: 36px;
    width: auto;
}

.nd-header__nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nd-header__menu {
    display: flex;
    align-items: center;
    list-style: none !important;
    gap: 1.5rem;
    margin: 0 !important;
    padding: 0 !important;
}

.nd-header__menu-item {
    list-style: none !important;
}

.nd-header__menu-item a {
    display: inline-flex;
    align-items: center;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #334155 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
    padding: 0.35rem 0;
    line-height: 1;
}

.nd-header__menu-item a:hover {
    color: #00AAFF !important;
}

.nd-header__auth {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nd-header__login {
    font-size: 0.9375rem;
    font-weight: 500;
    color: #334155 !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.nd-header__login:hover {
    color: #00AAFF !important;
}

.nd-header__register {
    font-size: 0.875rem;
    font-weight: 600;
    color: #fff !important;
    background: #132977 !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.nd-header__register:hover {
    background: #00AAFF !important;
}

.nd-header__mobile-right {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.nd-header__register-mobile {
    font-size: 0.8125rem;
    font-weight: 600;
    color: #fff !important;
    background: #132977 !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none !important;
}

.nd-header__mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: #334155;
    cursor: pointer;
    padding: 0.5rem;
}

.nd-header__auth-mobile {
    display: none;
}

/* Header CTA Contattaci */
.nd-header__cta,
.nd-header__cta-desktop {
    font-size: 0.875rem !important;
    font-weight: 600 !important;
    color: #fff !important;
    background: #00AAFF !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.nd-header__cta:hover,
.nd-header__cta-desktop:hover {
    background: #132977 !important;
}

.nd-header__cta-desktop {
    display: none;
}

@media (min-width: 901px) {
    .nd-header__cta {
        display: none;
    }
    .nd-header__cta-desktop {
        display: inline-flex;
    }
}

/* Dropdown Percorsi */
.nd-header__menu-item--has-dropdown {
    position: relative;
}

.nd-header__menu-link-dropdown {
    padding: 0.35rem 0.6rem !important;
    gap: 0.25rem;
    border-radius: 6px;
    transition: background 0.2s;
}

.nd-header__menu-item--has-dropdown:hover .nd-header__menu-link-dropdown,
.nd-header__menu-item--has-dropdown.nd-header__menu-item--open .nd-header__menu-link-dropdown {
    background: #f1f5f9;
}

.nd-header__dropdown-caret {
    transition: transform 0.2s;
}

.nd-header__menu-item--has-dropdown:hover .nd-header__dropdown-caret,
.nd-header__menu-item--has-dropdown.nd-header__menu-item--open .nd-header__dropdown-caret {
    transform: rotate(180deg);
}

.nd-header__menu-item--has-dropdown:hover .nd-header__dropdown,
.nd-header__menu-item--has-dropdown.nd-header__menu-item--open .nd-header__dropdown {
    opacity: 1;
    visibility: visible;
}

.nd-header__dropdown {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 0.5rem;
    min-width: 480px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
    padding: 1.25rem;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.2s, visibility 0.2s;
    z-index: 1000;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.nd-header__dropdown-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 0.75rem;
    padding: 1rem 1.25rem;
    border-radius: 8px;
    text-decoration: none !important;
    transition: background 0.2s;
}

.nd-header__dropdown-item:hover {
    background: #f8fafc;
}

.nd-header__dropdown-icon {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nd-header__dropdown-icon svg {
    width: 24px;
    height: 24px;
}

.nd-header__dropdown-item-content {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    min-width: 0;
}

.nd-header__dropdown-title {
    font-size: 1.0625rem !important;
    font-weight: 700 !important;
    color: #132977 !important;
}

.nd-header__dropdown-desc {
    font-size: 0.875rem !important;
    color: #64748b !important;
    line-height: 1.4 !important;
}

/* ===== HEADER MOBILE (FIX) ===== */
@media (max-width: 900px) {
    /* Variabili utili */
    .nd-header {
      --nd-header-h: 64px;
      --nd-adminbar: 0px;
    }
    .admin-bar .nd-header {
      --nd-adminbar: 32px;
    }
    @media (max-width: 782px) {
      .admin-bar .nd-header {
        --nd-adminbar: 46px;
      }
    }
  
    .nd-header__container {
      padding: 0 1rem;
    }
  
    /* NAV overlay: sotto header, sfondo pieno, scroll */
    .nd-header__nav {
      position: fixed;
      top: calc(var(--nd-adminbar) + var(--nd-header-h));
      left: 0;
      right: 0;
      width: 100%;
  
      height: calc(100vh - (var(--nd-adminbar) + var(--nd-header-h)));
      overflow-y: auto;
  
      background: #ffffff !important;
      opacity: 1 !important;
  
      border-bottom: 1px solid #e2e8f0;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.10);
  
      transform: none !important; /* annulla centratura desktop */
      z-index: 10000;
  
      display: none;
      flex-direction: column;
    }
  
    .nd-header__nav.active {
      display: flex;
    }
  
    .nd-header__menu {
      display: flex;
      flex-direction: column;
      gap: 0;
      width: 100%;
      margin: 0 !important;
      padding: 0.5rem 0 !important;
      list-style: none !important;
      background: #ffffff !important;
    }
  
    .nd-header__menu-item {
      width: 100%;
    }
  
    .nd-header__menu-item a {
      display: block;
      padding: 1rem 1.5rem;
      font-size: 1rem;
      font-weight: 500;
      color: #334155 !important;
      text-decoration: none !important;
      border-bottom: 1px solid #f1f5f9;
      background: #ffffff !important;
    }
  
    .nd-header__menu-item a:hover {
      background: #f8fafc !important;
      color: #00AAFF !important;
    }
  
    /* Dropdown in mobile: static e “a lista” */
    .nd-header__menu-item--has-dropdown .nd-header__dropdown {
      position: static;
      transform: none !important;
      opacity: 1 !important;
      visibility: visible !important;
  
      min-width: auto;
      box-shadow: none;
      border: none;
  
      padding: 0;
      margin: 0;
  
      display: flex;
      flex-direction: column;
      gap: 0;
  
      background: #f8fafc !important;
    }
  
    .nd-header__menu-item--has-dropdown .nd-header__dropdown-item {
      padding: 0.75rem 1.5rem;
      border-bottom: 1px solid #e2e8f0;
      background: #f8fafc !important;
    }
  
    .nd-header__menu-item--has-dropdown .nd-header__dropdown-desc {
      display: none;
    }
  
    .nd-header__menu-item--has-dropdown .nd-header__dropdown-icon svg {
      width: 20px;
      height: 20px;
    }
  
    /* Nascondi auth desktop */
    .nd-header__auth {
      display: none !important;
    }
  
    /* Mostra CTA + hamburger a destra */
    .nd-header__mobile-right {
      display: flex;
      align-items: center;
      gap: 0.75rem;
    }
  
    .nd-header__mobile-toggle {
      display: flex;
      align-items: center;
      justify-content: center;
      background: none;
      border: none;
      color: #334155;
      cursor: pointer;
      padding: 0.5rem;
      height: 40px;
      width: 40px;
    }
  
    /* Accedi/Registrati sotto Blog: stessi stili del menu */
    .nd-header__auth-mobile {
      display: block;
      background: #ffffff !important;
    }
  
    .nd-header__auth-mobile a {
      display: block;
      width: 100%;
      padding: 1rem 1.5rem;
      font-size: 1rem;
      font-weight: 500;
      color: #334155 !important;
      text-decoration: none !important;
      border-bottom: 1px solid #f1f5f9;
      background: #ffffff !important;
    }
  
    .nd-header__auth-mobile a:hover {
      background: #f8fafc !important;
      color: #00AAFF !important;
    }
  x
    /* ultima voce (Contattaci o Registrati) senza bordo */
    .nd-header__auth-mobile a:last-child {
      border-bottom: none;
    }
}
/* ===== MAIN CONTENT ===== */
.nd-main {
    padding-top: 64px;
    min-height: calc(100vh - 64px);
    background: #ffffff !important;
}

/* ===== HERO SECTION ===== */
.nd-hero {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    padding: 0;
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
}

.nd-hero__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 3rem;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 3rem;
    align-items: center;
    width: 100%;
}

.nd-hero__title {
    font-size: 3.5rem !important;
    font-weight: 800 !important;
    color: #132977 !important;
    margin: 0 0 1.5rem 0 !important;
    line-height: 1.15 !important;
}

.nd-hero__highlight {
    color: #00AAFF !important;
}

.nd-hero__subtitle {
    font-size: 1.25rem !important;
    color: #475569 !important;
    margin: 0 0 2.5rem 0 !important;
    line-height: 1.5 !important;
}

.nd-hero__features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.nd-hero__feature {
    display: flex;
    gap: 0.75rem;
    align-items: flex-start;
}

.nd-hero__feature-icon {
    width: 40px;
    height: 40px;
    background: #e0f2fe;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #132977;
}

.nd-hero__feature-text {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.nd-hero__feature-text strong {
    font-size: 1rem;
    font-weight: 600;
    color: #132977;
}

.nd-hero__feature-text span {
    font-size: 0.875rem;
    color: #64748b;
    line-height: 1.5;
}

.nd-hero__buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.nd-hero__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.nd-hero__btn--primary {
    background: #132977 !important;
    color: #fff !important;
}

.nd-hero__btn--primary:hover {
    background: #00AAFF !important;
}

.nd-hero__btn--secondary {
    background: #fff !important;
    color: #132977 !important;
    border: 1px solid #e2e8f0;
}

.nd-hero__btn--secondary:hover {
    border-color: #132977;
}

.nd-hero__image {
    display: flex;
    justify-content: center;
}

.nd-hero__image img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

/* ===== HERO MENTIUM CENTERED ===== */
.nd-hero__container--centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2.5rem;
    grid-template-columns: none;
}

.nd-hero__content--centered {
    max-width: 650px;
}

.nd-hero__content--centered .nd-hero__title {
    font-size: 3rem !important;
}

.nd-hero__content--centered .nd-hero__subtitle {
    font-size: 1.125rem !important;
    margin-bottom: 0 !important;
}

.nd-hero__form-wrap {
    width: 100%;
    max-width: 520px;
}

.nd-hero__features--bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 0.5rem;
    margin-bottom: 0;
}

.nd-hero__feature--inline {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nd-hero__feature-icon--small {
    width: auto;
    height: auto;
    background: transparent;
    color: #94a3b8;
}

.nd-hero__features--bottom .nd-hero__feature span {
    font-size: 0.875rem;
    color: #94a3b8;
}

.nd-hero__feature-sep {
    color: #cbd5e1;
    font-size: 1.25rem;
}

/* Hero Mobile */
@media (max-width: 900px) {
    .nd-hero {
        min-height: auto;
        padding: 3rem 0;
    }

    .nd-hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
        padding: 2rem 1rem;
    }

    .nd-hero__container--centered {
        gap: 2rem;
    }

    .nd-hero__title {
        font-size: 2.25rem !important;
    }

    .nd-hero__content--centered .nd-hero__title {
        font-size: 2rem !important;
    }

    .nd-hero__subtitle {
        font-size: 1.125rem !important;
        margin-bottom: 2rem !important;
    }

    .nd-hero__content--centered .nd-hero__subtitle {
        font-size: 1rem !important;
    }

    .nd-hero__features {
        grid-template-columns: 1fr;
        text-align: left;
        gap: 1rem;
    }

    .nd-hero__features--bottom {
        flex-direction: column;
        gap: 0.5rem;
    }

    .nd-hero__feature-sep {
        display: none;
    }

    .nd-hero__buttons {
        justify-content: center;
    }
}

@media (max-width: 600px) {
    .nd-hero__title {
        font-size: 1.875rem !important;
    }

    .nd-hero__content--centered .nd-hero__title {
        font-size: 1.75rem !important;
    }

    .nd-hero__subtitle {
        font-size: 1rem !important;
    }

    .nd-hero__feature-icon {
        width: 32px;
        height: 32px;
    }

    .nd-hero__feature-text strong {
        font-size: 0.875rem;
    }

    .nd-hero__feature-text span {
        font-size: 0.75rem;
    }

    .nd-hero__buttons {
        flex-direction: column;
        width: 100%;
    }

    .nd-hero__btn {
        width: 100%;
        justify-content: center;
    }
}

/* ===== MENTIUM BLOCK ===== */
.mentium-genera-block__form {
    text-align: left;
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
    border: 1px solid #e2e8f0;
}

.mentium-genera-block__input-row {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.mentium-genera-block__textarea-wrap {
    flex: 1;
    min-width: 0;
}

.mentium-genera-block__textarea {
    width: 100%;
    min-height: 100px;
    padding: 0.875rem 1rem;
    font-size: 1rem;
    line-height: 1.5;
    color: #334155;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    resize: vertical;
    transition: border-color 0.2s, background 0.2s;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.mentium-genera-block__textarea::placeholder {
    color: #94a3b8;
}

.mentium-genera-block__textarea:focus {
    outline: none;
    border-color: #00AAFF;
    background: #fff;
}

.mentium-genera-block__upload-wrap {
    flex-shrink: 0;
    width: 80px;
}

.mentium-genera-block__upload {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
    width: 80px;
    height: 100px;
    padding: 0.5rem;
    background: #f8fafc;
    border: 2px dashed #cbd5e1;
    border-radius: 10px;
    color: #64748b;
    font-size: 0.8125rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.mentium-genera-block__upload:hover {
    background: #f1f5f9;
    border-color: #00AAFF;
    color: #00AAFF;
}

.mentium-genera-block__upload svg {
    width: 24px;
    height: 24px;
}

.mentium-genera-block__type-bar {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.mentium-genera-block__type-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    flex: 1;
    padding: 0.75rem 0.5rem;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    color: #475569;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.mentium-genera-block__type-item:hover {
    border-color: #cbd5e1;
    background: #f8fafc;
}

.mentium-genera-block__type-item.selected {
    background: #e0f2fe;
    border-color: #00AAFF;
    color: #0284c7;
}

.mentium-genera-block__type-icon {
    font-size: 1.125rem;
    flex-shrink: 0;
}

.mentium-genera-block__btn-wrap {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.mentium-genera-block__hint {
    font-size: 0.875rem !important;
    color: #94a3b8 !important;
    margin: 0.25rem 0 !important;
    text-align: center;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.mentium-genera-block__btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    background: #132977 !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 10px;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.mentium-genera-block__btn:hover {
    background: #00AAFF !important;
    color: #fff !important;
}

.mentium-genera-block__btn svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

.mentium-genera-block__btn--secondary {
    background: transparent !important;
    border: 1px solid #e2e8f0 !important;
    color: #475569 !important;
}

.mentium-genera-block__btn--secondary:hover {
    background: #f8fafc !important;
    border-color: #cbd5e1 !important;
    color: #334155 !important;
}

/* Mentium Block Mobile */
@media (max-width: 600px) {
    .mentium-genera-block__form {
        padding: 1rem;
    }

    .mentium-genera-block__input-row {
        flex-direction: column;
    }

    .mentium-genera-block__upload-wrap {
        width: 100%;
    }

    .mentium-genera-block__upload {
        width: 100%;
        height: 60px;
        flex-direction: row;
        gap: 0.5rem;
    }

    .mentium-genera-block__type-bar {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .mentium-genera-block__type-item {
        font-size: 0.8125rem;
        padding: 0.625rem 0.5rem;
    }
}

/* ===== PERCORSO SECTION ===== */
.nd-percorso {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    padding: 0;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.nd-percorso__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
    text-align: center;
    width: 100%;
}

.nd-percorso__title {
    font-size: 2.75rem !important;
    font-weight: 700 !important;
    color: #132977 !important;
    margin: 0 0 1rem 0 !important;
}

.nd-percorso__subtitle {
    font-size: 1.125rem !important;
    color: #64748b !important;
    margin: 0 auto 4rem auto !important;
    max-width: 650px;
    text-align: center;
}

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

.nd-percorso__card {
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 2.5rem;
    text-align: left;
    border: 1px solid #e2e8f0;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    min-height: 280px;
}

.nd-percorso__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(19, 41, 119, 0.15);
}

.nd-percorso__card-icon {
    width: 64px;
    height: 64px;
    background: #e0f2fe;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.nd-percorso__card h3 {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #132977 !important;
    margin: 0 0 1rem 0 !important;
}

.nd-percorso__card p {
    font-size: 1rem !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

/* Percorso Mobile */
@media (max-width: 900px) {
    .nd-percorso {
        min-height: auto;
        padding: 3rem 0;
    }

    .nd-percorso__container {
        padding: 2rem 1rem;
    }

    .nd-percorso__title {
        font-size: 2rem !important;
    }

    .nd-percorso__subtitle {
        margin-bottom: 2.5rem !important;
    }

    .nd-percorso__cards {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .nd-percorso__card {
        padding: 1.75rem;
        min-height: auto;
    }

    .nd-percorso__card-icon {
        width: 52px;
        height: 52px;
        margin-bottom: 1.25rem;
    }

    .nd-percorso__card h3 {
        font-size: 1.375rem !important;
    }
}

/* ===== TESTIMONIAL SECTION ===== */
.nd-testimonial {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    padding: 5rem 0;
}

.nd-testimonial__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.nd-testimonial__label {
    font-size: 0.875rem;
    font-weight: 600;
    color: #64748b;
    margin: 0 0 0.5rem 0;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nd-testimonial__title {
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    color: #132977 !important;
    margin: 0 0 3rem 0 !important;
}

.nd-testimonial__cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.nd-testimonial__card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    overflow: hidden;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.nd-testimonial__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(19, 41, 119, 0.15);
}

.nd-testimonial__card-header {
    padding: 2rem 1.5rem 1rem;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 100%);
}

.nd-testimonial__tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #00AAFF;
    margin-bottom: 0.5rem;
}

.nd-testimonial__name {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #132977 !important;
    margin: 0 0 0.5rem 0 !important;
}

.nd-testimonial__quote {
    font-size: 0.9375rem;
    color: #475569;
    margin: 0 0 0.5rem 0;
    font-style: italic;
}

.nd-testimonial__stars {
    color: #f59e0b;
    font-size: 1.125rem;
    letter-spacing: 0.1em;
}

.nd-testimonial__card-body {
    padding: 1rem 1.5rem 2rem;
    text-align: center;
}

.nd-testimonial__card-body p {
    font-size: 0.875rem !important;
    color: #64748b !important;
    margin: 0 0 0.75rem 0 !important;
    line-height: 1.6 !important;
}

.nd-testimonial__card-body p:last-child {
    margin-bottom: 0 !important;
}

.nd-testimonial__card-body strong {
    color: #132977;
}

.nd-testimonial__cta {
    margin-top: 2rem;
}

.nd-testimonial__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1rem;
    font-weight: 700;
    background: #132977 !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nd-testimonial__btn:hover {
    background: #00AAFF !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 170, 255, 0.3);
}

/* Testimonial Mobile */
@media (max-width: 900px) {
    .nd-testimonial {
        padding: 3rem 0;
    }

    .nd-testimonial__container {
        padding: 0 1rem;
    }

    .nd-testimonial__title {
        font-size: 1.5rem !important;
    }

    .nd-testimonial__cards {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .nd-testimonial__card-header {
        padding: 1.5rem 1rem 0.75rem;
    }

    .nd-testimonial__name {
        font-size: 1.5rem !important;
    }

    .nd-testimonial__card-body {
        padding: 0.75rem 1rem 1.5rem;
    }

    .nd-testimonial__btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

/* ===== MENTIUM PAGE - HERO ===== */
.nd-mentium-hero {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    padding: 6rem 0 4rem;
    text-align: center;
}

.nd-mentium-hero__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nd-mentium-hero__title {
    font-size: 3rem !important;
    font-weight: 800 !important;
    color: #132977 !important;
    margin: 0 0 1.5rem 0 !important;
    line-height: 1.2 !important;
}

.nd-mentium-hero__subtitle {
    font-size: 1.25rem !important;
    color: #64748b !important;
    margin: 0 0 2.5rem 0 !important;
    line-height: 1.6 !important;
}

.nd-mentium-hero__cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* ===== MENTIUM PAGE - FEATURES ===== */
.nd-mentium-features {
    background: #ffffff;
}

.nd-mentium-feature {
    padding: 5rem 0;
    border-bottom: 1px solid #e2e8f0;
}

.nd-mentium-feature:last-child {
    border-bottom: none;
}

.nd-mentium-feature__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.nd-mentium-feature--reverse .nd-mentium-feature__container {
    direction: rtl;
}

.nd-mentium-feature--reverse .nd-mentium-feature__content,
.nd-mentium-feature--reverse .nd-mentium-feature__image {
    direction: ltr;
}

.nd-mentium-feature__tag {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: #e0f2fe;
    color: #132977;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1.5rem;
}

.nd-mentium-feature__tag--ai {
    background: linear-gradient(135deg, #e0f2fe 0%, #dbeafe 100%);
    color: #00AAFF;
}

.nd-mentium-feature__title {
    font-size: 2.25rem !important;
    font-weight: 700 !important;
    color: #132977 !important;
    margin: 0 0 1rem 0 !important;
    line-height: 1.3 !important;
}

.nd-mentium-feature__description {
    font-size: 1.0625rem !important;
    color: #64748b !important;
    margin: 0 0 1.5rem 0 !important;
    line-height: 1.6 !important;
}

.nd-mentium-feature__list {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nd-mentium-feature__list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1rem;
    color: #475569;
}

.nd-mentium-feature__list li svg {
    flex-shrink: 0;
}

.nd-mentium-feature__image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nd-mentium-feature__image img,
.nd-mentium-slideshow__slide img {
    max-width: 100%;
    height: auto;
}

/* Slideshow immagini Materiali AI (sezione 3) */
.nd-mentium-feature__image--slideshow {
    width: 100%;
    max-width: 1400px;
}

.nd-mentium-slideshow {
    position: relative;
}

.nd-mentium-slideshow__slides {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(19, 41, 119, 0.15);
}

.nd-mentium-slideshow__slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.nd-mentium-slideshow__slide img {
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(19, 41, 119, 0.1);
}

.nd-mentium-slideshow__slide.active {
    position: relative;
    opacity: 1;
    pointer-events: auto;
}

.nd-mentium-slideshow__slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 16px;
}

.nd-mentium-slideshow__dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 1.25rem;
}

.nd-mentium-slideshow__dot {
    width: 40px;
    height: 6px;
    border-radius: 3px;
    border: none;
    background: #e2e8f0;
    cursor: pointer;
    transition: background 0.3s ease;
}

.nd-mentium-slideshow__dot:hover {
    background: #cbd5e1;
}

.nd-mentium-slideshow__dot.active {
    background: #00AAFF;
}

/* Planning e altre feature - max 1024px = risoluzione nativa, nitide */
.nd-mentium-feature__image {
    max-width: 1200px;
}

/* ===== MENTIUM PAGE - CTA ===== */
.nd-mentium-cta {
    background: linear-gradient(135deg, #132977 0%, #0a1a4a 100%);
    padding: 5rem 0;
    text-align: center;
}

.nd-mentium-cta__container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nd-mentium-cta__title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #ffffff !important;
    margin: 0 0 1rem 0 !important;
}

.nd-mentium-cta__subtitle {
    font-size: 1.125rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 0 2rem 0 !important;
}

.nd-mentium-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    background: #00AAFF !important;
    color: #fff !important;
    text-decoration: none !important;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.nd-mentium-cta__btn:hover {
    background: #ffffff !important;
    color: #132977 !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Mentium Page Mobile */
@media (max-width: 900px) {
    .nd-mentium-hero {
        padding: 4rem 0 3rem;
    }

    .nd-mentium-hero__container {
        padding: 0 1rem;
    }

    .nd-mentium-hero__title {
        font-size: 2rem !important;
    }

    .nd-mentium-hero__subtitle {
        font-size: 1.0625rem !important;
    }

    .nd-mentium-feature {
        padding: 3rem 0;
    }

    .nd-mentium-feature__container {
        grid-template-columns: 1fr;
        gap: 2rem;
        padding: 0 1rem;
    }

    .nd-mentium-feature--reverse .nd-mentium-feature__container {
        direction: ltr;
    }

    /* Mobile: prima descrizione, poi immagine */
    .nd-mentium-feature__content {
        order: 1;
    }
    .nd-mentium-feature__image {
        order: 2;
    }

    .nd-mentium-feature__title {
        font-size: 1.75rem !important;
    }

    .nd-mentium-feature__description {
        font-size: 1rem !important;
    }

    .nd-mentium-cta {
        padding: 3rem 0;
    }

    .nd-mentium-cta__container {
        padding: 0 1rem;
    }

    .nd-mentium-cta__title {
        font-size: 1.75rem !important;
    }

    .nd-mentium-cta__subtitle {
        font-size: 1rem !important;
    }

    .nd-mentium-cta__btn {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 600px) {
    .nd-mentium-hero__title {
        font-size: 1.75rem !important;
    }

    .nd-mentium-hero__cta {
        flex-direction: column;
    }

    .nd-mentium-hero__cta .nd-hero__btn {
        width: 100%;
        justify-content: center;
    }

    .nd-mentium-feature__title {
        font-size: 1.5rem !important;
    }

    .nd-mentium-cta__title {
        font-size: 1.5rem !important;
    }

    .nd-mentium-feature__image--slideshow {
        max-width: 100%;
    }
}

/* ===== PAGINA PERCORSO (Prime Study, Accellerator+, Sport Lab, Prime 50) ===== */

/* HERO - Pagina grande iniziale full viewport - sfondo bianco */
.nd-percorso-hero {
    position: relative;
    min-height: calc(100vh - 64px);
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    overflow: hidden;
}

.nd-percorso-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.nd-percorso-hero__container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Animazione dinamica hero - fade in */
.nd-percorso-hero__badge,
.nd-percorso-hero__title,
.nd-percorso-hero__subtitle,
.nd-percorso-hero__desc {
    animation: nd-fadeInUp 0.8s ease forwards;
}

.nd-percorso-hero__badge { animation-delay: 0.1s; }
.nd-percorso-hero__title { animation-delay: 0.2s; }
.nd-percorso-hero__subtitle { animation-delay: 0.35s; }
.nd-percorso-hero__desc { animation-delay: 0.5s; }

@keyframes nd-fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nd-percorso-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1.25rem;
    background: #00AAFF;
    color: #fff !important;
    font-size: 0.875rem;
    font-weight: 600;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 170, 255, 0.2);
}

.nd-percorso-hero__title {
    font-size: 4.25rem !important;
    font-weight: 800 !important;
    color: #132977 !important;
    margin: 0 0 1rem 0 !important;
    line-height: 1.15 !important;
    text-shadow: 0 2px 8px rgba(19, 41, 119, 0.12);
}

.nd-percorso-hero__subtitle {
    font-size: 1.25rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    margin: 0 0 1.5rem 0 !important;
}

.nd-percorso-hero__desc {
    font-size: 1.0625rem !important;
    color: #475569 !important;
    margin: 0 !important;
    line-height: 1.7 !important;
}

/* VANTAGGI - Sezione allo scroll */
.nd-percorso-vantaggi {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    padding: 5rem 0 6rem;
}

.nd-percorso-vantaggi__container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nd-percorso-vantaggi__label {
    font-size: 0.75rem !important;
    font-weight: 600 !important;
    color: #94a3b8 !important;
    margin: 0 0 0.5rem 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.nd-percorso-vantaggi__title {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #132977 !important;
    margin: 0 0 3rem 0 !important;
    line-height: 1.3 !important;
}

.nd-percorso-vantaggi__list {
    display: flex;
    flex-direction: column;
}

/* Animazione dinamica vantaggi - reveal allo scroll */
.nd-percorso-vantaggi__label,
.nd-percorso-vantaggi__title {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.nd-percorso-vantaggi__label.nd-is-visible,
.nd-percorso-vantaggi__title.nd-is-visible {
    opacity: 1;
    transform: translateY(0);
}

.nd-percorso-vantaggi__item {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2rem;
    padding: 2rem 0;
    border-bottom: 1px solid #e2e8f0;
    align-items: start;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.nd-percorso-vantaggi__item.nd-is-visible {
    opacity: 1;
    transform: translateY(0);
}

.nd-percorso-vantaggi__item:nth-child(1) { transition-delay: 0s; }
.nd-percorso-vantaggi__item:nth-child(2) { transition-delay: 0.1s; }
.nd-percorso-vantaggi__item:nth-child(3) { transition-delay: 0.2s; }
.nd-percorso-vantaggi__item:nth-child(4) { transition-delay: 0.3s; }
.nd-percorso-vantaggi__item:nth-child(5) { transition-delay: 0.4s; }

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

.nd-percorso-vantaggi__item-left {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nd-percorso-vantaggi__icon {
    display: inline-flex;
    align-items: center;
    justify-content: flex-start;
    color: #00AAFF;
}

.nd-percorso-vantaggi__item-title {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: #132977 !important;
    margin: 0 !important;
}

.nd-percorso-vantaggi__item-text {
    font-size: 0.9375rem !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

.nd-percorso-vantaggi__cta {
    text-align: center;
    margin-top: 3rem;
}

@media (max-width: 900px) {
    .nd-header__dropdown {
        min-width: 320px;
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .nd-percorso-hero {
        min-height: calc(100vh - 64px);
    }

    .nd-percorso-hero__container {
        padding: 0 1rem;
    }

    .nd-percorso-hero__title {
        font-size: 2.25rem !important;
    }

    .nd-percorso-hero__subtitle {
        font-size: 1.125rem !important;
    }

    .nd-percorso-hero__desc {
        font-size: 1rem !important;
    }

    .nd-percorso-vantaggi {
        padding: 3rem 0 4rem;
    }

    .nd-percorso-vantaggi__container {
        padding: 0 1rem;
    }

    .nd-percorso-vantaggi__title {
        font-size: 1.5rem !important;
        margin-bottom: 2rem !important;
    }

    .nd-percorso-vantaggi__item {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 1.5rem 0;
    }

    .nd-percorso-vantaggi__icon {
        justify-content: flex-start;
    }
}



/* ===== LINEE ANIMATE PERCORSO HERO ===== */
/* Stile demo: curve morbide che partono grigie e diventano azzurre */

.nd-percorso-hero__bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    overflow: hidden;
}

/* SVG posizionati */
.nd-percorso-line {
    position: absolute;
    height: 100%;
    width: auto;
    overflow: visible;
}

.nd-percorso-line--left {
    left: 0;
    top: 0;
    width: 30%;
    min-width: 300px;
}

.nd-percorso-line--right {
    right: 0;
    top: 0;
    width: 30%;
    min-width: 300px;
}

/* Path base - grigio */
.nd-percorso-line__gray {
    fill: none;
    stroke: #e2e8f0;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: nd-line-draw-gray 2s ease-out forwards;
}

.nd-percorso-line__gray--delay {
    animation-delay: 0.3s;
}

/* Path azzurro - sovrapposto, appare dopo */
.nd-percorso-line__blue {
    fill: none;
    stroke: #00AAFF;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-dasharray: 2000;
    stroke-dashoffset: 2000;
    animation: nd-line-draw-blue 2.5s ease-out forwards;
    animation-delay: 1.5s;
}

.nd-percorso-line__blue--delay {
    animation-delay: 1.8s;
}

/* Animazione: disegna la linea grigia */
@keyframes nd-line-draw-gray {
    0% {
        stroke-dashoffset: 2000;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

/* Animazione: disegna la linea azzurra (parte dopo) */
@keyframes nd-line-draw-blue {
    0% {
        stroke-dashoffset: 2000;
    }
    100% {
        stroke-dashoffset: 0;
    }
}

/* Mobile: linee più sottili */
@media (max-width: 768px) {
    .nd-percorso-line--left,
    .nd-percorso-line--right {
        width: 40%;
        min-width: 200px;
    }
    
    .nd-percorso-line__gray,
    .nd-percorso-line__blue {
        stroke-width: 1.5;
    }
}

/* Nascondi su schermi molto piccoli */
@media (max-width: 480px) {
    .nd-percorso-line--left,
    .nd-percorso-line--right {
        opacity: 0.5;
    }
}

/* ===== PAGINA CONTATTI ===== */
.nd-contatti {
    background: #ffffff;
    padding: 4rem 0 5rem;
}

.nd-contatti__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nd-contatti__title {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    color: #132977 !important;
    margin: 0 0 0.5rem 0 !important;
    text-align: center;
}

.nd-contatti__subtitle {
    font-size: 1.125rem !important;
    color: #64748b !important;
    margin: 0 0 3rem 0 !important;
    text-align: center;
}

.nd-contatti__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.nd-contatti__block {
    margin-bottom: 2.5rem;
}

.nd-contatti__block:last-child {
    margin-bottom: 0;
}

.nd-contatti__block-title {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #132977 !important;
    margin: 0 0 1rem 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nd-contatti__addresses p {
    font-size: 0.9375rem !important;
    color: #475569 !important;
    margin: 0 0 1rem 0 !important;
    line-height: 1.6 !important;
}

.nd-contatti__addresses p:last-child {
    margin-bottom: 0 !important;
}

.nd-contatti__emails {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.nd-contatti__email {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    color: #00AAFF !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.nd-contatti__email:hover {
    color: #132977 !important;
}

.nd-contatti__social {
    display: flex;
    gap: 0.75rem;
}

.nd-contatti__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #e0f2fe;
    color: #132977 !important;
    transition: all 0.2s ease;
}

.nd-contatti__social-link:hover {
    background: #00AAFF;
    color: #fff !important;
}

.nd-contatti__form-wrap {
    background: #f8fafc;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid #e2e8f0;
}

.nd-contatti__form-wrap .nd-contatti__block-title {
    margin-bottom: 1.5rem !important;
}

.nd-contatti__form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.nd-contatti__field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: 0.375rem;
}

.nd-contatti__field input,
.nd-contatti__field textarea {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #334155;
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    transition: border-color 0.2s;
}

.nd-contatti__field input::placeholder,
.nd-contatti__field textarea::placeholder {
    color: #94a3b8;
}

.nd-contatti__field input:focus,
.nd-contatti__field textarea:focus {
    outline: none;
    border-color: #00AAFF;
}

.nd-contatti__field textarea {
    resize: vertical;
    min-height: 120px;
}

.nd-contatti__submit {
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #132977 !important;
    background: #ffffff !important;
    border: 1px solid #00AAFF;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.nd-contatti__submit:hover {
    background: #00AAFF !important;
    color: #fff !important;
}

@media (max-width: 900px) {
    .nd-contatti__grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .nd-contatti__form-wrap {
        order: -1;
    }
}

@media (max-width: 600px) {
    .nd-contatti {
        padding: 3rem 0 4rem;
    }

    .nd-contatti__container {
        padding: 0 1rem;
    }

    .nd-contatti__title {
        font-size: 2rem !important;
    }

    .nd-contatti__subtitle {
        font-size: 1rem !important;
        margin-bottom: 2rem !important;
    }

    .nd-contatti__form-wrap {
        padding: 1.5rem;
    }
}
.nd-contatti__notice {
    margin: 1rem 0 1.25rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.35;
    border: 1px solid transparent;
}

.nd-contatti__notice--ok {
    background: #f0fdf4;
    border-color: #bbf7d0;
    color: #166534;
}

.nd-contatti__notice--err {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

/* su mobile un po’ più compatto */
@media (max-width: 900px) {
    .nd-contatti__notice {
        padding: 0.85rem 0.9rem;
        border-radius: 10px;
    }
}

/* ===== PAGINA LAVORA CON NOI (Careers) ===== */
.nd-careers-hero {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    padding: 5rem 0 4rem;
    text-align: center;
}

.nd-careers-hero__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nd-careers-hero__title {
    font-size: 3rem !important;
    font-weight: 800 !important;
    color: #132977 !important;
    margin: 0 0 1.5rem 0 !important;
    line-height: 1.2 !important;
}

.nd-careers-hero__subtitle {
    font-size: 1.125rem !important;
    color: #475569 !important;
    line-height: 1.7 !important;
    margin: 0 !important;
}

.nd-careers-posizioni {
    padding: 4rem 0;
    background: #fff;
}

.nd-careers-posizioni__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nd-careers-posizioni__title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #132977 !important;
    margin: 0 0 2rem 0 !important;
}

.nd-careers-posizioni__list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.nd-careers-posizioni__item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    background: #f8fafc;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.nd-careers-posizioni__item:hover {
    background: #f0f7ff;
    border-color: #00AAFF;
}

.nd-careers-posizioni__item-title {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: #132977 !important;
    margin: 0 !important;
}

.nd-careers-posizioni__btn {
    padding: 0.6rem 1.5rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: #fff !important;
    background: #00AAFF;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.nd-careers-posizioni__btn:hover {
    background: #132977;
}

.nd-careers-form-section {
    padding: 4rem 0 5rem;
    background: #ffffff;
}

.nd-careers-form-section__container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.nd-careers-form-section__title {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #132977 !important;
    margin: 0 0 0.5rem 0 !important;
}

.nd-careers-form-section__desc {
    font-size: 1rem !important;
    color: #64748b !important;
    margin: 0 0 2rem 0 !important;
}

.nd-careers-form {
    text-align: left;
    background: #fff;
    padding: 2rem;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.nd-careers-form__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.nd-careers-form__field {
    margin-bottom: 1.25rem;
}

.nd-careers-form__grid .nd-careers-form__field {
    margin-bottom: 1.25rem;
}

.nd-careers-form__field label {
    display: block;
    font-size: 0.875rem;
    font-weight: 500;
    color: #334155;
    margin-bottom: 0.35rem;
}

.nd-careers-form__field input,
.nd-careers-form__field select {
    width: 100%;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #fff;
    transition: border-color 0.2s;
}

.nd-careers-form__field input:focus,
.nd-careers-form__field select:focus {
    outline: none;
    border-color: #00AAFF;
}

.nd-careers-form__field input[type="file"] {
    padding: 0.5rem;
}

.nd-careers-form__hint {
    display: block;
    font-size: 0.75rem;
    color: #94a3b8;
    margin-top: 0.25rem;
}

.nd-careers-form__submit {
    width: 100%;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    color: #fff !important;
    background: #132977;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s ease;
    margin-top: 0.5rem;
}

.nd-careers-form__submit:hover {
    background: #00AAFF;
}

.nd-careers-form__submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.nd-careers-form__message {
    margin-top: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9375rem;
}

.nd-careers-form__message--success {
    background: #d1fae5;
    color: #065f46;
}

.nd-careers-form__message--error {
    background: #fee2e2;
    color: #991b1b;
}

@media (max-width: 600px) {
    .nd-careers-hero__title {
        font-size: 2rem !important;
    }

    .nd-careers-form__grid {
        grid-template-columns: 1fr;
    }

    .nd-careers-posizioni__item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* ===== FOOTER ===== */
.nd-footer {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%) !important;
    padding: 3rem 1rem;
}

.nd-footer__container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 3rem 2rem;
    background: #fff;
    border-radius: 24px;
}

/* Social Icons */
.nd-footer__social {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
    border-bottom: 1px solid #e2e8f0;
}

.nd-footer__social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #00AAFF;
    color: #fff !important;
    transition: all 0.3s ease;
}

.nd-footer__social-link:hover {
    background: #132977;
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(19, 41, 119, 0.2);
}

.nd-footer__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    margin-bottom: 2rem;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

.nd-footer__column {
    text-align: left;
}

.nd-footer__column h4 {
    font-size: 0.8125rem !important;
    font-weight: 600 !important;
    color: #64748b !important;
    margin: 0 0 1rem 0 !important;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nd-footer__links {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.nd-footer__links li {
    list-style: none !important;
}

.nd-footer__links a {
    font-size: 0.875rem;
    color: #64748b !important;
    text-decoration: none !important;
    transition: color 0.2s ease;
}

.nd-footer__links a:hover {
    color: #00AAFF !important;
}

.nd-footer__bottom {
    padding-top: 1.5rem;
    border-top: 1px solid #e2e8f0;
    text-align: center;
}

.nd-footer__copyright {
    font-size: 0.8125rem !important;
    color: #94a3b8 !important;
    margin: 0 !important;
}

.nd-footer__copyright a {
    color: #94a3b8 !important;
    text-decoration: none !important;
}

.nd-footer__copyright a:hover {
    color: #00AAFF !important;
}

/* Footer Mobile */
@media (max-width: 768px) {
    .nd-footer {
        padding: 2rem 0.75rem;
    }

    .nd-footer__container {
        padding: 2rem 1.5rem 1.5rem;
        border-radius: 20px;
    }

    .nd-footer__social {
        gap: 0.75rem;
    }

    .nd-footer__social-link {
        width: 40px;
        height: 40px;
        border-radius: 10px;
    }

    .nd-footer__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
        justify-content: start;
    }
}

@media (max-width: 480px) {
    .nd-footer {
        padding: 1.5rem 0.5rem;
    }

    .nd-footer__container {
        padding: 1.5rem 1rem 1.25rem;
        border-radius: 16px;
    }

    .nd-footer__grid {
        grid-template-columns: 1fr 1fr;
        gap: 1.5rem;
    }

    .nd-footer__column h4 {
        font-size: 0.75rem !important;
        margin-bottom: 0.75rem !important;
    }

    .nd-footer__links a {
        font-size: 0.8125rem;
    }

    .nd-footer__social-link {
        width: 36px;
        height: 36px;
        border-radius: 8px;
    }

    .nd-footer__social-link svg {
        width: 18px;
        height: 18px;
    }
}

/* ===== BLOG ARCHIVE PAGE ===== */

/* Blog Hero */
.nd-blog-hero {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    padding: 5rem 0 4rem;
    text-align: center;
}

.nd-blog-hero__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nd-blog-hero__label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #00AAFF;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
}

.nd-blog-hero__title {
    font-size: 2.75rem !important;
    font-weight: 800 !important;
    color: #132977 !important;
    margin: 0 0 1rem 0 !important;
    line-height: 1.2 !important;
}

.nd-blog-hero__subtitle {
    font-size: 1.125rem !important;
    color: #64748b !important;
    margin: 0 !important;
}

/* Blog Grid */
.nd-blog {
    background: #ffffff;
    padding: 4rem 0 5rem;
}

.nd-blog__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

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

/* Blog Card */
.nd-blog__card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.nd-blog__card:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 32px rgba(19, 41, 119, 0.12);
    border-color: transparent;
}

.nd-blog__card-link {
    display: block;
    text-decoration: none !important;
}

.nd-blog__card-image {
    position: relative;
    width: 100%;
    padding-top: 60%;
    overflow: hidden;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
}

.nd-blog__card-image img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.nd-blog__card:hover .nd-blog__card-image img {
    transform: scale(1.05);
}

.nd-blog__card-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
}

.nd-blog__card-content {
    padding: 1.5rem;
}

.nd-blog__card-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.75rem;
    flex-wrap: wrap;
}

.nd-blog__card-category {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    color: #00AAFF;
    background: #e0f7ff;
    padding: 0.25rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nd-blog__card-date {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.8125rem;
    color: #94a3b8;
}

.nd-blog__card-title {
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    color: #132977 !important;
    margin: 0 0 0.75rem 0 !important;
    line-height: 1.4 !important;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nd-blog__card-excerpt {
    font-size: 0.9375rem !important;
    color: #64748b !important;
    margin: 0 0 1rem 0 !important;
    line-height: 1.6 !important;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nd-blog__card-read {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: #00AAFF;
    transition: gap 0.2s ease;
}

.nd-blog__card:hover .nd-blog__card-read {
    gap: 0.75rem;
}

/* Blog Pagination */
.nd-blog__pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 3rem;
}

.nd-blog__pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 0.75rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #64748b;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.nd-blog__pagination .page-numbers:hover {
    background: #e0f7ff;
    border-color: #00AAFF;
    color: #00AAFF;
}

.nd-blog__pagination .page-numbers.current {
    background: #00AAFF;
    border-color: #00AAFF;
    color: #fff;
}

.nd-blog__pagination .page-numbers.prev,
.nd-blog__pagination .page-numbers.next {
    background: transparent;
    border-color: transparent;
}

.nd-blog__pagination .page-numbers.prev:hover,
.nd-blog__pagination .page-numbers.next:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
}

/* Blog Empty State */
.nd-blog__empty {
    text-align: center;
    padding: 4rem 2rem;
    color: #94a3b8;
}

.nd-blog__empty svg {
    margin-bottom: 1.5rem;
}

.nd-blog__empty h2 {
    font-size: 1.5rem !important;
    font-weight: 600 !important;
    color: #475569 !important;
    margin: 0 0 0.5rem 0 !important;
}

.nd-blog__empty p {
    font-size: 1rem !important;
    color: #94a3b8 !important;
    margin: 0 !important;
}

/* ===== SINGLE ARTICLE PAGE ===== */

/* Article Header */
.nd-article__header {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    padding: 3rem 0 4rem;
}

.nd-article__header-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nd-article__back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9375rem;
    font-weight: 500;
    color: #64748b !important;
    text-decoration: none !important;
    margin-bottom: 2rem;
    transition: color 0.2s ease;
}

.nd-article__back:hover {
    color: #00AAFF !important;
}

.nd-article__meta {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.nd-article__category {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 600;
    color: #00AAFF;
    background: #e0f7ff;
    padding: 0.375rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nd-article__date,
.nd-article__reading-time {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    font-size: 0.875rem;
    color: #64748b;
}

.nd-article__title {
    font-size: 2.75rem !important;
    font-weight: 800 !important;
    color: #132977 !important;
    margin: 0 0 1.5rem 0 !important;
    line-height: 1.2 !important;
}

.nd-article__excerpt {
    font-size: 1.25rem !important;
    color: #475569 !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

/* Featured Image */
.nd-article__featured-image {
    background: #ffffff;
    padding: 0;
    margin-top: -2rem;
}

.nd-article__featured-image-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nd-article__featured-image img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 20px 40px rgba(19, 41, 119, 0.1);
}

/* Article Content */
.nd-article__content {
    background: #ffffff;
    padding: 4rem 0;
}

.nd-article__content-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Content Typography */
.nd-article__content-container h2 {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #132977 !important;
    margin: 2.5rem 0 1rem 0 !important;
    line-height: 1.3 !important;
}

.nd-article__content-container h3 {
    font-size: 1.375rem !important;
    font-weight: 600 !important;
    color: #132977 !important;
    margin: 2rem 0 0.75rem 0 !important;
    line-height: 1.4 !important;
}

.nd-article__content-container h4 {
    font-size: 1.125rem !important;
    font-weight: 600 !important;
    color: #334155 !important;
    margin: 1.5rem 0 0.5rem 0 !important;
}

.nd-article__content-container p {
    font-size: 1.0625rem !important;
    color: #475569 !important;
    margin: 0 0 1.5rem 0 !important;
    line-height: 1.8 !important;
}

.nd-article__content-container a {
    color: #00AAFF !important;
    text-decoration: underline !important;
}

.nd-article__content-container a:hover {
    color: #132977 !important;
}

.nd-article__content-container ul,
.nd-article__content-container ol {
    margin: 0 0 1.5rem 0 !important;
    padding-left: 1.5rem !important;
}

.nd-article__content-container li {
    font-size: 1.0625rem !important;
    color: #475569 !important;
    margin-bottom: 0.5rem !important;
    line-height: 1.7 !important;
}

.nd-article__content-container blockquote {
    margin: 2rem 0 !important;
    padding: 1.5rem 2rem !important;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    border-left: 4px solid #00AAFF;
    border-radius: 0 12px 12px 0;
}

.nd-article__content-container blockquote p {
    font-size: 1.125rem !important;
    font-style: italic;
    color: #334155 !important;
    margin: 0 !important;
}

.nd-article__content-container img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    margin: 2rem 0;
}

.nd-article__content-container pre,
.nd-article__content-container code {
    font-family: 'SF Mono', Monaco, 'Courier New', monospace;
    background: #f8fafc;
    border-radius: 6px;
}

.nd-article__content-container code {
    padding: 0.125rem 0.375rem;
    font-size: 0.9em;
    color: #e11d48;
}

.nd-article__content-container pre {
    padding: 1.25rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

.nd-article__content-container pre code {
    padding: 0;
    background: none;
    color: #334155;
}

/* Article Footer */
.nd-article__footer {
    background: #f8fafc;
    padding: 2rem 0;
    border-top: 1px solid #e2e8f0;
}

.nd-article__footer-container {
    max-width: 750px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.nd-article__tags {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nd-article__tags-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
}

.nd-article__tag {
    display: inline-block;
    font-size: 0.8125rem;
    font-weight: 500;
    color: #475569 !important;
    background: #ffffff;
    padding: 0.375rem 0.875rem;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.nd-article__tag:hover {
    border-color: #00AAFF;
    color: #00AAFF !important;
}

.nd-article__share {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.nd-article__share-label {
    font-size: 0.875rem;
    font-weight: 500;
    color: #64748b;
}

.nd-article__share-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #ffffff;
    color: #64748b !important;
    border: 1px solid #e2e8f0;
    transition: all 0.2s ease;
}

.nd-article__share-link:hover {
    background: #00AAFF;
    border-color: #00AAFF;
    color: #ffffff !important;
}

/* Related Posts */
.nd-related {
    background: #ffffff;
    padding: 4rem 0 5rem;
    border-top: 1px solid #e2e8f0;
}

.nd-related__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nd-related__title {
    font-size: 1.75rem !important;
    font-weight: 700 !important;
    color: #132977 !important;
    margin: 0 0 2rem 0 !important;
    text-align: center;
}

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

/* ===== BLOG RESPONSIVE ===== */

@media (max-width: 900px) {
    .nd-blog-hero {
        padding: 4rem 0 3rem;
    }

    .nd-blog-hero__title {
        font-size: 2rem !important;
    }

    .nd-blog__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .nd-article__title {
        font-size: 2rem !important;
    }

    .nd-article__excerpt {
        font-size: 1.0625rem !important;
    }

    .nd-related__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
}

@media (max-width: 600px) {
    .nd-blog-hero {
        padding: 3rem 0 2rem;
    }

    .nd-blog-hero__container {
        padding: 0 1rem;
    }

    .nd-blog-hero__title {
        font-size: 1.75rem !important;
    }

    .nd-blog-hero__subtitle {
        font-size: 1rem !important;
    }

    .nd-blog {
        padding: 2rem 0 3rem;
    }

    .nd-blog__container {
        padding: 0 1rem;
    }

    .nd-blog__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .nd-blog__card-content {
        padding: 1.25rem;
    }

    .nd-blog__card-title {
        font-size: 1.125rem !important;
    }

    .nd-article__header {
        padding: 2rem 0 3rem;
    }

    .nd-article__header-container {
        padding: 0 1rem;
    }

    .nd-article__title {
        font-size: 1.625rem !important;
    }

    .nd-article__meta {
        gap: 0.75rem;
    }

    .nd-article__featured-image-container {
        padding: 0 1rem;
    }

    .nd-article__content {
        padding: 2.5rem 0;
    }

    .nd-article__content-container {
        padding: 0 1rem;
    }

    .nd-article__content-container h2 {
        font-size: 1.375rem !important;
    }

    .nd-article__content-container h3 {
        font-size: 1.125rem !important;
    }

    .nd-article__content-container p,
    .nd-article__content-container li {
        font-size: 1rem !important;
    }

    .nd-article__footer-container {
        padding: 0 1rem;
        flex-direction: column;
        align-items: flex-start;
    }

    .nd-related {
        padding: 3rem 0 4rem;
    }

    .nd-related__container {
        padding: 0 1rem;
    }

    .nd-related__title {
        font-size: 1.375rem !important;
    }

    .nd-related__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
}

/* ===== GIFT CARD PAGE ===== */

/* Hero */
.nd-giftcard-hero {
    position: relative;
    padding: 3.25rem 0 3rem;
    overflow: hidden;
}

.nd-giftcard-hero__bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.nd-giftcard-hero__gradient {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
}

.nd-giftcard-hero__pattern {
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.4'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.nd-giftcard-hero__container {
    position: relative;
    z-index: 1;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.nd-giftcard-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    color: #00AAFF;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nd-giftcard-hero__title {
    font-size: 3rem !important;
    font-weight: 800 !important;
    color: #132977 !important;
    margin: 0 0 1.5rem 0 !important;
    line-height: 1.15 !important;
}

.nd-giftcard-hero__highlight {
    background: linear-gradient(135deg, #00AAFF 0%, #60d5fa 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nd-giftcard-hero__subtitle {
    font-size: 1.125rem !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.7 !important;
}

/* Hero Card Visual */
.nd-giftcard-hero__visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.nd-giftcard-hero__card {
    width: 340px;
    height: 200px;
    perspective: 1000px;
}

.nd-giftcard-hero__card-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #00AAFF 0%, #0088cc 100%);
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 255, 255, 0.1);
    transform: rotateY(-5deg) rotateX(5deg);
    transition: transform 0.3s ease;
}

.nd-giftcard-hero__card:hover .nd-giftcard-hero__card-inner {
    transform: rotateY(0) rotateX(0);
}

.nd-giftcard-hero__card-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ffffff;
}

.nd-giftcard-hero__card-logo span {
    font-size: 1.5rem;
    font-weight: 700;
}

.nd-giftcard-hero__card-value {
    font-size: 2rem;
    font-weight: 800;
    color: #ffffff;
}

.nd-giftcard-hero__card-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
}

/* Gift Card Options */
.nd-giftcard-options {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    padding: 2.5rem 0 3rem;
}

.nd-giftcard-options__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.nd-giftcard-options__label {
    display: none;
}

.nd-giftcard-options__title {
    font-size: 2.1rem !important;
    font-weight: 800 !important;
    color: #132977 !important;
    margin: 0 0 2.5rem 0 !important;
}

.nd-giftcard-options__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
}

.nd-giftcard-options__card {
    position: relative;
    background: #ffffff;
    border: 2px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.25rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.nd-giftcard-options__card:hover {
    border-color: #00AAFF;
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 170, 255, 0.15);
}

.nd-giftcard-options__card--popular {
    border-color: #00AAFF;
    background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 100%);
}

.nd-giftcard-options__popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00AAFF 0%, #0088cc 100%);
    color: #ffffff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.375rem 1rem;
    border-radius: 50px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.nd-giftcard-options__card-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1rem;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00AAFF;
}

.nd-giftcard-options__card-value {
    font-size: 1.85rem;
    font-weight: 800;
    color: #132977;
    margin-bottom: 0.5rem;
}

.nd-giftcard-options__card-desc {
    font-size: 0.9375rem;
    color: #64748b;
    margin-bottom: 1.25rem;
}

.nd-giftcard-options__card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    width: 100%;
    padding: 0.875rem 1.5rem;
    background: #132977;
    color: #ffffff !important;
    font-size: 0.9375rem;
    font-weight: 600;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.nd-giftcard-options__card-btn:hover {
    background: #00AAFF;
    transform: translateY(-2px);
}

.nd-giftcard-options__card--popular .nd-giftcard-options__card-btn {
    background: #00AAFF;
}

.nd-giftcard-options__card--popular .nd-giftcard-options__card-btn:hover {
    background: #132977;
}

/* Benefits Section */
.nd-giftcard-benefits {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    padding: 5rem 0;
}

.nd-giftcard-benefits__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.nd-giftcard-benefits__label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #00AAFF;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.nd-giftcard-benefits__title {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #132977 !important;
    margin: 0 0 3rem 0 !important;
}

.nd-giftcard-benefits__grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.nd-giftcard-benefits__card {
    background: #ffffff;
    border-radius: 24px;
    padding: 2.5rem;
    text-align: left;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.nd-giftcard-benefits__card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.1);
}

.nd-giftcard-benefits__card-icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, #00AAFF 0%, #0088cc 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    margin-bottom: 1.5rem;
}

.nd-giftcard-benefits__card-title {
    font-size: 1.5rem !important;
    font-weight: 700 !important;
    color: #132977 !important;
    margin: 0 0 1rem 0 !important;
}

.nd-giftcard-benefits__card-desc {
    font-size: 1rem !important;
    color: #64748b !important;
    margin: 0 0 1.5rem 0 !important;
    line-height: 1.7 !important;
}

.nd-giftcard-benefits__card-list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}

.nd-giftcard-benefits__card-list li {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9375rem;
    color: #475569;
    padding: 0.5rem 0;
}

.nd-giftcard-benefits__card-list li svg {
    color: #10b981;
    flex-shrink: 0;
}

/* Steps Section */
.nd-giftcard-steps {
    background: #ffffff;
    padding: 5rem 0;
}

.nd-giftcard-steps__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.nd-giftcard-steps__label {
    display: inline-block;
    font-size: 0.875rem;
    font-weight: 600;
    color: #00AAFF;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.75rem;
}

.nd-giftcard-steps__title {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #132977 !important;
    margin: 0 0 3rem 0 !important;
}

.nd-giftcard-steps__grid {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 1rem;
}

.nd-giftcard-steps__item {
    flex: 1;
    max-width: 220px;
    text-align: center;
}

.nd-giftcard-steps__number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #00AAFF 0%, #0088cc 100%);
    color: #ffffff;
    font-size: 1.125rem;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}

.nd-giftcard-steps__icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #132977;
    margin: 0 auto 1rem;
}

.nd-giftcard-steps__item-title {
    font-size: 1.0625rem !important;
    font-weight: 700 !important;
    color: #132977 !important;
    margin: 0 0 0.5rem 0 !important;
}

.nd-giftcard-steps__item-desc {
    font-size: 0.875rem !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.6 !important;
}

.nd-giftcard-steps__connector {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    padding-top: 3rem;
}

/* CTA Section */
.nd-giftcard-cta {
    background: linear-gradient(135deg, #132977 0%, #0a1a4a 100%);
    padding: 5rem 0;
}

.nd-giftcard-cta__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

.nd-giftcard-cta__title {
    font-size: 2.5rem !important;
    font-weight: 800 !important;
    color: #ffffff !important;
    margin: 0 0 1rem 0 !important;
}

.nd-giftcard-cta__subtitle {
    font-size: 1.125rem !important;
    color: rgba(255, 255, 255, 0.8) !important;
    margin: 0 0 2rem 0 !important;
}

.nd-giftcard-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #00AAFF;
    color: #ffffff !important;
    font-size: 1.0625rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.nd-giftcard-cta__btn:hover {
    background: #ffffff;
    color: #132977 !important;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .nd-giftcard-options__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 900px) {
    .nd-giftcard-hero__container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3rem;
    }

    .nd-giftcard-hero__title {
        font-size: 2.5rem !important;
    }

    .nd-giftcard-hero__card {
        width: 280px;
        height: 170px;
    }

    .nd-giftcard-benefits__grid {
        grid-template-columns: 1fr;
    }

    .nd-giftcard-steps__grid {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .nd-giftcard-steps__connector {
        transform: rotate(90deg);
        padding: 0;
    }

    .nd-giftcard-steps__item {
        max-width: 100%;
    }
}

@media (max-width: 600px) {
    .nd-giftcard-hero {
        padding: 4rem 0 3rem;
    }

    .nd-giftcard-hero__title {
        font-size: 2rem !important;
    }

    .nd-giftcard-hero__subtitle {
        font-size: 1rem !important;
    }

    .nd-giftcard-options,
    .nd-giftcard-benefits,
    .nd-giftcard-steps,
    .nd-giftcard-cta {
        padding: 3rem 0;
    }

    .nd-giftcard-options__container,
    .nd-giftcard-benefits__container,
    .nd-giftcard-steps__container,
    .nd-giftcard-cta__container {
        padding: 0 1rem;
    }

    .nd-giftcard-options__title,
    .nd-giftcard-benefits__title,
    .nd-giftcard-steps__title {
        font-size: 1.75rem !important;
    }

    .nd-giftcard-options__grid {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .nd-giftcard-options__card {
        padding: 1.1rem 1rem;
    }

    .nd-giftcard-options__card-icon {
        width: 48px;
        height: 48px;
        margin: 0 auto 0.75rem;
    }

    .nd-giftcard-options__card-value {
        font-size: 1.6rem;
    }

    .nd-giftcard-benefits__card {
        padding: 1.5rem;
    }

    .nd-giftcard-cta__title {
        font-size: 1.75rem !important;
    }
}

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

/* Hero */
.nd-faq-hero {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    padding: 5rem 0 4rem;
    text-align: center;
}

.nd-faq-hero__container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nd-faq-hero__badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #ffffff;
    color: #00AAFF;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.nd-faq-hero__title {
    font-size: 2.75rem !important;
    font-weight: 800 !important;
    color: #132977 !important;
    margin: 0 0 1rem 0 !important;
    line-height: 1.2 !important;
}

.nd-faq-hero__subtitle {
    font-size: 1.125rem !important;
    color: #64748b !important;
    margin: 0 !important;
    line-height: 1.7 !important;
}

/* FAQ Container */
.nd-faq {
    background: #ffffff;
    padding: 4rem 0 5rem;
}

.nd-faq__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 4rem;
}

/* Sidebar */
.nd-faq__sidebar {
    position: sticky;
    top: 100px;
    height: fit-content;
}

.nd-faq__nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.nd-faq__nav-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.875rem 1rem;
    border-radius: 12px;
    color: #475569 !important;
    text-decoration: none !important;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.nd-faq__nav-item:hover {
    background: #f8fafc;
    color: #132977 !important;
}

.nd-faq__nav-item.active {
    background: linear-gradient(135deg, #f0f7ff 0%, #e0f2fe 100%);
    color: #00AAFF !important;
}

.nd-faq__nav-item svg {
    width: 20px;
    height: 20px;
    flex-shrink: 0;
}

/* Help Box */
.nd-faq__help {
    background: linear-gradient(135deg, #132977 0%, #0a1a4a 100%);
    border-radius: 16px;
    padding: 1.5rem;
    color: #ffffff;
}

.nd-faq__help h4 {
    font-size: 1rem !important;
    font-weight: 600 !important;
    color: #ffffff !important;
    margin: 0 0 0.5rem 0 !important;
}

.nd-faq__help p {
    font-size: 0.875rem !important;
    color: rgba(255, 255, 255, 0.7) !important;
    margin: 0 0 1rem 0 !important;
}

.nd-faq__help-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #00AAFF;
    color: #ffffff !important;
    font-size: 0.875rem;
    font-weight: 600;
    padding: 0.625rem 1rem;
    border-radius: 8px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.nd-faq__help-btn:hover {
    background: #ffffff;
    color: #132977 !important;
}

/* FAQ Content */
.nd-faq__content {
    min-width: 0;
}

.nd-faq__category {
    margin-bottom: 3rem;
    scroll-margin-top: 100px;
}

.nd-faq__category:last-child {
    margin-bottom: 0;
}

.nd-faq__category-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.375rem !important;
    font-weight: 700 !important;
    color: #132977 !important;
    margin: 0 0 1.5rem 0 !important;
    padding-bottom: 1rem;
    border-bottom: 2px solid #e2e8f0;
}

.nd-faq__category-title svg {
    width: 24px;
    height: 24px;
    color: #00AAFF;
}

/* FAQ Items */
.nd-faq__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.nd-faq__item {
    border-bottom: 1px solid #e2e8f0;
}

.nd-faq__item:last-child {
    border-bottom: none;
}

.nd-faq__question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    background: none;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.0625rem;
    font-weight: 600;
    color: #1e293b;
    transition: color 0.2s ease;
}

.nd-faq__question:hover {
    color: #00AAFF;
}

.nd-faq__question span {
    flex: 1;
}

.nd-faq__icon {
    flex-shrink: 0;
    color: #94a3b8;
    transition: transform 0.3s ease;
}

.nd-faq__item.active .nd-faq__icon {
    transform: rotate(180deg);
    color: #00AAFF;
}

.nd-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.nd-faq__item.active .nd-faq__answer {
    max-height: 500px;
    padding-bottom: 1.25rem;
}

.nd-faq__answer p {
    font-size: 1rem !important;
    color: #475569 !important;
    margin: 0 !important;
    line-height: 1.7 !important;
}

.nd-faq__answer a {
    color: #00AAFF !important;
    text-decoration: underline !important;
}

.nd-faq__answer a:hover {
    color: #132977 !important;
}

/* CTA Section */
.nd-faq-cta {
    background: linear-gradient(135deg, #f0f7ff 0%, #e8f4ff 100%);
    padding: 4rem 0;
    text-align: center;
}

.nd-faq-cta__container {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nd-faq-cta__title {
    font-size: 2rem !important;
    font-weight: 800 !important;
    color: #132977 !important;
    margin: 0 0 0.75rem 0 !important;
}

.nd-faq-cta__subtitle {
    font-size: 1.0625rem !important;
    color: #64748b !important;
    margin: 0 0 1.5rem 0 !important;
}

.nd-faq-cta__btn {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: #00AAFF;
    color: #ffffff !important;
    font-size: 1rem;
    font-weight: 600;
    padding: 1rem 2rem;
    border-radius: 12px;
    text-decoration: none !important;
    transition: all 0.2s ease;
}

.nd-faq-cta__btn:hover {
    background: #132977;
    transform: translateY(-2px);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .nd-faq__container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .nd-faq__sidebar {
        position: static;
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
    }

    .nd-faq__nav {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-bottom: 0;
    }

    .nd-faq__nav-item {
        padding: 0.625rem 1rem;
        font-size: 0.875rem;
    }

    .nd-faq__nav-item span {
        display: none;
    }

    .nd-faq__help {
        order: 1;
    }
}

@media (max-width: 600px) {
    .nd-faq-hero {
        padding: 3rem 0 2rem;
    }

    .nd-faq-hero__container {
        padding: 0 1rem;
    }

    .nd-faq-hero__title {
        font-size: 2rem !important;
    }

    .nd-faq-hero__subtitle {
        font-size: 1rem !important;
    }

    .nd-faq {
        padding: 2rem 0 3rem;
    }

    .nd-faq__container {
        padding: 0 1rem;
    }

    .nd-faq__category-title {
        font-size: 1.125rem !important;
    }

    .nd-faq__question {
        font-size: 1rem;
        padding: 1rem 0;
    }

    .nd-faq-cta {
        padding: 3rem 0;
    }

    .nd-faq-cta__container {
        padding: 0 1rem;
    }

    .nd-faq-cta__title {
        font-size: 1.5rem !important;
    }
}