@font-face {
  font-family: 'Montserrat';
  src: url('assets/fonts/Montserrat-VariableFont_wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Inter';
  src: url('assets/fonts/Inter-VariableFont_opsz,wght.ttf') format('truetype');
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #eeeeee;
  --surface: #ffffff;
  --surface-2: #f0f0f0;
  --text: #142114;
  --muted: #333333;
  --brand: #fca25a;
  --brand-2: #282828;
  --accent: #fca25a;
  --accent-2: #ffc27d;
  --line: #bfbfbf;
  --footer-primary: #282828;
  --footer-secondary: #222222;
  --shadow: 0 16px 48px rgba(12, 47, 26, 0.12);
  --radius-lg: 6px;
  --radius-md: 4px;
  --radius-sm: 2px;
  --max: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', sans-serif;
  color: var(--text);
  background: var(--bg);
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(var(--max), 92vw);
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(10px);
  background: rgba(250, 246, 250, 0.92);
  border-bottom: 1px solid var(--line);
}

.top-strip {
  border-bottom: 1px solid var(--line);
  font-size: 0.82rem;
  color: var(--muted);
}

.top-strip .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 36px;
  gap: 16px;
}

.top-links {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.nav-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  gap: 18px;
}

.brand {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-dot {
  width: 12px;
  height: 12px;
  background: linear-gradient(120deg, var(--brand), var(--accent));
  border-radius: 999px;
  box-shadow: 0 0 0 5px rgba(12, 92, 78, 0.12);
}

.brand-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 2px;
}

.brand-text {
  display: inline-block;
}

.main-nav {
  display: flex;
  gap: 6px;
  align-items: center;
}

.main-nav a {
  padding: 9px 14px;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text);
  position: relative;
  transition: color 0.2s ease;
}

.main-nav a::after {
  content: '';
  position: absolute;
  left: 14px;
  right: 14px;
  bottom: 4px;
  height: 2px;
  background: var(--brand);
  border-radius: 2px;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.main-nav a:hover,
.main-nav a.active {
  color: var(--brand);
}

.main-nav a:hover::after,
.main-nav a.active::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  border: 0;
  background: #e5f4d4;
  color: #204229;
  border-radius: 4px;
  padding: 8px 10px;
  font-weight: 800;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 4px;
  border: 0;
  font-family: 'Montserrat', sans-serif;
  font-weight: 800;
  font-size: 0.96rem;
  padding: 12px 20px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
}

.btn-primary {
  background: var(--brand);
  color: #fff;
}

.btn-ghost {
  background: #fff;
  border: 1px solid var(--line);
}

.hero {
  position: relative;
  padding: 92px 0 62px;
  overflow: hidden;
}

.hero::before,
.hero::after {
  content: '';
  position: absolute;
  z-index: -1;
  border-radius: 50%;
}

.hero::before {
  width: 380px;
  height: 380px;
  top: -90px;
  right: -120px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.18), transparent 72%);
}

.hero::after {
  width: 360px;
  height: 360px;
  left: -140px;
  bottom: -160px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.12), transparent 72%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 30px;
  align-items: center;
}

/* --- Hero con immagine di sfondo: regole condivise --- */
.hero-img {
  color: #eef5ff;
}

.hero-img::before,
.hero-img::after {
  display: none;
}

.hero-img .kicker,
.hero-img .lead,
.hero-img h1 {
  color: #eef5ff;
}

.hero-img .btn-ghost {
  background: rgba(255, 255, 255, 0.94);
  border-color: rgba(0, 0, 0, 0.18);
  color: #0a0a0a;
}

/* --- Sfondo specifico per pagina --- */
.hero-homepage {
  background:
    linear-gradient(108deg, rgba(9, 18, 30, 0.74), rgba(15, 30, 48, 0.52)),
    url('assets/Hero-PMI-Lombardia-1920.jpg') center center / cover no-repeat;
}

.hero-metodo {
  background:
    linear-gradient(108deg, rgba(9, 18, 30, 0.74), rgba(15, 30, 48, 0.52)),
    url('assets/il-nostro-metodo-1920.jpg') center center / cover no-repeat;
}

.hero-sviluppo {
  background:
    linear-gradient(108deg, rgba(9, 18, 30, 0.74), rgba(15, 30, 48, 0.52)),
    url('assets/sviluppo-custom-e-ai-1920.jpg') center center / cover no-repeat;
}

.hero-chi-siamo {
  background:
    linear-gradient(108deg, rgba(9, 18, 30, 0.74), rgba(15, 30, 48, 0.52)),
    url('assets/chi-siamo-1920.jpg') center center / cover no-repeat;
}

.hero-video {
  color: #eef4ff;
  background: #0f1824 url('assets/hero-assessment-poster.jpg') center center / cover no-repeat;
}

.hero-video::before,
.hero-video::after {
  display: none;
}

.hero-video-media,
.hero-video-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.hero-video-media {
  z-index: 0;
}

.hero-video-media video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  z-index: 1;
  background:
    radial-gradient(circle at 15% 25%, rgba(88, 122, 171, 0.32), transparent 52%),
    linear-gradient(112deg, rgba(5, 11, 20, 0.8), rgba(10, 20, 36, 0.68));
}

.hero-video-content {
  position: relative;
  z-index: 2;
}

.hero-video .kicker {
  color: #c5d8ff;
}

.hero-video .lead {
  color: #deebff;
}

.hero-video .btn-ghost {
  border-color: rgba(201, 219, 244, 0.45);
  color: #eaf3ff;
  background: rgba(255, 255, 255, 0.08);
}

.hero-how-panel {
  background: rgba(10, 20, 34, 0.6);
  border-color: rgba(177, 200, 232, 0.26);
  box-shadow: 0 18px 38px rgba(5, 10, 20, 0.35);
}

.hero-how-panel p,
.hero-how-panel h3 {
  color: #e8f2ff;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--brand);
  font-weight: 800;
  margin-bottom: 14px;
}

h1,
h2,
h3 {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  line-height: 1.06;
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.85rem);
}

.lead {
  margin: 18px 0 28px;
  color: #2a3b2f;
  font-size: clamp(1rem, 1.8vw, 1.18rem);
  max-width: 64ch;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.slider-card,
.panel,
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.slider-card {
  padding: 22px;
}

.slider-item {
  display: none;
}

.slider-item.active {
  display: block;
  animation: fade-up 0.45s ease;
}

.slider-item h3 {
  font-size: 1.2rem;
  margin-bottom: 8px;
  color: #000;
}

.slider-item p {
  margin: 0;
  color: var(--muted);
}

@keyframes fade-up {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.section {
  padding: 70px 0;
}

.section-tight {
  padding-top: 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(244, 250, 243, 0.85), rgba(234, 240, 223, 0.4));
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.section-title {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  margin-bottom: 14px;
}

.section-intro {
  max-width: 75ch;
  color: var(--muted);
  margin-bottom: 26px;
}

.grid-3,
.grid-4,
.grid-2 {
  display: grid;
  gap: 18px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card,
.panel {
  padding: 22px;
}

.card h3,
.panel h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.card p,
.panel p {
  color: var(--muted);
  margin: 0;
}

.proof-band {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 22px;
  padding: 26px;
  background: linear-gradient(145deg, #ffffff, #f9fdef);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.proof-pill-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.proof-pill {
  padding: 16px;
  border-radius: 4px;
  border: 1px solid #d5e3ca;
  background: rgba(255, 255, 255, 0.86);
}

.proof-pill strong {
  display: block;
  margin-bottom: 8px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1rem;
  color: #18311f;
}

.proof-pill span {
  display: block;
  color: #4a5d4a;
  line-height: 1.45;
}

.impact-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.impact-stat {
  padding: 18px;
  border-radius: 4px;
  background: linear-gradient(145deg, #0d2b24, #15463d);
  border: 1px solid rgba(173, 214, 193, 0.18);
  box-shadow: 0 20px 36px rgba(11, 34, 28, 0.18);
}

.impact-value {
  display: block;
  margin-bottom: 6px;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #f5fbef;
}

.impact-label {
  display: block;
  color: #d4e9d8;
  line-height: 1.45;
}

.hero-img .panel,
.hero-img .slider-card,
.hero-how-panel {
  background: rgba(10, 20, 34, 0.6);
  border-color: rgba(177, 200, 232, 0.26);
  box-shadow: 0 18px 38px rgba(5, 10, 20, 0.35);
}

.hero-img .panel,
.hero-img .slider-card,
.hero-how-panel,
.hero-img .panel h3,
.hero-img .panel p,
.hero-img .slider-item h3,
.hero-img .slider-item p,
.hero-how-panel h3,
.hero-how-panel p {
  color: #e8f2ff;
}

.badge {
  display: inline-flex;
  padding: 6px 10px;
  background: #fff2e6;
  border: 1px solid #f3c9a8;
  color: #b45309;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  margin-bottom: 10px;
}

.dark-band {
  background: linear-gradient(120deg, #102420, #12384f);
  color: #ebf5ec;
  padding: 48px 0;
}

.dark-band p {
  color: #c7ddd1;
}

.cta-box {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: linear-gradient(140deg, #ffffff, #f6f9f0);
  border: 1px solid var(--line);
  box-shadow: var(--shadow);
}

.cta-box h2 {
  font-size: clamp(1.5rem, 2.8vw, 2.2rem);
  margin-bottom: 10px;
}

.cta-box p {
  color: var(--muted);
  margin-top: 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  position: relative;
}

.steps-grid .card {
  position: relative;
}

.steps-grid .card:not(:last-child)::after {
  content: '→';
  position: absolute;
  right: -14px;
  top: 22px;
  font-size: 1rem;
  color: var(--brand);
  z-index: 1;
}

.card-step-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 8px;
}

.card-step-heading h3 {
  margin: 0;
}

.card-step-num {
  font-size: 2.8rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  flex-shrink: 0;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-grid .full {
  grid-column: 1 / -1;
}

input,
textarea,
select {
  width: 100%;
  border: 1px solid #c9d6bd;
  border-radius: 4px;
  background: #fff;
  color: var(--text);
  font: inherit;
  padding: 11px 12px;
}

textarea {
  min-height: 110px;
  resize: vertical;
}

label {
  display: block;
  font-size: 0.86rem;
  color: #37503c;
  margin-bottom: 6px;
  font-weight: 700;
}

.assessment-consent-row label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-weight: 600;
  margin-bottom: 0;
}

.assessment-consent-row input[type='checkbox'] {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex: 0 0 auto;
}

.assessment-consent-row a {
  text-decoration: underline;
  color: var(--brand);
}

.interest-options {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-top: 6px;
}

.interest-option {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0;
  font-weight: 500;
  color: var(--text);
}

.interest-option input[type='checkbox'] {
  width: 16px;
  height: 16px;
  margin: 0;
  flex: 0 0 auto;
}

.field-error-badge {
  display: inline-block;
  margin-top: 8px;
  padding: 4px 10px;
  border-radius: 3px;
  border: 1px solid #d96a60;
  background: #fff3f1;
  color: #7a120c;
  font-size: 0.78rem;
  font-weight: 700;
  line-height: 1.2;
}

input.is-invalid,
textarea.is-invalid,
select.is-invalid {
  border-color: #d96a60;
  background: #fff8f7;
}

.assessment-consent-row.is-invalid label {
  color: #7a120c;
}

.form-status {
  border-radius: 4px;
  padding: 10px 12px;
  font-size: 0.92rem;
  font-weight: 700;
}

.form-status.is-loading {
  background: #edf5df;
  border: 1px solid #cde0b5;
  color: #385624;
}

.form-status.is-success {
  background: #e3f8ea;
  border: 1px solid #b6e5c4;
  color: #1c6433;
}

.form-status.is-error {
  background: #fdeceb;
  border: 1px solid #f0b8b3;
  color: #90211b;
}

.board {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 18px;
}

.toolbox .pain {
  border: 1px dashed #9fb798;
  border-radius: 4px;
  background: #f5faeb;
  padding: 10px;
  margin-bottom: 10px;
  cursor: grab;
  font-weight: 700;
  touch-action: manipulation;
}

.board-help {
  margin: 0 0 10px;
  font-size: 0.84rem;
  color: #4e6454;
}

.board-help-mobile {
  display: none !important;
}

.mobile-assign {
  display: none !important;
  margin-bottom: 12px;
}

.mobile-assign label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.mobile-assign select {
  width: 100%;
  margin-bottom: 6px;
}

.mobile-assign .subtle {
  margin: 0 0 8px;
  font-size: 0.8rem;
}

.pain-custom {
  background: #fff2e6;
  border: 1px dashed #f5c98b;
  color: #b45309;
  cursor: pointer;
  font-style: italic;
}

.custom-inline-modal {
  margin-top: 8px;
  border: 1px solid #d7e4cc;
  background: #fbfdf7;
  border-radius: 4px;
  padding: 10px;
}

.custom-inline-modal input {
  width: 100%;
  margin-bottom: 10px;
}

.custom-inline-dept-select {
  width: 100%;
  margin-bottom: 10px;
}

.custom-inline-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-bottom: 6px;
}

.custom-inline-modal .subtle {
  margin: 0;
  font-size: 0.8rem;
}

.board-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(150px, 1fr));
  gap: 10px;
}

.dropzone {
  min-height: 200px;
  border-radius: 4px;
  border: 1px solid #c8d8bc;
  background: #fbfdf7;
  padding: 10px;
}

.dropzone h4 {
  margin: 0 0 8px;
  font-size: 0.92rem;
}

.note {
  background: linear-gradient(120deg, #fff7cc, #ffec9f);
  border: 1px solid #edd479;
  border-radius: 2px;
  padding: 7px;
  margin-bottom: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.note-text {
  flex: 1;
}

.note-remove {
  border: 1px solid #e1b867;
  background: #fff9df;
  color: #7a5a1f;
  border-radius: 4px;
  padding: 3px 7px;
  font-size: 0.72rem;
  font-weight: 700;
  cursor: pointer;
}

.summary-box {
  margin-top: 16px;
  border: 1px solid #cbdbbf;
  background: #f8fced;
  border-radius: 4px;
  padding: 14px;
}

.summary-list {
  margin: 10px 0 0;
  padding-left: 18px;
  color: #33523e;
}

.quote-card {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 18px;
  box-shadow: var(--shadow);
}

.quote-card blockquote {
  margin: 0 0 12px;
  color: #2c4132;
  font-weight: 600;
  line-height: 1.45;
}

.quote-meta {
  font-size: 0.85rem;
  color: #4f6453;
}

.quote-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.quote-facts span {
  display: inline-flex;
  align-items: center;
  padding: 5px 10px;
  border-radius: 4px;
  border: 1px solid #d6e3cb;
  background: #f4f8ec;
  font-size: 0.78rem;
  font-weight: 700;
  color: #345340;
}

.capability-card {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.capability-list {
  margin: 0;
  padding-left: 18px;
  color: #2f4836;
}

.capability-list li + li {
  margin-top: 8px;
}

.capability-note {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid #dbe7d1;
  font-size: 0.88rem;
  color: #516553;
  font-weight: 700;
}

.kpi-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 14px;
}

.kpi-item {
  border: 1px solid #c8d9bb;
  border-radius: 4px;
  padding: 10px;
  background: #f8fced;
}

.kpi-value {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.2rem;
  font-weight: 700;
}

.kpi-label {
  font-size: 0.82rem;
  color: #4a5d4a;
}

.team-card {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 12px;
  align-items: center;
}

.team-avatar {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: linear-gradient(135deg, #0d5e50, #15437a);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
}

.team-role {
  font-size: 0.84rem;
  color: #4f6453;
  font-weight: 700;
}

.team-link {
  font-size: 0.85rem;
  color: var(--brand);
  text-decoration: underline;
}

.support-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.support-points {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.support-points span {
  display: inline-flex;
  align-items: center;
  padding: 7px 10px;
  border-radius: 999px;
  background: #edf5df;
  border: 1px solid #d4e2c6;
  font-size: 0.82rem;
  font-weight: 700;
  color: #2f4e39;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  border: 1px solid #cbd9c1;
  border-radius: 4px;
  padding: 12px;
  background: #fbfdf7;
}

.faq-item h3 {
  font-size: 1rem;
  margin-bottom: 8px;
}

.cookie-banner {
  position: fixed;
  left: 16px;
  right: 16px;
  bottom: 16px;
  z-index: 999;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-box {
  background: #102420;
  color: #e8f4ea;
  border: 1px solid #2f564c;
  border-radius: 4px;
  padding: 14px;
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.25);
}

.cookie-box p {
  margin: 0 0 10px;
  color: #d5e5da;
  font-size: 0.9rem;
}

.cookie-box a {
  text-decoration: underline;
}

.cookie-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.btn-sm {
  padding: 9px 14px;
  font-size: 0.86rem;
}

.site-footer {
  margin-top: 50px;
  border-top: 1px solid var(--line);
  padding: 28px 0 34px;
  font-size: 0.9rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 20px;
}

.footer-nav,
.legal-nav {
  display: grid;
  gap: 8px;
}

.subtle {
  color: var(--muted);
}

.legal-content h1 {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  margin-bottom: 12px;
}

.legal-content h2 {
  margin-top: 24px;
  margin-bottom: 10px;
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
}

.legal-content h3 {
  margin-top: 16px;
  margin-bottom: 8px;
  font-size: 1.08rem;
}

.legal-content p,
.legal-content li {
  color: #2d4632;
  line-height: 1.58;
}

.legal-content ul,
.legal-content ol {
  padding-left: 20px;
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
}

.legal-content th,
.legal-content td {
  border: 1px solid #c8d8bc;
  padding: 10px;
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: #edf5df;
}





.reveal {
  opacity: 0;
  transform: translateY(12px);
  transition: opacity 0.4s ease, transform 0.4s ease;
}

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

@media (max-width: 1024px) {
  .hero-grid,
  .grid-4,
  .grid-3,
  .board,
  .proof-band,
  .proof-pill-grid,
  .impact-strip {
    grid-template-columns: 1fr;
  }

  .steps-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .kpi-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 820px) {
  .top-strip .container {
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    padding-top: 6px;
    padding-bottom: 6px;
    min-height: 0;
  }

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    padding: 12px;
    background: rgba(243, 246, 239, 0.98);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
  }

  .main-nav.open {
    display: flex;
  }

  .main-nav a {
    border-radius: 4px;
  }

  .footer-grid,
  .grid-2,
  .form-grid,
  .board-grid,
  .steps-grid {
    grid-template-columns: 1fr;
  }

  .hero-video-media video {
    display: none;
  }

  .mobile-assign {
    display: block !important;
  }

  .board-help-desktop {
    display: none;
  }

  .board-help-mobile {
    display: block !important;
  }

  .custom-inline-dept-select {
    display: none;
  }

  .toolbox .pain {
    cursor: pointer;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-video-media video {
    display: none;
  }
}
