/* ===== FORMS HERO ===== */
.forms-hero {
  padding: 7rem 0 3rem;
  text-align: center;
}

.forms-hero__title {
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 1rem;
}

.forms-hero__subtitle {
  font-size: 1.125rem;
  opacity: 0.7;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.65;
}

.forms-hero__link {
  font-weight: 600;
  text-decoration: underline;
}

/* ===== SECTIONS ===== */
.forms-section {
  padding: 4rem 0;
}

.forms-section--alt {
  background: rgba(11,30,102,0.025);
}

[data-theme="dark"] .forms-section--alt {
  background: rgba(255,255,255,0.02);
}

/* ===== DOWNLOAD CARDS GRID ===== */
.forms-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
  margin-top: 2rem;
}

.forms-card {
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 16px;
  padding: 1.5rem;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

[data-theme="dark"] .forms-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.07);
}

.forms-card:hover {
  border-color: #0B1E66;
  box-shadow: 0 4px 20px rgba(11,30,102,0.08);
  transform: translateY(-2px);
}

[data-theme="dark"] .forms-card:hover {
  border-color: rgba(182,255,46,0.4);
  box-shadow: 0 4px 20px rgba(182,255,46,0.06);
}

.forms-card__icon {
  width: 40px;
  height: 40px;
  border-radius: 10px;
  background: rgba(11,30,102,0.08);
  display: grid;
  place-items: center;
  color: #0B1E66;
  flex-shrink: 0;
}

[data-theme="dark"] .forms-card__icon {
  background: rgba(182,255,46,0.1);
  color: #B6FF2E;
}

.forms-card__icon svg { width: 20px; height: 20px; }

.forms-card__title {
  font-size: 0.9375rem;
  font-weight: 700;
  margin: 0;
}

.forms-card__desc {
  font-size: 0.875rem;
  opacity: 0.65;
  line-height: 1.55;
  margin: 0;
  flex: 1;
}

/* ===== LINK CARDS (guides & DMV) ===== */
.forms-links-grid {
  display: flex;
  flex-direction: column;
  gap: 0.625rem;
  margin-top: 2rem;
}

.forms-link-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 1rem 1.25rem;
  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(8px);
  text-decoration: none;
  color: inherit;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.15s;
}

[data-theme="dark"] .forms-link-card {
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.07);
}

.forms-link-card:hover {
  border-color: #0B1E66;
  box-shadow: 0 4px 16px rgba(11,30,102,0.07);
  transform: translateX(3px);
  text-decoration: none;
}

[data-theme="dark"] .forms-link-card:hover {
  border-color: rgba(182,255,46,0.4);
}

.forms-link-card > svg:first-child {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: #0B1E66;
  opacity: 0.7;
}

[data-theme="dark"] .forms-link-card > svg:first-child {
  color: #B6FF2E;
}

.forms-link-card span {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.forms-link-card strong {
  font-size: 0.9375rem;
  font-weight: 600;
}

.forms-link-card small {
  font-size: 0.8125rem;
  opacity: 0.55;
}

.forms-link-card__arrow {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  opacity: 0.35;
  transition: opacity 0.2s, transform 0.2s;
}

.forms-link-card:hover .forms-link-card__arrow {
  opacity: 0.8;
  transform: translateX(3px);
}

@media (max-width: 640px) {
  .forms-hero {
    padding: 4.25rem 0 2.25rem;
    text-align: left;
  }

  .forms-hero__title {
    font-size: clamp(2rem, 10vw, 2.5rem);
  }

  .forms-hero__subtitle {
    font-size: 1rem;
    line-height: 1.55;
  }

  .forms-section {
    padding: 3rem 0;
  }

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

  .forms-card {
    padding: 1.15rem;
    border-radius: 14px;
  }

  .forms-link-card {
    align-items: flex-start;
    padding: 1rem;
  }
}
