/* ═══════════════════════════════════════════════════════════════════════
   IoT page (/iot/): loaded after fibre.css.
   Hero network diagram (devices sending packets to a gateway, with a
   cycling alert), a sense → send → see flow, offer cards, a dark asset
   tracking section with a geofence demo, use-case cards with example
   readouts, and an inline enquiry form.
   ═══════════════════════════════════════════════════════════════════════ */

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

/* ── Hero ── */
.io-hero-bg { background: #0a0a0a; }
.io-hero .fh-hero-bg img { object-position: 60% center; }
.io-net { width: 100%; max-width: 440px; margin: 0 auto; }
.io-net-stage { position: relative; aspect-ratio: 1; }
.io-net-lines { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.io-net-ring { fill: none; stroke: rgba(255,255,255,0.08); stroke-width: 1; stroke-dasharray: 3 6; }
.io-net-ring.is-inner { stroke: rgba(216,38,51,0.25); }
.io-net-link { fill: none; stroke: rgba(255,255,255,0.14); stroke-width: 1.5; }
.io-net-packet { fill: #ff4d5a; filter: drop-shadow(0 0 4px rgba(255,77,90,0.9)); opacity: 0; animation: io-fade .3s .4s forwards; }  /* hidden until the SMIL clock has placed them */
@keyframes io-fade { to { opacity: 1; } }
.io-net-hub { position: absolute; left: 50%; top: 50%; width: 27%; aspect-ratio: 1; transform: translate(-50%, -50%); border-radius: 50%; background: linear-gradient(135deg, #d82633, #99151c); box-shadow: 0 0 0 8px rgba(216,38,51,0.14), 0 18px 40px rgba(216,38,51,0.35); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; }
.io-net-hub svg { width: 34%; height: 34%; }
.io-net-hub b { font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.io-net-pulse { position: absolute; inset: 0; border-radius: 50%; border: 2px solid rgba(216,38,51,0.6); animation: io-pulse 2.6s ease-out infinite; }
@keyframes io-pulse { from { transform: scale(1); opacity: 1; } to { transform: scale(2.1); opacity: 0; } }
.io-net-node { position: absolute; transform: translate(-50%, -50%); display: flex; flex-direction: column; align-items: center; gap: 6px; }
.io-net-node span { width: 54px; height: 54px; border-radius: 16px; background: rgba(24,24,28,0.92); border: 1px solid rgba(255,255,255,0.12); box-shadow: 0 12px 28px rgba(0,0,0,0.45); color: #fff; display: flex; align-items: center; justify-content: center; }
.io-net-node svg { width: 22px; height: 22px; }
.io-net-node b { color: rgba(255,255,255,0.7); font-size: 12px; font-weight: 600; white-space: nowrap; }
.io-net-toast { display: flex; align-items: center; gap: 12px; margin: 10px auto 0; max-width: 340px; padding: 12px 16px; border-radius: 16px; background: rgba(255,255,255,0.96); box-shadow: 0 20px 50px rgba(0,0,0,0.45); transition: opacity .35s, transform .35s; }
.io-net-toast.is-out { opacity: 0; transform: translateY(6px); }
.io-net-toast > svg { width: 20px; height: 20px; color: #d82633; flex-shrink: 0; }
.io-net-toast span { display: flex; flex-direction: column; min-width: 0; }
.io-net-toast strong { color: #111; font-size: 14px; line-height: 1.3; }
.io-net-toast small { color: #6b7280; font-size: 12px; }

/* ── Sense → send → see ── */
.io-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; position: relative; }
.io-flow-step { position: relative; padding: 26px 22px 24px; border-radius: 22px; background: #fff; border: 1px solid #eee; box-shadow: 0 14px 40px rgba(0,0,0,0.06); }
.io-flow-step:not(:last-child)::after { content: ''; position: absolute; right: -13px; top: 48px; width: 10px; height: 10px; border-top: 2.5px solid #d82633; border-right: 2.5px solid #d82633; transform: rotate(45deg); z-index: 1; }
.io-flow-icon { width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(135deg, #d82633, #99151c); color: #fff; display: flex; align-items: center; justify-content: center; margin-bottom: 16px; box-shadow: 0 10px 24px rgba(216,38,51,0.3); }
.io-flow-icon svg { width: 22px; height: 22px; }
.io-flow-n { position: absolute; top: 22px; right: 22px; color: #e5e7eb; font-size: 34px; font-weight: 900; line-height: 1; }
.io-flow-step h3 { font-size: 19px; font-weight: 800; color: #111; margin-bottom: 6px; }
.io-flow-step p { color: #6b7280; font-size: 14.5px; line-height: 1.55; }

/* ── Offer cards ── */
.io-offer { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.io-offer-card { display: flex; flex-direction: column; padding: 30px 28px 26px; border-radius: 24px; background: #fff; border: 1px solid #eee; box-shadow: 0 14px 40px rgba(0,0,0,0.06); transition: transform .25s, box-shadow .25s; }
.io-offer-card:hover { transform: translateY(-4px); box-shadow: 0 22px 50px rgba(0,0,0,0.1); }
.io-offer-icon { width: 54px; height: 54px; border-radius: 16px; background: rgba(216,38,51,0.1); color: #d82633; display: flex; align-items: center; justify-content: center; margin-bottom: 18px; }
.io-offer-icon svg { width: 25px; height: 25px; }
.io-offer-card h3 { font-size: 21px; font-weight: 800; color: #111; margin-bottom: 8px; }
.io-offer-card p { color: #6b7280; font-size: 15px; line-height: 1.6; margin-bottom: 18px; flex: 1; }
.io-offer-card a { display: inline-flex; align-items: center; gap: 6px; color: #d82633; font-weight: 700; font-size: 14.5px; }
.io-offer-card a svg { width: 16px; height: 16px; transition: transform .2s; }
.io-offer-card a:hover svg { transform: translateX(3px); }

/* ── Asset tracking (dark) ── */
.io-track-sec { position: relative; background: radial-gradient(ellipse at 85% 20%, rgba(216,38,51,0.18), transparent 55%), #0d0d10; overflow: hidden; }
.io-tracker { display: flex; align-items: center; gap: 24px; }
.io-tracker img { width: 92px; height: auto; flex-shrink: 0; filter: drop-shadow(0 18px 30px rgba(0,0,0,0.6)) brightness(1.25); }
.io-tracker-feats { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; flex: 1; min-width: 0; }
.io-tracker-feats li { display: flex; align-items: center; gap: 9px; padding: 12px 14px; border-radius: 14px; background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); color: #fff; font-size: 14px; font-weight: 600; line-height: 1.3; }
.io-tracker-feats svg { width: 17px; height: 17px; color: #ff4d5a; flex-shrink: 0; }
.io-specs { margin: 22px 0 0; display: grid; gap: 1px; border-radius: 14px; overflow: hidden; background: rgba(255,255,255,0.08); }
.io-specs div { display: grid; grid-template-columns: 130px 1fr; gap: 12px; padding: 11px 16px; background: #141418; }
.io-specs dt { color: rgba(255,255,255,0.5); font-size: 13px; }
.io-specs dd { color: #fff; font-size: 14px; font-weight: 600; }

.io-geo { border-radius: 26px; background: #16171d; border: 1px solid rgba(255,255,255,0.09); box-shadow: 0 30px 80px rgba(0,0,0,0.5); overflow: hidden; }
.io-geo-head { display: flex; align-items: center; gap: 12px; padding: 16px 20px; border-bottom: 1px solid rgba(255,255,255,0.07); }
.io-geo-dot { width: 10px; height: 10px; border-radius: 50%; background: #22c55e; box-shadow: 0 0 0 4px rgba(34,197,94,0.18); flex-shrink: 0; }
.io-geo-head div { flex: 1; min-width: 0; }
.io-geo-head strong { display: block; color: #fff; font-size: 15px; }
.io-geo-head div span { color: rgba(255,255,255,0.5); font-size: 12.5px; }
.io-geo-state { padding: 5px 12px; border-radius: 999px; background: rgba(34,197,94,0.14); color: #4ade80; font-size: 12.5px; font-weight: 700; transition: all .3s; }
.io-geo.is-out .io-geo-state { background: rgba(216,38,51,0.18); color: #ff6b75; }
.io-geo-map { position: relative; aspect-ratio: 400 / 260; background: #1d1f26; }
.io-geo-map > svg { position: absolute; inset: 0; width: 100%; height: 100%; }
.io-geo-road { fill: none; stroke: #2e313b; stroke-width: 14; stroke-linecap: round; }
.io-geo-road.is-minor { stroke-width: 7; }
.io-geo-block { fill: #252831; }
.io-geo-fence { fill: rgba(34,197,94,0.10); stroke: #22c55e; stroke-width: 2; stroke-dasharray: 7 6; transition: fill .4s, stroke .4s; }
.io-geo.is-out .io-geo-fence { fill: rgba(216,38,51,0.08); stroke: #d82633; }
.io-geo-asset { position: absolute; left: 27.5%; top: 65.4%; width: 40px; height: 40px; margin: -20px 0 0 -20px; border-radius: 50%; background: #fff; color: #111; display: flex; align-items: center; justify-content: center; box-shadow: 0 0 0 6px rgba(255,255,255,0.15), 0 10px 24px rgba(0,0,0,0.5); transition: left 2.4s cubic-bezier(.45,0,.3,1), top 2.4s cubic-bezier(.45,0,.3,1); }
.io-geo-asset svg { width: 19px; height: 19px; }
.io-geo.is-out .io-geo-asset { left: 82%; top: 24%; }
.io-geo-alert { display: flex; align-items: center; gap: 12px; margin: 14px 16px 0; padding: 12px 14px; border-radius: 14px; background: rgba(216,38,51,0.12); border: 1px solid rgba(216,38,51,0.3); animation: io-in .35s ease-out; }
.io-geo-alert.is-ok { background: rgba(34,197,94,0.1); border-color: rgba(34,197,94,0.3); }
.io-geo-alert > svg { width: 19px; height: 19px; color: #ff6b75; flex-shrink: 0; }
.io-geo-alert.is-ok > svg { color: #4ade80; }
.io-geo-alert span { display: flex; flex-direction: column; min-width: 0; }
.io-geo-alert strong { color: #fff; font-size: 14px; line-height: 1.35; }
.io-geo-alert small { color: rgba(255,255,255,0.55); font-size: 12px; }
@keyframes io-in { from { opacity: 0; transform: translateY(6px); } }
.io-geo-foot { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 10px 16px; padding: 16px 20px 18px; }
.io-geo-foot button { display: inline-flex; align-items: center; gap: 8px; }
.io-geo-foot button:disabled { opacity: .6; cursor: wait; }
.io-geo-foot p { color: rgba(255,255,255,0.4); font-size: 12.5px; }

/* ── Use cases ── */
.io-uses { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.io-use { display: flex; flex-direction: column; padding: 28px; border-radius: 24px; background: #fff; border: 1px solid #eee; box-shadow: 0 14px 40px rgba(0,0,0,0.06); }
.io-use-top { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.io-use-icon { width: 52px; height: 52px; border-radius: 16px; background: linear-gradient(135deg, #d82633, #99151c); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 10px 24px rgba(216,38,51,0.28); }
.io-use-icon svg { width: 24px; height: 24px; }
.io-use h3 { font-size: 20px; font-weight: 800; color: #111; margin-bottom: 4px; }
.io-use-top p { color: #6b7280; font-size: 15px; line-height: 1.55; }
.io-readout { list-style: none; margin: 0 0 20px; padding: 6px 16px; border-radius: 16px; background: #f7f7f8; border: 1px solid #efefef; flex: 1; }
.io-readout li { display: flex; align-items: center; gap: 12px; padding: 11px 0; font-size: 14px; }
.io-readout li + li { border-top: 1px solid #ececec; }
.io-readout-label { color: #4b5563; flex: 1; min-width: 0; }
.io-readout strong { display: inline-flex; align-items: center; gap: 7px; color: #111; font-weight: 700; white-space: nowrap; }
.io-readout strong i { width: 8px; height: 8px; border-radius: 50%; background: #22c55e; }
.io-readout .is-move strong i { background: #f59e0b; }
.io-readout .is-warn strong i { background: #d82633; }
.io-readout-bar { width: 32%; max-width: 140px; height: 8px; border-radius: 99px; background: #e5e7eb; overflow: hidden; flex-shrink: 0; }
.io-readout-bar i { display: block; height: 100%; width: var(--v); border-radius: inherit; background: linear-gradient(90deg, #d82633, #ff4d5a); }
.io-readout .is-bar strong { min-width: 38px; justify-content: flex-end; }
.io-use-cta { display: inline-flex; align-items: center; gap: 6px; color: #d82633; font-weight: 700; font-size: 14.5px; align-self: flex-start; }
.io-use-cta svg { width: 16px; height: 16px; transition: transform .2s; }
.io-use-cta:hover svg { transform: translateX(3px); }

/* ── Why Tech5 ── */
.io-why { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.io-why-card { display: flex; align-items: flex-start; gap: 14px; padding: 22px; border-radius: 20px; background: #fff; border: 1px solid #eee; box-shadow: 0 10px 30px rgba(0,0,0,0.05); }
.io-why-card h3 { font-size: 17px; font-weight: 800; color: #111; margin-bottom: 4px; }
.io-why-card p { color: #6b7280; font-size: 14.5px; line-height: 1.55; }

/* ── Enquiry form ── */
.io-talk { display: grid; grid-template-columns: 0.85fr 1.15fr; border-radius: 28px; overflow: hidden; box-shadow: 0 30px 80px rgba(0,0,0,0.14); background: #fff; }
.io-talk-side { position: relative; padding: 44px; background: radial-gradient(ellipse at 20% 110%, rgba(216,38,51,0.45), transparent 60%), radial-gradient(ellipse at 100% 0%, rgba(216,38,51,0.12), transparent 50%), #0d0d10; min-width: 0; }
.io-talk-steps { list-style: none; margin: 0 0 28px; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.io-talk-steps li { display: flex; align-items: center; gap: 12px; color: rgba(255,255,255,0.85); font-size: 14.5px; line-height: 1.4; }
.io-talk-steps span { width: 28px; height: 28px; border-radius: 50%; background: rgba(216,38,51,0.2); border: 1px solid rgba(216,38,51,0.5); color: #fff; font-size: 13px; font-weight: 800; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.io-talk-alt { display: flex; flex-direction: column; gap: 10px; }
.io-talk-alt a { display: inline-flex; align-items: center; gap: 8px; color: #fff; font-weight: 700; font-size: 14.5px; }
.io-talk-alt svg { width: 18px; height: 18px; color: #ff4d5a; flex-shrink: 0; }
.io-talk-alt a + a svg { color: #25d366; }
.io-form { padding: 40px; min-width: 0; }
.io-form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 18px; }
.io-field { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.io-field span { color: #374151; font-size: 13px; font-weight: 700; }
.io-field input, .io-field select, .io-field textarea { font: inherit; font-size: 15px; color: #111; padding: 12px 14px; border: 1.5px solid #e5e7eb; border-radius: 12px; background: #fafafa; outline: none; transition: border-color .2s, background .2s; resize: vertical; min-width: 0; width: 100%; }
.io-field input:focus, .io-field select:focus, .io-field textarea:focus { border-color: #d82633; background: #fff; }
.io-form > .io-field { margin-bottom: 18px; }
.io-chips { margin: 0 0 18px; padding: 0; border: 0; min-width: 0; }
.io-chips legend { color: #374151; font-size: 13px; font-weight: 700; margin-bottom: 8px; }
.io-chips label { display: inline-block; margin: 0 6px 6px 0; cursor: pointer; }
.io-chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.io-chips span { display: inline-block; padding: 8px 14px; border-radius: 999px; border: 1.5px solid #e5e7eb; color: #4b5563; font-size: 13.5px; font-weight: 600; transition: all .15s; }
.io-chips input:checked + span { background: #d82633; border-color: #d82633; color: #fff; }
.io-chips input:focus-visible + span { outline: 2px solid #d82633; outline-offset: 2px; }
.io-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.io-send:disabled { opacity: .7; cursor: wait; }
.io-form-msg { margin-top: 12px; font-size: 14px; font-weight: 600; text-align: center; line-height: 1.45; }
.io-form-msg:empty { display: none; }
.io-form-msg.is-ok { color: #15803d; }
.io-form-msg.is-error { color: #d82633; }

/* ── Closing CTA ── */
.io-cta { background: #0a0a0a; }

/* ── Dark theme ── */
[data-theme="dark"] .io-flow-step, [data-theme="dark"] .io-offer-card, [data-theme="dark"] .io-use, [data-theme="dark"] .io-why-card, [data-theme="dark"] .io-talk { background: #16171d; border-color: rgba(255,255,255,0.07); box-shadow: none; }
[data-theme="dark"] .io-flow-step h3, [data-theme="dark"] .io-offer-card h3, [data-theme="dark"] .io-use h3, [data-theme="dark"] .io-why-card h3, [data-theme="dark"] .io-readout strong { color: #fff; }
[data-theme="dark"] .io-flow-step p, [data-theme="dark"] .io-offer-card p, [data-theme="dark"] .io-use-top p, [data-theme="dark"] .io-why-card p, [data-theme="dark"] .io-readout-label { color: rgba(255,255,255,0.6); }
[data-theme="dark"] .io-flow-n { color: rgba(255,255,255,0.08); }
[data-theme="dark"] .io-readout { background: rgba(255,255,255,0.03); border-color: rgba(255,255,255,0.07); }
[data-theme="dark"] .io-readout li + li { border-color: rgba(255,255,255,0.07); }
[data-theme="dark"] .io-readout-bar { background: rgba(255,255,255,0.1); }
[data-theme="dark"] .io-field span, [data-theme="dark"] .io-chips legend { color: rgba(255,255,255,0.75); }
[data-theme="dark"] .io-field input, [data-theme="dark"] .io-field select, [data-theme="dark"] .io-field textarea { background: rgba(255,255,255,0.04); border-color: rgba(255,255,255,0.12); color: #fff; }
[data-theme="dark"] .io-chips span { border-color: rgba(255,255,255,0.14); color: rgba(255,255,255,0.75); }

@media (prefers-reduced-motion: reduce) {
    .io-net-pulse, .io-geo-alert { animation: none; }
    .io-net-packet { display: none; }
    .io-geo-asset { transition-duration: .01s; }
}

/* ── Tablets ── */
@media (max-width: 1023px) {
    .io-net { max-width: 400px; }
    .io-offer { grid-template-columns: minmax(0, 1fr); max-width: 640px; margin: 0 auto; }
    .io-talk { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 899px) {
    .io-uses { grid-template-columns: minmax(0, 1fr); }
}

/* ── Phones ── */
@media (max-width: 767px) {
    .io-net { max-width: 340px; }
    .io-net-node span { width: 44px; height: 44px; border-radius: 13px; }
    .io-net-node svg { width: 19px; height: 19px; }
    .io-net-node b { font-size: 11px; }
    .io-net-hub b { font-size: 10.5px; }
    .io-net-toast { padding: 10px 14px; }
    .io-net-toast strong { font-size: 13px; }
    .io-flow { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .io-flow-step { display: grid; grid-template-columns: 48px 1fr; column-gap: 14px; padding: 20px 18px; }
    .io-flow-icon { grid-row: span 2; margin: 0; }
    .io-flow-step:not(:last-child)::after { right: auto; left: 50%; top: auto; bottom: -15px; margin-left: -5px; transform: rotate(135deg); }
    .io-flow-n { top: 18px; right: 18px; font-size: 26px; }
    .io-flow-step h3 { font-size: 17px; margin: 2px 0 4px; }
    .io-flow-step p { font-size: 14px; }
    .io-offer-card { padding: 24px 20px 22px; border-radius: 20px; }
    .io-offer-card h3 { font-size: 19px; }
    .io-tracker { gap: 16px; align-items: flex-start; }
    .io-tracker img { width: 64px; }
    .io-tracker-feats { grid-template-columns: minmax(0, 1fr); gap: 8px; }
    .io-tracker-feats li { padding: 10px 12px; font-size: 13.5px; }
    .io-specs div { grid-template-columns: minmax(0, 1fr); gap: 2px; }
    .io-geo { border-radius: 20px; }
    .io-geo-head { padding: 14px 16px; }
    .io-geo-asset { width: 32px; height: 32px; margin: -16px 0 0 -16px; }
    .io-geo-asset svg { width: 16px; height: 16px; }
    .io-geo-foot { padding: 14px 16px 16px; }
    .io-use { padding: 22px 18px; border-radius: 20px; }
    .io-use-top { gap: 14px; }
    .io-use-icon { width: 46px; height: 46px; border-radius: 14px; }
    .io-use h3 { font-size: 18px; }
    .io-use-top p { font-size: 14px; }
    .io-readout { padding: 4px 12px; }
    .io-readout li { gap: 10px; font-size: 13.5px; flex-wrap: wrap; }
    .io-readout-bar { width: 28%; }
    .io-why { grid-template-columns: minmax(0, 1fr); gap: 10px; }
    .io-why-card { padding: 18px; }
    .io-talk { border-radius: 20px; }
    .io-talk-side { padding: 28px 20px; }
    .io-form { padding: 24px 18px; }
    .io-form-grid { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .io-chips span { padding: 7px 12px; font-size: 13px; }
}
@media (max-width: 374px) {
    .io-net-node span { width: 38px; height: 38px; border-radius: 11px; }
    .io-net-node svg { width: 17px; height: 17px; }
    .io-net-node b { font-size: 10px; }
    .io-net-hub b { display: none; }
}

/* Dark mode: the demo notification matches the dark cards (page audit, 3 Dec 2026) */
[data-theme="dark"] .io-net-toast { background: rgba(22,23,29,0.96); box-shadow: 0 20px 50px rgba(0,0,0,0.6); border: 1px solid rgba(255,255,255,0.08); }
[data-theme="dark"] .io-net-toast strong { color: #fff; }
[data-theme="dark"] .io-net-toast small { color: rgba(255,255,255,0.65); }
