:root {
  /* Artémat Official Color Palette */
  --primary-orange: #FF9900;
  --primary-orange-hover: rgba(255, 153, 0, 0.8);
  --primary-orange-light: #FFB84D;
  --primary-blue: #1863DC;
  --dark-navy: #1a2332; /* Nuovo blu scuro moderno */
  --dark-gray: #212121;
  --dark-gray-secondary: #313131;
  --light-gray: #F4F4F4;

  /* Legacy colors mantained for compatibility */
  --navy: #1a2332; /* Aggiornato a colore più moderno */
  --navy-light: #E8EFF6;
  --teal: #FF9900; /* Mapped to orange for primary actions */
  --teal-light: #FFF5E6;
  --amber: #FF9900;
  --amber-bg: #FFF5E6;
  --gray-text: #212121;
  --gray-mid: #6B7280;
  --gray-bg: #F4F4F4;
  --border: #E2E6EC;
  --max-width: 1296px; /* Artémat standard */

  /* Transitions */
  --ease-smooth: cubic-bezier(.25, 1, .5, 1);
}

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

html {
  scroll-behavior: smooth;
}

body {
font-family: "Plus Jakarta Sans", sans-serif;
  background: linear-gradient(135deg, #f5f7fa 0%, #e8ecf1 100%);
  background-attachment: fixed;
  color: var(--gray-text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h5 { 
  font-size: 0.875rem; 
  font-weight:500;
  letter-spacing:0.6px;
  text-transform: uppercase;
  color:#A8C4D8; 
  margin-bottom: 8px;
}

.page {
  width: min(100%, calc(var(--max-width) + 64px));
  margin: 32px auto;
  background: #fff;
  border: none;
  border-radius: 24px;
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.08),
    0 0 0 1px rgba(0, 0, 0, 0.03);
  overflow: hidden;
}

header {
  border-radius: 24px 24px 0 0;
}

.nav {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 22px clamp(18px, 3vw, 40px);
  border-bottom: 1px solid var(--border);
  background: #fff;
  transition: box-shadow 300ms var(--ease-smooth), padding 300ms ease, backdrop-filter 300ms ease;
  backdrop-filter: blur(10px);
  background: rgba(255, 255, 255, 0.95);
}

.nav.scrolled {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  padding: 16px clamp(18px, 3vw, 40px);
  background: rgba(255, 255, 255, 0.98);
}

.logo {
  display: flex;
  align-items: center;
  gap: 14px;
}

.logo-mosaic,
.footer-logo-mosaic {
  display: grid;
  gap: 2px;
}

.logo-mosaic {
  grid-template-columns: repeat(3, 10px);
  grid-template-rows: repeat(3, 10px);
}

.footer-logo-mosaic {
  grid-template-columns: repeat(3, 7px);
  grid-template-rows: repeat(3, 7px);
}

.lm1,
.lm2,
.lm3,
.lm4,
.flm {
  border-radius: 2px;
}

.flm-amber {
  background: var(--amber);
}

.flm-fade {
  opacity: 0.3;
}

.lm1,
.flm {
  background: var(--navy);
}

.lm2 {
  background: var(--teal);
}

.lm3 {
  background: var(--navy);
  opacity: 0.25;
}

.lm4 {
  background: var(--amber);
}

.logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.logo-name,
.footer .brand-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: -0.3px;
  line-height: 1;
}

.logo-by,
.footer .brand-subtitle {
  font-size: 9px;
  color: var(--gray-mid);
  letter-spacing: 0.8px;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--gray-mid);
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  transition: color 1000ms var(--ease-smooth);
}

.nav-link:hover {
  color: var(--primary-orange);
}

small {
  font-size: 11px;
  color: #A8C4D8;
      margin: 0 auto 32px;
}

.source a{
  color: #A8C4D8;
  text-decoration: none;
  font-weight: 600;
  font-style: italic;
  transition: opacity 300ms ease;

}


.cta-link:hover {
  opacity: 0.8;
}

.nav-cta,
.btn-primary,
.btn-ghost,
.cta-link {
  border: none;
  border-radius: 2px;
  font-weight: 700;
  cursor: pointer;
  transition: opacity 1000ms var(--ease-smooth), transform 300ms ease;
}

.nav-cta,
.btn-primary {
  background: linear-gradient(135deg, var(--primary-orange) 0%, #ff8800 100%);
  color: #fff;
  padding: 14px 32px;
  font-size: 14px;
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.3);
  position: relative;
  overflow: hidden;
}
.nav-cta a {
  text-decoration: none;
  display: inline-block;
  color: #fff;
}

.nav-cta::before,
.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
  transition: left 0.5s ease;
}

.nav-cta:hover::before,
.btn-primary:hover::before {
  left: 100%;
}

.nav-cta:hover,
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 153, 0, 0.4);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.3);
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 600;
}
.btn-ghost a {
  text-decoration: none;
  display: inline-block;
  color: #fff;
}

.btn-ghost:hover {
  background: rgba(255, 153, 0, 0.2);
  border-color: var(--primary-orange);
  color: #fff;
  transform: translateY(-2px);
}

.hero {
  background: linear-gradient(135deg, #1a2332 0%, #2d3e52 100%);
  position: relative;
  color: #fff;
  padding: clamp(64px, 8vw, 120px) clamp(24px, 4vw, 48px);
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 50%, rgba(255, 153, 0, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(24, 99, 220, 0.08) 0%, transparent 50%);
  pointer-events: none;
}

.hero > * {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: clamp(2.8rem, 5.5vw, 4.8rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -2px;
  margin-bottom: 24px;
}

.hero h1 span {
  background: linear-gradient(135deg, var(--primary-orange) 0%, #ffaa00 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: inline-block;
}

.hero p {
  max-width: 640px;
  margin: 0 auto 32px;
  color: #A8C4D8;
  font-size: 1rem;
  line-height: 1.7;
}
.hero-cta-row{
  margin: 0 auto 32px;
}
.hero-cta-row,
.cta-row,
.hero-tagline,
.section-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-tagline,
.section-footer {
  margin-top: 28px;
}

.tag {
  font-size: 11px;
  color: var(--primary-orange);
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.tag i {
  font-size: 12px;
}

.tag:hover {
  background: rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.section {
  padding: clamp(40px, 4vw, 64px) clamp(24px, 4vw, 48px);
}

.section-alt {
  background: var(--gray-bg);
}

.section-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  background: linear-gradient(135deg, var(--primary-orange), #ff6600);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  display: inline-block;
}

.section h2 {
  font-size: clamp(1.8rem, 3vw, 2.3rem);
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 16px;
  line-height: 1.2;
}

.section p {
  max-width: 760px;
  color: var(--gray-mid);
  line-height: 1.75;
  font-size: 1rem;
}

.cards4,
.how-steps,
.competenze,
.report-grid,
.perchi-grid {
  display: grid;
  gap: 18px;
  margin-top: 28px;
}

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

.card,
.step,
.report-card,
.perchi-item,
.comp-item,
.diff-row {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 16px;
  box-shadow:
    0 4px 20px rgba(0, 0, 0, 0.04),
    0 0 0 1px rgba(0, 0, 0, 0.02);
}

.card {
  padding: 28px;
  position: relative;
  overflow: hidden;
}

.card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--primary-orange), var(--primary-blue));
  opacity: 0;
  transition: opacity 0.3s ease;
}

.card:hover::before {
  opacity: 1;
}

.card-icon,
.diff-icon,
.perchi-item i,
.step-num,
.step-tag {
  display: inline-flex;
}

.card-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  font-size: 22px;
  position: relative;
  transition: transform 0.3s var(--ease-smooth);
}

.card:hover .card-icon {
  transform: scale(1.1) rotate(5deg);
}

.card-icon.teal {
  background: linear-gradient(135deg, #FFF5E6 0%, #FFE8CC 100%);
  color: var(--primary-orange);
  box-shadow: 0 4px 15px rgba(255, 153, 0, 0.15);
}

.card-icon.navy {
  background: linear-gradient(135deg, #E8EFF6 0%, #D5E3F0 100%);
  color: var(--primary-blue);
  box-shadow: 0 4px 15px rgba(24, 99, 220, 0.15);
}

.card h3,
.step h3,
.report-card h3,
.perchi-item h4,
.comp-item h4,
.diff-row h4 {
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card h3 {
  font-size: 1rem;
  font-weight: 700;
}

.card p,
.step p,
.report-card p,
.perchi-item p,
.comp-item p,
.diff-row p {
  color: var(--gray-mid);
  font-size: 0.95rem;
  line-height: 1.65;
}

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

.step {
  padding: 26px;
}

.step-num {
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-orange);
  letter-spacing: 0.5px;
  margin-bottom: 14px;
}

.step h3 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.step-tag {
  margin-top: 16px;
  font-size: 11px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  border: 1px solid;
}

.step-tag.teal {
  background: linear-gradient(135deg, var(--teal-light) 0%, #FFE8CC 100%);
  color: var(--primary-orange);
  border-color: rgba(255, 153, 0, 0.2);
}

.step-tag.navy {
  background: linear-gradient(135deg, var(--navy-light) 0%, #D5E3F0 100%);
  color: var(--primary-blue);
  border-color: rgba(24, 99, 220, 0.2);
}

.step-tag.amber {
  background: linear-gradient(135deg, var(--amber-bg) 0%, #FFE8CC 100%);
  color: var(--primary-orange);
  border-color: rgba(255, 153, 0, 0.2);
}

.bars-box {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 20px;
  background: linear-gradient(135deg, #1a2332 0%, #2d3e52 100%);
  border-radius: 20px;
  padding: 36px;
  margin-top: 32px;
  box-shadow: 0 10px 40px rgba(26, 35, 50, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.bars-box i {
  font-size: 24px;
  color: var(--primary-orange);
  flex-shrink: 0;
  margin-top: 4px;
}

.bars-box h3 {
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.bars-box p {
  color: #A8C4D8;
  line-height: 1.7;
}

.competenze {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  max-width: 720px;
}
.competenze_new{
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
      gap: 18px;
    margin-top: 28px;
}
.comp-item {
      display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
}

.comp-item-contrast {
  background: var(--navy);
  border-color: var(--navy);
}

.comp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-orange);
  margin-top: 6px;
  flex-shrink: 0;
}

.comp-dot-alt {
  background: var(--primary-orange-light);
}

.white-title {
  color: #fff;
}

.white-copy {
  color: #A8C4D8;
}

.comp-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 6px;
}

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

.report-card {
  padding: 32px;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  border: 1px solid rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}

.report-card::after {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 153, 0, 0.03) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.5s ease;
}

.report-card:hover::after {
  opacity: 1;
}

.report-card-full {
  grid-column: 1 / -1;
}

.report-card h3 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1rem;
}

.icon-teal {
  font-size: 18px;
  color: var(--primary-orange);
}

.icon-navy {
  font-size: 18px;
  color: var(--primary-blue);
}

.icon-amber {
  font-size: 18px;
  color: var(--primary-orange);
}

.report-badge {
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--teal-light);
  color: var(--primary-orange);
}

.text-link {
  color: var(--primary-orange);
  font-weight: 700;
  text-decoration: none;
  transition: opacity 300ms ease;
  cursor: pointer;
}

.text-link:hover {
  opacity: 0.8;
}

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

.perchi-item {
  padding: 22px;
  gap: 16px;
}

.perchi-item i {
  font-size: 22px;
  color: var(--primary-orange);
  margin-top: 2px;
}

.perchi-item h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.differenziatori {
  border: 1px solid var(--border);
  border-radius: 6px;
  overflow: hidden;
      display: flex;
    flex-direction: column;
    gap: 18px;
}

.diff-row {
  display: flex;
  gap: 16px;
  padding: 24px 26px;
  align-items: flex-start;
}

.diff-row + .diff-row {
  border-top: 1px solid var(--border);
}

.diff-icon {
  width: 42px;
  height: 42px;
  border-radius: 6px;
  background: var(--navy-light);
  align-items: center;
  justify-content: center;
  display: inline-flex;
}

.diff-icon i {
  color: var(--navy);
  font-size: 16px;
}

.diff-row h4 {
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.cta-section {
  background: linear-gradient(135deg, #1a2332 0%, #2d3e52 100%);
  position: relative;
  color: #fff;
  padding: clamp(56px, 6vw, 96px) clamp(24px, 4vw, 48px);
  text-align: center;
  overflow: hidden;
}

.cta-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 30% 30%, rgba(255, 153, 0, 0.08) 0%, transparent 50%),
    radial-gradient(circle at 70% 70%, rgba(24, 99, 220, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.cta-section > * {
  position: relative;
  z-index: 1;
}

.cta-section h2 {
  font-size: clamp(2rem, 4vw, 2.4rem);
  margin-bottom: 16px;
}

.cta-section p {
  color: #A8C4D8;
  max-width: 620px;
  margin: 0 auto 26px;
}

.cta-link {
  background: transparent;
  color: var(--primary-orange);
  font-size: 13px;
  text-decoration: underline;
  border-radius: 0;
  padding: 0;
}

.cta-section .note {
  margin-top: 22px;
  font-size: 12px;
  color: #A8C4D8;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  padding: 28px clamp(24px, 4vw, 48px);
  background: var(--dark-navy);
  color: #6B7A8D;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer p,
.footer-links a {
  font-size: 11px;
  color: #6B7A8D;
}

.footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.footer-links a {
  text-decoration: underline;
}

.nav-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  margin-left: auto;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.nav-menu.open {
  max-height: 480px;
}

@media (max-width: 980px) {
  .cards4,
  .how-steps,
  .competenze,
  .report-grid,
  .perchi-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .section {
    padding-top: 40px;
    padding-bottom: 40px;
  }
}

/* Smooth Scrolling Enhancement */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

/* Enhanced Link Styles */
a {
  transition: all 300ms var(--ease-smooth);
}

/* Subtle parallax effect for hero */
.hero {
  position: relative;
  overflow: hidden;
}

/* Loading state */
body.loaded {
  animation: fadeIn 0.3s ease-out;
}

@keyframes fadeIn {
  from { opacity: 0.95; }
  to { opacity: 1; }
}

/* Focus states for accessibility */
button:focus-visible,
a:focus-visible {
  outline: 2px solid var(--primary-orange);
  outline-offset: 2px;
}

/* Enhanced card hover effects with Artémat style */
.card,
.report-card,
.perchi-item {
  transition: transform 300ms var(--ease-smooth), box-shadow 300ms var(--ease-smooth);
}

.card:hover,
.report-card:hover,
.perchi-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* Text selection color */
::selection {
  background-color: var(--primary-orange);
  color: #fff;
}

::-moz-selection {
  background-color: var(--primary-orange);
  color: #fff;
}

@media (max-width: 760px) {
  .page {
    margin: 16px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
  }

  .nav {
    flex-wrap: wrap;
    align-items: flex-start;
  }

  .nav-toggle {
    display: block;
  }

  .nav-menu {
    width: 100%;
    flex-direction: column;
    align-items: flex-start;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    width: 100%;
  }

  .nav-menu.open {
    max-height: 420px;
  }

  .nav-link {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid rgba(226, 230, 236, 0.8);
  }

  .hero {
    padding: 42px 22px 52px;
  }

  .hero p,
  .section p,
  .card p,
  .step p,
  .report-card p,
  .perchi-item p,
  .comp-item p,
  .diff-row p {
    font-size: 0.96rem;
  }

  .hero-cta-row,
  .cta-row,
  .hero-tagline {
    justify-content: center;
  }

  .cards4,
  .how-steps,
  .competenze,
  .report-grid,
  .perchi-grid,
  .differenziatori {
    grid-template-columns: 1fr;
  }

  .card,
  .step,
  .report-card,
  .perchi-item,
  .comp-item,
  .diff-row {
    padding: 20px;
  }

  .bars-box {
    padding: 22px;
  }

  .footer {
    padding: 24px 20px;
  }
}

/* Accordion/Collapsible Sections */
.accordion-container {
  margin-top: 32px;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}

.accordion-item {
  border-bottom: 1px solid var(--border);
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 28px;
  cursor: pointer;
  background: #fff;
  transition: background 0.3s ease, padding-left 0.3s ease;
  user-select: none;
}

.accordion-header:hover {
  background: var(--gray-bg);
  padding-left: 32px;
}

.accordion-header.active {
  background: linear-gradient(135deg, #FFF5E6 0%, #ffffff 100%);
  border-bottom: 1px solid rgba(255, 153, 0, 0.1);
}

.accordion-title {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
}

.accordion-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}

.accordion-icon.orange {
  background: linear-gradient(135deg, var(--teal-light), #FFE8CC);
  color: var(--primary-orange);
}

.accordion-icon.blue {
  background: linear-gradient(135deg, var(--navy-light), #D5E3F0);
  color: var(--primary-blue);
}

.accordion-title-text h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0;
  line-height: 1.3;
}

.accordion-title-text p {
  font-size: 0.85rem;
  color: var(--gray-mid);
  margin: 4px 0 0 0;
  line-height: 1.4;
}

.accordion-toggle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--gray-bg);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s var(--ease-smooth), background 0.3s ease;
  flex-shrink: 0;
}

.accordion-toggle i {
  color: var(--gray-mid);
  font-size: 14px;
  transition: transform 0.3s var(--ease-smooth);
}

.accordion-header.active .accordion-toggle {
  transform: rotate(180deg);
  background: var(--primary-orange);
}

.accordion-header.active .accordion-toggle i {
  color: #fff;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-smooth), padding 0.4s ease;
  background: #fff;
}

.accordion-content.active {
  max-height: 2000px;
  padding: 0 28px 28px 28px;
}

.accordion-inner {
  padding-top: 8px;
}

.accordion-inner h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin: 20px 0 10px 0;
}

.accordion-inner h4:first-child {
  margin-top: 0;
}

.accordion-inner p {
  color: var(--gray-mid);
  line-height: 1.7;
  font-size: 0.95rem;
  margin-bottom: 12px;
}

.accordion-inner ul,
.accordion-inner ol {
  color: var(--gray-mid);
  line-height: 1.7;
  font-size: 0.95rem;
  margin: 12px 0 12px 24px;
}

.accordion-inner ul li,
.accordion-inner ol li {
  margin-bottom: 8px;
  padding-left: 8px;
}

.accordion-inner ul li::marker {
  color: var(--primary-orange);
}

.accordion-inner ol li::marker {
  color: var(--primary-orange);
  font-weight: 700;
}

.accordion-inner .process-steps {
  display: grid;
  gap: 16px;
  margin: 16px 0;
}

.process-step {
  display: flex;
  gap: 14px;
  padding: 16px;
  background: var(--gray-bg);
  border-radius: 10px;
  border-left: 3px solid var(--primary-orange);
}

.process-step-number {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--primary-orange);
  flex-shrink: 0;
  min-width: 24px;
}

.process-step-content h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 6px 0;
}

.process-step-content p {
  margin: 0;
  font-size: 0.9rem;
}

.accordion-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--teal-light), #FFE8CC);
  color: var(--primary-orange);
  border: 1px solid rgba(255, 153, 0, 0.2);
  margin-top: 12px;
}

/* Glossary Styles */
.glossary-container {
  margin-top: 32px;
}

.glossary-category {
  margin-bottom: 48px;
}

.glossary-category:last-child {
  margin-bottom: 0;
}

.glossary-category h3 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--navy);
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-orange);
}

.glossary-category h3 i {
  color: var(--primary-orange);
  font-size: 1.2rem;
}

.glossary-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 20px;
  margin-top: 24px;
}

.glossary-term {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 12px;
  padding: 20px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
  transition: transform 300ms var(--ease-smooth), box-shadow 300ms var(--ease-smooth), border-color 300ms ease;
  position: relative;
}

.glossary-term::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-orange) 0%, var(--primary-blue) 100%);
  border-radius: 12px 0 0 12px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.glossary-term:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  border-color: rgba(255, 153, 0, 0.2);
}

.glossary-term:hover::before {
  opacity: 1;
}

.glossary-term h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
  line-height: 1.3;
}

.glossary-term p {
  font-size: 0.9rem;
  color: var(--gray-mid);
  line-height: 1.65;
  margin: 0;
}

@media (max-width: 980px) {
  .glossary-grid {
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  }
}

@media (max-width: 760px) {
  .glossary-grid {
    grid-template-columns: 1fr;
  }

  .glossary-category {
    margin-bottom: 36px;
  }

  .glossary-category h3 {
    font-size: 1.15rem;
  }

  .glossary-term {
    padding: 18px;
  }
}
