/* ==========================================================================
   Airnet - airnet.ge
   Single stylesheet. No framework, no jQuery. Brand blue #00B8F1 is taken
   from the logo; darker steps exist because the logo blue does not carry
   enough contrast for white text or small type.
   ========================================================================== */

/* --- FiraGO (SIL OFL 1.1) -------------------------------------------------
   Self-hosted and subset per script. Georgian, Latin and Cyrillic come from
   one family, so all three languages share the same geometric ISP-business
   voice. unicode-range means a Georgian visitor never downloads Cyrillic.
   Google Fonts hosts only three Georgian families and none of them squared,
   hence self-hosting. Files built from bBoxType/FiraGO.
   -------------------------------------------------------------------------- */

@font-face {
	font-family: 'FiraGO';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/firago/firago-georgian-400.woff2') format('woff2');
	unicode-range: U+10A0-10FF, U+1C90-1CBF, U+2D00-2D2F, U+20BE;
}
@font-face {
	font-family: 'FiraGO';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/firago/firago-latin-400.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
	               U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
	               U+20BE, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'FiraGO';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('../fonts/firago/firago-cyrillic-400.woff2') format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: 'FiraGO';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/firago/firago-georgian-600.woff2') format('woff2');
	unicode-range: U+10A0-10FF, U+1C90-1CBF, U+2D00-2D2F, U+20BE;
}
@font-face {
	font-family: 'FiraGO';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/firago/firago-latin-600.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
	               U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
	               U+20BE, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'FiraGO';
	font-style: normal;
	font-weight: 600;
	font-display: swap;
	src: url('../fonts/firago/firago-cyrillic-600.woff2') format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
	font-family: 'FiraGO';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/firago/firago-georgian-700.woff2') format('woff2');
	unicode-range: U+10A0-10FF, U+1C90-1CBF, U+2D00-2D2F, U+20BE;
}
@font-face {
	font-family: 'FiraGO';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/firago/firago-latin-700.woff2') format('woff2');
	unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
	               U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC,
	               U+20BE, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
	font-family: 'FiraGO';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url('../fonts/firago/firago-cyrillic-700.woff2') format('woff2');
	unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

:root {
	--brand-50:  #E8F8FE;
	--brand-100: #C7EFFC;
	--brand-300: #5FD3F7;
	--brand-500: #00B8F1;  /* logo blue */
	--brand-600: #0092C4;
	--brand-700: #00719A;  /* white text passes AA on this */
	--brand-900: #06384C;

	--ink-900: #0F172A;
	--ink-800: #1F2A37;    /* logo wordmark */
	--ink-600: #475569;
	--ink-400: #64748B;
	--ink-300: #94A3B8;

	--surface:   #FFFFFF;   /* cards and raised panels */
	--page:      #E1E9F2;   /* page ground */
	--surface-2: #D6E1EC;   /* alternating band, one step deeper */
	--surface-3: #CBD9E8;
	--line:      #C7D5E4;

	/* Semantic tokens. Everything theme-dependent goes through these, so the
	   dark block below only has to redefine this short list. */
	--accent:     var(--brand-700);   /* accent text: links, eyebrows, active nav */
	--wash:       var(--brand-50);    /* faint brand fill behind notices/pills  */
	--wash-line:  var(--brand-100);
	--deep:       #0B2138;            /* intentionally dark bands: footer, CTA  */
	--deep-2:     var(--brand-900);
	--header-bg:  rgba(247, 250, 253, .9);
	--hero-top:   #F4F9FD;
	--plate:      #FFFFFF;            /* white plate behind TV channel logos    */

	/* artwork */
	--art-a:      #E8F8FE;
	--art-b:      #F6F9FC;
	--art-line:   #C7EFFC;
	--art-chip:   #FFFFFF;
	--art-chip-l: #E3EAF1;
	--art-track:  #E3EAF1;

	--radius:    14px;
	--radius-sm: 9px;
	--radius-pill: 999px;

	--shadow-sm: 0 1px 2px rgba(15, 23, 42, .07), 0 1px 3px rgba(15, 23, 42, .05);
	--shadow-md: 0 6px 16px rgba(6, 56, 76, .10), 0 2px 5px rgba(15, 23, 42, .06);
	--shadow-lg: 0 20px 44px rgba(6, 56, 76, .15), 0 5px 14px rgba(15, 23, 42, .07);

	--title:     clamp(1.55rem, 1.15rem + 1.35vw, 2.05rem);  /* every section title */
	/* Vertical rhythm. Tuned so a 14in laptop shows the title and the first
	   row of content without scrolling, while a 27in display still breathes. */
	--section-y: clamp(34px, 4.2vw, 64px);   /* space above/below a section  */
	--page-top:  clamp(22px, 2.6vw, 40px);   /* nav -> first title on a page */
	--container: 1160px;
	--nav-h: 78px;

	--font: 'FiraGO', system-ui, -apple-system, 'Segoe UI', Roboto,
	        'Helvetica Neue', Arial, sans-serif;
}

/* --- reset ---------------------------------------------------------------- */

*, *::before, *::after { box-sizing: border-box; }

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--nav-h) + 16px);
}

body {
	margin: 0;
	font-family: var(--font);
	font-size: 16px;
	line-height: 1.65;
	color: var(--ink-600);
	background-color: var(--page);
	background-image:
		radial-gradient(1200px 640px at 12% -8%, rgba(0, 184, 241, .07) 0%, rgba(0, 184, 241, 0) 60%),
		radial-gradient(1000px 560px at 92% 4%, rgba(0, 145, 196, .05) 0%, rgba(0, 145, 196, 0) 58%);
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
	margin: 0 0 .5em;
	color: var(--ink-900);
	line-height: 1.25;
	font-weight: 700;
	letter-spacing: -.01em;
}
h1 { font-size: clamp(1.9rem, 1.2rem + 2.6vw, 3.1rem); }
h2 { font-size: var(--title); }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1rem; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--brand-600); }
img { max-width: 100%; height: auto; display: block; }
ul { margin: 0; padding: 0; list-style: none; }

:focus-visible {
	outline: 3px solid var(--brand-300);
	outline-offset: 2px;
	border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		transition-duration: .01ms !important;
	}
}

/* --- layout --------------------------------------------------------------- */

.container {
	width: 100%;
	max-width: var(--container);
	margin-inline: auto;
	padding-inline: 20px;
}

.section { padding: var(--section-y) 0; }
.section--tint { background: var(--surface-2); }
.section--tint + .section--tint { border-top: 1px solid var(--line); }

.section__head {
	max-width: 680px;
	margin: 0 auto clamp(20px, 2.6vw, 34px);
	text-align: center;
}
.section__head p {
	margin: 0;
	color: var(--ink-400);
	font-size: 1.02rem;
}
.eyebrow {
	display: inline-block;
	margin-bottom: 10px;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--accent);
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	z-index: 200;
	padding: 12px 20px;
	background: var(--deep);
	color: #fff;
	border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; color: #fff; }

/* --- buttons -------------------------------------------------------------- */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 12px 24px;
	border: 1px solid transparent;
	border-radius: var(--radius-pill);
	font: inherit;
	font-weight: 700;
	font-size: .95rem;
	cursor: pointer;
	transition: background-color .18s, border-color .18s, color .18s, transform .18s, box-shadow .18s;
}
.btn:active { transform: translateY(1px); }

.btn--primary {
	background: var(--brand-700);
	color: #fff;
	box-shadow: var(--shadow-sm);
}
.btn--primary:hover { background: var(--brand-600); color: #fff; box-shadow: var(--shadow-md); }

.btn--ghost {
	background: transparent;
	color: var(--ink-900);
	border-color: var(--line);
}
.btn--ghost:hover { border-color: var(--brand-500); color: var(--accent); background: var(--wash); }

.btn--block { width: 100%; }
.btn[disabled] { opacity: .45; cursor: not-allowed; }

/* --- header --------------------------------------------------------------- */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--header-bg);
	backdrop-filter: saturate(180%) blur(12px);
	border-bottom: 1px solid var(--line);
}
.site-header__inner {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: var(--nav-h);
}

.brand { display: flex; align-items: center; flex: none; }
.brand img { height: 46px; width: auto; }

.nav { margin-inline-start: auto; }
.nav__list { display: flex; align-items: center; gap: 2px; }
.nav__list a {
	display: block;
	position: relative;
	padding: 9px 11px;
	border-radius: var(--radius-sm);
	color: var(--ink-600);
	font-size: .96rem;
	font-weight: 600;
	white-space: nowrap;
	transition: background-color .18s, color .18s;
}
.nav__list a:hover { background: var(--surface-3); color: var(--ink-900); }
.nav__list a[aria-current="page"],
.nav__list a.is-active {
	color: var(--accent);
	background: var(--wash);
}
.nav__list a[aria-current="page"]::after,
.nav__list a.is-active::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -16px;              /* sits on the header's bottom edge, tab-style */
	transform: translateX(-50%);
	width: calc(100% - 12px);
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--brand-500);
}

/* on mobile the nav is a stacked panel, so keep the marker on the link */
@media (max-width: 1400px) {
	.nav__list a[aria-current="page"]::after,
	.nav__list a.is-active::after { bottom: 4px; width: 40px; border-radius: 3px; }
}

/* language switcher */
.lang {
	display: flex;
	gap: 3px;
	flex: none;
	padding: 3px;
	background: var(--surface-3);
	border-radius: var(--radius-pill);
}
.lang a {
	padding: 5px 9px;
	border-radius: var(--radius-pill);
	font-size: .75rem;
	font-weight: 700;
	letter-spacing: .03em;
	color: var(--ink-400);
	text-transform: uppercase;
	transition: background-color .18s, color .18s;
}
.lang a:hover { color: var(--ink-900); }
.lang a[aria-current="true"] {
	background: var(--surface);
	color: var(--accent);
	box-shadow: var(--shadow-sm);
}

.nav-toggle {
	display: none;
	flex: none;
	margin-inline-start: auto;
	width: 42px;
	height: 42px;
	padding: 0;
	background: none;
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	cursor: pointer;
}
.nav-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	margin: 4px auto;
	background: var(--ink-900);
	border-radius: 2px;
	transition: transform .22s, opacity .22s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

@media (max-width: 1400px) {
	.nav-toggle { display: block; }
	.nav {
		position: absolute;
		inset: 100% 0 auto;
		margin: 0;
		background: var(--surface);
		border-bottom: 1px solid var(--line);
		box-shadow: var(--shadow-lg);
		display: none;
	}
	.nav[data-open="true"] { display: block; }
	.nav__list { flex-direction: column; align-items: stretch; gap: 0; padding: 10px 20px 18px; }
	.nav__list a { padding: 13px 12px; font-size: 1rem; }
}

/* --- hero ----------------------------------------------------------------- */

.hero {
	position: relative;
	overflow: hidden;
	padding: clamp(30px, 3.6vw, 56px) 0 var(--section-y);
	background:
		radial-gradient(1100px 520px at 82% -10%, rgba(0, 184, 241, .13) 0%, rgba(0, 184, 241, 0) 62%),
		linear-gradient(180deg, var(--hero-top) 0%, var(--page) 100%);
}
.hero__grid {
	display: grid;
	grid-template-columns: 1.08fr .92fr;
	gap: clamp(28px, 5vw, 64px);
	align-items: center;
}
.hero h1 { margin-bottom: .35em; }
.hero__lead {
	max-width: 46ch;
	font-size: clamp(1rem, .95rem + .25vw, 1.13rem);
	color: var(--ink-600);
}
.hero__cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }

.hero__art {
	position: relative;
	/* Capped: the artwork was taller than the text column, and centring the
	   row pushed the headline down the page on short laptop screens. */
	max-width: 430px;
	margin-inline-start: auto;
}
.hero__art svg { width: 100%; height: auto; }

@media (max-width: 860px) {
	.hero__grid { grid-template-columns: 1fr; }
	.hero__art { order: -1; max-width: 420px; margin-inline: auto; }
}

/* --- stat strip ----------------------------------------------------------- */

.stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 1px;
	margin-top: clamp(24px, 3.2vw, 40px);
	background: var(--line);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}
.stat { padding: 20px 22px; background: var(--surface); }
.stat__value {
	display: block;
	font-size: 1.55rem;
	font-weight: 700;
	line-height: 1.2;
	color: var(--ink-900);
}
.stat__value a { color: inherit; }
.stat__value a:hover { color: var(--accent); }
.stat__label { font-size: .84rem; color: var(--ink-400); }


/* --- news banner ---------------------------------------------------------- */

.notice {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 18px 22px;
	background: var(--wash);
	border: 1px solid var(--wash-line);
	border-radius: var(--radius);
}
.notice__badge {
	flex: none;
	padding: 3px 11px;
	border-radius: var(--radius-pill);
	background: var(--brand-700);
	color: #fff;
	font-size: .74rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
}
.notice p { margin: 0; color: var(--brand-900); font-size: .95rem; }

/* --- plan cards ----------------------------------------------------------- */

.plans {
	display: grid;
	/* auto-fit rather than a fixed 4: the grid has to look right whether a
	   group has three tariffs or four. */
	grid-template-columns: repeat(auto-fit, minmax(min(240px, 100%), 1fr));
	gap: 20px;
}
@media (max-width: 980px) { .plans { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .plans { grid-template-columns: 1fr; } }

.plan {
	display: flex;
	flex-direction: column;
	position: relative;
	padding: 26px 24px 24px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: border-color .22s, box-shadow .22s, transform .22s;
}
.plan:hover { border-color: var(--brand-300); box-shadow: var(--shadow-lg); transform: translateY(-3px); }

.plan--featured { border-color: var(--brand-500); box-shadow: var(--shadow-md); }
.plan__tag {
	position: absolute;
	top: -11px;
	inset-inline-start: 24px;
	padding: 3px 12px;
	background: var(--brand-700);
	color: #fff;
	font-size: .72rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	border-radius: var(--radius-pill);
}

.plan__name {
	margin: 0 0 4px;
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .09em;
	text-transform: uppercase;
	color: var(--ink-400);
}
.plan__price {
	display: flex;
	align-items: baseline;
	gap: 6px;
	margin-bottom: 2px;
}
.plan__amount {
	font-size: 2.45rem;
	font-weight: 700;
	line-height: 1;
	color: var(--ink-900);
	letter-spacing: -.02em;
}
.plan__period { font-size: .88rem; color: var(--ink-400); }

.plan__speed {
	display: inline-flex;
	align-items: baseline;
	gap: 5px;
	margin: 16px 0 18px;
	padding: 7px 14px;
	background: var(--wash);
	border-radius: var(--radius-pill);
	color: var(--brand-900);
	font-weight: 700;
}
.plan__speed b { font-size: 1.15rem; }
.plan__speed span { font-size: .82rem; font-weight: 600; }

.plan__features { display: grid; gap: 10px; margin-bottom: 24px; font-size: .92rem; }
.plan__features li { display: flex; align-items: flex-start; gap: 9px; }
.plan__features svg { flex: none; margin-top: 3px; color: var(--brand-500); }

.plan__cta { margin-top: auto; }

.plan--off { opacity: .6; }
.plan--off:hover { transform: none; box-shadow: none; border-color: var(--line); }
.plan--off .plan__amount { color: var(--ink-300); }

/* --- split content (about / account) -------------------------------------- */

.split {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: clamp(28px, 5vw, 60px);
	align-items: center;
}
@media (max-width: 860px) { .split { grid-template-columns: 1fr; } }
.split__art svg { width: 100%; height: auto; }

.feature-list { display: grid; gap: 14px; margin-top: 22px; }
.feature-list li { display: flex; gap: 12px; align-items: flex-start; }
.feature-list svg { flex: none; margin-top: 2px; color: var(--brand-500); }
.feature-list b { color: var(--ink-900); }

/* --- account / credit panel ----------------------------------------------- */

.panel {
	padding: clamp(22px, 3vw, 32px);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}
.panel--muted { background: var(--surface-2); box-shadow: none; }

.field {
	width: 100%;
	padding: 12px 16px;
	font: inherit;
	color: var(--ink-900);
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	transition: border-color .18s, box-shadow .18s;
}
.field:focus {
	outline: none;
	border-color: var(--brand-500);
	box-shadow: 0 0 0 3px var(--brand-50);
}

.credit-form { display: grid; gap: 14px; max-width: 340px; }
.credit-timer { min-height: 20px; font-size: .88rem; color: var(--ink-400); }
.credit-status:not(:empty) {
	padding: 11px 15px;
	background: var(--wash);
	border: 1px solid var(--wash-line);
	border-radius: var(--radius-sm);
	font-size: .9rem;
	color: var(--brand-900);
}

/* subscriber info table, markup comes from subs_info.php */
.subs-info { overflow-x: auto; }
#subs_info_table {
	width: 100%;
	border-collapse: collapse;
	font-size: .9rem;
	white-space: nowrap;
}
#subs_info_table th,
#subs_info_table td {
	padding: 11px 14px;
	text-align: center;
	border-bottom: 1px solid var(--line);
}
#subs_info_table th {
	font-size: .76rem;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	color: var(--ink-400);
	background: var(--surface-2);
}
#subs_info_table td { color: var(--ink-900); font-weight: 600; }
#subs_info_table tr:last-child td { border-bottom: 0; }

/* --- contact -------------------------------------------------------------- */

.contact-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
	gap: 20px;
}
.contact-card {
	padding: 24px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: border-color .22s, box-shadow .22s;
}
.contact-card:hover { border-color: var(--brand-300); box-shadow: var(--shadow-md); }
.contact-card__icon {
	display: grid;
	place-items: center;
	width: 42px;
	height: 42px;
	margin-bottom: 14px;
	background: var(--wash);
	border-radius: var(--radius-sm);
	color: var(--brand-700);
}
.contact-card h3 {
	margin: 0 0 6px;
	font-size: .82rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--ink-400);
}
.contact-card p { margin: 0; color: var(--ink-900); font-weight: 600; }
.contact-card p + p {
	margin-top: 4px;
	font-weight: 400;
	color: var(--ink-400);
	font-size: .92rem;
}
.contact-card a { color: var(--ink-900); }
.contact-card a:hover { color: var(--accent); }

/* --- footer --------------------------------------------------------------- */

.site-footer {
	padding: clamp(40px, 5vw, 60px) 0 28px;
	background: var(--deep);
	color: var(--ink-300);
	font-size: .92rem;
}
.site-footer__top {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-start;
	gap: 28px;
	padding-bottom: 28px;
	border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.site-footer img { height: 44px; width: auto; }
.site-footer__tagline { max-width: 34ch; margin: 14px 0 0; }
.site-footer__links { display: grid; gap: 8px; }
.site-footer__links a { color: var(--ink-300); }
.site-footer__links a:hover { color: #fff; }

.social { display: flex; gap: 10px; margin-top: 14px; }
.social a {
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	border-radius: var(--radius-sm);
	background: rgba(255, 255, 255, .08);
	color: #fff;
	transition: background-color .18s;
}
.social a:hover { background: var(--brand-700); color: #fff; }

.site-footer__base {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding-top: 22px;
	font-size: .85rem;
	color: var(--ink-400);
}

/* --- TV channels page ----------------------------------------------------- */

.tv-package { padding: clamp(32px, 4vw, 52px) 0; }
.tv-package__head {
	display: flex;
	align-items: baseline;
	gap: 14px;
	margin-bottom: 22px;
	padding-bottom: 14px;
	border-bottom: 1px solid var(--line);
}
.tv-package__head h2 { margin: 0; font-size: 1.35rem; }

.tv-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(142px, 1fr));
	gap: 16px;
}
.channel-card {
	display: flex;
	flex-direction: column;
	padding: 14px 12px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	text-align: center;
	transition: border-color .22s, box-shadow .22s, transform .22s;
}
.channel-card:hover {
	border-color: var(--brand-300);
	box-shadow: var(--shadow-md);
	transform: translateY(-2px);
}
.channel-card .logo-box {
	display: grid;
	place-items: center;
	aspect-ratio: 13 / 9;
	padding: 10px;
	background: var(--plate);
	border-radius: 8px;
	overflow: hidden;
	transition: transform .22s;
}
.channel-card .logo-box img { max-height: 100%; width: auto; object-fit: contain; }
.channel-card .ch-name {
	display: flex;
	flex: 1 0 auto;
	align-items: center;
	justify-content: center;
	margin-top: 10px;
	font-size: .8rem;
	font-weight: 600;
	line-height: 1.35;
	color: var(--ink-900);
}

.tv-note {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 9px;
	margin: 0;
	padding: 16px 20px;
	background: var(--wash);
	border: 1px solid var(--wash-line);
	border-radius: var(--radius);
	color: var(--brand-900);
	font-size: .93rem;
	font-weight: 600;
	text-align: center;
}
.tv-note svg { flex: none; color: var(--brand-600); }

/* --- utilities ------------------------------------------------------------ */

.stack > * + * { margin-top: 20px; }
.text-center { text-align: center; }
.sr-only {
	position: absolute;
	width: 1px; height: 1px;
	padding: 0; margin: -1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	border: 0;
}

/* --- IPTV intro card ------------------------------------------------------- */

.iptv {
	display: grid;
	grid-template-columns: 1.1fr .9fr;
	gap: clamp(28px, 5vw, 56px);
	align-items: center;
}
@media (max-width: 860px) { .iptv { grid-template-columns: 1fr; } }

.iptv__points { display: grid; gap: 12px; margin: 22px 0 28px; }

/* the IPTV intro and the feature grid are one thought - close the gap
   between them rather than running the full section rhythm twice */
/* the IPTV intro is a page opener like any other */
.iptv-intro {
	padding-top: var(--page-top);
	padding-bottom: clamp(16px, 1.8vw, 24px);
}
.iptv-features { padding-top: clamp(22px, 2.6vw, 34px); }
.iptv__points li { display: flex; gap: 11px; align-items: flex-start; }
.iptv__points svg { flex: none; margin-top: 3px; color: var(--brand-500); }

.iptv__count {
	display: inline-flex;
	align-items: baseline;
	gap: 7px;
	padding: 8px 16px;
	margin-bottom: 18px;
	background: var(--wash);
	border: 1px solid var(--wash-line);
	border-radius: var(--radius-pill);
	color: var(--brand-900);
	font-weight: 700;
}
.iptv__count b { font-size: 1.2rem; }
.iptv__count span { font-size: .85rem; font-weight: 600; }

/* --- modal ---------------------------------------------------------------- */

.modal {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: none;
	padding: clamp(12px, 3vw, 40px);
	background: rgba(15, 23, 42, .55);
	backdrop-filter: blur(3px);
}
.modal[data-open="true"] { display: grid; place-items: center; }

.modal__box {
	display: flex;
	flex-direction: column;
	width: min(1100px, 100%);
	max-height: 100%;
	background: var(--surface);
	border-radius: var(--radius);
	box-shadow: var(--shadow-lg);
	overflow: hidden;
}
.modal__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	flex: none;
	padding: 18px 22px;
	border-bottom: 1px solid var(--line);
}
.modal__head h2 { margin: 0; font-size: 1.35rem; }
.modal__head p { margin: 2px 0 0; font-size: .86rem; color: var(--ink-400); }

.modal__close {
	flex: none;
	display: grid;
	place-items: center;
	width: 38px;
	height: 38px;
	padding: 0;
	background: var(--surface-2);
	border: 1px solid var(--line);
	border-radius: var(--radius-sm);
	color: var(--ink-600);
	cursor: pointer;
	transition: background-color .18s, color .18s;
}
.modal__close:hover { background: var(--surface-3); color: var(--ink-900); }

.modal__body {
	flex: 1 1 auto;
	min-height: 0;
	overflow-y: auto;
	padding: 22px;
	overscroll-behavior: contain;
}
.modal__foot {
	flex: none;
	padding: 14px 22px;
	border-top: 1px solid var(--line);
	background: var(--surface-2);
}

body.is-locked { overflow: hidden; }

/* --- copy deterrent -------------------------------------------------------
   Discourages casual copying and drag/save of the channel list. It is a
   deterrent, not protection: anything the browser renders can still be read
   from view-source, devtools or the network tab.
   -------------------------------------------------------------------------- */

.no-copy {
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
}
.no-copy img {
	pointer-events: none;
	-webkit-user-drag: none;
	user-select: none;
}

/* --- map ------------------------------------------------------------------ */

.map {
	margin-top: 22px;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
	box-shadow: var(--shadow-sm);
	background: var(--surface-2);
}
.map iframe {
	display: block;
	width: 100%;
	height: clamp(260px, 34vw, 380px);
	border: 0;
}

/* package blocks inside the modal are stacked, not full page sections */
.modal__body .tv-package { padding: 0; }
.modal__body .tv-package--next { margin-top: 30px; }

/* a suspended plan shows its status instead of an empty price/feature stack */
.plan__status {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 10px;
	flex: 1 1 auto;
	margin: 18px 0 0;
	text-align: center;
	color: var(--ink-400);
	font-size: .92rem;
	font-weight: 600;
}
.plan__status svg { color: var(--ink-300); }

/* ==========================================================================
   Visual emphasis pass. Everything below stays inside the Airnet blue ramp
   (--brand-*) and the ink neutrals - no new hues are introduced.
   ========================================================================== */

/* gradient accent for a key phrase in headings */
.grad {
	/* starts at brand-600, not the logo blue: #00B8F1 is too light to carry
	   heading text at an accessible contrast on white */
	background: linear-gradient(100deg, var(--brand-600) 0%, var(--brand-900) 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* hero gets a soft brand glow behind the artwork */
.hero::before {
	content: "";
	position: absolute;
	top: -220px;
	inset-inline-end: -160px;
	width: 720px;
	height: 720px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(0, 184, 241, .16) 0%, rgba(0, 184, 241, 0) 68%);
	pointer-events: none;
}
.hero > .container { position: relative; z-index: 1; }

/* primary button as a brand gradient */
.btn--primary {
	background: linear-gradient(100deg, var(--brand-600) 0%, var(--brand-700) 100%);
	box-shadow: 0 6px 16px rgba(0, 145, 196, .28);
}
.btn--primary:hover {
	background: linear-gradient(100deg, var(--brand-500) 0%, var(--brand-600) 100%);
	box-shadow: 0 10px 22px rgba(0, 145, 196, .34);
	transform: translateY(-1px);
}

/* section headings get a short accent rule */
.section__head h2 {
	position: relative;
	padding-bottom: 16px;
	font-size: var(--title);
}
.section__head h2::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translateX(-50%);
	width: 56px;
	height: 3px;
	border-radius: 3px;
	background: linear-gradient(90deg, var(--brand-500), var(--brand-700));
}

/* stat tiles: accent the figure, tint the strip */
.stats {
	background: linear-gradient(180deg, var(--wash) 0%, var(--surface) 100%);
	border-color: var(--wash-line);
	box-shadow: var(--shadow-md);
}
.stat { background: var(--surface); }
.stat__value { color: var(--brand-700); font-size: 1.7rem; }

/* featured plan reads as the recommended one */
/* One clean brand border. The earlier ring + top gradient bar disagreed on
   the corner radius and left a broken-looking line across the top edge. */
.plan--featured {
	border: 2px solid var(--brand-500);
	box-shadow: var(--shadow-lg);
	padding: 25px 23px 23px;   /* compensate for the extra 1px of border */
}
.plan__amount {
	background: linear-gradient(100deg, var(--brand-600), var(--brand-900));
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

/* feature grid (IPTV capabilities) */
.feature-grid {
	display: grid;
	/* two-up rather than four-up: the rewind card carries a longer label and
	   needs the width to stay at two lines. */
	grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
	gap: 18px;
	margin-bottom: 28px;
}
.feature-card {
	display: flex;
	gap: 15px;
	align-items: center;
	padding: 20px 22px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	transition: border-color .22s, box-shadow .22s, transform .22s;
}
.feature-card:hover {
	border-color: var(--brand-300);
	box-shadow: var(--shadow-lg);
	transform: translateY(-3px);
}
.feature-card__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	color: #fff;
	background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
	box-shadow: 0 5px 12px rgba(0, 145, 196, .3);
}
.feature-card p {
	margin: 0;
	color: var(--ink-900);
	font-size: .95rem;
	font-weight: 600;
	line-height: 1.5;
}

.badge-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.badge-row .badge-note { margin: 20px 0 0; }

/* small qualifier pill (e.g. "fibre network only") */
.badge-note {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 20px 0 26px;
	padding: 9px 16px;
	background: var(--wash);
	border: 1px solid var(--wash-line);
	border-radius: var(--radius-pill);
	color: var(--brand-900);
	font-size: .88rem;
	font-weight: 700;
}
.badge-note svg { flex: none; color: var(--brand-600); }

/* the fibre-only qualifier reads as a secondary caveat below the two
   headline badges, not an equal peer - smaller type, lighter pill */
.badge-note--sm {
	padding: 6px 13px;
	font-size: .78rem;
	font-weight: 600;
	color: var(--ink-400);
	background: var(--surface-2);
	border-color: var(--line);
}
.badge-note--sm svg { color: var(--ink-300); }

.modal__foot-note {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 8px;
	color: var(--ink-400);
	font-size: .88rem;
	font-weight: 600;
}
.modal__foot-note svg { flex: none; }

/* the phone number itself must never break across lines - the surrounding
   sentence wraps around it instead, same fix as .price-note earlier. */
.modal__foot-phone {
	white-space: nowrap;
	font-weight: 700;
}

/* contact cards: accent the icon tile */
.contact-card__icon {
	color: #fff;
	background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
	box-shadow: 0 5px 12px rgba(0, 145, 196, .28);
}

/* news banner: leading accent bar */
.notice {
	position: relative;
	overflow: hidden;
	padding-inline-start: 26px;
}
.notice::before {
	content: "";
	position: absolute;
	inset-inline-start: 0;
	top: 0;
	bottom: 0;
	width: 4px;
	background: linear-gradient(180deg, var(--brand-500), var(--brand-700));
}

/* footer keeps a brand hairline at the top edge */
.site-footer {
	border-top: 3px solid transparent;
	border-image: linear-gradient(90deg, var(--brand-500), var(--brand-700)) 1;
}

/* the channel-list call to action sits below the feature grid */
.btn--lg { padding: 15px 32px; font-size: 1.02rem; }
.feature-grid + .text-center { margin-bottom: 30px; }

/* --- call-to-action band --------------------------------------------------
   A dark brand break between the light sections. Uses the ink/brand ramp
   only, so it reads as the same identity at higher contrast.
   -------------------------------------------------------------------------- */

.cta-band {
	position: relative;
	overflow: hidden;
	padding: clamp(40px, 5vw, 64px) 0;
	background:
		radial-gradient(760px 380px at 88% 120%, rgba(0, 184, 241, .34) 0%, rgba(0, 184, 241, 0) 62%),
		linear-gradient(115deg, var(--deep) 0%, var(--deep-2) 100%);
	color: #CBE9F6;
}
.cta-band__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 26px;
}
.cta-band h2 { margin: 0 0 8px; color: #fff; }
.cta-band p { margin: 0; max-width: 52ch; font-size: 1rem; }
.cta-band__actions { display: flex; flex-wrap: wrap; gap: 12px; }

.btn--on-brand {
	background: #fff;
	color: var(--brand-900);
	box-shadow: 0 8px 20px rgba(0, 0, 0, .22);
}
.btn--on-brand:hover { background: #E8F8FE; color: var(--brand-900); transform: translateY(-1px); }

.btn--outline-light {
	background: rgba(255, 255, 255, .08);
	color: #fff;
	border-color: rgba(255, 255, 255, .38);
}
.btn--outline-light:hover { background: rgba(255, 255, 255, .18); color: #fff; }

/* IPTV intro subtitle, sits directly under the heading */
.iptv__sub {
	margin: 0;
	max-width: 46ch;
	font-size: 1.02rem;
	color: var(--ink-600);
}

/* --- service cards on the home page ---------------------------------------
   The home page routes to the other tabs instead of scrolling through them.
   -------------------------------------------------------------------------- */

.service-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 20px;
}
.service-card {
	display: flex;
	flex-direction: column;
	padding: 28px 26px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	color: inherit;
	transition: border-color .22s, box-shadow .22s, transform .22s;
}
.service-card:hover {
	border-color: var(--brand-300);
	box-shadow: var(--shadow-lg);
	transform: translateY(-3px);
	color: inherit;
}
.service-card__icon {
	display: grid;
	place-items: center;
	width: 50px;
	height: 50px;
	margin-bottom: 18px;
	border-radius: 13px;
	color: #fff;
	background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
	box-shadow: 0 6px 14px rgba(0, 145, 196, .3);
}
.service-card h3 { margin: 0 0 8px; font-size: 1.2rem; }
.service-card p {
	margin: 0 0 20px;
	font-size: .94rem;
	color: var(--ink-400);
	line-height: 1.55;
}
.service-card__more {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin-top: auto;
	color: var(--accent);
	font-weight: 700;
	font-size: .92rem;
}
.service-card:hover .service-card__more { color: var(--brand-600); }

/* inner pages open straight into their content - no hero above it */
.page-lead { padding-top: var(--page-top); }

.panel--narrow { max-width: 760px; margin-inline: auto; }

.feature-list--row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px 32px;
	margin-top: 34px;
}
.feature-list--row li { align-items: center; }

/* ==========================================================================
   Dark theme. Only the semantic tokens are redefined - every rule above
   already reads from them. Applied when <html data-theme="dark">, which the
   inline script in inc/header.php sets before first paint.
   ========================================================================== */

:root[data-theme="dark"] {
	/* Stepped, and pulled off pure navy toward a neutral slate so the inner
	   surfaces read as distinct planes instead of one flat blue field. */
	--page:      #0C1119;   /* deepest - the page ground */
	--surface-2: #151D29;   /* alternating band, a step up from the ground */
	--surface:   #1D2734;   /* cards - the lightest plane, clearly raised */
	--surface-3: #29323F;
	--line:      #303A48;

	--ink-900:   #F2F6FB;   /* headings */
	--ink-800:   #E4EBF4;
	--ink-600:   #B9C6D8;   /* body copy */
	--ink-400:   #8D9CB4;   /* muted */
	--ink-300:   #6E7E97;

	--accent:     #5FD3F7;
	--wash:       rgba(0, 184, 241, .10);
	--wash-line:  rgba(0, 184, 241, .26);
	--deep:       #0A1E33;
	--deep-2:     #0A2C3E;
	/* Lifted to the card plane: at the old value the bar measured 1.01
	   contrast against the page, so it read as no bar at all. */
	--header-bg:  rgba(29, 39, 52, .86);
	--hero-top:   #101A2C;
	--plate:      #FFFFFF;

	--art-a:      #1B2531;
	--art-b:      #121A25;
	--art-line:   rgba(0, 184, 241, .30);
	--art-chip:   #232E3D;
	--art-chip-l: #333E4E;
	--art-track:  #303A48;

	--shadow-sm: 0 1px 2px rgba(0, 0, 0, .45), 0 1px 3px rgba(0, 0, 0, .3);
	--shadow-md: 0 6px 16px rgba(0, 0, 0, .5), 0 2px 5px rgba(0, 0, 0, .35);
	--shadow-lg: 0 20px 44px rgba(0, 0, 0, .58), 0 5px 14px rgba(0, 0, 0, .4);
}

/* the ambient wash needs more presence against a dark ground */
[data-theme="dark"] body {
	background-image:
		radial-gradient(1200px 640px at 12% -8%, rgba(0, 184, 241, .13) 0%, rgba(0, 184, 241, 0) 60%),
		radial-gradient(1000px 560px at 92% 4%, rgba(0, 145, 196, .10) 0%, rgba(0, 145, 196, 0) 58%);
}

/* gradient text needs the light end of the ramp to stay readable */
[data-theme="dark"] .grad,
[data-theme="dark"] .plan__amount {
	background: linear-gradient(100deg, #7FDDF9 0%, #2FB4E4 100%);
	-webkit-background-clip: text;
	background-clip: text;
	color: transparent;
}

[data-theme="dark"] .hero { background:
	radial-gradient(1100px 520px at 82% -10%, rgba(0, 184, 241, .16) 0%, rgba(0, 184, 241, 0) 62%),
	linear-gradient(180deg, var(--hero-top) 0%, var(--page) 100%); }

[data-theme="dark"] .notice p,
[data-theme="dark"] .plan__speed,
[data-theme="dark"] .badge-note,
[data-theme="dark"] .tv-note,
[data-theme="dark"] .credit-status:not(:empty) { color: #CDEBF8; }

[data-theme="dark"] .plan__speed b,
[data-theme="dark"] .iptv__count b { color: #FFFFFF; }

[data-theme="dark"] .btn--ghost { color: var(--ink-900); }
[data-theme="dark"] .btn--on-brand { background: #FFFFFF; color: #06384C; }

/* the sticky bar sits on the dark ground */
[data-theme="dark"] .site-header { border-bottom-color: var(--line); }

/* channel logos keep a white plate - most are dark marks on transparent */
[data-theme="dark"] .channel-card { background: var(--surface); }
[data-theme="dark"] .channel-card .logo-box { box-shadow: inset 0 0 0 1px rgba(15, 23, 42, .06); }

/* the footer is deeper than the page so it still reads as a base */
[data-theme="dark"] .site-footer { border-top: 3px solid transparent;
	border-image: linear-gradient(90deg, var(--brand-500), var(--brand-700)) 1; }

/* --- channel logos: give the marks room and let them lift on hover -------- */

.tv-grid { grid-template-columns: repeat(auto-fill, minmax(min(160px, 100%), 1fr)); gap: 18px; }

.channel-card { padding: 12px; }
.channel-card .logo-box {
	aspect-ratio: 4 / 3;
	padding: 14px;
	background: var(--plate);
	border-radius: 10px;
	box-shadow: 0 1px 2px rgba(6, 12, 24, .18);
}
.channel-card .logo-box img {
	max-height: 100%;
	max-width: 100%;
	width: auto;
	object-fit: contain;
	transition: transform .25s ease;
}
.channel-card:hover .logo-box img { transform: scale(1.07); }
.channel-card:hover {
	border-color: var(--brand-500);
	box-shadow: 0 0 0 1px var(--brand-500), var(--shadow-lg);
}
.channel-card .ch-name {
	margin-top: 11px;
	font-size: .82rem;
	color: var(--ink-600);
}
.channel-card:hover .ch-name { color: var(--ink-900); }

/* --- theme toggle ---------------------------------------------------------- */

.brand img { height: 46px; width: auto; }
.brand__logo--dark  { display: block; }   /* dark wordmark, for the light theme */
.brand__logo--light { display: none; }
[data-theme="dark"] .brand__logo--dark  { display: none; }
[data-theme="dark"] .brand__logo--light { display: block; }

.theme-toggle {
	display: grid;
	place-items: center;
	flex: none;
	width: 38px;
	height: 38px;
	padding: 0;
	background: var(--surface-3);
	border: 1px solid transparent;
	border-radius: var(--radius-pill);
	color: var(--ink-600);
	cursor: pointer;
	transition: background-color .18s, color .18s;
}
.theme-toggle:hover { color: var(--ink-900); background: var(--line); }
.theme-toggle .icon-sun  { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun  { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* the popup footer carries two notes: the rolling line-up, then the legal one */
.modal__foot { display: grid; gap: 7px; }
.modal__foot-note--legal {
	color: var(--ink-400);
	font-size: .8rem;
	font-weight: 400;
	line-height: 1.45;
}

/* --- pricing / terms callout on the IPTV page ----------------------------- */

.price-note {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 20px;
	margin-top: 20px;
	padding: 22px 26px;
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow-sm);
}
.price-note__icon {
	flex: none;
	display: grid;
	place-items: center;
	width: 46px;
	height: 46px;
	border-radius: 12px;
	color: #fff;
	background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
	box-shadow: 0 5px 12px rgba(0, 145, 196, .28);
}
.price-note { flex-direction: column; align-items: stretch; gap: 12px; }
.price-note__row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 16px 20px;
}
.price-note__row p {
	flex: 1 1 260px;
	/* without this a flex item won't shrink past its longest unbreakable
	   word, so on a narrow phone the paragraph overflowed the card instead
	   of wrapping - this lets it wrap fully at any width. */
	min-width: 0;
}

/* Below this, icon + paragraph + button no longer fit on one row even once
   the paragraph wraps - stack them instead of fighting for horizontal
   space, and let the button take the full width so it stays easy to tap. */
@media (max-width: 560px) {
	.price-note__row { flex-direction: column; align-items: stretch; }
	.price-note__row .btn { width: 100%; }
	/* flex: 1 1 260px was a WIDTH basis for the row layout above; once the
	   axis rotates to column that same 260px becomes a HEIGHT basis instead,
	   forcing the paragraph's box to 260px tall regardless of its actual
	   2 lines of text - that was the large empty gap before the button. */
	.price-note__row p { flex: none; }
}
.price-note p {
	margin: 0;
	color: var(--ink-900);
	font-size: .96rem;
	font-weight: 600;
	line-height: 1.5;
}
/* secondary line: the rolling line-up note, subordinate to the pricing ask */
.price-note__sub {
	margin-top: 5px !important;
	color: var(--ink-400) !important;
	font-size: .85rem !important;
	font-weight: 400 !important;
}
.price-note .btn { flex: none; }

.modal__foot-note a { color: var(--accent); font-weight: 700; }

.account-offline { margin: 0; }
.account-offline a { font-weight: 700; white-space: nowrap; }

/* Two tariffs shouldn't stretch across the full container - rein the grid in
   when a group is small, and keep the suspended tier as a quiet footnote. */


/* Two tariffs read as a deliberate pair when they sit close together, not
   when they are stretched to fill a 1160px row. */
.plans--few {
	max-width: 660px;
	margin-inline: auto;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: 18px;
}

/* --- promo card -----------------------------------------------------------
   Same surface and shape as a tariff card, lifted with the accent ring and a
   brand glow so it is the first thing read in the row. */

.plan--promo {
	border: 2px solid var(--brand-500);
	box-shadow: 0 0 0 6px rgba(0, 184, 241, .10), var(--shadow-lg);
	padding: 25px 23px 23px;
}
.plan--promo:hover {
	border-color: var(--brand-500);
	box-shadow: 0 0 0 8px rgba(0, 184, 241, .16), var(--shadow-lg);
}
.plan--promo .plan__tag { top: -12px; }
.plan--promo .plan__amount { font-size: 2.1rem; }
.plan--promo .plan__speed { background: var(--wash); }
.plan--promo .plan__speed span { font-size: .86rem; font-weight: 700; }

/* --- tariff cards as horizontal rows --------------------------------------
   Wide rectangles rather than tall columns: the row reads left to right -
   what it is, how fast, what you get, how to sign up - and three of them
   fill the page evenly instead of leaving a gap on the right.
   -------------------------------------------------------------------------- */

@media (min-width: 861px) {
	.plans, .plans--few {
		display: grid;
		grid-template-columns: 1fr;
		max-width: none;
		gap: 16px;
	}

	/* The rows only carry four short columns, so they read fine wider than the
	   680px article measure - break them out of .container's 1160px cap on
	   large screens instead of leaving big empty margins either side. */
	.plans, .plans--few { width: 100%; }
}
@media (min-width: 1300px) {
	.fiber-plans-wrap, .wireless-plans-wrap {
		max-width: 1440px;
		margin-inline: auto;
		padding-inline: 20px;
	}
}

	.plans .plan {
		display: grid;
		grid-template-columns: minmax(170px, 210px) minmax(150px, 220px) 1fr auto;
		grid-template-rows: auto auto;
		align-items: center;
		column-gap: 28px;
		row-gap: 2px;
		padding: 22px 26px;
	}

	.plans .plan__name  { grid-column: 1; grid-row: 1; align-self: end; margin: 0; }
	.plans .plan__price { grid-column: 1; grid-row: 2; align-self: start; margin: 0; }
	.plans .plan__speed { grid-column: 2; grid-row: 1 / 3; margin: 0; justify-self: start; }
	.plans .plan__features {
		grid-column: 3; grid-row: 1 / 3;
		display: flex;
		flex-wrap: wrap;
		gap: 8px 26px;
		margin: 0;
	}
	.plans .plan__cta { grid-column: 4; grid-row: 1 / 3; margin: 0; }
	.plans .plan__cta .btn { width: auto; min-width: 170px; }

	.plans .plan__amount { font-size: 2rem; }
	.plan--promo .plan__tag { top: -11px; inset-inline-start: 26px; }
}

/* utility: a section with no top padding, used right under the hero */
.section--flush-top { padding-top: 0; }

/* subscriber status colours (subs_info.php) */
.status-warn { color: #B45309; }
.status-ok   { color: #047857; }
