/* ═══════════════════════════════════════════════════════════════════════
   Wireless internet page (/wireless-internet/): loaded after fibre.css and
   business.css (which supplies the For: Home / Business switch, spec rows and
   plan notes). Same look as the home fibre pages, plus radio-signal motifs.
   ═══════════════════════════════════════════════════════════════════════ */

.is-wireless { --biz-ink: #111; --biz-ink-2: #1a1a1a; --biz-line: #ececec; --biz-soft: #fafafa; }

/* ── Hero: pulses from a high site over the skyline ── */
.wl-hero .fh-hero-bg img { object-position: center 40%; }
.wl-signal { position: absolute; left: 61.5%; top: 44%;   /* on the stadium arch in the Durban photo */ width: 0; height: 0; pointer-events: none; }
.wl-signal b { position: absolute; left: -6px; top: -6px; width: 12px; height: 12px; border-radius: 50%; background: #ff4d5a; box-shadow: 0 0 0 4px rgba(216,38,51,0.35), 0 0 24px 6px rgba(216,38,51,0.65); }
.wl-signal i { position: absolute; left: -10px; top: -10px; width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,77,90,0.75); animation: wl-pulse 3.6s cubic-bezier(.2,.6,.3,1) infinite; }
.wl-signal i:nth-child(2) { animation-delay: 1.2s; }
.wl-signal i:nth-child(3) { animation-delay: 2.4s; }
@keyframes wl-pulse { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(22); opacity: 0; } }

.wl-eyebrow { display: inline-flex; align-items: center; gap: 8px; }
.wl-eyebrow svg { width: 15px; height: 15px; }

/* Hero card logo tile (Tech5's own network, so no FNO logo) */
.wl-logo { background: linear-gradient(135deg, #d82633, #99151c); }
.wl-logo span { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-size: 22px; font-weight: 600; letter-spacing: -0.01em; }
.wl-logo span strong { font-weight: 900; }
.wl-logo svg { width: 26px; height: 26px; }

/* Switch buttons carry an icon */
.is-wireless .seg button { display: inline-flex; align-items: center; justify-content: center; gap: 7px; }
.is-wireless .seg button svg { width: 15px; height: 15px; }
.is-wireless .biz-card::after { display: none; }

.wl-inc-note { margin: -4px 0 22px; color: rgba(255,255,255,0.55); font-size: 13px; max-width: 520px; }

/* ── What is fixed wireless: points + animated diagram ── */
.wl-points { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.wl-points li { display: flex; align-items: flex-start; gap: 14px; }
.wl-points li > span:last-child { display: flex; flex-direction: column; color: #6b7280; font-size: 14.5px; line-height: 1.5; }
.wl-points strong { color: #111; font-size: 16px; }

.wl-diagram { margin: 0; padding: 10px; background: #fff; border: 1px solid #f0f0f0; border-radius: 24px; box-shadow: 0 20px 48px rgba(0,0,0,0.06); display: flex; align-items: center; min-height: 100%; }
.wl-diagram svg { display: block; width: 100%; height: auto; max-height: 100%; overflow: visible; }
.wl-sky-top { stop-color: #fff7f7; }
.wl-sky-bottom { stop-color: #fdecee; }
.wl-hill { fill: #f8dfe2; }
.wl-cloud ellipse { fill: #fff; opacity: .9; }
.wl-beam-glow { fill: none; stroke: #d82633; stroke-width: 16; stroke-linecap: round; opacity: .10; }
.wl-packet.p3 { fill: #ff9aa2; }
.wl-rx { fill: none; stroke: #d82633; stroke-width: 3; stroke-linecap: round; animation: wl-wifi 1.6s ease-in-out infinite; }
.wl-rx.r2 { animation-delay: .35s; }
.wl-pill { fill: #fff; stroke: #f0d5d8; }
.wl-pill.is-red { fill: #d82633; stroke: none; }
.wl-labels text.on-red { fill: #fff; }
.wl-ring.r3 { animation-delay: 1.6s; }
/* Point-to-point image: each network node pulses like the hero's high site */
.wl-ground { stroke: #e5e7eb; stroke-width: 2; }
.wl-tower path { fill: none; stroke: #374151; stroke-width: 3; stroke-linejoin: round; stroke-linecap: round; }
.wl-dish { fill: #111; }
.wl-led { fill: #22c55e; }
.wl-ring { fill: none; stroke: #d82633; stroke-width: 2; transform-origin: 118px 134px; animation: wl-ring 2.4s ease-out infinite; }
.wl-ring.r2 { animation-delay: 1.2s; }
@keyframes wl-ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(5); opacity: 0; } }
.wl-link { fill: none; stroke: url(#wl-beam); stroke-width: 3; stroke-dasharray: 8 9; animation: wl-flow 1s linear infinite; }
@keyframes wl-flow { to { stroke-dashoffset: -17; } }
.wl-packet { fill: #d82633; filter: drop-shadow(0 0 6px rgba(216,38,51,0.8)); }
.wl-packet.p2 { fill: #ff6b75; }
.wl-house-body { fill: #fafafa; stroke: #d1d5db; stroke-width: 2; }
.wl-roof { fill: none; stroke: #374151; stroke-width: 4; stroke-linecap: round; stroke-linejoin: round; }
.wl-door { fill: #e5e7eb; }
.wl-window { fill: #fde8ea; stroke: #f5c2c7; }
.wl-mast { stroke: #374151; stroke-width: 3; stroke-linecap: round; }
.wl-router { fill: #111; }
.wl-wifi { fill: none; stroke: #d82633; stroke-width: 2.5; stroke-linecap: round; animation: wl-wifi 1.8s ease-in-out infinite; }
.wl-wifi.w2 { animation-delay: .3s; }
@keyframes wl-wifi { 0%, 100% { opacity: .25; } 50% { opacity: 1; } }
.wl-labels text { fill: #4b5563; font: 700 17px 'Inter', sans-serif; }   /* large, as the drawing shrinks on phones */

/* ── Businesses, schools and estates ── */
.wl-links { display: grid; grid-template-columns: 1fr 1.1fr; align-items: stretch; background: #fff; border: 1px solid #f0f0f0; border-radius: 28px; overflow: hidden; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.wl-links-img { position: relative; min-height: 360px; }
.wl-links-img img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 12% center; } /* keep the tower (left of the photo) in frame */
.wl-links-body { padding: 48px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.wl-tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.wl-tags li { padding: 6px 13px; border-radius: 999px; background: #f5f5f6; color: #4b5563; font-size: 13px; font-weight: 600; }

/* ── Dark theme ── */
[data-theme="dark"] .wl-points strong { color: #fff; }
[data-theme="dark"] .wl-points li > span:last-child, [data-theme="dark"] .wl-labels text { color: rgba(255,255,255,0.6); fill: rgba(255,255,255,0.6); }
[data-theme="dark"] .wl-diagram, [data-theme="dark"] .wl-links { background: #16171d; border-color: rgba(255,255,255,0.07); box-shadow: none; }
[data-theme="dark"] .wl-ground { stroke: rgba(255,255,255,0.12); }
[data-theme="dark"] .wl-sky-top { stop-color: #1b1c24; }
[data-theme="dark"] .wl-sky-bottom { stop-color: #2a1418; }
[data-theme="dark"] .wl-hill { fill: #2f171b; }
[data-theme="dark"] .wl-cloud ellipse { fill: rgba(255,255,255,0.06); }
[data-theme="dark"] .wl-pill { fill: #16171d; stroke: rgba(255,255,255,0.12); }
[data-theme="dark"] .wl-tower path, [data-theme="dark"] .wl-roof, [data-theme="dark"] .wl-mast { stroke: rgba(255,255,255,0.75); }
[data-theme="dark"] .wl-dish, [data-theme="dark"] .wl-router { fill: #e5e7eb; }
[data-theme="dark"] .wl-house-body { fill: #1e1f27; stroke: rgba(255,255,255,0.15); }
[data-theme="dark"] .wl-door { fill: rgba(255,255,255,0.08); }
[data-theme="dark"] .wl-window { fill: rgba(216,38,51,0.18); stroke: rgba(216,38,51,0.35); }
[data-theme="dark"] .wl-tags li { background: rgba(255,255,255,0.06); color: rgba(255,255,255,0.72); }

@media (prefers-reduced-motion: reduce) {
    .wl-signal i, .wl-ring, .wl-link, .wl-wifi, .wl-rx { animation: none; }
    .wl-signal i { display: none; }
    .wl-packet { display: none; }
}

/* ── Tablets and phones ── */
@media (max-width: 1023px) {
    .wl-links { grid-template-columns: 1fr; }
    .wl-links-img { min-height: 220px; }
    .wl-links-body { padding: 32px; }
}
@media (max-width: 767px) {
    .wl-signal { left: auto; right: 10%; top: 7%; }
    .wl-logo span { font-size: 15px; gap: 6px; }
    .wl-logo svg { width: 18px; height: 18px; }
    .wl-inc-note { font-size: 12.5px; margin-bottom: 16px; }
    .wl-diagram { padding: 14px 8px 6px; border-radius: 18px; }
    .wl-links { border-radius: 20px; }
    .wl-links-img { min-height: 180px; }
    .wl-links-body { padding: 24px 20px; }
    .wl-tags li { font-size: 12px; padding: 5px 11px; }
    .wl-points li > span:last-child { font-size: 14px; }
}

/* Phones: the hero card's logo tile is narrow, so stack the icon over the name */
@media (max-width: 767px) {
    .wl-logo span { flex-direction: column; gap: 3px; font-size: 12.5px; line-height: 1.15; text-align: center; }
    .wl-logo span strong { display: block; }
    /* icon + two lines need ~66px; the 2:1 tile is only 54px tall at 108px wide, which cut the icon off */
    .wl-logo { aspect-ratio: auto; min-height: 54px; }
    .wl-logo span { padding: 8px 6px; }
}
