.packages-section {
  background: #fbfcfc;
}

.packages-section .tabs {
  display: block;
  overflow: hidden;
  border: 1px solid #dce5e2;
  border-radius: 10px;
  background: #fff;
  box-shadow: 0 16px 42px rgba(16, 42, 53, 0.08);
}

.packages-section .tab-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid #dce5e2;
  background: #f6f9f8;
}

.packages-section .tab-button {
  appearance: none;
  -webkit-appearance: none;
  min-height: 46px;
  margin: 0;
  padding: 13px 14px;
  border: 0;
  border-right: 1px solid #dce5e2;
  border-radius: 0;
  background: transparent;
  color: #5d6d73;
  font: 800 0.84rem Manrope, Arial, sans-serif;
  cursor: pointer;
  box-shadow: none;
  transition: background 0.18s ease, color 0.18s ease, box-shadow 0.18s ease;
}

.packages-section .tab-button:last-child {
  border-right: 0;
}

.packages-section .tab-button.active,
.packages-section .tab-button[aria-selected="true"] {
  background: #fff;
  color: #102a35;
  box-shadow: inset 0 -3px 0 #0b7478;
}

.packages-section .tab-button:focus-visible {
  outline: 3px solid rgba(11, 116, 120, 0.22);
  outline-offset: -3px;
}

.packages-section .tab-panel {
  padding: 28px;
}

.packages-section .tab-panel.active {
  animation: panel-in 0.28s ease both;
}

.packages-section .tab-panel[hidden] {
  display: none !important;
}

.packages-section .package-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.packages-section .package-card,
.packages-section .pricing-grid article,
.packages-section .implementation-steps article,
.packages-section .check-list li {
  border: 1px solid #dce5e2;
  border-radius: 8px;
  background: #fff;
}

.packages-section .package-card {
  padding: 24px;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.packages-section .package-card:hover {
  transform: translateY(-3px);
  border-color: #b9d3ce;
  box-shadow: 0 14px 34px rgba(16, 42, 53, 0.08);
}

.packages-section .package-card.highlighted {
  background: #eef6f3;
  border-color: #bad6d0;
}

.packages-section .package-kicker {
  display: inline-block;
  margin-bottom: 12px;
  color: #0b7478;
  font: 800 0.7rem Manrope, Arial, sans-serif;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.packages-section .package-card h3 {
  margin: 0 0 12px;
  font-size: 1.28rem;
  line-height: 1.2;
}

.packages-section .package-card p {
  color: #5d6d73;
}

.packages-section .package-card ul {
  margin: 0 0 18px;
  padding-left: 19px;
}

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

.packages-section .pricing-grid article {
  padding: 18px;
  background: #f7f9f8;
}

.packages-section .pricing-grid strong,
.packages-section .pricing-grid span,
.packages-section .pricing-grid b {
  display: block;
}

.packages-section .pricing-grid span {
  margin: 8px 0 16px;
  color: #5d6d73;
  font-size: 0.9rem;
}

.packages-section .pricing-grid b {
  color: #0b7478;
  font-family: Manrope, Arial, sans-serif;
  font-size: 0.92rem;
}

.packages-section .support-layout {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 36px;
}

.packages-section .support-layout h3 {
  font-size: 1.55rem;
}

.packages-section .check-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.packages-section .check-list li {
  padding: 14px 16px;
  background: #f7f9f8;
}

.packages-section .check-list li::before {
  content: "✓";
  margin-right: 8px;
  color: #8ab443;
  font-weight: 800;
}

.packages-section .implementation-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.packages-section .implementation-steps article {
  padding: 18px;
  border-left: 4px solid #0b7478;
  background: #f7f9f8;
}

.packages-section .implementation-steps span {
  color: #8ab443;
  font: 800 0.82rem Manrope, Arial, sans-serif;
}

.packages-section .implementation-steps strong {
  display: block;
  margin: 8px 0;
  font-family: Manrope, Arial, sans-serif;
}

.packages-section .implementation-steps p {
  margin: 0;
  color: #5d6d73;
  font-size: 0.92rem;
}

@media (max-width: 950px) {
  .packages-section .package-grid,
  .packages-section .pricing-grid,
  .packages-section .implementation-steps {
    grid-template-columns: 1fr 1fr;
  }

  .packages-section .support-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 650px) {
  .packages-section .tab-list {
    display: flex;
    overflow-x: auto;
  }

  .packages-section .tab-button {
    min-width: max-content;
  }

  .packages-section .tab-panel {
    padding: 20px;
  }

  .packages-section .package-grid,
  .packages-section .pricing-grid,
  .packages-section .implementation-steps,
  .packages-section .check-list {
    grid-template-columns: 1fr;
  }
}
