/* Plan cards (js/plan-cards.js): homepage, area pages, plan page and the /connect-us landing page.
   Self-contained so it also works on /connect-us, which doesn't load style.css. */
.pc-grid,
.pc-tabs {
  --primary-color: #169fda;
  --secondary-color: #0c123b;
  --background-color-1: #e8f5fb;
  --white: #fff;
}
.pc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

.pc-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  background-color: var(--white);
  border-radius: 16px;
  box-shadow: 0 10px 30px rgba(12, 18, 59, 0.12);
  text-align: left;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.pc-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(12, 18, 59, 0.18);
}

/* coloured header: deep brand blue; the Best Seller gets the bright brand blue and a yellow tag */
.pc-head {
  padding: 20px 20px 18px;
  background: linear-gradient(135deg, #0b4a75 0%, #117dac 100%);
  color: var(--white);
}

.pc-card--featured {
  outline: 3px solid #ffd43b;
  outline-offset: -3px;
}

.pc-card--featured .pc-head {
  background: linear-gradient(135deg, #117dac 0%, #1aa7e3 100%);
}

.pc-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.pc-name {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--white);
}

.pc-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background-color: rgba(255, 255, 255, 0.18);
  color: var(--white);
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
}

.pc-card--featured .pc-tag {
  background-color: #ffd43b;
  color: #0c123b;
  font-weight: 600;
}

.pc-speed {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 14px 0 0;
  letter-spacing: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}

.pc-speed svg {
  align-self: center;
  color: #9fe3ff;
}

.pc-speed strong {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
  color: var(--white);
}

.pc-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 20px;
}

.pc-price {
  margin: 0;
  color: var(--secondary-color);
  letter-spacing: 0;
}

.pc-amount {
  font-size: 30px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.pc-per {
  margin-left: 2px;
  font-size: 14px;
  color: #4b5565;
}

.pc-billing {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 8px;
  margin: 6px 0 0;
  min-height: 24px;
  font-size: 13px;
  letter-spacing: 0;
  color: #6b7487;
}

.pc-save {
  padding: 2px 8px;
  border-radius: 999px;
  background-color: #dcfce7;
  color: #166534;
  font-size: 12px;
  font-weight: 600;
}

.pc-save[hidden] {
  display: none;
}

.pc-periods {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 1fr;
  gap: 4px;
  padding: 4px;
  border-radius: 10px;
  background-color: #eef5fa;
}

.pc-period {
  padding: 7px 4px;
  border: none;
  border-radius: 7px;
  background: transparent;
  color: #4b5565;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0;
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
  transition: background-color 0.15s, color 0.15s;
}

.pc-period:hover {
  transform: none;
  color: #117dac;
}

.pc-period[aria-pressed="true"] {
  background-color: #117dac;
  color: var(--white);
  box-shadow: 0 2px 6px rgba(17, 125, 172, 0.35);
}

.pc-features {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.pc-features li {
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: 0;
  color: #374151;
}

.pc-feature-icon {
  flex: none;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background-color: #e8f5fb;
  color: #117dac;
}

.pc-otts {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 14px;
  border-top: 1px dashed rgba(12, 18, 59, 0.15);
}

.pc-otts-label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
  color: #6b7487;
}

.pc-otts-logos {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.pc-otts img {
  width: 32px;
  height: 32px;
  padding: 3px;
  object-fit: contain;
  border-radius: 8px;
  background-color: var(--white);
  border: 1px solid rgba(12, 18, 59, 0.1);
}

.pc-otts-more {
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 32px;
  height: 32px;
  border-radius: 8px;
  background-color: #eef5fa;
  color: #117dac;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0;
}

.pc-cta {
  padding: 13px 16px;
  border: none;
  border-radius: 10px;
  background-color: #117dac;
  color: var(--white);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
  transition: background-color 0.15s;
}

.pc-card--featured .pc-cta {
  background-color: #0c123b;
}

.pc-cta:hover {
  transform: none;
  background-color: #0b5f86;
}

.pc-card--featured .pc-cta:hover {
  background-color: #1b2558;
}

.pc-cta:focus-visible,
.pc-period:focus-visible {
  outline: 2px solid #ffd43b;
  outline-offset: 2px;
}

.pc-empty {
  text-align: center;
  color: inherit;
}

@media (prefers-reduced-motion: reduce) {
  .pc-card,
  .pc-card:hover {
    transition: none;
    transform: none;
  }
}

@media (min-width: 600px) {
  .pc-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1100px) {
  .pc-grid {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  }
}

/* category switch used on /connect-us (other pages style #plan-categories in style.css) */
.pc-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 24px;
}

.pc-tabs button {
  padding: 10px 24px;
  border: 1px solid rgba(12, 18, 59, 0.15);
  border-radius: 10px;
  background-color: var(--white);
  color: var(--secondary-color);
  font-size: 15px;
  font-weight: 500;
}

.pc-tabs button.active {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
  color: var(--white);
}

/* ---- Landing-page block (components/plans-block.html) ---- */
.lp-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

.lp-plans {
  padding: 48px 0;
  background-color: #f5f9fc;
  text-align: center;
}

.lp-plans h2,
.lp-faq h2 {
  margin: 0;
  font-size: 28px;
  font-weight: 600;
  letter-spacing: 0;
  color: var(--secondary-color, #0c123b);
}

.lp-lede {
  max-width: 36rem;
  margin: 8px auto 24px;
  font-size: 16px;
  line-height: 26px;
  color: #4b5565;
}

.lp-faq {
  padding: 48px 0;
}

.lp-faq-inner {
  max-width: 800px;
}

.lp-faq h2 {
  margin-bottom: 16px;
}

.lp-faq details {
  border-bottom: 1px solid rgba(12, 18, 59, 0.1);
}

.lp-faq summary {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
  font-size: 16px;
  font-weight: 500;
  color: #0c123b;
  cursor: pointer;
  list-style: none;
}

.lp-faq summary::-webkit-details-marker {
  display: none;
}

.lp-faq summary::after {
  content: "+";
  flex: none;
  font-size: 20px;
  line-height: 1;
  color: #117dac;
}

.lp-faq details[open] summary::after {
  content: "\2212";
}

.lp-faq details p {
  margin: 0 0 16px;
  font-size: 15px;
  line-height: 24px;
  color: #374151;
}

.lp-contact {
  padding: 32px 0;
  background-color: #0c123b;
  color: #fff;
}

.lp-contact-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

.lp-contact p {
  margin: 0;
  font-size: 18px;
  font-weight: 500;
}

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

.lp-btn {
  padding: 12px 20px;
  border-radius: 10px;
  font-weight: 500;
  text-decoration: none;
}

.lp-btn-call {
  background-color: #fff;
  color: #0c123b;
}

.lp-btn-wa {
  background-color: #1a7f45;
  color: #fff;
}

.lp-btn:hover {
  opacity: 0.9;
}

/* "Internet vs Internet Plus" line under the category tabs */
.pc-tab-note {
  margin: 12px auto 20px;
  max-width: 40rem;
  font-size: 14px;
  letter-spacing: 0;
  text-align: center;
  color: inherit;
  opacity: 0.85;
}
