/* IoT Training theme - design system
   Tokens -> base -> layout -> components -> templates.
   Mobile-first; breakpoints: 640 / 900 / 1100. System font stack for zero font-load shift. */

:root {
	--navy: #0b1d33;
	--navy-2: #14304f;
	--ink: #14263b;
	--text: #28394d;
	--muted: #546577;
	--teal: #0a7c78;
	--teal-dark: #075e5b;
	--teal-soft: #e3f3f2;
	--blue: #1d5fc4;
	--bg: #ffffff;
	--surface: #f4f7fa;
	--border: #d6e0e8;
	--warn-bg: #fff6e0;
	--warn-text: #6b4600;
	--ok-bg: #e5f6ec;
	--ok-text: #0b5d2e;
	--err-bg: #fdecec;
	--err-text: #9a1f1f;
	--wa: #25d366;
	--radius: 12px;
	--radius-sm: 8px;
	--shadow: 0 1px 2px rgba(11, 29, 51, .06), 0 6px 20px rgba(11, 29, 51, .07);
	--font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif;
	--mono: ui-monospace, SFMono-Regular, Menlo, Consolas, "Liberation Mono", monospace;
	--maxw: 1180px;
	--maxw-narrow: 820px;
	--gutter: 16px;
	--header-h: 64px;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
	margin: 0;
	font-family: var(--font);
	font-size: 1rem;
	line-height: 1.65;
	color: var(--text);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	padding-bottom: 64px; /* room for mobile contact bar */
}
img, svg { max-width: 100%; height: auto; }
h1, h2, h3, h4 { color: var(--navy); line-height: 1.22; margin: 0 0 .6em; font-weight: 700; letter-spacing: -.01em; text-wrap: balance; }
h1 { font-size: clamp(1.75rem, 1.2rem + 2.4vw, 2.75rem); }
h2 { font-size: clamp(1.4rem, 1.1rem + 1.2vw, 1.9rem); }
h3 { font-size: 1.15rem; }
p { margin: 0 0 1em; }
a { color: var(--teal-dark); text-underline-offset: 3px; }
a:hover { color: var(--navy); }
:focus-visible { outline: 3px solid var(--blue); outline-offset: 2px; border-radius: 4px; }
::selection { background: var(--teal-soft); }
code, pre { font-family: var(--mono); font-size: .92em; }
.iot-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.skip-link { position: absolute; left: 8px; top: -60px; z-index: 1000; background: var(--navy); color: #fff; padding: 10px 14px; border-radius: 0 0 8px 8px; }
.skip-link:focus { top: 0; }
.container { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: var(--gutter); }
.container--narrow { max-width: var(--maxw-narrow); }
.site-main:focus { outline: none; }

/* ---------- Buttons ---------- */
.iot-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: .5em;
	min-height: 44px; padding: .65em 1.15em;
	font: inherit; font-weight: 650; font-size: .98rem; line-height: 1.2; text-decoration: none; text-align: center;
	border: 2px solid transparent; border-radius: 10px; cursor: pointer;
	transition: background-color .15s, border-color .15s, color .15s, transform .1s;
}
.iot-btn .iot-ico { width: 1.15em; height: 1.15em; flex: none; }
.iot-btn--primary { background: var(--teal); color: #fff; }
.iot-btn--primary:hover { background: var(--teal-dark); color: #fff; }
.iot-btn--ghost { background: #fff; color: var(--navy); border-color: var(--border); }
.iot-btn--ghost:hover { border-color: var(--teal); color: var(--teal-dark); }
.iot-btn--ghost-light { background: transparent; color: #fff; border-color: rgba(255, 255, 255, .55); }
.iot-btn--ghost-light:hover { background: rgba(255, 255, 255, .12); color: #fff; border-color: #fff; }
.iot-btn--whatsapp { background: var(--wa); color: #04210f; }
.iot-btn--whatsapp:hover { background: #1fb858; color: #04210f; }
.iot-btn--text { background: transparent; color: var(--teal-dark); padding-inline: .5em; text-decoration: underline; text-underline-offset: 3px; }
.iot-btn--text:hover { color: var(--navy); }
.iot-btn--sm { min-height: 40px; padding: .45em .9em; font-size: .9rem; }
.iot-btn--lg { min-height: 52px; padding: .8em 1.5em; font-size: 1.05rem; }
.iot-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.1em 0 0; }
.iot-link { font-weight: 650; text-decoration: none; display: inline-flex; align-items: center; gap: .35em; }
.iot-link:hover { text-decoration: underline; }
.iot-link .iot-ico { width: 1.1em; height: 1.1em; }
.iot-ico { width: 1.25em; height: 1.25em; vertical-align: -.2em; }

/* ---------- Header ---------- */
.site-header { background: #fff; border-bottom: 1px solid var(--border); position: relative; z-index: 50; }
.site-header__bar { display: flex; align-items: center; gap: 12px; min-height: var(--header-h); }
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brand__mark { flex: none; }
.brand__text { display: flex; flex-direction: column; line-height: 1.1; }
.brand__name { font-weight: 800; font-size: 1.1rem; letter-spacing: -.01em; }
.brand__sub { font-size: .72rem; color: var(--muted); letter-spacing: .02em; }
.menu-toggle { margin-left: auto; display: inline-flex; align-items: center; gap: 6px; min-height: 44px; padding: 0 12px; background: #fff; border: 2px solid var(--border); border-radius: 10px; font: inherit; font-weight: 650; color: var(--navy); cursor: pointer; }
.menu-toggle__close { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__open { display: none; }
.menu-toggle[aria-expanded="true"] .menu-toggle__close { display: inline-block; }
.header-call { display: none; }

/* nav: visible by default (no-JS), collapsed on mobile when JS is present */
.site-nav { position: absolute; left: 0; right: 0; top: 100%; background: #fff; border-bottom: 1px solid var(--border); box-shadow: var(--shadow); padding: 8px var(--gutter) 16px; max-height: calc(100vh - var(--header-h)); overflow-y: auto; }
.js .site-nav { display: none; }
.js .site-nav.is-open { display: block; }
.site-nav__list { list-style: none; margin: 0; padding: 0; }
.site-nav__item { position: relative; border-bottom: 1px solid var(--surface); display: flex; flex-wrap: wrap; align-items: center; }
.site-nav__link { flex: 1; display: block; padding: 14px 4px; color: var(--navy); font-weight: 650; text-decoration: none; }
.site-nav__link.is-current { color: var(--teal-dark); box-shadow: inset 3px 0 0 var(--teal); padding-left: 12px; }
.site-nav__link:hover { color: var(--teal-dark); }
.panel-toggle { min-width: 44px; min-height: 44px; display: inline-flex; align-items: center; justify-content: center; background: none; border: 0; color: var(--navy); cursor: pointer; }
.panel-toggle .iot-ico { transition: transform .2s; }
.panel-toggle[aria-expanded="true"] .iot-ico { transform: rotate(180deg); }
.mega { flex-basis: 100%; padding: 4px 0 12px 12px; }
.mega__grid { display: grid; gap: 16px; }
.mega__title { margin: 0 0 4px; font-size: .78rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.mega ul { list-style: none; margin: 0; padding: 0; }
.mega li a { display: block; padding: 6px 0; text-decoration: none; color: var(--ink); font-size: .95rem; }
.mega li a:hover { color: var(--teal-dark); text-decoration: underline; }
.mega__all { margin: 8px 0 0; font-weight: 650; }
.mega__all a { text-decoration: none; }
.site-nav__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 16px; }
.site-nav__actions .iot-btn { width: 100%; }

@media (min-width: 1000px) {
	:root { --header-h: 72px; }
	.site-header { position: sticky; top: 0; }
	.menu-toggle { display: none; }
	.site-nav, .js .site-nav { display: flex !important; position: static; border: 0; box-shadow: none; padding: 0; max-height: none; overflow: visible; align-items: center; gap: 18px; margin-left: auto; background: transparent; }
	.site-nav__list { display: flex; align-items: center; gap: 2px; }
	.site-nav__item { border: 0; flex-wrap: nowrap; }
	.site-nav__link { padding: 10px 10px; flex: none; font-size: .95rem; border-radius: 8px; }
	.site-nav__link.is-current { box-shadow: none; padding-left: 10px; background: var(--teal-soft); }
	.panel-toggle { min-width: 28px; min-height: 40px; margin-left: -8px; }
	.mega { position: absolute; left: 0; top: calc(100% + 8px); width: min(880px, 92vw); background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 22px 24px; z-index: 60; }
	.mega__grid { grid-template-columns: repeat(3, 1fr); }
	.site-nav__actions { flex-direction: row; margin: 0; }
	.site-nav__actions .iot-btn { width: auto; }
	.header-call { display: inline-flex; align-items: center; gap: 6px; font-weight: 650; text-decoration: none; color: var(--navy); white-space: nowrap; font-size: .95rem; }
}
@media (min-width: 1000px) and (max-width: 1199px) {
	.site-nav__actions .iot-btn--ghost { display: none; }
	.header-call span { display: none; }
}

/* ---------- Hero ---------- */
.hero { background: linear-gradient(180deg, var(--surface), #fff); padding: 36px 0 28px; border-bottom: 1px solid var(--border); }
.hero__grid { display: grid; gap: 28px; align-items: center; }
.eyebrow { margin: 0 0 .7em; font-size: .8rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--teal-dark); }
.eyebrow--light { color: #9be3de; }
.eyebrow a { text-decoration: none; }
.hero h1 { margin-bottom: .55em; }
.hero__lead { font-size: 1.08rem; color: var(--text); max-width: 60ch; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.3em; }
.hero__more { margin: 1em 0 0; }
.hero__facts { list-style: none; margin: 1.2em 0 0; padding: 0; display: grid; gap: 6px; font-size: .95rem; color: var(--ink); }
.hero__facts li { display: flex; gap: 8px; align-items: flex-start; }
.hero__facts .iot-ico { color: var(--teal); margin-top: .2em; flex: none; }
.hero__art { max-width: 560px; width: 100%; margin-inline: auto; }
.hero-svg { width: 100%; height: auto; display: block; color: var(--navy); }
.hs-bg { fill: #fff; stroke: var(--border); }
.hs-node { fill: #fff; stroke: #0a7c78; stroke-width: 2.5; }
.hs-label { font: 700 14px var(--font); fill: var(--navy); }
.hs-bar { fill: var(--teal-soft); }
@media (min-width: 900px) {
	.hero { padding: 56px 0 48px; }
	.hero__grid { grid-template-columns: 1.1fr .9fr; gap: 48px; }
}

/* ---------- Sections ---------- */
.section { padding: 48px 0; }
.section--alt { background: var(--surface); border-block: 1px solid var(--border); }
.section__head { max-width: 720px; margin-bottom: 28px; }
.section__head p { color: var(--muted); font-size: 1.04rem; }
.section__more { margin-top: 24px; }
@media (min-width: 900px) { .section { padding: 72px 0; } }

/* ---------- Cards & grids ---------- */
.iot-grid { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 640px) {
	.iot-grid--2, .iot-grid--3, .iot-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (min-width: 900px) {
	.iot-grid--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.iot-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.iot-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; display: flex; flex-direction: column; box-shadow: 0 1px 2px rgba(11, 29, 51, .04); transition: box-shadow .15s, border-color .15s; }
.iot-card:hover, .iot-card:focus-within { border-color: #b5c6d3; box-shadow: var(--shadow); }
.iot-card--flat { box-shadow: none; background: #fff; }
.iot-card__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; margin-bottom: 12px; }
.iot-card__icon { width: 44px; height: 44px; border-radius: 12px; background: var(--teal-soft); color: var(--teal-dark); display: inline-flex; align-items: center; justify-content: center; }
.iot-card__icon .iot-ico { width: 24px; height: 24px; }
.iot-card__title { font-size: 1.12rem; margin-bottom: .4em; }
.iot-card__title a { color: var(--navy); text-decoration: none; }
.iot-card__title a:hover { color: var(--teal-dark); text-decoration: underline; }
.iot-card__text { color: var(--text); margin-bottom: .8em; font-size: .97rem; }
.iot-card__cats { font-size: .82rem; font-weight: 650; color: var(--muted); margin-bottom: .6em; }
.iot-card__facts { list-style: none; padding: 0; margin: 0 0 1em; font-size: .9rem; color: var(--text); display: grid; gap: 4px; }
.iot-card__actions { margin-top: auto; display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; padding-top: 12px; }
.iot-tag { display: inline-block; font-size: .76rem; font-weight: 750; padding: 3px 10px; border-radius: 999px; line-height: 1.5; white-space: nowrap; }
.iot-tag--beginner { background: var(--ok-bg); color: var(--ok-text); }
.iot-tag--intermediate { background: #e6eefb; color: #1b4a96; }
.iot-tag--advanced { background: #f3e9fb; color: #5b2a8c; }
.iot-tag--plain { background: var(--surface); color: var(--ink); border: 1px solid var(--border); }
.iot-path__prereq, .iot-path__next { font-size: .93rem; color: var(--text); }
.iot-path__steps { margin: 0 0 .8em; padding-left: 1.2em; }
.iot-path__steps li { margin: .2em 0; }
.iot-note { font-size: .92rem; color: var(--muted); background: var(--surface); border-left: 3px solid var(--teal); padding: 10px 14px; border-radius: 0 var(--radius-sm) var(--radius-sm) 0; margin: 1.2em 0; }

/* ---------- Filter ---------- */
.iot-filter__bar { display: grid; gap: 14px; margin-bottom: 14px; }
.iot-filter__search input, .search-form input[type="search"] {
	width: 100%; min-height: 48px; padding: 10px 14px; font: inherit; border: 2px solid #6b7c8d; border-radius: 10px; background: #fff; color: var(--ink);
}
.iot-filter__groups { display: grid; gap: 12px; }
.iot-filter__group { border: 0; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.iot-filter__group legend { float: left; margin-right: 10px; padding: 0; font-size: .82rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.iot-chip { min-height: 40px; padding: 6px 14px; border-radius: 999px; background: #fff; border: 2px solid var(--border); font: inherit; font-size: .92rem; font-weight: 600; color: var(--ink); cursor: pointer; }
.iot-chip:hover { border-color: var(--teal); }
.iot-chip[aria-pressed="true"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.iot-filter__count { font-size: .92rem; color: var(--muted); margin: 6px 0 14px; }
.iot-filter__empty { text-align: center; padding: 36px 12px; background: var(--surface); border-radius: var(--radius); }
.iot-course-card[hidden] { display: none; }

/* ---------- Steps ---------- */
.iot-steps { list-style: none; margin: 0; padding: 0; display: grid; gap: 16px; counter-reset: step; }
@media (min-width: 640px) { .iot-steps { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .iot-steps { grid-template-columns: repeat(3, 1fr); } }
.iot-step { display: flex; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.iot-step h3 { margin: 0 0 .25em; font-size: 1.05rem; }
.iot-step p { margin: 0; font-size: .94rem; }
.iot-step__n { flex: none; width: 36px; height: 36px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }

/* ---------- Fee band & final CTA ---------- */
.fee-band { background: linear-gradient(135deg, var(--navy), var(--navy-2)); color: #e7eef6; border-radius: 18px; padding: 32px 22px; }
.fee-band h2 { color: #fff; }
.fee-band p { max-width: 62ch; }
.fee-band__fine { font-size: .9rem; color: #bcd0e2; margin-top: 1.2em; margin-bottom: 0; }
@media (min-width: 900px) { .fee-band { padding: 52px 56px; } }
.final-cta { display: grid; gap: 28px; background: var(--teal-soft); border: 1px solid #bfe1de; border-radius: 18px; padding: 28px 20px; }
.final-cta h2 { margin-bottom: .4em; }
@media (min-width: 900px) { .final-cta { grid-template-columns: 1.05fr .95fr; padding: 44px; gap: 44px; align-items: start; } }
.iot-cta { background: var(--navy); color: #dbe6f1; border-radius: var(--radius); padding: 28px 22px; margin: 2.2em 0; }
.iot-cta h2 { color: #fff; margin-bottom: .4em; }
.iot-cta p { max-width: 62ch; }

/* ---------- Page hero / breadcrumbs / prose ---------- */
.page-hero { background: var(--surface); border-bottom: 1px solid var(--border); padding: 24px 0 30px; }
.page-hero h1 { margin-bottom: .45em; max-width: 24ch; }
.page-hero--course h1, .article .page-hero h1 { max-width: 30ch; }
.page-hero__lead { font-size: 1.08rem; max-width: 66ch; color: var(--text); }
.breadcrumb { margin-bottom: 16px; font-size: .88rem; }
.breadcrumb ol { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 0; }
.breadcrumb li { display: inline-flex; align-items: center; color: var(--muted); }
.breadcrumb li + li::before { content: "/"; margin: 0 8px; color: #8da0b2; }
.breadcrumb a { color: var(--muted); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal-dark); text-decoration: underline; }
.page-body { padding-block: 32px 56px; }
.prose { max-width: 74ch; font-size: 1.04rem; }
.prose > .iot-grid, .prose > .iot-filter, .prose > .iot-cta, .prose > .iot-contact-grid, .prose > .iot-faq, .prose > .iot-steps, .prose > .iot-citylist { max-width: none; }
.prose h2 { margin-top: 1.8em; }
.prose h3 { margin-top: 1.4em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.1em; }
.prose li { margin: .35em 0; }
.prose table { display: block; width: 100%; overflow-x: auto; border-collapse: collapse; margin: 1.4em 0; font-size: .95rem; -webkit-overflow-scrolling: touch; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border: 1px solid var(--border); vertical-align: top; min-width: 120px; }
.prose thead th { background: var(--surface); color: var(--navy); }
.prose pre { background: #0f2238; color: #e4edf6; padding: 16px; border-radius: var(--radius-sm); overflow-x: auto; font-size: .88rem; line-height: 1.55; margin: 1.4em 0; }
.prose :not(pre) > code { background: var(--surface); border: 1px solid var(--border); padding: .08em .35em; border-radius: 5px; color: var(--ink); }
.prose--article { max-width: none; }
.byline { color: var(--muted); font-size: .92rem; margin: 0; }
.iot-citylist { columns: 2; padding-left: 1.2em; }
.iot-contact-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .iot-contact-grid { grid-template-columns: 1fr 1.2fr; gap: 48px; } }

/* ---------- Course page ---------- */
.course-hero__tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.facts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 20px 0 0; }
.facts > div { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 10px 14px; }
.facts dt { font-size: .75rem; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.facts dd { margin: 2px 0 0; font-weight: 650; color: var(--navy); font-size: .96rem; }
@media (min-width: 900px) { .facts { grid-template-columns: repeat(4, minmax(0, 1fr)); max-width: 860px; } }
.course-layout { display: grid; gap: 32px; padding-block: 32px 56px; }
@media (min-width: 1000px) { .course-layout { grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; } .course-aside { position: sticky; top: calc(var(--header-h) + 16px); } }
.course-main { min-width: 0; }
.course-section { margin-bottom: 40px; }
.course-section h2 { padding-top: 4px; }
.toc { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 28px; }
.toc__title { margin: 0 0 6px; font-weight: 800; font-size: .8rem; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); }
.toc ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; }
.toc a { text-decoration: none; font-weight: 600; font-size: .95rem; }
.toc a:hover { text-decoration: underline; }
.checklist { list-style: none; padding: 0; margin: 0 0 1em; display: grid; gap: 8px; }
.checklist li { position: relative; padding-left: 28px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: .38em; width: 16px; height: 16px; background: var(--teal); mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5' fill='none' stroke='%23000' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / contain no-repeat; }
.chips { list-style: none; margin: 0 0 1em; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips li { background: var(--teal-soft); color: var(--teal-dark); font-weight: 650; font-size: .92rem; padding: 6px 12px; border-radius: 999px; }
.two-col { display: grid; gap: 16px; margin: 1em 0; }
@media (min-width: 700px) { .two-col { grid-template-columns: 1fr 1fr; } }
.callout { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 18px; }
.callout h3 { margin-top: 0; }
.callout :last-child { margin-bottom: 0; }
.callout--note { background: var(--warn-bg); border-color: #f0d9a0; color: var(--warn-text); }
.callout--note h3 { color: var(--warn-text); }
.callout--fee { background: var(--teal-soft); border-color: #bfe1de; }
.callout--course { background: var(--navy); color: #dbe6f1; border: 0; margin: 36px 0; }
.callout--course h2, .callout--course h2 a { color: #fff; }
.callout--course .eyebrow { color: #9be3de; }
.fee__current { font-size: 1.6rem; font-weight: 800; color: var(--navy); margin-bottom: .2em; }
.next-step { background: var(--teal-soft); border: 1px solid #bfe1de; border-radius: var(--radius); padding: 20px; margin-bottom: 40px; }
.next-step h2 { margin-bottom: .3em; font-size: 1.3rem; }
.next-step h2 a { text-decoration: none; }
.aside-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow); }
.aside-card__alt { border-top: 1px solid var(--border); margin-top: 18px; padding-top: 14px; display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.aside-card__alt p { margin: 0; width: 100%; font-weight: 650; font-size: .92rem; }
.link-list { list-style: none; padding: 0; margin: 0; display: grid; gap: 10px; }
.link-list a { font-weight: 650; }
.link-list--big li { padding: 14px 0; border-bottom: 1px solid var(--border); display: grid; gap: 4px; }
.link-list--big span { color: var(--muted); font-size: .94rem; }
.mod-n { flex: none; width: 28px; height: 28px; border-radius: 50%; background: var(--navy); color: #fff; font-size: .82rem; font-weight: 800; display: inline-flex; align-items: center; justify-content: center; margin-right: 12px; }

/* ---------- FAQ / accordion ---------- */
.iot-faq { display: grid; gap: 10px; }
.iot-faq__item { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-sm); }
.iot-faq__item summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; cursor: pointer; padding: 14px 16px; font-weight: 700; color: var(--navy); min-height: 48px; }
.iot-faq__item summary::-webkit-details-marker { display: none; }
.iot-faq__item summary .iot-faq__chev { flex: none; margin-left: auto; transition: transform .2s; }
.iot-faq__item[open] > summary .iot-faq__chev { transform: rotate(180deg); }
.iot-faq__item[open] > summary { border-bottom: 1px solid var(--border); }
.iot-faq__a { padding: 12px 16px 14px; }
.iot-faq__a p, .iot-faq__a ul { margin: 0; }
.iot-faq__a ul { padding-left: 1.2em; }
.iot-faq__a li { margin: .3em 0; }

/* ---------- Forms ---------- */
.iot-enquiry__title { font-size: 1.25rem; margin-bottom: .3em; }
.iot-enquiry__intro { color: var(--muted); font-size: .95rem; }
.iot-form { display: grid; gap: 14px; grid-template-columns: 1fr; }
.iot-field label { display: block; font-weight: 650; font-size: .93rem; margin-bottom: 5px; color: var(--ink); }
.iot-field input[type="text"], .iot-field input[type="tel"], .iot-field input[type="email"], .iot-field select, .iot-field textarea {
	width: 100%; min-height: 48px; padding: 10px 12px; font: inherit; font-size: 1rem; color: var(--ink); background: #fff; border: 2px solid #6b7c8d; border-radius: 10px;
}
.iot-field textarea { min-height: 96px; resize: vertical; }
.iot-field input:focus, .iot-field select:focus, .iot-field textarea:focus { border-color: var(--blue); outline: 3px solid rgba(29, 95, 196, .25); outline-offset: 0; }
.iot-field [aria-invalid="true"] { border-color: #c0392b; background: #fff8f7; }
.iot-field__err { color: var(--err-text); font-size: .88rem; margin: 5px 0 0; min-height: 0; font-weight: 600; }
.iot-field__err:empty { display: none; }
.iot-req { color: #b3261e; }
.iot-opt { font-weight: 400; color: var(--muted); }
.iot-check { display: flex; gap: 10px; align-items: flex-start; font-weight: 400 !important; font-size: .9rem !important; }
.iot-check input { width: 24px; height: 24px; margin-top: 2px; flex: none; accent-color: var(--teal); }
.iot-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.iot-form__note { font-size: .85rem; color: var(--muted); margin: 10px 0 0; }
.iot-form button[disabled] { opacity: .65; cursor: progress; }
.iot-alert { padding: 12px 14px; border-radius: var(--radius-sm); margin: 0 0 14px; font-size: .96rem; }
.iot-alert--ok { background: var(--ok-bg); color: var(--ok-text); border: 1px solid #a9dcbb; }
.iot-alert--err { background: var(--err-bg); color: var(--err-text); border: 1px solid #f1b5b5; }
.iot-enquiry--compact .iot-form { gap: 12px; }
@media (min-width: 640px) {
	.iot-enquiry:not(.iot-enquiry--compact) .iot-form { grid-template-columns: 1fr 1fr; }
	.iot-enquiry:not(.iot-enquiry--compact) .iot-field--wide { grid-column: 1 / -1; }
}

/* ---------- Blog ---------- */
.cat-nav { margin-bottom: 28px; }
.cat-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cat-nav a { display: inline-block; padding: 8px 14px; min-height: 40px; border: 2px solid var(--border); border-radius: 999px; text-decoration: none; font-weight: 600; font-size: .92rem; color: var(--ink); }
.cat-nav a:hover { border-color: var(--teal); }
.cat-nav a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #fff; }
.post-card__meta { margin: auto 0 0; font-size: .85rem; color: var(--muted); }
.pagination ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; margin: 32px 0 0; }
.pagination a, .pagination span { display: inline-block; min-width: 44px; min-height: 44px; padding: 10px 14px; border: 2px solid var(--border); border-radius: 10px; text-align: center; text-decoration: none; font-weight: 650; }
.pagination .current { background: var(--navy); color: #fff; border-color: var(--navy); }
.search-form { display: flex; gap: 8px; max-width: 520px; margin-top: 16px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy); color: #c8d6e4; margin-top: 0; }
.site-footer a { color: #e7eef6; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; color: #fff; }
.site-footer__grid { display: grid; gap: 32px; padding-block: 44px 28px; }
@media (min-width: 640px) { .site-footer__grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .site-footer__grid { grid-template-columns: 1.3fr 1.4fr .9fr 1fr; gap: 40px; } }
.site-footer .brand, .site-footer .brand__name { color: #fff; }
.site-footer .brand__sub { color: #9fb4c8; }
.site-footer__about { margin: 14px 0; font-size: .95rem; }
.site-footer__contact { list-style: none; margin: 0 0 12px; padding: 0; display: grid; gap: 8px; font-size: .96rem; }
.site-footer__contact .iot-ico { color: #8fd8d2; }
.site-footer__note { font-size: .86rem; color: #9fb4c8; margin: 0; }
.site-footer__title { margin: 0 0 12px; font-size: .8rem; font-weight: 800; text-transform: uppercase; letter-spacing: .08em; color: #8fd8d2; }
.site-footer__title--sub { margin-top: 22px; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 7px; font-size: .94rem; }
.site-footer__group > span { display: block; font-size: .82rem; font-weight: 700; color: #9fb4c8; margin: 8px 0 4px; }
.site-footer__group ul { gap: 5px; padding-left: 0; }
.site-footer__bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.site-footer__bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 24px; padding-block: 18px; font-size: .86rem; color: #9fb4c8; }
.site-footer__bottom p { margin: 0; }

/* ---------- Mobile contact bar & consent ---------- */
.contact-bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--border); border-top: 1px solid var(--border); padding-bottom: env(safe-area-inset-bottom); }
.contact-bar__btn { display: flex; align-items: center; justify-content: center; gap: 8px; min-height: 52px; font-weight: 700; text-decoration: none; }
.contact-bar__btn--call { background: var(--navy); color: #fff; }
.contact-bar__btn--wa { background: var(--wa); color: #04210f; }
.contact-bar__btn:hover { filter: brightness(.94); color: inherit; }
@media (min-width: 900px) { .contact-bar { display: none; } body { padding-bottom: 0; } }
.iot-consent { position: fixed; z-index: 60; left: 12px; right: 12px; bottom: 68px; max-width: 640px; background: #fff; border: 1px solid var(--border); border-radius: var(--radius); box-shadow: var(--shadow); padding: 14px 16px; display: grid; gap: 10px; font-size: .9rem; }
.iot-consent[hidden] { display: none; }
.iot-consent p { margin: 0; }
.iot-consent__actions { display: flex; gap: 8px; flex-wrap: wrap; }
@media (min-width: 900px) { .iot-consent { left: 20px; right: auto; bottom: 20px; } }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { transition: none !important; animation: none !important; }
}
@media print {
	.site-header, .contact-bar, .iot-consent, .site-footer, .course-aside { display: none !important; }
	body { padding: 0; }
}

/* =====================================================================
   VISUAL LAYER v2 - gradients, depth and section designs
   Brand gradient: teal #0a7c78 -> blue #1d5fc4. Every text pair on it keeps >= 4.5:1.
   ===================================================================== */
:root {
	--grad-brand: linear-gradient(135deg, #0a7c78 0%, #1d5fc4 100%);
	--grad-text: linear-gradient(100deg, #0a7c78 0%, #1d5fc4 100%);
	--grad-text-light: linear-gradient(100deg, #7ff0e4 0%, #9cc2ff 100%);
	--grad-navy: linear-gradient(135deg, #0b1d33 0%, #12315a 58%, #0e4d63 100%);
	--grad-wa: linear-gradient(135deg, #4cf092 0%, #25d366 55%, #1fbf5c 100%);
	--grad-soft: linear-gradient(135deg, #e3f3f2 0%, #e6eefb 100%);
	--grad-wash: linear-gradient(180deg, #eef6f8 0%, #f5f8fd 100%);
	--sh-1: 0 1px 2px rgba(11, 29, 51, .06), 0 2px 8px rgba(11, 29, 51, .05);
	--sh-2: 0 2px 4px rgba(11, 29, 51, .05), 0 12px 28px -8px rgba(11, 29, 51, .16);
	--sh-3: 0 4px 10px rgba(11, 29, 51, .06), 0 28px 60px -16px rgba(11, 29, 51, .30);
	--sh-glow: 0 10px 24px -8px rgba(10, 124, 120, .55), 0 4px 10px -4px rgba(29, 95, 196, .38);
	--line: #dbe7ee;
}

::selection { background: #cfe9ff; color: var(--navy); }

/* ---- Gradient main word (h1-h4, brand, card titles) ---- */
.grad {
	color: var(--teal-dark);
	background-image: var(--grad-text);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	-webkit-box-decoration-break: clone;
	box-decoration-break: clone;
}
.fee-band .grad, .iot-cta .grad, .callout--course .grad, .site-footer .grad, .on-dark .grad { background-image: var(--grad-text-light); }
@media (forced-colors: active) {
	.grad { background: none; -webkit-text-fill-color: currentColor; color: CanvasText; }
}

/* ---- Buttons: gradient fills, gradient borders, glow ---- */
.iot-btn { border-radius: 12px; font-weight: 700; transition: transform .16s ease, box-shadow .22s ease, background-position .4s ease, filter .2s; }
.iot-btn:active { transform: translateY(0) scale(.99); }
.iot-btn--primary {
	background-color: var(--teal); background-image: var(--grad-brand); background-size: 170% 100%; background-position: 0 0;
	color: #fff; box-shadow: var(--sh-glow); border-color: transparent;
}
.iot-btn--primary:hover { background-color: var(--teal); background-image: var(--grad-brand); background-position: 100% 0; color: #fff; transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(10, 124, 120, .6), 0 8px 16px -8px rgba(29, 95, 196, .5); }
.iot-btn--ghost {
	background: linear-gradient(#fff, #fff) padding-box, var(--grad-brand) border-box;
	border: 2px solid transparent; color: var(--navy); box-shadow: var(--sh-1);
}
.iot-btn--ghost:hover { color: var(--navy); border-color: transparent; transform: translateY(-2px); box-shadow: var(--sh-2); }
.iot-btn--ghost-light {
	background: linear-gradient(#10294a, #10294a) padding-box, var(--grad-text-light) border-box;
	border: 2px solid transparent; color: #fff;
}
.iot-btn--ghost-light:hover { background: linear-gradient(#173a63, #173a63) padding-box, var(--grad-text-light) border-box; color: #fff; transform: translateY(-2px); }
.iot-btn--whatsapp { background-color: var(--wa); background-image: var(--grad-wa); color: #04210f; box-shadow: 0 10px 24px -10px rgba(37, 211, 102, .75); }
.iot-btn--whatsapp:hover { background-image: var(--grad-wa); color: #04210f; transform: translateY(-2px); box-shadow: 0 16px 30px -10px rgba(37, 211, 102, .8); filter: saturate(1.1); }
.iot-btn--text {
	background: var(--grad-soft); color: var(--teal-dark); text-decoration: none; border: 1px solid rgba(10, 124, 120, .22); box-shadow: var(--sh-1);
}
.iot-btn--text:hover { color: var(--navy); transform: translateY(-1px); box-shadow: var(--sh-2); }
.iot-link { background-image: var(--grad-text); -webkit-background-clip: text; background-clip: text; color: transparent; -webkit-text-fill-color: transparent; }
.iot-link .iot-ico { color: #1d5fc4; -webkit-text-fill-color: initial; }
.iot-link:hover { filter: brightness(.88); }

/* ---- Header / brand ---- */
.site-header { border-bottom: 1px solid var(--line); box-shadow: 0 8px 24px -16px rgba(11, 29, 51, .45); }
.site-header::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 3px; background: var(--grad-brand); }
.brand__mark { border-radius: 10px; box-shadow: var(--sh-glow); }
.brand__name { font-size: 1.15rem; }
.site-nav__link { border-radius: 10px; }
.site-nav__link:hover { background: var(--grad-soft); color: var(--navy); }
.site-nav__link.is-current { background: var(--grad-soft); color: var(--teal-dark); }
.mega { box-shadow: var(--sh-3); border-radius: 18px; }
.mega__title { color: var(--teal-dark); }
.header-call { padding: 8px 12px; border-radius: 999px; background: var(--grad-soft); border: 1px solid rgba(10, 124, 120, .2); }

/* ---- Eyebrow pill + section heads ---- */
.eyebrow--pill {
	display: inline-flex; align-items: center; gap: 8px; padding: 6px 14px; border-radius: 999px;
	background: var(--grad-soft); border: 1px solid rgba(10, 124, 120, .22); color: var(--teal-dark); box-shadow: var(--sh-1); letter-spacing: .07em;
}
.eyebrow--pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--grad-brand); box-shadow: 0 0 0 3px rgba(10, 124, 120, .16); }
.section { position: relative; }
.section--tint, .section--alt { background: var(--grad-wash); border-block: 1px solid var(--line); }
.section--tint::before, .section--alt::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(10, 124, 120, .5), rgba(29, 95, 196, .5), transparent); }
.section__head h2 { font-size: clamp(1.55rem, 1.1rem + 1.8vw, 2.35rem); }
.section__head h2::after { content: ""; display: block; width: 72px; height: 5px; border-radius: 99px; background: var(--grad-brand); margin-top: 16px; box-shadow: var(--sh-glow); }
.section__more { margin-top: 28px; }

/* ---- Hero ---- */
.hero {
	position: relative; overflow: hidden; border-bottom: 0;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0) 45%, #fff 100%),
		radial-gradient(rgba(11, 29, 51, .10) 1px, transparent 1.3px) 0 0 / 22px 22px,
		radial-gradient(900px 420px at 6% -10%, rgba(10, 124, 120, .17), transparent 60%),
		radial-gradient(800px 460px at 100% 0%, rgba(29, 95, 196, .17), transparent 58%),
		linear-gradient(180deg, #f1f8fa 0%, #fff 100%);
}
.hero__grid { position: relative; z-index: 1; }
.hero__orb { position: absolute; border-radius: 50%; pointer-events: none; }
.hero__orb--a { width: 420px; height: 420px; left: -170px; top: 40px; background: radial-gradient(circle, rgba(10, 124, 120, .20) 0%, rgba(10, 124, 120, 0) 68%); }
.hero__orb--b { width: 520px; height: 520px; right: -200px; bottom: -190px; background: radial-gradient(circle, rgba(29, 95, 196, .22) 0%, rgba(29, 95, 196, 0) 68%); }
.hero h1 { font-size: clamp(1.9rem, 1.2rem + 3vw, 3.1rem); letter-spacing: -.02em; }
.hero__lead { color: var(--text); }
.pill-row { list-style: none; margin: 1.3em 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.pill-row li { padding: 6px 13px; border-radius: 999px; background: #fff; border: 1px solid #d3e2ea; font-weight: 650; font-size: .84rem; color: var(--ink); box-shadow: var(--sh-1); }
.hero__facts li .iot-ico { padding: 2px; border-radius: 50%; background: var(--grad-brand); color: #fff; width: 1.35em; height: 1.35em; }
.hero__card { position: relative; background: #fff; border: 1px solid var(--line); border-radius: 26px; padding: 14px; box-shadow: 0 30px 60px -28px rgba(29, 95, 196, .55), 0 18px 36px -24px rgba(10, 124, 120, .6), var(--sh-1); }
.hs-bg { fill: #f8fbfd; stroke: var(--line); }
.hs-node { fill: #fff; stroke: url(#gn); stroke-width: 2.5; }
.hs-bar { fill: #dcecf4; }

/* ---- Cards ---- */
.iot-card {
	position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 22px;
	box-shadow: var(--sh-1); transition: transform .22s ease, box-shadow .25s ease, border-color .2s;
}
.iot-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-brand); }
.iot-card:hover, .iot-card:focus-within { transform: translateY(-5px); border-color: #c4d6e2; box-shadow: var(--sh-2); }
.iot-card--flat::before { display: none; }
.iot-card__icon { width: 52px; height: 52px; border-radius: 15px; background: var(--grad-brand); color: #fff; box-shadow: var(--sh-glow); }
.iot-card__icon .iot-ico { width: 26px; height: 26px; }
.iot-card__title { font-size: 1.14rem; }
.iot-card__title a:hover { text-decoration: none; }
.iot-card__cats { color: var(--teal-dark); }
.iot-card__facts li { padding-left: 2px; }
.iot-card__actions { border-top: 1px solid #edf2f6; margin-top: auto; padding-top: 14px; }
.iot-card--feature { padding: 26px 22px 22px; }
.iot-card--feature .iot-card__icon { margin-bottom: 18px; }
.iot-card--feature .iot-card__text { margin-bottom: 0; color: var(--muted); }
.iot-tag { box-shadow: inset 0 0 0 1px rgba(11, 29, 51, .08); }
.iot-note { background: var(--grad-soft); border-left: 4px solid #1d5fc4; border-image: linear-gradient(180deg, #0a7c78, #1d5fc4) 1; box-shadow: var(--sh-1); }

/* ---- Course filter ---- */
.iot-filter__bar { padding: 18px; background: #fff; border: 1px solid var(--line); border-radius: 18px; box-shadow: var(--sh-2); }
.iot-chip { border: 2px solid #cfdde8; box-shadow: var(--sh-1); transition: transform .15s, box-shadow .2s, border-color .2s; }
.iot-chip:hover { transform: translateY(-1px); box-shadow: var(--sh-2); border-color: #1d5fc4; }
.iot-chip[aria-pressed="true"] { background: var(--grad-brand); border-color: transparent; color: #fff; box-shadow: var(--sh-glow); }
.iot-filter__count { font-weight: 600; }
.iot-filter__empty { background: var(--grad-soft); border: 1px dashed #9fc3d6; box-shadow: var(--sh-1); }

/* ---- Learning paths ---- */
.iot-path .iot-card__title { font-size: 1.22rem; }
.iot-path__prereq { background: var(--surface); border-radius: 12px; padding: 10px 14px; margin-bottom: 14px; }
.iot-path__steps { list-style: none; padding: 0; margin: 0 0 16px; counter-reset: ps; }
.iot-path__steps li { counter-increment: ps; position: relative; padding: 8px 0 8px 46px; margin: 0; }
.iot-path__steps li::before { content: counter(ps); position: absolute; left: 0; top: 6px; width: 32px; height: 32px; border-radius: 50%; background: var(--grad-brand); color: #fff; font-weight: 800; font-size: .86rem; display: grid; place-items: center; box-shadow: var(--sh-glow); }
.iot-path__steps li:not(:last-child)::after { content: ""; position: absolute; left: 15px; top: 40px; bottom: -8px; width: 2px; background: linear-gradient(#1d5fc4, #0a7c78); opacity: .35; }
.iot-path__steps a { font-weight: 650; }
.iot-path__next { margin: auto 0 0; background: var(--grad-soft); border-radius: 12px; padding: 10px 14px; border: 1px solid rgba(10, 124, 120, .18); }

/* ---- Steps ---- */
.iot-step { border-radius: 18px; border: 1px solid var(--line); box-shadow: var(--sh-1); padding: 22px; transition: transform .22s, box-shadow .25s; position: relative; overflow: hidden; }
.iot-step::after { content: ""; position: absolute; right: -30px; top: -30px; width: 110px; height: 110px; border-radius: 50%; background: var(--grad-soft); opacity: .9; }
.iot-step:hover { transform: translateY(-4px); box-shadow: var(--sh-2); }
.iot-step > * { position: relative; z-index: 1; }
.iot-step__n { width: 46px; height: 46px; border-radius: 14px; background: var(--grad-brand); box-shadow: var(--sh-glow); font-size: 1.15rem; }

/* ---- Fee band ---- */
.fee-band {
	position: relative; overflow: hidden; display: grid; gap: 28px; padding: 40px 24px; border-radius: 28px;
	background: var(--grad-navy); color: #dbe6f1; box-shadow: var(--sh-3);
}
.fee-band::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(620px 320px at 92% -10%, rgba(127, 240, 228, .26), transparent 60%), radial-gradient(520px 320px at -8% 112%, rgba(156, 194, 255, .24), transparent 60%); }
.fee-band::after { content: ""; position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(rgba(255, 255, 255, .10) 1px, transparent 1.2px); background-size: 24px 24px; }
.fee-band > * { position: relative; z-index: 1; }
.fee-band h2 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.4rem); }
.fee-band__panel { background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .2); border-radius: 20px; padding: 22px; box-shadow: inset 0 1px 0 rgba(255, 255, 255, .16), 0 20px 40px -20px rgba(0, 0, 0, .5); }
.fee-band__panel-title { margin: 0 0 14px; font-weight: 800; color: #fff; font-size: 1.05rem; }
.fee-band__panel ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.fee-band__panel li { display: flex; gap: 12px; align-items: flex-start; color: #e7eef6; }
.fee-band__panel .iot-ico { flex: none; width: 26px; height: 26px; padding: 5px; border-radius: 50%; background: var(--grad-text-light); color: #0b1d33; }
@media (min-width: 900px) { .fee-band { grid-template-columns: 1.45fr .85fr; align-items: center; padding: 58px 56px; gap: 48px; } }

/* ---- Final CTA + shortcode CTA band ---- */
.final-cta {
	border: 2px solid transparent; border-radius: 28px; padding: 30px 20px;
	background: linear-gradient(135deg, #f2fbfa, #eef4fe) padding-box, var(--grad-brand) border-box; box-shadow: var(--sh-3);
}
.final-cta__form .iot-enquiry { background: #fff; border: 1px solid var(--line); border-radius: 20px; padding: 22px; box-shadow: var(--sh-2); }
@media (min-width: 900px) { .final-cta { padding: 50px; } }
.iot-cta { position: relative; overflow: hidden; background: var(--grad-navy); border-radius: 24px; padding: 32px 26px; box-shadow: var(--sh-3); }
.iot-cta::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(520px 260px at 100% -20%, rgba(127, 240, 228, .26), transparent 60%), radial-gradient(420px 260px at -5% 120%, rgba(156, 194, 255, .22), transparent 60%); }
.iot-cta > * { position: relative; }

/* ---- FAQ ---- */
.iot-faq__item { border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-1); transition: box-shadow .2s, transform .2s; }
.iot-faq__item:hover { box-shadow: var(--sh-2); }
.iot-faq__item[open] { border: 2px solid transparent; background: linear-gradient(#fff, #fff) padding-box, var(--grad-brand) border-box; box-shadow: var(--sh-2); }
.iot-faq__item[open] > summary { border-bottom-color: #e6eef4; }
.iot-faq__item summary { padding: 16px 18px; }
.iot-faq__item summary .iot-faq__chev { width: 32px; height: 32px; padding: 7px; border-radius: 50%; background: var(--grad-soft); color: var(--teal-dark); }
.iot-faq__item[open] > summary .iot-faq__chev { background: var(--grad-brand); color: #fff; box-shadow: var(--sh-glow); }
.mod-n { border-radius: 10px; background: var(--grad-brand); box-shadow: var(--sh-glow); }

/* ---- Page hero (inner pages, course, article) ---- */
.page-hero {
	position: relative; padding: 30px 0 44px; border-bottom: 0;
	background:
		radial-gradient(720px 280px at 0% 0%, rgba(10, 124, 120, .15), transparent 62%),
		radial-gradient(720px 280px at 100% 0%, rgba(29, 95, 196, .15), transparent 60%),
		linear-gradient(180deg, #f1f8fa 0%, #fff 100%);
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--grad-brand); }
.page-hero h1 { font-size: clamp(1.8rem, 1.2rem + 2.6vw, 2.9rem); letter-spacing: -.02em; }
.page-hero__lead { color: var(--text); }
.breadcrumb a:hover { color: var(--teal-dark); }

/* ---- Course page ---- */
.facts > div { border: 2px solid transparent; border-radius: 14px; background: linear-gradient(#fff, #fff) padding-box, var(--grad-brand) border-box; box-shadow: var(--sh-2); padding: 12px 16px; }
.facts dt { color: var(--teal-dark); }
.toc { background: #fff; border-radius: 16px; box-shadow: var(--sh-2); border: 1px solid var(--line); }
.toc a { display: inline-block; padding: 6px 13px; border-radius: 999px; background: var(--grad-soft); border: 1px solid rgba(10, 124, 120, .18); color: var(--teal-dark); }
.toc a:hover { background: var(--grad-brand); color: #fff; text-decoration: none; border-color: transparent; }
.course-section > h2 { position: relative; }
.callout { border-radius: 16px; box-shadow: var(--sh-1); border: 1px solid var(--line); background: #fff; }
.callout--fee { border: 2px solid transparent; background: linear-gradient(135deg, #f2fbfa, #eef4fe) padding-box, var(--grad-brand) border-box; box-shadow: var(--sh-2); }
.callout--note { background: linear-gradient(135deg, #fff8e6, #fff2d6); border-color: #f0d9a0; }
.callout--course { background: var(--grad-navy); border: 0; box-shadow: var(--sh-3); }
.next-step { border: 2px solid transparent; border-radius: 18px; background: linear-gradient(135deg, #f2fbfa, #eef4fe) padding-box, var(--grad-brand) border-box; box-shadow: var(--sh-2); }
.aside-card { position: relative; overflow: hidden; border-radius: 20px; box-shadow: var(--sh-3); border: 1px solid var(--line); }
.aside-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad-brand); }
.checklist li::before { background: var(--grad-brand); }
.chips li { background: var(--grad-soft); border: 1px solid rgba(10, 124, 120, .2); box-shadow: var(--sh-1); }
.fee__current { background-image: var(--grad-text); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; color: var(--teal-dark); }

/* ---- Articles, tables, code ---- */
.prose h2, .prose h3, .prose h4 { scroll-margin-top: 90px; }
.prose h4 { font-size: 1.02rem; margin-top: 1.2em; }
.prose table { border: 1px solid var(--line); border-radius: 14px; box-shadow: var(--sh-1); }
.prose thead th { background: var(--grad-soft); color: var(--navy); }
.prose th, .prose td { border-color: #e3ecf2; }
.prose pre { border-radius: 14px; box-shadow: var(--sh-2); padding-top: 22px; background: linear-gradient(90deg, #0a7c78, #1d5fc4) 0 0 / 100% 5px no-repeat, #0f2238; }
.prose a { text-decoration-color: rgba(29, 95, 196, .45); }
.post-card .iot-card__cats { align-self: flex-start; padding: 4px 11px; border-radius: 999px; background: var(--grad-soft); border: 1px solid rgba(10, 124, 120, .18); }
.cat-nav a { box-shadow: var(--sh-1); border-color: #cfdde8; transition: transform .15s, box-shadow .2s; }
.cat-nav a:hover { transform: translateY(-1px); box-shadow: var(--sh-2); }
.cat-nav a[aria-current="page"] { background: var(--grad-brand); border-color: transparent; box-shadow: var(--sh-glow); }
.pagination .current { background: var(--grad-brand); border-color: transparent; box-shadow: var(--sh-glow); }

/* ---- Forms ---- */
.iot-field input:focus, .iot-field select:focus, .iot-field textarea:focus { border-color: #1d5fc4; outline: 0; box-shadow: 0 0 0 4px rgba(29, 95, 196, .2); }
.iot-form button.iot-btn--primary { width: 100%; min-height: 52px; font-size: 1.02rem; }
.iot-check input { accent-color: #0a7c78; }
.iot-enquiry__title { font-size: 1.3rem; }
.iot-alert--ok { box-shadow: var(--sh-1); }

/* ---- Footer ---- */
.site-footer { position: relative; background: var(--grad-navy); }
.site-footer::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 5px; background: var(--grad-brand); }
.site-footer::after { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(600px 260px at 100% 0%, rgba(127, 240, 228, .12), transparent 60%); }
.site-footer > * { position: relative; z-index: 1; }
.site-footer__title { font-size: .86rem; letter-spacing: .1em; }
.site-footer .brand__mark { box-shadow: 0 10px 24px -8px rgba(127, 240, 228, .4); }

/* ---- Mobile contact bar + consent ---- */
.contact-bar { background: transparent; gap: 0; box-shadow: 0 -10px 30px -12px rgba(11, 29, 51, .35); border-top: 0; }
.contact-bar__btn--call { background: var(--grad-navy); }
.contact-bar__btn--wa { background: var(--grad-wa); }
.iot-consent { box-shadow: var(--sh-3); border-radius: 18px; }

/* ---- Header fit: keep brand and CTAs on one line at laptop widths ---- */
.brand__name, .site-nav__actions .iot-btn, .header-call { white-space: nowrap; }
@media (min-width: 1000px) {
	.site-nav { gap: 12px; }
	.site-nav__link { padding-inline: 8px; }
	.site-nav__actions { gap: 8px; }
	.header-call span { display: none; }
	.header-call { padding: 10px; }
}
@media (min-width: 1400px) {
	.header-call span { display: inline; }
	.header-call { padding: 8px 12px; }
	.site-nav__link { padding-inline: 10px; }
}

/* ---- City guides, directory, dynamic modules ---- */
.city-chips { list-style: none; margin: 0 0 1.2em; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.city-chips a {
	display: inline-flex; flex-direction: column; justify-content: center; min-height: 52px; padding: 8px 16px; border-radius: 14px;
	background: #fff; border: 1px solid var(--line); box-shadow: var(--sh-1); text-decoration: none; color: var(--navy);
	transition: transform .16s ease, box-shadow .2s ease, border-color .2s;
}
.city-chips a span { font-weight: 700; }
.city-chips a small { color: var(--muted); font-size: .76rem; }
.city-chips a:hover, .city-chips a:focus-visible { transform: translateY(-2px); box-shadow: var(--sh-2); border-color: #1d5fc4; color: var(--teal-dark); }
.dir-summary { display: inline-block; margin: 0 0 1.2em; padding: 8px 16px; border-radius: 999px; background: var(--grad-soft); border: 1px solid rgba(10, 124, 120, .2); box-shadow: var(--sh-1); font-size: .95rem; }
.state-grid { display: grid; gap: 16px; grid-template-columns: 1fr; }
@media (min-width: 700px) { .state-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1000px) { .state-grid { grid-template-columns: repeat(3, 1fr); } }
.state-card { position: relative; overflow: hidden; background: #fff; border: 1px solid var(--line); border-radius: 18px; padding: 20px; box-shadow: var(--sh-1); }
.state-card::before { content: ""; position: absolute; inset: 0 0 auto 0; height: 4px; background: var(--grad-brand); }
.state-card h3 { margin: 4px 0 12px; display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.state-card h3 small { min-width: 28px; height: 28px; padding: 0 8px; border-radius: 999px; background: var(--grad-brand); color: #fff; font-size: .8rem; display: inline-flex; align-items: center; justify-content: center; }
.state-card .city-chips { margin: 0; }
.state-card .city-chips a { min-height: 40px; padding: 6px 12px; border-radius: 10px; }
.iot-card--spotlight { background: linear-gradient(135deg, #f2fbfa 0%, #eef4fe 100%); border-color: #c9e2e6; }
.iot-card--spotlight .iot-card__icon { margin-bottom: 12px; }
.iot-card__stamp { margin: auto 0 0; padding-top: 10px; font-size: .8rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--teal-dark); }
.section__gap { margin-top: 20px; }
.update-feed { list-style: none; margin: 0 0 1.5em; padding: 0; display: grid; gap: 10px; }
.update-feed li { display: grid; gap: 4px 14px; grid-template-columns: auto 1fr auto; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 14px; padding: 12px 16px; box-shadow: var(--sh-1); }
.update-feed a { font-weight: 650; }
.update-feed time { color: var(--muted); font-size: .86rem; white-space: nowrap; }
.update-feed__type { padding: 3px 10px; border-radius: 999px; background: var(--grad-soft); color: var(--teal-dark); font-size: .75rem; font-weight: 800; letter-spacing: .04em; text-transform: uppercase; white-space: nowrap; }
@media (max-width: 560px) { .update-feed li { grid-template-columns: 1fr; } }
.page-body > .byline { margin-top: 28px; padding-top: 16px; border-top: 1px solid var(--line); }
.page-body > .prose { margin-bottom: 8px; }
.final-cta__copy .eyebrow--pill { margin-bottom: 12px; }
