/* ==========================================================================
   AirGo Tel — /calling-plans page specifics
   ========================================================================== */

.ag-plantop {
  max-width: var(--ag-content-max);
  margin: 0 auto;
  padding: 20px var(--ag-gutter) 8px;
}
.ag-plantop__row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 16px;
}
.ag-plantop h1 { font-size: 34px; font-weight: 800; }
.ag-plantop__lead { color: var(--ag-muted); font-size: 15.5px; margin-top: 6px; }

.ag-plantop__field { display: flex; gap: 10px; align-items: end; flex-wrap: wrap; }
.ag-plantop__label {
  display: block;
  font-size: 12px;
  font-weight: 800;
  color: var(--ag-faint);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .04em;
}
.ag-plantop__select {
  background: var(--ag-card);
  border: var(--ag-border-emphasis);
  border-radius: 12px;
  padding: 12px 14px;
  font-weight: 800;
  color: var(--ag-navy);
  font-size: var(--ag-text-base);
  cursor: pointer;
  outline: none;
  min-height: 44px;
}
.ag-plantop__select:focus { border-color: var(--ag-azure); }

/* ---------- Pay-as-you-go banner ---------- */

.ag-paygbar {
  max-width: var(--ag-content-max);
  margin: 0 auto;
  padding: 16px var(--ag-gutter) 0;
}
.ag-paygbar__inner {
  background: var(--ag-azure-100);
  border: 1px solid var(--ag-azure-200);
  border-radius: var(--ag-radius-lg);
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}
.ag-paygbar__text { font-size: 14.5px; color: var(--ag-navy); font-weight: 600; }
.ag-paygbar__link {
  font-size: 13.5px;
  font-weight: 800;
  color: var(--ag-azure-600);
  background: #fff;
  border: 1px solid var(--ag-azure-200);
  padding: 10px 15px;
  border-radius: 10px;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  min-height: 44px;
}
.ag-paygbar__link:hover { border-color: var(--ag-azure); color: var(--ag-azure-600); }

/* ---------- Plan grid + states ---------- */

.ag-plangrid {
  max-width: var(--ag-content-max);
  margin: 0 auto;
  padding: 24px var(--ag-gutter) 40px;
}
.ag-plangrid__state > [hidden] { display: none; }

/* Loading skeleton — kept ready for the catalogue wiring. */
@keyframes agShimmer {
  0% { background-position: -400px 0; }
  100% { background-position: 400px 0; }
}
.ag-skelcard {
  background: var(--ag-card);
  border: var(--ag-border);
  border-radius: var(--ag-radius-xl);
  padding: 24px;
}
.ag-skel {
  background: linear-gradient(90deg, #EEF3F7 0px, #F7FAFC 200px, #EEF3F7 400px);
  background-size: 800px 100%;
  animation: agShimmer 1.4s linear infinite;
  border-radius: 6px;
}
.ag-skel--title { height: 18px; width: 60%; margin-bottom: 14px; }
.ag-skel--price { height: 32px; width: 40%; margin-bottom: 18px; }
.ag-skel--line { height: 12px; width: 100%; margin-bottom: 8px; }
.ag-skel--line-short { height: 12px; width: 80%; margin-bottom: 22px; }
.ag-skel--cta { height: 44px; width: 100%; border-radius: 10px; }

/* Plan card — populated from the catalogue. */
.ag-plan {
  background: var(--ag-card);
  border: var(--ag-border);
  border-radius: var(--ag-radius-xl);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: box-shadow var(--ag-motion-base);
}
.ag-plan:hover { box-shadow: 0 20px 44px rgba(11, 32, 56, .12); }
.ag-plan--featured { background: var(--ag-navy); border-color: var(--ag-navy); color: #fff; }
.ag-plan--featured h3 { color: #fff; }

.ag-plan__badge {
  position: absolute;
  top: -11px;
  left: 24px;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 12px;
  border-radius: var(--ag-radius-pill);
  background: var(--ag-azure-400);
  color: var(--ag-navy);
}

.ag-plan__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.ag-plan__head img { width: 26px; height: 17px; border-radius: 2px; flex-shrink: 0; }
.ag-plan h3 { font-size: 19px; font-weight: 800; }

.ag-plan__price { display: flex; align-items: baseline; gap: 6px; margin-bottom: 4px; }
.ag-plan__amount { font-size: 34px; font-weight: 800; font-family: var(--ag-font-display); }
.ag-plan__per { font-size: 13px; opacity: .7; font-weight: 700; }

.ag-plan__features { display: flex; flex-direction: column; gap: 9px; margin: 8px 0 18px; }
.ag-plan__feature { display: flex; gap: 9px; font-size: 13.5px; font-weight: 600; align-items: flex-start; }
.ag-plan__feature svg { width: 14px; height: 14px; color: var(--ag-success); flex-shrink: 0; margin-top: 2px; }
.ag-plan--featured .ag-plan__feature svg { color: var(--ag-azure-400); }

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 820px) {
  .ag-plantop h1 { font-size: 28px; }
  .ag-plantop__field { width: 100%; }
  .ag-plantop__select { width: 100%; }
}

@media (max-width: 620px) {
  .ag-plantop h1 { font-size: 24px; }
  .ag-plantop__lead { font-size: 14.5px; }
  .ag-paygbar__link { width: 100%; justify-content: center; }
}
