/* Mobile sticky call-only landing — phones only; desktop shows full site */
:root {
  --msl-blue: #00388f;
  --msl-blue-dark: #002a6b;
  --msl-bar-height: 72px;
}

.mobile-sticky-landing {
  display: none;
}

@media (max-width: 767px) {
  body.page-mobile-sticky,
  body.page-internet-marketing {
    margin: 0;
    overflow: hidden;
    height: 100dvh;
    height: 100vh;
  }

  body.page-mobile-sticky .desktop-site,
  body.page-mobile-sticky .cookie-banner,
  body.page-internet-marketing .desktop-site,
  body.page-internet-marketing .cookie-banner {
    display: none !important;
  }

  body.page-mobile-sticky .mobile-sticky-landing,
  body.page-internet-marketing .mobile-sticky-landing {
    display: flex;
    flex-direction: column;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: #fff;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    overflow: hidden;
  }

  .msl-top-bar {
    flex-shrink: 0;
    background: var(--msl-blue);
    padding: 0.75rem 1rem;
    text-align: center;
  }

  .msl-top-label {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.85);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 0.2rem;
  }

  .msl-top-phone {
    color: #fff;
    font-size: 1.25rem;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 0.02em;
  }

  .msl-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.25rem 1.5rem calc(var(--msl-bar-height) + 1rem);
    text-align: center;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  .msl-logo {
    width: min(220px, 72vw);
    height: auto;
    margin-bottom: 0.75rem;
  }

  .msl-badge {
    display: inline-block;
    background: #e8f4fc;
    color: var(--msl-blue);
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    margin: 0 0 1rem;
  }

  .msl-body h1 {
    font-size: 1.55rem;
    font-weight: 700;
    color: #111;
    line-height: 1.25;
    margin: 0 0 0.75rem;
    max-width: 320px;
  }

  .msl-sub {
    font-size: 0.92rem;
    color: #444;
    line-height: 1.5;
    margin: 0 0 1.25rem;
    max-width: 300px;
  }

  .msl-cta-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.15rem;
    width: 100%;
    max-width: 300px;
    background: var(--msl-blue);
    color: #fff;
    text-decoration: none;
    padding: 1rem 1.25rem;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 56, 143, 0.4);
    animation: msl-pulse 2s ease-in-out infinite;
  }

  .msl-cta-btn:active {
    background: var(--msl-blue-dark);
    animation: none;
    transform: scale(0.98);
  }

  .msl-cta-icon {
    margin-bottom: 0.15rem;
  }

  .msl-cta-text {
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
  }

  .msl-cta-number {
    font-size: 1.35rem;
    font-weight: 700;
  }

  @keyframes msl-pulse {
    0%, 100% { box-shadow: 0 6px 20px rgba(0, 56, 143, 0.4); transform: scale(1); }
    50% { box-shadow: 0 8px 28px rgba(0, 56, 143, 0.55); transform: scale(1.02); }
  }

  .msl-bullets {
    list-style: none;
    margin: 1.25rem 0 0;
    padding: 0;
    max-width: 300px;
  }

  .msl-bullets li {
    font-size: 0.85rem;
    color: #555;
    padding: 0.3rem 0;
    line-height: 1.4;
  }

  .msl-disclosure {
    font-size: 0.65rem;
    color: #888;
    line-height: 1.45;
    margin-top: 1.25rem;
    max-width: 300px;
  }

  .msl-disclosure a {
    color: var(--msl-blue);
  }

  .msl-bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--msl-blue);
    padding: 0.85rem 1rem;
    padding-bottom: max(0.85rem, env(safe-area-inset-bottom));
    text-align: center;
    z-index: 10000;
    box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.2);
  }

  .msl-bottom-cta {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
  }
}

@media (min-width: 768px) {
  .mobile-sticky-landing {
    display: none !important;
  }
}

/* ========== Internet marketing sticky (internet.html) ========== */
@media (max-width: 767px) {
  .msl-internet {
    background: linear-gradient(180deg, #f0f7ff 0%, #fff 35%, #fff 100%);
  }

  .msl-internet .msl-body {
    justify-content: flex-start;
    padding-top: 0.75rem;
    gap: 0;
  }

  .msl-top-bar-live {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding-top: 0.85rem;
  }
  .msl-live-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    vertical-align: middle;
    animation: msl-live-blink 1.5s ease-in-out infinite;
    box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.6);
    flex-shrink: 0;
  }

  @keyframes msl-live-blink {
    0%, 100% { opacity: 1; box-shadow: 0 0 0 0 rgba(74, 222, 128, 0.5); }
    50% { opacity: 0.85; box-shadow: 0 0 0 6px rgba(74, 222, 128, 0); }
  }

  .msl-internet .msl-top-label {
    font-size: 0.68rem;
    text-transform: none;
    letter-spacing: 0.02em;
    display: inline;
  }

  .msl-top-status {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
  }

  .msl-internet .msl-logo {
    width: min(200px, 65vw);
    margin-bottom: 0.5rem;
  }

  .msl-overline {
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--msl-blue);
    margin: 0 0 0.35rem;
  }

  .msl-internet h1 {
    font-size: 1.65rem;
    max-width: 340px;
    margin-bottom: 0.5rem;
    color: #0a1628;
  }

  .msl-internet .msl-sub {
    font-size: 0.9rem;
    color: #333;
    margin-bottom: 1rem;
    max-width: 320px;
    line-height: 1.45;
  }

  .msl-price-card {
    width: 100%;
    max-width: 300px;
    background: #fff;
    border: 2px solid var(--msl-blue);
    border-radius: 14px;
    padding: 0.85rem 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 4px 16px rgba(0, 56, 143, 0.12);
    text-align: center;
  }

  .msl-price-label {
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #666;
    margin: 0 0 0.2rem;
  }

  .msl-price-plan {
    font-size: 0.95rem;
    font-weight: 700;
    color: #111;
    margin: 0 0 0.15rem;
  }

  .msl-price-amount {
    font-size: 2.25rem;
    font-weight: 800;
    color: var(--msl-blue);
    line-height: 1;
    margin: 0 0 0.35rem;
  }

  .msl-price-amount span {
    font-size: 1rem;
    font-weight: 600;
    color: #444;
  }

  .msl-price-note {
    font-size: 0.62rem;
    color: #777;
    line-height: 1.35;
    margin: 0;
  }

  .msl-internet .msl-cta-btn {
    max-width: 320px;
    padding: 1.1rem 1.25rem;
  }

  .msl-cta-primary {
    background: linear-gradient(180deg, #004aab 0%, var(--msl-blue) 100%);
  }

  .msl-benefits {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.5rem;
    width: 100%;
    max-width: 320px;
    margin-top: 1rem;
  }

  .msl-benefit {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.35rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 10px;
    padding: 0.6rem 0.35rem;
    font-size: 0.68rem;
    font-weight: 600;
    color: #333;
    line-height: 1.25;
    text-align: center;
  }

  .msl-benefit img {
    flex-shrink: 0;
  }

  .msl-plan-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.45rem;
    width: 100%;
    max-width: 320px;
    margin-top: 0.85rem;
  }

  .msl-plan-chip {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.15rem;
    padding: 0.55rem 0.25rem;
    background: #fff;
    border: 1.5px solid #cbd5e1;
    border-radius: 10px;
    text-decoration: none;
    color: inherit;
    transition: border-color 0.15s, background 0.15s;
  }

  .msl-plan-chip:active {
    background: #e8f4fc;
    border-color: var(--msl-blue);
  }

  .msl-plan-chip strong {
    font-size: 0.78rem;
    color: #111;
  }

  .msl-plan-chip span {
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--msl-blue);
  }

  .msl-plan-chip-featured {
    border-color: var(--msl-blue);
    background: #e8f4fc;
    position: relative;
  }

  .msl-plan-chip-featured::before {
    content: 'Popular';
    position: absolute;
    top: -0.5rem;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.55rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    background: var(--msl-blue);
    color: #fff;
    padding: 0.1rem 0.4rem;
    border-radius: 4px;
    white-space: nowrap;
  }

  .msl-trust {
    font-size: 0.72rem;
    font-weight: 600;
    color: #2d6a4f;
    margin: 0.85rem 0 0;
    max-width: 320px;
  }

  .msl-internet .msl-disclosure {
    margin-top: 0.75rem;
    font-size: 0.6rem;
    max-width: 320px;
  }

  .msl-internet .msl-bottom-cta {
    font-size: 1.15rem;
  }
}
