@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  --color-primary: #1a1a2e;
  --color-secondary: #f5f0e8;
  --color-accent: #e63946;
  --color-accent-dark: #c1121f;
  --color-highlight: #ffd60a;
  --color-highlight-dark: #e6c000;
  --color-border: #1a1a2e;
  --color-text: #1a1a2e;
  --color-text-muted: #4a4a5a;
  --color-text-light: #fafaf7;
  --color-surface: #fafaf7;
  --color-surface-warm: #f0ebe0;
  --color-dark-surface: #12121f;
  --shadow-hard-sm: 3px 3px 0px #1a1a2e;
  --shadow-hard: 4px 4px 0px #1a1a2e;
  --shadow-hard-lg: 6px 6px 0px #1a1a2e;
  --shadow-hard-xl: 8px 8px 0px #1a1a2e;
  --shadow-hard-accent: 4px 4px 0px #e63946;
  --shadow-hard-accent-lg: 6px 6px 0px #e63946;
  --shadow-hard-highlight: 4px 4px 0px #e6c000;
  --border-std: 2px solid #1a1a2e;
  --border-thick: 3px solid #1a1a2e;
  --border-accent: 2px solid #e63946;
  --border-light: 2px solid rgba(250,250,247,0.3);
  --radius-xs: 2px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 999px;
  --space-xs: 0.5rem;
  --space-sm: 1rem;
  --space-md: 2rem;
  --space-lg: 4rem;
  --space-xl: 6rem;
  --nav-height: 64px;
  --sidebar-width: 260px;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Plus Jakarta Sans', sans-serif;
  background-color: var(--color-surface);
  color: var(--color-text);
  overflow-x: hidden;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

ul, ol {
  list-style: none;
}

.pace {
  .pace-progress {
    background: var(--color-accent);
    height: 3px;
  }
}

.main-navigation-wrapper {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--color-secondary);
  border-bottom: var(--border-thick);
  transition: box-shadow 0.1s linear;

  .main-navigation-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: var(--nav-height);
    max-width: 1400px;
    margin: 0 auto;
  }

  .navigation-logo-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--color-text);
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: -0.02em;
    transition: opacity 0.2s ease;

    &:hover {
      opacity: 0.75;
    }
  }

  .navigation-tabs-desktop {
    display: flex;
    align-items: center;
    gap: 0.25rem;
  }

  .navigation-tab-item {
    display: inline-flex;
    align-items: center;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--color-text);
    text-decoration: none;
    border: 2px solid transparent;
    transition: all 0.2s ease;

    &:hover {
      background: var(--color-primary);
      color: var(--color-secondary);
      border-color: var(--color-primary);
    }

    &.navigation-tab-active {
      background: var(--color-primary);
      color: var(--color-secondary);
      border-color: var(--color-primary);
    }

    &.navigation-tab-cta {
      background: var(--color-accent);
      color: white;
      border-color: var(--color-accent);
      box-shadow: var(--shadow-hard-sm);

      &:hover {
        background: var(--color-accent-dark);
        border-color: var(--color-accent-dark);
        transform: translate(-2px, -2px);
        box-shadow: var(--shadow-hard);
      }

      &.navigation-tab-active {
        background: var(--color-accent-dark);
      }
    }
  }

  .navigation-hamburger-button {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 0.5rem;
    background: none;
    border: var(--border-std);
    border-radius: var(--radius-sm);
    cursor: pointer;
    min-width: 44px;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;

    span {
      display: block;
      width: 22px;
      height: 2px;
      background: var(--color-text);
      transition: all 0.2s ease;
    }

    &:hover {
      background: var(--color-primary);
      border-color: var(--color-primary);

      span {
        background: var(--color-secondary);
      }
    }
  }
}

.mobile-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 46, 0.6);
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;

  &.mobile-menu-overlay-active {
    opacity: 1;
    pointer-events: all;
  }
}

.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: 0;
  width: min(85vw, 360px);
  height: 100vh;
  background: var(--color-secondary);
  border-left: var(--border-thick);
  z-index: 1200;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  padding: 2rem 1.5rem;

  &.mobile-menu-panel-open {
    transform: translateX(0);
  }

  .mobile-menu-close-button {
    align-self: flex-end;
    background: var(--color-primary);
    color: var(--color-secondary);
    border: none;
    padding: 0.75rem 1rem;
    font-size: 1rem;
    cursor: pointer;
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-weight: 700;
    min-height: 44px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;

    &:hover {
      background: var(--color-accent);
    }
  }

  .mobile-menu-navigation {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    margin-top: 2rem;
    flex: 1;

    .mobile-menu-nav-link {
      display: block;
      padding: 1rem 1.25rem;
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--color-text);
      border: var(--border-std);
      border-radius: var(--radius-sm);
      transition: all 0.2s ease;
      min-height: 44px;

      &:hover {
        background: var(--color-primary);
        color: var(--color-secondary);
        border-color: var(--color-primary);
        transform: translate(-2px, -2px);
        box-shadow: var(--shadow-hard);
      }

      &.mobile-menu-nav-cta {
        background: var(--color-accent);
        color: white;
        border-color: var(--color-accent);
        box-shadow: var(--shadow-hard-accent);

        &:hover {
          background: var(--color-accent-dark);
          border-color: var(--color-accent-dark);
        }
      }
    }
  }

  .mobile-menu-footer-info {
    border-top: var(--border-std);
    padding-top: 1.5rem;
    font-size: 0.85rem;
    color: var(--color-text-muted);
    line-height: 1.8;
  }
}

.homepage-hero-section {
  padding-top: var(--nav-height);
  background: var(--color-secondary);
  border-bottom: var(--border-thick);

  .homepage-hero-inner {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 2rem 3rem;
  }

  .homepage-hero-content {
    .homepage-hero-tag {
      display: inline-block;
      background: var(--color-accent);
      color: white;
      padding: 0.4rem 1rem;
      font-size: 0.8rem;
      font-weight: 800;
      letter-spacing: 0.08em;
      text-transform: uppercase;
      border-radius: var(--radius-pill);
      margin-bottom: 1.5rem;
      border: 2px solid var(--color-accent-dark);
    }

    .homepage-hero-heading {
      font-size: clamp(2.2rem, 4vw, 3.5rem);
      font-weight: 800;
      line-height: 1.15;
      letter-spacing: -0.03em;
      color: var(--color-text);
      margin-bottom: 1.5rem;

      .homepage-hero-heading-accent {
        color: var(--color-accent);
        display: block;
      }
    }

    .homepage-hero-description {
      font-size: 1.1rem;
      line-height: 1.7;
      color: var(--color-text-muted);
      margin-bottom: 2.5rem;
      max-width: 520px;
    }

    .homepage-hero-actions {
      display: flex;
      gap: 1rem;
      flex-wrap: wrap;
      align-items: center;
    }

    .homepage-hero-primary-cta {
      display: inline-flex;
      align-items: center;
      padding: 0.875rem 1.75rem;
      background: var(--color-primary);
      color: var(--color-secondary);
      font-weight: 800;
      font-size: 0.95rem;
      border: var(--border-thick);
      border-radius: var(--radius-sm);
      box-shadow: var(--shadow-hard-lg);
      transition: all 0.2s ease;
      min-height: 44px;

      &:hover {
        transform: translate(-3px, -3px);
        box-shadow: var(--shadow-hard-xl);
      }
    }

    .homepage-hero-secondary-cta {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.875rem 1.5rem;
      background: transparent;
      color: var(--color-text);
      font-weight: 700;
      font-size: 0.95rem;
      border: var(--border-std);
      border-radius: var(--radius-sm);
      transition: all 0.2s ease;
      min-height: 44px;

      &:hover {
        background: var(--color-primary);
        color: var(--color-secondary);
        transform: translate(-2px, -2px);
        box-shadow: var(--shadow-hard);
      }
    }
  }

  .homepage-hero-image-block {
    position: relative;

    .homepage-hero-image {
      width: 100%;
      aspect-ratio: 4/3;
      object-fit: cover;
      border: var(--border-thick);
      border-radius: var(--radius-md);
      box-shadow: var(--shadow-hard-xl);
    }

    .homepage-hero-image-badge {
      position: absolute;
      bottom: -1.5rem;
      left: -1.5rem;
      background: var(--color-highlight);
      border: var(--border-thick);
      border-radius: var(--radius-sm);
      padding: 0.75rem 1rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
      font-weight: 800;
      font-size: 0.85rem;
      box-shadow: var(--shadow-hard);

      i {
        font-size: 1rem;
      }
    }
  }

  .homepage-hero-feature-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    border-top: var(--border-thick);
    max-width: 1400px;
    margin: 5rem auto 0;

    .homepage-hero-feature-card {
      padding: 2rem;
      border-right: var(--border-thick);
      transition: background 0.2s ease;

      &:last-child {
        border-right: none;
      }

      &:hover {
        background: var(--color-surface-warm);
      }

      .homepage-feature-card-icon {
        width: 48px;
        height: 48px;
        background: var(--color-primary);
        color: var(--color-secondary);
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 1.2rem;
        margin-bottom: 1rem;
        border: var(--border-std);
        box-shadow: var(--shadow-hard-sm);

        &.homepage-feature-card-icon-accent {
          background: var(--color-accent);
          border-color: var(--color-accent-dark);
          box-shadow: var(--shadow-hard-accent);
        }

        &.homepage-feature-card-icon-highlight {
          background: var(--color-highlight);
          color: var(--color-primary);
          border-color: var(--color-highlight-dark);
          box-shadow: var(--shadow-hard-highlight);
        }
      }

      .homepage-feature-card-title {
        font-size: 1.1rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
        letter-spacing: -0.02em;
      }

      .homepage-feature-card-text {
        font-size: 0.9rem;
        color: var(--color-text-muted);
        line-height: 1.6;
      }
    }
  }
}

.homepage-layout-wrapper {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  align-items: start;
}

.homepage-sidebar-persistent {
  position: sticky;
  top: calc(var(--nav-height) + 2rem);
  height: fit-content;
  padding: 2rem 1.5rem;
  border-right: var(--border-thick);
  min-height: calc(100vh - var(--nav-height));

  .sidebar-section-nav {
    margin-bottom: 2rem;

    .sidebar-section-nav-label {
      font-size: 0.7rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.1em;
      color: var(--color-text-muted);
      margin-bottom: 0.75rem;
    }

    .sidebar-section-nav-link {
      display: block;
      padding: 0.5rem 0.75rem;
      font-size: 0.875rem;
      font-weight: 600;
      color: var(--color-text-muted);
      border-left: 3px solid transparent;
      margin-bottom: 0.25rem;
      transition: all 0.2s ease;
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;

      &:hover {
        color: var(--color-accent);
        border-left-color: var(--color-accent);
        background: rgba(230, 57, 70, 0.05);
      }
    }
  }

  .sidebar-contact-block {
    background: var(--color-primary);
    color: var(--color-secondary);
    padding: 1.25rem;
    border: var(--border-std);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-hard);
    margin-bottom: 1.5rem;

    .sidebar-contact-block-label {
      font-size: 0.75rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      opacity: 0.7;
      margin-bottom: 0.75rem;
    }

    .sidebar-contact-block-link {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--color-accent);
      color: white;
      padding: 0.6rem 1rem;
      font-size: 0.875rem;
      font-weight: 700;
      border-radius: var(--radius-sm);
      border: 2px solid var(--color-accent-dark);
      transition: all 0.2s ease;
      margin-bottom: 1rem;
      min-height: 44px;

      &:hover {
        background: var(--color-accent-dark);
        transform: translate(-2px, -2px);
        box-shadow: var(--shadow-hard-accent);
      }
    }

    .sidebar-contact-phone {
      font-size: 0.8rem;
      opacity: 0.8;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }
  }

  .sidebar-image-block {
    .sidebar-image {
      width: 100%;
      aspect-ratio: 4/3;
      object-fit: cover;
      border: var(--border-std);
      border-radius: var(--radius-sm);
      box-shadow: var(--shadow-hard);
    }
  }
}

.homepage-main-content {
  min-width: 0;
}

.homepage-section-perche {
  padding: 5rem 3rem;
  border-bottom: var(--border-thick);

  .homepage-section-perche-inner {
    max-width: 900px;
  }

  .homepage-section-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    margin-bottom: 1rem;
  }

  .homepage-section-heading {
    font-size: clamp(1.8rem, 3vw, 2.8rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 3rem;
  }

  .homepage-perche-content-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 3rem;
    align-items: start;
  }

  .homepage-perche-text-col {
    p {
      margin-bottom: 1.25rem;
      line-height: 1.7;
      color: var(--color-text-muted);

      &:last-child { margin-bottom: 0; }

      &.homepage-perche-lead {
        font-size: 1.15rem;
        font-weight: 600;
        color: var(--color-text);
      }
    }
  }

  .homepage-perche-callout-col {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;

    .homepage-perche-callout-card {
      background: var(--color-highlight);
      border: var(--border-thick);
      border-radius: var(--radius-sm);
      padding: 1.5rem;
      box-shadow: var(--shadow-hard-highlight);

      .homepage-perche-callout-icon {
        font-size: 1.5rem;
        margin-bottom: 1rem;
      }

      .homepage-perche-callout-text {
        font-size: 0.9rem;
        line-height: 1.7;
        margin-bottom: 1rem;
        color: var(--color-text);
      }

      .homepage-perche-callout-link {
        display: inline-flex;
        align-items: center;
        gap: 0.4rem;
        font-size: 0.875rem;
        font-weight: 800;
        color: var(--color-text);
        border-bottom: 2px solid var(--color-text);
        padding-bottom: 2px;
        transition: all 0.2s ease;

        &:hover {
          gap: 0.75rem;
        }
      }
    }

    .homepage-perche-image-wrapper {
      .homepage-perche-image {
        width: 100%;
        aspect-ratio: 16/10;
        object-fit: cover;
        border: var(--border-thick);
        border-radius: var(--radius-sm);
        box-shadow: var(--shadow-hard);
      }
    }
  }
}

.homepage-section-label {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  margin-bottom: 1rem;
}

.homepage-section-label-light {
  color: rgba(255, 255, 255, 0.7);
}

.homepage-section-heading {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
  margin-bottom: 2.5rem;
}

.homepage-section-heading-light {
  color: white;
}

.homepage-section-moduli {
  padding: 5rem 3rem;
  background: var(--color-primary);
  border-bottom: var(--border-thick);

  .homepage-moduli-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 3rem;
  }

  .homepage-modulo-card {
    background: rgba(255,255,255,0.05);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    padding: 2rem;
    transition: all 0.2s ease;

    &:hover {
      background: rgba(255,255,255,0.1);
      border-color: rgba(255,255,255,0.3);
      transform: translate(-3px, -3px);
      box-shadow: 3px 3px 0px rgba(255,255,255,0.2);
    }

    &.homepage-modulo-card-highlighted {
      background: var(--color-accent);
      border-color: var(--color-accent-dark);
      box-shadow: var(--shadow-hard-accent);

      .homepage-modulo-card-number {
        color: rgba(255,255,255,0.5);
      }

      .homepage-modulo-card-title, .homepage-modulo-card-text {
        color: white;
      }

      .homepage-modulo-card-tags span {
        background: rgba(255,255,255,0.2);
        color: white;
        border-color: rgba(255,255,255,0.3);
      }
    }

    .homepage-modulo-card-number {
      font-size: 0.7rem;
      font-weight: 800;
      letter-spacing: 0.1em;
      text-transform: uppercase;
      color: rgba(255,255,255,0.4);
      margin-bottom: 0.75rem;
    }

    .homepage-modulo-card-title {
      font-size: 1.1rem;
      font-weight: 800;
      color: white;
      margin-bottom: 0.75rem;
      letter-spacing: -0.02em;
    }

    .homepage-modulo-card-text {
      font-size: 0.9rem;
      color: rgba(255,255,255,0.7);
      line-height: 1.6;
      margin-bottom: 1.25rem;
    }

    .homepage-modulo-card-tags {
      display: flex;
      flex-wrap: wrap;
      gap: 0.5rem;

      span {
        font-size: 0.75rem;
        font-weight: 700;
        padding: 0.25rem 0.75rem;
        background: rgba(255,255,255,0.1);
        color: rgba(255,255,255,0.8);
        border: 1px solid rgba(255,255,255,0.2);
        border-radius: var(--radius-pill);
      }
    }
  }

  .homepage-moduli-cta-wrapper {
    text-align: center;

    .homepage-moduli-cta {
      display: inline-flex;
      align-items: center;
      padding: 1rem 2rem;
      background: var(--color-highlight);
      color: var(--color-primary);
      font-weight: 800;
      font-size: 1rem;
      border: var(--border-thick);
      border-color: var(--color-highlight-dark);
      border-radius: var(--radius-sm);
      box-shadow: var(--shadow-hard-highlight);
      transition: all 0.2s ease;
      min-height: 44px;

      &:hover {
        transform: translate(-3px, -3px);
        box-shadow: 7px 7px 0px var(--color-highlight-dark);
      }
    }
  }
}

.homepage-section-perchi {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  border-bottom: var(--border-thick);

  .homepage-perchi-image-side {
    position: relative;
    border-right: var(--border-thick);

    .homepage-perchi-image {
      width: 100%;
      height: 100%;
      min-height: 500px;
      object-fit: cover;
    }

    .homepage-perchi-image-label {
      position: absolute;
      bottom: 1.5rem;
      left: 1.5rem;
      background: var(--color-highlight);
      border: var(--border-thick);
      padding: 0.5rem 1rem;
      font-size: 0.8rem;
      font-weight: 800;
      border-radius: var(--radius-sm);
      box-shadow: var(--shadow-hard);
    }
  }

  .homepage-perchi-content-side {
    padding: 4rem 3rem;

    .homepage-section-heading {
      margin-bottom: 1rem;
    }

    .homepage-perchi-intro {
      font-size: 1.05rem;
      line-height: 1.7;
      color: var(--color-text-muted);
      margin-bottom: 2rem;
      padding-bottom: 2rem;
      border-bottom: var(--border-std);
    }

    .homepage-perchi-profiles {
      display: flex;
      flex-direction: column;
      gap: 1rem;
      margin-bottom: 2.5rem;

      .homepage-perchi-profile-item {
        display: flex;
        gap: 1rem;
        align-items: flex-start;
        padding: 1rem;
        border: var(--border-std);
        border-radius: var(--radius-sm);
        transition: all 0.2s ease;

        &:hover {
          border-color: var(--color-accent);
          background: rgba(230, 57, 70, 0.03);
          transform: translateX(4px);
        }

        .homepage-perchi-profile-icon {
          width: 40px;
          height: 40px;
          background: var(--color-primary);
          color: var(--color-secondary);
          border-radius: var(--radius-sm);
          display: flex;
          align-items: center;
          justify-content: center;
          font-size: 0.9rem;
          flex-shrink: 0;
          border: var(--border-std);
        }

        .homepage-perchi-profile-text {
          font-size: 0.9rem;
          line-height: 1.6;
          color: var(--color-text-muted);

          strong {
            color: var(--color-text);
            display: block;
            margin-bottom: 0.2rem;
          }
        }
      }
    }

    .homepage-perchi-cta {
      display: inline-flex;
      align-items: center;
      padding: 0.875rem 1.75rem;
      background: var(--color-accent);
      color: white;
      font-weight: 800;
      font-size: 0.95rem;
      border: var(--border-std);
      border-color: var(--color-accent-dark);
      border-radius: var(--radius-sm);
      box-shadow: var(--shadow-hard-accent);
      transition: all 0.2s ease;
      min-height: 44px;

      &:hover {
        transform: translate(-2px, -2px);
        box-shadow: var(--shadow-hard-accent-lg);
        background: var(--color-accent-dark);
      }
    }
  }
}

.homepage-section-blog {
  padding: 5rem 3rem;
  background: var(--color-surface-warm);
  border-top: var(--border-thick);

  .homepage-blog-header {
    margin-bottom: 3rem;

    .homepage-blog-header-sub {
      font-size: 1rem;
      color: var(--color-text-muted);
      max-width: 500px;
    }
  }

  .homepage-blog-cards-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr 1fr;
    gap: 1.5rem;
  }

  .homepage-blog-card {
    background: var(--color-surface);
    border: var(--border-thick);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-hard);
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;

    &:hover {
      transform: translate(-3px, -3px);
      box-shadow: var(--shadow-hard-xl);
    }

    &.homepage-blog-card-featured {
      border-color: var(--color-accent);
      box-shadow: var(--shadow-hard-accent);

      &:hover {
        box-shadow: var(--shadow-hard-accent-lg);
      }

      .homepage-blog-card-category {
        background: var(--color-accent);
        color: white;
      }
    }

    .homepage-blog-card-image-wrapper {
      overflow: hidden;
      border-bottom: var(--border-std);

      .homepage-blog-card-image {
        width: 100%;
        aspect-ratio: 16/9;
        object-fit: cover;
        transition: transform 0.4s ease;
      }
    }

    &:hover .homepage-blog-card-image {
      transform: scale(1.04);
    }

    .homepage-blog-card-body {
      padding: 1.5rem;
      display: flex;
      flex-direction: column;
      flex: 1;

      .homepage-blog-card-category {
        display: inline-block;
        font-size: 0.7rem;
        font-weight: 800;
        text-transform: uppercase;
        letter-spacing: 0.1em;
        background: var(--color-primary);
        color: var(--color-secondary);
        padding: 0.25rem 0.75rem;
        border-radius: var(--radius-pill);
        margin-bottom: 0.75rem;
        align-self: flex-start;
      }

      .homepage-blog-card-title {
        font-size: 1rem;
        font-weight: 800;
        line-height: 1.3;
        letter-spacing: -0.02em;
        margin-bottom: 0.75rem;
      }

      .homepage-blog-card-excerpt {
        font-size: 0.875rem;
        color: var(--color-text-muted);
        line-height: 1.6;
        margin-bottom: 1.25rem;
        flex: 1;
      }

      .homepage-blog-card-read-more {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        background: none;
        border: var(--border-std);
        padding: 0.6rem 1rem;
        font-size: 0.85rem;
        font-weight: 700;
        font-family: inherit;
        cursor: pointer;
        border-radius: var(--radius-sm);
        color: var(--color-text);
        transition: all 0.2s ease;
        align-self: flex-start;
        min-height: 44px;

        &:hover {
          background: var(--color-primary);
          color: var(--color-secondary);
          border-color: var(--color-primary);
          gap: 0.75rem;
        }
      }
    }
  }
}

.article-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(26, 26, 46, 0.75);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;

  &.article-modal-overlay-active {
    opacity: 1;
    pointer-events: all;
  }

  .article-modal-container {
    background: var(--color-surface);
    border: var(--border-thick);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-hard-xl);
    max-width: 700px;
    width: 100%;
    max-height: 85vh;
    overflow-y: auto;
    transform: translateY(20px);
    transition: transform 0.3s ease;
  }

  &.article-modal-overlay-active .article-modal-container {
    transform: translateY(0);
  }

  .article-modal-close-button {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--color-primary);
    color: var(--color-secondary);
    border: none;
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: inherit;
    cursor: pointer;
    width: 100%;
    border-bottom: var(--border-thick);
    transition: all 0.2s ease;
    border-radius: var(--radius-md) var(--radius-md) 0 0;
    min-height: 44px;

    &:hover {
      background: var(--color-accent);
    }
  }

  .article-modal-content {
    padding: 2rem 2.5rem;

    h2 {
      font-size: 1.5rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      margin-bottom: 0.5rem;
    }

    .article-modal-meta {
      font-size: 0.8rem;
      color: var(--color-text-muted);
      margin-bottom: 1.5rem;
      padding-bottom: 1.5rem;
      border-bottom: var(--border-std);
    }

    p {
      line-height: 1.75;
      color: var(--color-text-muted);
      margin-bottom: 1.25rem;

      &:last-child { margin-bottom: 0; }
    }

    h3 {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--color-text);
      margin-top: 1.5rem;
      margin-bottom: 0.75rem;
    }
  }
}

.inner-page-layout-wrapper {
  display: grid;
  grid-template-columns: var(--sidebar-width) 1fr;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;
  align-items: start;
}

.inner-page-main-content {
  min-width: 0;
}

.page-hero-banner {
  padding-top: var(--nav-height);
  background: var(--color-primary);
  min-height: 320px;
  display: flex;
  align-items: center;
  border-bottom: var(--border-thick);

  &.page-hero-banner-accent {
    background: var(--color-accent);
  }

  &.page-hero-banner-highlight {
    background: var(--color-highlight);
  }

  .page-hero-banner-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 4rem 2rem 4rem calc(var(--sidebar-width) + 3rem);
    width: 100%;
  }

  .page-hero-banner-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: rgba(255,255,255,0.6);
    margin-bottom: 1rem;

    &.page-hero-banner-label-dark {
      color: rgba(26,26,46,0.6);
    }
  }

  .page-hero-banner-heading {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    color: white;
    line-height: 1.15;
    margin-bottom: 1rem;

    &.page-hero-banner-heading-dark {
      color: var(--color-primary);
    }
  }

  .page-hero-banner-sub {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.75);
    max-width: 580px;

    &.page-hero-banner-sub-dark {
      color: rgba(26,26,46,0.7);
    }
  }
}

.inner-content-section {
  padding: 4rem 3rem;
  border-bottom: var(--border-thick);

  &.inner-content-section-dark {
    background: var(--color-primary);
    color: var(--color-text-light);
  }

  &.inner-content-section-accent {
    background: var(--color-surface-warm);
  }

  &.inner-content-section-highlight {
    background: var(--color-highlight);
  }

  &.inner-content-section-striped {
    background: repeating-linear-gradient(
      -45deg,
      var(--color-surface) 0px,
      var(--color-surface) 10px,
      var(--color-surface-warm) 10px,
      var(--color-surface-warm) 20px
    );
  }

  .inner-content-section-label {
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--color-accent);
    margin-bottom: 0.75rem;
  }

  .inner-content-section-heading {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.2;
    margin-bottom: 2rem;

    &.inner-heading-light {
      color: white;
    }
  }

  .inner-content-lead-paragraph {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    margin-bottom: 2.5rem;
    max-width: 700px;
  }

  .inner-content-lead-paragraph-light {
    font-size: 1.1rem;
    line-height: 1.7;
    color: rgba(255,255,255,0.8);
    margin-bottom: 2rem;
  }
}

.inner-content-two-col {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: start;

  .inner-content-col-text {
    p {
      line-height: 1.75;
      color: var(--color-text-muted);
      margin-bottom: 1.25rem;

      &:last-child { margin-bottom: 0; }
    }
  }

  .inner-content-col-image {
    .inner-content-image {
      width: 100%;
      aspect-ratio: 4/3;
      object-fit: cover;
      border: var(--border-thick);
      border-radius: var(--radius-sm);
      box-shadow: var(--shadow-hard-lg);
    }
  }
}

.inner-observation-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;

  .inner-observation-card {
    background: rgba(255,255,255,0.07);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    padding: 1.75rem;
    transition: all 0.2s ease;

    &:hover {
      background: rgba(255,255,255,0.12);
      border-color: rgba(255,255,255,0.25);
    }

    .inner-observation-card-icon {
      font-size: 1.5rem;
      color: var(--color-highlight);
      margin-bottom: 1rem;
    }

    h3 {
      font-size: 1rem;
      font-weight: 800;
      color: white;
      margin-bottom: 0.75rem;
      letter-spacing: -0.02em;
    }

    p {
      font-size: 0.9rem;
      color: rgba(255,255,255,0.7);
      line-height: 1.65;
    }
  }
}

.inner-timeline-wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  max-width: 700px;

  .inner-timeline-item {
    display: grid;
    grid-template-columns: 56px 1fr;
    gap: 1.5rem;
    position: relative;

    &:not(:last-child) {
      padding-bottom: 2rem;
    }

    &:not(:last-child)::after {
      content: '';
      position: absolute;
      left: 27px;
      top: 56px;
      bottom: 0;
      width: 2px;
      background: var(--color-primary);
    }

    .inner-timeline-marker {
      width: 56px;
      height: 56px;
      background: var(--color-accent);
      color: white;
      font-size: 0.9rem;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      border: var(--border-thick);
      border-radius: var(--radius-sm);
      flex-shrink: 0;
      box-shadow: var(--shadow-hard-accent);
    }

    .inner-timeline-content {
      padding-top: 0.75rem;

      h3 {
        font-size: 1.05rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
        letter-spacing: -0.02em;
      }

      p {
        font-size: 0.9rem;
        color: var(--color-text-muted);
        line-height: 1.65;
      }
    }
  }
}

.inner-values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;

  .inner-value-item {
    background: white;
    border: var(--border-thick);
    border-radius: var(--radius-sm);
    padding: 1.5rem;
    box-shadow: var(--shadow-hard);
    transition: all 0.2s ease;

    &:hover {
      transform: translate(-3px, -3px);
      box-shadow: var(--shadow-hard-lg);
    }

    .inner-value-icon {
      font-size: 1.5rem;
      color: var(--color-accent);
      margin-bottom: 1rem;
    }

    h3 {
      font-size: 1rem;
      font-weight: 800;
      margin-bottom: 0.5rem;
      letter-spacing: -0.01em;
    }

    p {
      font-size: 0.875rem;
      color: var(--color-text-muted);
      line-height: 1.6;
    }
  }
}

.inner-cta-block {
  margin-top: 2.5rem;

  .inner-cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    background: var(--color-accent);
    color: white;
    font-weight: 800;
    font-size: 0.95rem;
    border: var(--border-thick);
    border-color: var(--color-accent-dark);
    border-radius: var(--radius-sm);
    box-shadow: var(--shadow-hard-accent);
    transition: all 0.2s ease;
    min-height: 44px;

    &:hover {
      transform: translate(-3px, -3px);
      box-shadow: var(--shadow-hard-accent-lg);
      background: var(--color-accent-dark);
    }

    &.inner-cta-button-light {
      background: var(--color-highlight);
      color: var(--color-primary);
      border-color: var(--color-highlight-dark);
      box-shadow: var(--shadow-hard-highlight);

      &:hover {
        box-shadow: 7px 7px 0px var(--color-highlight-dark);
        background: var(--color-highlight-dark);
      }
    }
  }
}

.competenze-cards-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;

  .competenza-card {
    border: var(--border-thick);
    border-radius: var(--radius-sm);
    padding: 2rem;
    background: var(--color-surface);
    box-shadow: var(--shadow-hard);
    transition: all 0.2s ease;

    &:hover {
      transform: translate(-3px, -3px);
      box-shadow: var(--shadow-hard-lg);
    }

    &.competenza-card-primary {
      background: var(--color-primary);
      color: white;
      box-shadow: var(--shadow-hard-lg);
      grid-column: 1 / -1;

      .competenza-card-icon {
        color: var(--color-highlight);
      }

      .competenza-card-text {
        color: rgba(255,255,255,0.75);
      }
    }

    .competenza-card-icon {
      font-size: 1.5rem;
      color: var(--color-accent);
      margin-bottom: 1rem;
    }

    .competenza-card-title {
      font-size: 1.1rem;
      font-weight: 800;
      margin-bottom: 0.75rem;
      letter-spacing: -0.02em;
    }

    .competenza-card-text {
      font-size: 0.9rem;
      color: var(--color-text-muted);
      line-height: 1.65;
    }
  }
}

.toolkit-items-list {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: var(--border-thick);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-hard-lg);

  .toolkit-item {
    display: flex;
    gap: 0;
    border-bottom: var(--border-std);
    background: var(--color-surface);
    transition: background 0.2s ease;

    &:last-child {
      border-bottom: none;
    }

    &:hover {
      background: var(--color-surface-warm);
    }

    .toolkit-item-number {
      width: 60px;
      flex-shrink: 0;
      background: var(--color-primary);
      color: var(--color-highlight);
      font-size: 1.1rem;
      font-weight: 800;
      display: flex;
      align-items: center;
      justify-content: center;
      border-right: var(--border-std);
    }

    .toolkit-item-content {
      padding: 1.5rem;

      .toolkit-item-title {
        font-size: 1rem;
        font-weight: 800;
        margin-bottom: 0.5rem;
        letter-spacing: -0.01em;
      }

      .toolkit-item-desc {
        font-size: 0.875rem;
        color: var(--color-text-muted);
        line-height: 1.65;
      }
    }
  }
}

.moduli-dettaglio-accordion {
  display: flex;
  flex-direction: column;
  gap: 0;
  border: var(--border-thick);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-hard-lg);

  .modulo-accordion-item {
    border-bottom: var(--border-std);

    &:last-child {
      border-bottom: none;
    }

    .modulo-accordion-header {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1.25rem 1.5rem;
      background: var(--color-surface);
      cursor: pointer;
      transition: background 0.2s ease;
      min-height: 60px;

      &:hover {
        background: var(--color-surface-warm);
      }

      .modulo-accordion-number {
        font-size: 0.7rem;
        font-weight: 800;
        letter-spacing: 0.1em;
        text-transform: uppercase;
        color: var(--color-accent);
        flex-shrink: 0;
      }

      .modulo-accordion-title {
        font-size: 0.95rem;
        font-weight: 700;
        flex: 1;
        letter-spacing: -0.01em;
      }

      .modulo-accordion-toggle {
        flex-shrink: 0;
        color: var(--color-text-muted);
        transition: transform 0.3s ease;
      }
    }

    &.modulo-accordion-item-open .modulo-accordion-header {
      background: var(--color-primary);
      color: white;

      .modulo-accordion-number {
        color: var(--color-highlight);
      }

      .modulo-accordion-toggle {
        color: white;
        transform: rotate(180deg);
      }
    }

    .modulo-accordion-body {
      display: none;
      padding: 1.5rem;
      background: var(--color-surface-warm);
      border-top: var(--border-std);

      p {
        font-size: 0.9rem;
        color: var(--color-text-muted);
        line-height: 1.7;
        margin-bottom: 1rem;

        &:last-child { margin-bottom: 0; }
      }

      .modulo-tags-row {
        display: flex;
        flex-wrap: wrap;
        gap: 0.5rem;
        margin-top: 1rem;

        span {
          font-size: 0.75rem;
          font-weight: 700;
          padding: 0.25rem 0.75rem;
          background: var(--color-primary);
          color: var(--color-secondary);
          border-radius: var(--radius-pill);
        }
      }
    }

    &.modulo-accordion-item-open .modulo-accordion-body {
      display: block;
    }
  }
}

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

  .formato-card {
    background: rgba(255,255,255,0.08);
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: var(--radius-sm);
    padding: 1.75rem;
    transition: all 0.2s ease;

    &:hover {
      background: rgba(255,255,255,0.14);
      border-color: rgba(255,255,255,0.25);
    }

    .formato-card-icon {
      font-size: 1.5rem;
      color: var(--color-highlight);
      margin-bottom: 1rem;
    }

    h3 {
      font-size: 1rem;
      font-weight: 800;
      color: white;
      margin-bottom: 0.75rem;
    }

    p {
      font-size: 0.875rem;
      color: rgba(255,255,255,0.7);
      line-height: 1.65;
    }
  }
}

.principi-large-cards {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;

  .principio-large-card {
    display: grid;
    grid-template-columns: 8px 1fr;
    border: var(--border-thick);
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: var(--color-surface);
    box-shadow: var(--shadow-hard);
    transition: all 0.2s ease;

    &:hover {
      transform: translate(-3px, -3px);
      box-shadow: var(--shadow-hard-lg);
    }

    .principio-large-card-accent-bar {
      background: var(--color-accent);

      &.principio-large-card-accent-bar-yellow {
        background: var(--color-highlight);
      }

      &.principio-large-card-accent-bar-dark {
        background: var(--color-primary);
      }
    }

    .principio-large-card-content {
      padding: 2rem;

      .principio-large-card-icon {
        font-size: 1.5rem;
        color: var(--color-accent);
        margin-bottom: 1rem;
      }

      h3 {
        font-size: 1.15rem;
        font-weight: 800;
        margin-bottom: 0.75rem;
        letter-spacing: -0.02em;
      }

      p {
        font-size: 0.9rem;
        color: var(--color-text-muted);
        line-height: 1.7;
      }
    }
  }
}

.processo-steps-wrapper {
  display: flex;
  flex-direction: column;
  max-width: 750px;

  .processo-step {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 1.5rem;
    position: relative;

    &:not(:last-child) {
      padding-bottom: 2.5rem;
    }

    .processo-step-left {
      display: flex;
      flex-direction: column;
      align-items: center;

      .processo-step-number {
        width: 60px;
        height: 60px;
        background: var(--color-highlight);
        color: var(--color-primary);
        font-size: 1.2rem;
        font-weight: 800;
        display: flex;
        align-items: center;
        justify-content: center;
        border: var(--border-thick);
        border-radius: var(--radius-sm);
        flex-shrink: 0;
        box-shadow: var(--shadow-hard-highlight);
      }

      .processo-step-line {
        width: 3px;
        flex: 1;
        background: var(--color-border);
        margin-top: 0.5rem;
      }
    }

    .processo-step-right {
      padding-top: 0.75rem;

      .processo-step-title {
        font-size: 1.1rem;
        font-weight: 800;
        margin-bottom: 0.75rem;
        letter-spacing: -0.02em;
      }

      .processo-step-desc {
        font-size: 0.9rem;
        color: var(--color-text-muted);
        line-height: 1.7;
        margin-bottom: 0.75rem;

        &:last-child { margin-bottom: 0; }
      }
    }
  }
}

.differenze-comparison-wrapper {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;

  .differenze-col {
    border: var(--border-thick);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-hard);

    .differenze-col-title {
      font-size: 0.9rem;
      font-weight: 800;
      padding: 1rem 1.5rem;
      border-bottom: var(--border-std);
    }

    .differenze-list {
      list-style: disc;
      padding: 1.5rem 1.5rem 1.5rem 2.5rem;
      display: flex;
      flex-direction: column;
      gap: 0.75rem;

      li {
        font-size: 0.9rem;
        color: var(--color-text-muted);
        line-height: 1.5;
      }
    }

    &.differenze-col-other {
      .differenze-col-title {
        background: var(--color-surface-warm);
      }
    }

    &.differenze-col-ours {
      border-color: var(--color-accent);
      box-shadow: var(--shadow-hard-accent);

      .differenze-col-title {
        background: var(--color-accent);
        color: white;
      }

      .differenze-list li {
        color: var(--color-text);
        font-weight: 500;
      }
    }
  }
}

.applicazione-content-wrapper {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 1rem;

  .applicazione-body-text {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.75);
    line-height: 1.7;
    margin-bottom: 1rem;

    &:last-child { margin-bottom: 0; }
  }

  .applicazione-image-col {
    .applicazione-image {
      width: 100%;
      aspect-ratio: 4/3;
      object-fit: cover;
      border: var(--border-thick);
      border-color: rgba(255,255,255,0.3);
      border-radius: var(--radius-sm);
      box-shadow: 6px 6px 0px rgba(255,255,255,0.15);
    }
  }
}

.contact-page-section {
  padding: 4rem 0;
  max-width: 1400px;
  margin: 0 auto;
  width: 100%;

  .contact-page-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    padding: 0 3rem;
    align-items: start;
  }
}

.contact-info-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;

  .contact-info-block {
    border: var(--border-thick);
    border-radius: var(--radius-sm);
    padding: 2rem;
    background: var(--color-surface);
    box-shadow: var(--shadow-hard-lg);

    .contact-info-heading {
      font-size: 1.25rem;
      font-weight: 800;
      margin-bottom: 1.5rem;
      letter-spacing: -0.02em;
      padding-bottom: 1rem;
      border-bottom: var(--border-std);
    }

    .contact-info-detail-item {
      display: flex;
      gap: 1rem;
      align-items: flex-start;
      margin-bottom: 1.25rem;

      &:last-child { margin-bottom: 0; }

      .contact-info-detail-icon {
        width: 40px;
        height: 40px;
        background: var(--color-primary);
        color: var(--color-secondary);
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: var(--radius-sm);
        flex-shrink: 0;
        font-size: 0.9rem;
        border: var(--border-std);
      }

      strong {
        display: block;
        font-size: 0.8rem;
        text-transform: uppercase;
        letter-spacing: 0.08em;
        color: var(--color-text-muted);
        margin-bottom: 0.25rem;
      }

      p {
        font-size: 0.9rem;
        line-height: 1.5;

        a {
          color: var(--color-accent);
          font-weight: 600;
          transition: all 0.2s ease;

          &:hover {
            color: var(--color-accent-dark);
          }
        }
      }
    }
  }

  .contact-accessibility-block {
    border: var(--border-thick);
    border-radius: var(--radius-sm);
    padding: 2rem;
    background: var(--color-highlight);
    box-shadow: var(--shadow-hard-highlight);

    .contact-accessibility-icon {
      font-size: 1.5rem;
      margin-bottom: 1rem;
    }

    .contact-accessibility-title {
      font-size: 1rem;
      font-weight: 800;
      margin-bottom: 1rem;
      letter-spacing: -0.01em;
    }

    .contact-accessibility-text {
      font-size: 0.875rem;
      line-height: 1.65;
      color: var(--color-text-muted);
      margin-bottom: 0.75rem;

      &:last-child { margin-bottom: 0; }
    }
  }
}

.contact-form-column {
  display: flex;
  flex-direction: column;
  gap: 2rem;

  .contact-form-wrapper {
    border: var(--border-thick);
    border-radius: var(--radius-sm);
    padding: 2.5rem;
    background: var(--color-surface);
    box-shadow: var(--shadow-hard-lg);

    .contact-form-heading {
      font-size: 1.5rem;
      font-weight: 800;
      letter-spacing: -0.02em;
      margin-bottom: 0.5rem;
    }

    .contact-form-subheading {
      font-size: 0.9rem;
      color: var(--color-text-muted);
      margin-bottom: 2rem;
    }
  }

  .contact-form-element {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
  }

  .contact-form-field-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;

    .contact-form-field-label {
      font-size: 0.85rem;
      font-weight: 700;
      letter-spacing: 0.02em;

      .contact-form-required-marker {
        color: var(--color-accent);
      }
    }

    .contact-form-field-input,
    .contact-form-field-textarea {
      padding: 0.75rem 1rem;
      border: var(--border-std);
      border-radius: var(--radius-sm);
      font-family: inherit;
      font-size: 0.95rem;
      background: var(--color-surface);
      color: var(--color-text);
      transition: all 0.2s ease;
      min-height: 44px;

      &:focus {
        outline: none;
        border-color: var(--color-accent);
        box-shadow: var(--shadow-hard-accent);
      }
    }

    .contact-form-field-textarea {
      resize: vertical;
      min-height: 100px;
    }
  }

  .contact-form-bottom-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;

    .contact-form-privacy-check-group {
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;

      .contact-form-privacy-checkbox {
        width: 18px;
        height: 18px;
        flex-shrink: 0;
        margin-top: 2px;
        accent-color: var(--color-accent);
        cursor: pointer;
      }

      .contact-form-privacy-label {
        font-size: 0.8rem;
        color: var(--color-text-muted);
        line-height: 1.5;

        .contact-form-privacy-link {
          color: var(--color-accent);
          font-weight: 600;

          &:hover {
            color: var(--color-accent-dark);
          }
        }
      }
    }

    .contact-form-submit-button {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 0.75rem 1.5rem;
      background: var(--color-primary);
      color: var(--color-secondary);
      font-weight: 800;
      font-size: 0.95rem;
      font-family: inherit;
      border: var(--border-thick);
      border-radius: var(--radius-sm);
      cursor: pointer;
      box-shadow: var(--shadow-hard);
      transition: all 0.2s ease;
      min-height: 44px;
      white-space: nowrap;

      &:hover {
        transform: translate(-2px, -2px);
        box-shadow: var(--shadow-hard-lg);
        background: var(--color-accent);
        border-color: var(--color-accent-dark);
      }
    }
  }

  .contact-map-wrapper {
    border: var(--border-thick);
    border-radius: var(--radius-sm);
    overflow: hidden;
    box-shadow: var(--shadow-hard-lg);

    .contact-map-label {
      background: var(--color-primary);
      color: var(--color-secondary);
      padding: 0.75rem 1.25rem;
      font-size: 0.85rem;
      font-weight: 700;
    }

    .contact-map-iframe {
      display: block;
      width: 100%;
    }
  }
}

.thanks-page-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: calc(var(--nav-height) + 4rem) 2rem 4rem;
  background: var(--color-primary);
  min-height: 80vh;

  .thanks-page-content-wrapper {
    text-align: center;
    max-width: 600px;

    .thanks-page-icon-wrapper {
      margin-bottom: 2rem;

      .thanks-page-icon {
        width: 80px;
        height: 80px;
        background: var(--color-highlight);
        color: var(--color-primary);
        border: var(--border-thick);
        border-radius: var(--radius-sm);
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 2rem;
        margin: 0 auto;
        box-shadow: var(--shadow-hard-highlight);
      }
    }

    .thanks-page-heading {
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 800;
      color: white;
      letter-spacing: -0.03em;
      line-height: 1.2;
      margin-bottom: 1.5rem;
    }

    .thanks-page-body {
      font-size: 1.1rem;
      color: rgba(255,255,255,0.8);
      line-height: 1.7;
      margin-bottom: 1rem;
    }

    .thanks-page-body-secondary {
      font-
size: 0.95rem;
      color: rgba(255,255,255,0.6);
      margin-bottom: 2.5rem;
    }

    .thanks-page-home-button {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      padding: 1rem 2rem;
      background: transparent;
      color: white;
      font-weight: 800;
      font-size: 1rem;
      border: 3px solid white;
      border-radius: var(--radius-sm);
      transition: all 0.2s ease;
      min-height: 44px;

      &:hover {
        background: white;
        color: var(--color-primary);
        transform: translate(-3px, -3px);
        box-shadow: 3px 3px 0px rgba(255,255,255,0.4);
        gap: 0.85rem;
      }
    }
  }
}

.legal-page-wrapper {
  max-width: 860px;
  margin: 0 auto;
  padding: calc(var(--nav-height) + 3rem) 2rem 5rem;

  .legal-page-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: var(--border-thick);

    .legal-page-main-title {
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 800;
      letter-spacing: -0.03em;
      margin-bottom: 0.75rem;
    }

    .legal-page-meta {
      font-size: 0.8rem;
      color: var(--color-text-muted);
      font-weight: 600;
      margin-bottom: 1.5rem;
      text-transform: uppercase;
      letter-spacing: 0.06em;
    }

    .legal-page-intro {
      font-size: 1rem;
      line-height: 1.75;
      color: var(--color-text-muted);
      max-width: 720px;
    }
  }

  .legal-page-body {
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
  }
}

.legal-qa-block {
  border: var(--border-thick);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-hard);

  .legal-qa-question {
    font-size: 1.05rem;
    font-weight: 800;
    padding: 1.25rem 1.5rem;
    background: var(--color-primary);
    color: white;
    letter-spacing: -0.01em;
  }

  .legal-qa-answer {
    padding: 1.5rem;
    background: var(--color-surface);
    display: flex;
    flex-direction: column;
    gap: 1rem;

    p {
      font-size: 0.9rem;
      line-height: 1.75;
      color: var(--color-text-muted);
    }

    a {
      color: var(--color-accent);
      font-weight: 600;
      text-decoration: underline;
      text-decoration-color: transparent;
      transition: all 0.2s ease;

      &:hover {
        text-decoration-color: var(--color-accent);
      }
    }
  }
}

.legal-contact-list {
  list-style: disc;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;

  li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;

    a {
      color: var(--color-accent);
      font-weight: 600;
    }
  }
}

.legal-rights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 0;

  li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
    padding-left: 1rem;
    border-left: 3px solid var(--color-accent);
  }
}

.legal-page-wrapper-terms {
  .legal-page-header-terms {
    border-bottom-color: var(--color-accent);
  }
}

.legal-page-body-terms {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.legal-terms-section {
  border: var(--border-std);
  border-radius: var(--radius-sm);
  overflow: hidden;

  .legal-terms-heading {
    font-size: 1rem;
    font-weight: 800;
    padding: 1rem 1.5rem;
    background: var(--color-surface-warm);
    border-bottom: var(--border-std);
    letter-spacing: -0.01em;
  }

  p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    padding: 0 1.5rem;
    margin-top: 1rem;

    &:last-child {
      padding-bottom: 1.5rem;
    }

    a {
      color: var(--color-accent);
      font-weight: 600;
    }
  }
}

.legal-company-details {
  padding: 1rem 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;

  p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    padding: 0;
    margin: 0;

    strong {
      color: var(--color-text);
    }
  }
}

.legal-terms-list {
  list-style: disc;
  padding: 0 1.5rem 1.5rem 3rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;

  li {
    font-size: 0.9rem;
    color: var(--color-text-muted);
    line-height: 1.6;
  }
}

.legal-page-wrapper-cookies {
  max-width: 920px;
}

.legal-page-body-cookies {
  display: flex;
  flex-direction: column;
  gap: 3rem;
}

.cookie-info-section {
  .cookie-section-heading {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    padding-bottom: 0.75rem;
    border-bottom: var(--border-std);
  }

  p {
    font-size: 0.9rem;
    line-height: 1.75;
    color: var(--color-text-muted);
    margin-bottom: 1rem;

    &:last-child { margin-bottom: 0; }

    a {
      color: var(--color-accent);
      font-weight: 600;
    }

    code {
      background: var(--color-surface-warm);
      padding: 0.15rem 0.4rem;
      border-radius: var(--radius-xs);
      font-size: 0.85em;
      border: 1px solid rgba(26,26,46,0.15);
    }
  }
}

.cookie-category-block {
  margin-top: 1.5rem;
  border: var(--border-thick);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-hard);

  .cookie-category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.5rem;
    background: var(--color-surface-warm);
    border-bottom: var(--border-std);

    .cookie-category-badge {
      font-size: 0.7rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.08em;
      padding: 0.3rem 0.75rem;
      border-radius: var(--radius-pill);

      &.cookie-category-badge-required {
        background: var(--color-primary);
        color: white;
      }

      &.cookie-category-badge-analytics {
        background: var(--color-accent);
        color: white;
      }

      &.cookie-category-badge-prefs {
        background: var(--color-highlight);
        color: var(--color-primary);
      }
    }

    .cookie-category-title {
      font-size: 1rem;
      font-weight: 800;
      letter-spacing: -0.01em;
    }
  }

  p {
    font-size: 0.875rem;
    line-height: 1.7;
    color: var(--color-text-muted);
    padding: 1.25rem 1.5rem 0;

    &.cookie-note {
      font-style: italic;
      padding-bottom: 1.25rem;
    }

    code {
      background: var(--color-surface-warm);
      padding: 0.1rem 0.35rem;
      border-radius: var(--radius-xs);
      font-size: 0.85em;
      border: 1px solid rgba(26,26,46,0.15);
    }
  }
}

.cookie-table-wrapper {
  overflow-x: auto;
  padding: 1rem 1.5rem 1.25rem;
}

.cookie-detail-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;

  th {
    text-align: left;
    padding: 0.6rem 1rem;
    background: var(--color-primary);
    color: white;
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
  }

  td {
    padding: 0.6rem 1rem;
    border-bottom: 1px solid rgba(26,26,46,0.1);
    color: var(--color-text-muted);
    line-height: 1.5;

    code {
      background: var(--color-surface-warm);
      padding: 0.1rem 0.35rem;
      border-radius: var(--radius-xs);
      font-size: 0.9em;
    }
  }

  tr:last-child td {
    border-bottom: none;
  }

  tr:nth-child(even) td {
    background: rgba(26,26,46,0.02);
  }
}

.cookie-browser-list {
  list-style: disc;
  padding-left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  margin-top: 0.75rem;

  li {
    font-size: 0.875rem;
    color: var(--color-text-muted);
    line-height: 1.6;
  }
}

.site-footer-wrapper {
  background: var(--color-primary);
  border-top: var(--border-thick);
  margin-top: auto;

  .site-footer-container {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
  }

  .site-footer-brand-col {
    .site-footer-logo-link {
      display: flex;
      align-items: center;
      gap: 0.75rem;
      text-decoration: none;
      color: white;
      font-weight: 800;
      font-size: 1.1rem;
      margin-bottom: 1rem;
      transition: opacity 0.2s ease;

      &:hover {
        opacity: 0.75;
      }
    }

    .site-footer-brand-desc {
      font-size: 0.875rem;
      color: rgba(255,255,255,0.6);
      line-height: 1.65;
      max-width: 320px;
    }
  }

  .site-footer-nav-col,
  .site-footer-contact-col {
    .site-footer-col-title {
      font-size: 0.7rem;
      font-weight: 800;
      text-transform: uppercase;
      letter-spacing: 0.12em;
      color: rgba(255,255,255,0.5);
      margin-bottom: 1rem;
    }

    .site-footer-nav-link {
      display: block;
      font-size: 0.875rem;
      color: rgba(255,255,255,0.7);
      margin-bottom: 0.5rem;
      transition: all 0.2s ease;
      padding: 0.2rem 0;

      &:hover {
        color: white;
        padding-left: 0.5rem;
      }
    }

    .site-footer-contact-item {
      font-size: 0.875rem;
      color: rgba(255,255,255,0.7);
      margin-bottom: 0.6rem;
      display: flex;
      align-items: flex-start;
      gap: 0.5rem;
      line-height: 1.5;

      i {
        flex-shrink: 0;
        margin-top: 2px;
        color: var(--color-highlight);
      }
    }
  }

  .site-footer-legal-bar {
    border-top: 1px solid rgba(255,255,255,0.1);

    .site-footer-legal-bar-inner {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 1.5rem;
      max-width: 1400px;
      margin: 0 auto;
      padding: 1.25rem 2rem;
      flex-wrap: wrap;
    }

    .site-footer-legal-text {
      font-size: 0.75rem;
      color: rgba(255,255,255,0.4);
      line-height: 1.5;
    }

    .site-footer-legal-links {
      display: flex;
      gap: 1.5rem;
      flex-wrap: wrap;

      .site-footer-legal-link {
        font-size: 0.75rem;
        color: rgba(255,255,255,0.5);
        transition: color 0.2s ease;

        &:hover {
          color: white;
        }
      }
    }
  }
}

.scroll-reveal-element {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;

  &.scroll-reveal-visible {
    opacity: 1;
    transform: translateY(0);
  }
}

.cookie-consent-card {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  background: var(--color-surface);
  border: var(--border-thick);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hard-xl);
  width: min(480px, calc(100vw - 2rem));
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  overflow: hidden;

  &.cookie-consent-card-hidden {
    opacity: 0;
    pointer-events: none;
    transform: translateX(-50%) translateY(20px);
  }

  .cookie-consent-compact-view {
    padding: 1.25rem 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;

    .cookie-consent-compact-text {
      font-size: 0.875rem;
      color: var(--color-text-muted);
      line-height: 1.5;
      flex: 1;
      min-width: 200px;

      strong {
        color: var(--color-text);
        display: block;
        margin-bottom: 0.2rem;
      }

      a {
        color: var(--color-accent);
        font-weight: 600;
        font-size: 0.8rem;
      }
    }

    .cookie-consent-compact-actions {
      display: flex;
      gap: 0.5rem;
      flex-shrink: 0;

      .cookie-consent-accept-button {
        padding: 0.6rem 1.25rem;
        background: var(--color-primary);
        color: white;
        font-size: 0.85rem;
        font-weight: 700;
        font-family: inherit;
        border: var(--border-std);
        border-radius: var(--radius-sm);
        cursor: pointer;
        box-shadow: var(--shadow-hard-sm);
        transition: all 0.2s ease;
        min-height: 44px;

        &:hover {
          background: var(--color-accent);
          border-color: var(--color-accent-dark);
          transform: translate(-2px, -2px);
          box-shadow: var(--shadow-hard);
        }
      }

      .cookie-consent-settings-button {
        padding: 0.6rem 1rem;
        background: transparent;
        color: var(--color-text);
        font-size: 0.85rem;
        font-weight: 700;
        font-family: inherit;
        border: var(--border-std);
        border-radius: var(--radius-sm);
        cursor: pointer;
        transition: all 0.2s ease;
        min-height: 44px;

        &:hover {
          background: var(--color-surface-warm);
        }
      }
    }
  }

  .cookie-consent-expanded-view {
    display: none;
    padding: 1.5rem;

    &.cookie-consent-expanded-visible {
      display: block;
    }

    .cookie-consent-expanded-title {
      font-size: 1rem;
      font-weight: 800;
      margin-bottom: 0.5rem;
      letter-spacing: -0.01em;
    }

    .cookie-consent-expanded-desc {
      font-size: 0.8rem;
      color: var(--color-text-muted);
      line-height: 1.6;
      margin-bottom: 1.25rem;
    }

    .cookie-consent-category-list {
      display: flex;
      flex-direction: column;
      gap: 0.75rem;
      margin-bottom: 1.25rem;

      .cookie-consent-category-item {
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
        gap: 1rem;
        padding: 0.875rem 1rem;
        border: var(--border-std);
        border-radius: var(--radius-sm);
        background: var(--color-surface-warm);

        .cookie-consent-category-info {
          flex: 1;

          .cookie-consent-category-name {
            font-size: 0.875rem;
            font-weight: 700;
            margin-bottom: 0.2rem;
          }

          .cookie-consent-category-desc {
            font-size: 0.775rem;
            color: var(--color-text-muted);
            line-height: 1.5;
          }
        }

        .cookie-consent-toggle {
          flex-shrink: 0;
          position: relative;
          width: 44px;
          height: 24px;

          input[type="checkbox"] {
            opacity: 0;
            width: 0;
            height: 0;
            position: absolute;

            &:checked + .cookie-consent-toggle-slider {
              background: var(--color-primary);

              &::after {
                transform: translateX(20px);
              }
            }

            &:disabled + .cookie-consent-toggle-slider {
              opacity: 0.6;
              cursor: not-allowed;
            }
          }

          .cookie-consent-toggle-slider {
            position: absolute;
            inset: 0;
            background: #ccc;
            border-radius: 24px;
            cursor: pointer;
            transition: background 0.2s ease;
            border: 2px solid var(--color-border);

            &::after {
              content: '';
              position: absolute;
              width: 16px;
              height: 16px;
              background: white;
              border-radius: 50%;
              top: 2px;
              left: 2px;
              transition: transform 0.2s ease;
            }
          }
        }
      }
    }

    .cookie-consent-expanded-actions {
      display: flex;
      gap: 0.75rem;
      justify-content: flex-end;

      .cookie-consent-save-button {
        padding: 0.6rem 1.25rem;
        background: var(--color-primary);
        color: white;
        font-size: 0.85rem;
        font-weight: 700;
        font-family: inherit;
        border: var(--border-std);
        border-radius: var(--radius-sm);
        cursor: pointer;
        box-shadow: var(--shadow-hard-sm);
        transition: all 0.2s ease;
        min-height: 44px;

        &:hover {
          background: var(--color-accent);
          border-color: var(--color-accent-dark);
          transform: translate(-2px, -2px);
          box-shadow: var(--shadow-hard-accent);
        }
      }

      .cookie-consent-reject-button {
        padding: 0.6rem 1rem;
        background: transparent;
        color: var(--color-text-muted);
        font-size: 0.8rem;
        font-weight: 600;
        font-family: inherit;
        border: var(--border-std);
        border-color: rgba(26,26,46,0.3);
        border-radius: var(--radius-sm);
        cursor: pointer;
        transition: all 0.2s ease;
        min-height: 44px;

        &:hover {
          border-color: var(--color-border);
          color: var(--color-text);
        }
      }
    }
  }
}

@media (max-width: 1100px) {
  .navigation-tabs-desktop {
    gap: 0.1rem;

    .navigation-tab-item {
      padding: 0.5rem 0.75rem;
      font-size: 0.82rem;
    }
  }

  .homepage-layout-wrapper,
  .inner-page-layout-wrapper {
    grid-template-columns: 220px 1fr;
    --sidebar-width: 220px;
  }
}

@media (max-width: 900px) {
  .navigation-tabs-desktop {
    display: none;
  }

  .navigation-hamburger-button {
    display: flex !important;
  }

  .homepage-layout-wrapper,
  .inner-page-layout-wrapper {
    grid-template-columns: 1fr;
  }

  .homepage-sidebar-persistent {
    position: static;
    border-right: none;
    border-bottom: var(--border-thick);
    min-height: unset;
    padding: 1.5rem 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    align-items: start;

    .sidebar-section-nav {
      margin-bottom: 0;
    }

    .sidebar-image-block {
      display: none;
    }
  }

  .homepage-hero-section {
    .homepage-hero-inner {
      grid-template-columns: 1fr;
      padding: 3rem 1.5rem 2rem;
      gap: 2rem;
    }

    .homepage-hero-image-block {
      .homepage-hero-image-badge {
        bottom: -1rem;
        left: 1rem;
      }
    }

    .homepage-hero-feature-cards {
      grid-template-columns: 1fr;

      .homepage-hero-feature-card {
        border-right: none;
        border-bottom: var(--border-thick);

        &:last-child {
          border-bottom: none;
        }
      }
    }
  }

  .homepage-section-perche {
    padding: 3rem 1.5rem;

    .homepage-perche-content-grid {
      grid-template-columns: 1fr;
    }
  }

  .homepage-section-moduli {
    padding: 3rem 1.5rem;

    .homepage-moduli-grid {
      grid-template-columns: 1fr;
    }
  }

  .homepage-section-perchi {
    grid-template-columns: 1fr;

    .homepage-perchi-image-side {
      border-right: none;
      border-bottom: var(--border-thick);

      .homepage-perchi-image {
        min-height: 280px;
      }
    }

    .homepage-perchi-content-side {
      padding: 2.5rem 1.5rem;
    }
  }

  .homepage-section-blog {
    padding: 3rem 1.5rem;

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

  .page-hero-banner {
    .page-hero-banner-inner {
      padding: 3rem 1.5rem;
    }
  }

  .inner-content-section {
    padding: 3rem 1.5rem;
  }

  .inner-content-two-col {
    grid-template-columns: 1fr;
  }

  .inner-observation-grid {
    grid-template-columns: 1fr;
  }

  .inner-values-grid {
    grid-template-columns: 1fr;
  }

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

    .competenza-card-primary {
      grid-column: 1;
    }
  }

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

  .principi-large-cards {
    .principio-large-card {
      grid-template-columns: 6px 1fr;
    }
  }

  .differenze-comparison-wrapper {
    grid-template-columns: 1fr;
  }

  .applicazione-content-wrapper {
    grid-template-columns: 1fr;
  }

  .contact-page-section {
    .contact-page-container {
      grid-template-columns: 1fr;
      padding: 0 1.5rem;
    }
  }

  .site-footer-wrapper {
    .site-footer-container {
      grid-template-columns: 1fr;
      gap: 2rem;
      padding: 2.5rem 1.5rem;
    }

    .site-footer-legal-bar {
      .site-footer-legal-bar-inner {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem 1.5rem;
      }
    }
  }

  .processo-steps-wrapper {
    .processo-step {
      grid-template-columns: 48px 1fr;
      gap: 1rem;

      .processo-step-left .processo-step-number {
        width: 48px;
        height: 48px;
        font-size: 1rem;
      }
    }
  }
}

@media (max-width: 600px) {
  :root {
    --sidebar-width: 0px;
  }

  .homepage-sidebar-persistent {
    grid-template-columns: 1fr;
    padding: 1.25rem 1rem;
  }

  .homepage-section-perche,
  .homepage-section-moduli,
  .homepage-section-blog,
  .inner-content-section {
    padding: 2.5rem 1rem;
  }

  .homepage-section-perchi {
    .homepage-perchi-content-side {
      padding: 2rem 1rem;
    }
  }

  .contact-page-section {
    padding: 2rem 0;

    .contact-page-container {
      padding: 0 1rem;
    }
  }

  .contact-form-column .contact-form-wrapper {
    padding: 1.5rem 1rem;
  }

  .contact-form-bottom-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .main-navigation-container {
    padding: 0 1rem;
  }

  .site-footer-wrapper {
    .site-footer-container {
      padding: 2rem 1rem;
    }

    .site-footer-legal-bar .site-footer-legal-bar-inner {
      padding: 1rem;
    }
  }

  .legal-page-wrapper {
    padding: calc(var(--nav-height) + 2rem) 1rem 3rem;
  }

  .article-modal-overlay {
    padding: 1rem;
  }

  .cookie-consent-card {
    bottom: 1rem;
    width: calc(100vw - 1.5rem);
  }

  .homepage-hero-section {
    .homepage-hero-inner {
      padding: 2.5rem 1rem 2rem;
    }

    .homepage-hero-feature-cards {
      .homepage-hero-feature-card {
        padding: 1.5rem 1rem;
      }
    }
  }

  .inner-timeline-wrapper .inner-timeline-item {
    grid-template-columns: 44px 1fr;
    gap: 1rem;

    .inner-timeline-marker {
      width: 44px;
      height: 44px;
      font-size: 0.8rem;
    }
  }
}