/**
 * Marinios IPTV — design system.
 *
 * Structure: tokens, reset, typography, layout, components, sections,
 * templates, utilities, responsive, motion & print.
 * Mobile-first. No frameworks, no icon fonts, no jQuery.
 */

/* =========================================================================
   1. Tokens
   ========================================================================= */

:root {
	/* Brand palette — verified for WCAG 2.2 AA in every pairing used below. */
	--c-navy-deep: #0b1723;
	--c-navy: #101f2e;
	--c-navy-soft: #16293b;
	--c-teal: #5cdecf;
	--c-teal-deep: #14786f;
	--c-teal-deeper: #0f5c55;
	--c-teal-wash: #eef6f4;
	--c-ivory: #f5f3ed;
	--c-white: #fff;
	--c-wa: #25d366;
	--c-wa-dark: #128c7e;

	/* Text */
	--t-strong: #101f2e;
	--t-body: #3f5260;
	--t-muted: #5a6e7c;
	--t-on-dark: #f5f3ed;
	--t-on-dark-muted: #aebfc9;

	/* Surfaces */
	--s-page: #fff;
	--s-raised: #fff;
	--s-sunken: #f7f8f9;
	--s-ivory: #f5f3ed;
	--s-dark: #0b1723;

	/* Lines */
	--line: #e2e7ea;
	--line-strong: #cfd8dd;
	--line-dark: rgba(174, 191, 201, 0.22);

	/* Type scale — fluid, clamped so 320px and 1440px both read well. */
	--f-display: clamp(2.05rem, 1.5rem + 2.5vw, 3.35rem);
	--f-h1: clamp(1.9rem, 1.4rem + 2.3vw, 3rem);
	--f-h2: clamp(1.55rem, 1.24rem + 1.42vw, 2.35rem);
	--f-h3: clamp(1.2rem, 1.08rem + 0.55vw, 1.5rem);
	--f-h4: clamp(1.05rem, 1rem + 0.25vw, 1.2rem);
	--f-lead: clamp(1.03rem, 0.99rem + 0.2vw, 1.2rem);
	--f-body: 1rem;
	--f-sm: 0.9375rem;
	--f-xs: 0.8125rem;

	--font-head: "Sora", "Segoe UI", -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, sans-serif;
	--font-body: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Arial, sans-serif;

	/* Space */
	--sp-1: 0.25rem;
	--sp-2: 0.5rem;
	--sp-3: 0.75rem;
	--sp-4: 1rem;
	--sp-5: 1.5rem;
	--sp-6: 2rem;
	--sp-7: 2.75rem;
	--sp-8: 3.5rem;
	--sp-9: 4.5rem;
	--section-y: clamp(3.25rem, 2rem + 5vw, 6rem);

	/* Shape */
	--r-sm: 8px;
	--r-md: 14px;
	--r-lg: 20px;
	--r-xl: 28px;
	--r-pill: 999px;

	/* Elevation — restrained, no glow. */
	--sh-1: 0 1px 2px rgba(16, 31, 46, 0.06), 0 2px 8px rgba(16, 31, 46, 0.05);
	--sh-2: 0 2px 6px rgba(16, 31, 46, 0.07), 0 12px 28px rgba(16, 31, 46, 0.08);
	--sh-3: 0 4px 12px rgba(16, 31, 46, 0.09), 0 24px 48px rgba(16, 31, 46, 0.12);

	/* Layout */
	--wrap: 1200px;
	--wrap-narrow: 760px;
	--wrap-wide: 1360px;
	--gutter: clamp(1rem, 0.6rem + 2vw, 2.5rem);
	--header-h: 68px;

	--ease: cubic-bezier(0.4, 0, 0.2, 1);
	--dur: 0.22s;
}

@media (min-width: 1024px) {
	:root {
		--header-h: 84px;
	}
}

/* =========================================================================
   2. Reset
   ========================================================================= */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
	/* Keeps anchored sections clear of the sticky header. */
	scroll-padding-top: calc(var(--header-h) + 1rem);
}

body {
	margin: 0;
	background: var(--s-page);
	color: var(--t-body);
	font-family: var(--font-body);
	font-size: var(--f-body);
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	/* Prevents any child from forcing a horizontal scrollbar at 320px. */
	overflow-x: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 var(--sp-4);
	color: var(--t-strong);
	font-family: var(--font-head);
	font-weight: 600;
	line-height: 1.16;
	letter-spacing: -0.017em;
	/* Long product names and URLs must not overflow narrow viewports. */
	overflow-wrap: break-word;
	text-wrap: balance;
}

h1 {
	font-size: var(--f-h1);
	font-weight: 700;
}

h2 {
	font-size: var(--f-h2);
}

h3 {
	font-size: var(--f-h3);
}

h4 {
	font-size: var(--f-h4);
}

p {
	margin: 0 0 var(--sp-4);
	text-wrap: pretty;
}

p:last-child {
	margin-bottom: 0;
}

a {
	color: var(--c-teal-deep);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--c-teal-deeper);
}

img,
picture,
svg,
video {
	max-width: 100%;
}

img,
video {
	height: auto;
}

svg {
	flex: none;
}

ul,
ol {
	padding-left: 1.25rem;
}

li + li {
	margin-top: var(--sp-2);
}

strong,
b {
	color: var(--t-strong);
	font-weight: 600;
}

code,
kbd,
pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

code {
	padding: 0.12em 0.36em;
	border-radius: 5px;
	background: var(--c-teal-wash);
	color: var(--c-teal-deeper);
}

table {
	width: 100%;
	border-collapse: collapse;
}

button,
input,
select,
textarea {
	font: inherit;
	color: inherit;
}

/*
 * A fieldset's UA min-inline-size is min-content, which defeats minmax(0, 1fr)
 * and makes any grid column containing one overflow. Reset it explicitly.
 */
fieldset {
	min-inline-size: 0;
	margin: 0;
	padding: 0;
	border: 0;
}

legend {
	padding: 0;
}

hr {
	height: 1px;
	margin: var(--sp-7) 0;
	border: 0;
	background: var(--line);
}

/* Focus — visible on every interactive element, on light and dark panels. */
:focus-visible {
	outline: 3px solid var(--c-teal-deep);
	outline-offset: 2px;
	border-radius: 3px;
}

.panel--dark :focus-visible,
.site-footer :focus-visible,
.hero :focus-visible {
	outline-color: var(--c-teal);
}

/* =========================================================================
   3. Layout
   ========================================================================= */

.wrap {
	width: 100%;
	max-width: var(--wrap);
	margin-inline: auto;
	padding-inline: var(--gutter);
}

.wrap--narrow {
	max-width: var(--wrap-narrow);
}

.wrap--wide {
	max-width: var(--wrap-wide);
}

.section {
	padding-block: var(--section-y);
}

.section--tight {
	padding-block: clamp(2.25rem, 1.6rem + 3vw, 4rem);
}

.panel--ivory {
	background: var(--s-ivory);
}

.panel--sunken {
	background: var(--s-sunken);
}

.panel--dark {
	background: var(--s-dark);
	color: var(--t-on-dark-muted);
}

.panel--dark h1,
.panel--dark h2,
.panel--dark h3,
.panel--dark h4,
.panel--dark strong {
	color: var(--t-on-dark);
}

.panel--dark a:not(.btn) {
	color: var(--c-teal);
}

.skip-link {
	position: absolute;
	top: -60px;
	left: var(--sp-4);
	z-index: 200;
	padding: 0.7rem 1.1rem;
	border-radius: 0 0 var(--r-sm) var(--r-sm);
	background: var(--c-navy-deep);
	color: var(--c-teal);
	font-weight: 600;
	text-decoration: none;
	transition: top var(--dur) var(--ease);
}

.skip-link:focus {
	top: 0;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	border: 0;
	white-space: nowrap;
}

.screen-reader-text:focus {
	position: static !important;
	width: auto;
	height: auto;
	margin: 0;
	overflow: visible;
	clip: auto;
	clip-path: none;
}

/* =========================================================================
   4. Section scaffolding
   ========================================================================= */

.section__head {
	max-width: 44rem;
	margin-bottom: clamp(2rem, 1.5rem + 1.6vw, 3rem);
}

.section__head--center {
	max-width: 46rem;
	margin-inline: auto;
	text-align: center;
}

.eyebrow {
	margin: 0 0 var(--sp-3);
	color: var(--c-teal-deep);
	font-family: var(--font-head);
	font-size: var(--f-xs);
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.panel--dark .eyebrow,
.hero .eyebrow {
	color: var(--c-teal);
}

.section__title {
	margin-bottom: var(--sp-4);
}

.section__lead {
	margin: 0;
	font-size: var(--f-lead);
	color: var(--t-muted);
}

.panel--dark .section__lead {
	color: var(--t-on-dark-muted);
}

/* =========================================================================
   5. Buttons
   ========================================================================= */

.btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	/* 48px minimum touch target. */
	min-height: 48px;
	padding: 0.78rem 1.4rem;
	border: 1px solid transparent;
	border-radius: var(--r-pill);
	font-family: var(--font-head);
	font-size: var(--f-sm);
	font-weight: 600;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background-color var(--dur) var(--ease), border-color var(--dur) var(--ease),
		color var(--dur) var(--ease), transform var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.btn:hover {
	transform: translateY(-1px);
}

.btn:active {
	transform: translateY(0);
}

.btn--primary {
	background: var(--c-teal);
	border-color: var(--c-teal);
	/* Navy on teal: 11.03:1. */
	color: var(--c-navy-deep);
	box-shadow: var(--sh-1);
}

.btn--primary:hover {
	background: #4ed3c3;
	border-color: #4ed3c3;
	color: var(--c-navy-deep);
	box-shadow: var(--sh-2);
}

.btn--solid {
	background: var(--c-teal-deep);
	border-color: var(--c-teal-deep);
	/* White on deep teal: 5.32:1. */
	color: var(--c-white);
}

.btn--solid:hover {
	background: var(--c-teal-deeper);
	border-color: var(--c-teal-deeper);
	color: var(--c-white);
}

.btn--navy {
	background: var(--c-navy);
	border-color: var(--c-navy);
	color: var(--c-white);
}

.btn--navy:hover {
	background: var(--c-navy-deep);
	border-color: var(--c-navy-deep);
	color: var(--c-white);
}

.btn--outline {
	background: transparent;
	border-color: var(--line-strong);
	color: var(--t-strong);
}

.btn--outline:hover {
	border-color: var(--c-teal-deep);
	background: var(--c-teal-wash);
	color: var(--c-teal-deeper);
}

.btn--ghost {
	background: rgba(245, 243, 237, 0.07);
	border-color: rgba(174, 191, 201, 0.4);
	color: var(--t-on-dark);
}

.btn--ghost:hover {
	background: rgba(245, 243, 237, 0.14);
	border-color: var(--c-teal);
	color: var(--c-white);
}

.btn--whatsapp {
	background: var(--c-wa);
	border-color: var(--c-wa);
	/* Navy on WhatsApp green: 9.12:1. */
	color: var(--c-navy-deep);
}

.btn--whatsapp:hover {
	background: #1fbe5b;
	border-color: #1fbe5b;
	color: var(--c-navy-deep);
}

.btn--link {
	min-height: 0;
	padding: 0.25rem 0;
	border: 0;
	border-radius: 3px;
	background: none;
	color: var(--c-teal-deep);
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.22em;
}

.btn--link:hover {
	color: var(--c-teal-deeper);
	transform: none;
}

.panel--dark .btn--link,
.site-footer .btn--link {
	color: var(--c-teal);
}

.btn--lg {
	min-height: 54px;
	padding: 0.95rem 1.8rem;
	font-size: 1rem;
}

.btn--sm {
	min-height: 40px;
	padding: 0.5rem 1rem;
	font-size: var(--f-xs);
	white-space: nowrap;
}

.header__cta {
	white-space: nowrap;
	flex: none;
}

.btn--block {
	width: 100%;
}

.btn .m-icon {
	transition: transform var(--dur) var(--ease);
}

.btn:hover .m-icon--arrow-right {
	transform: translateX(3px);
}

.btn-row {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
}

.btn-row--center {
	justify-content: center;
}

/* =========================================================================
   6. Header
   ========================================================================= */

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--c-navy-deep);
	border-bottom: 1px solid var(--line-dark);
}

.site-header__inner {
	display: flex;
	align-items: center;
	gap: var(--sp-4);
	min-height: var(--header-h);
}

.brand {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	margin-right: auto;
	text-decoration: none;
	flex: none;
}

.brand__logo {
	display: block;
	width: auto;
	height: 34px;
}

.brand__mark {
	display: none;
}

.brand__text {
	color: var(--t-on-dark);
	font-family: var(--font-head);
	font-size: 1.05rem;
	font-weight: 700;
	letter-spacing: -0.01em;
}

.nav {
	display: none;
}

.nav__list {
	display: flex;
	align-items: center;
	gap: clamp(0.25rem, -0.4rem + 1vw, 0.7rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.nav__list li + li {
	margin-top: 0;
}

.nav__item {
	position: relative;
}

.nav__link,
.nav a {
	display: block;
	padding: 0.5rem 0.5rem;
	border-radius: var(--r-sm);
	color: var(--t-on-dark-muted);
	font-size: 0.875rem;
	font-weight: 500;
	text-decoration: none;
	white-space: nowrap;
	transition: color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.nav__link:hover,
.nav a:hover {
	background: rgba(245, 243, 237, 0.07);
	color: var(--c-white);
}

.nav .current-menu-item > a,
.nav .current_page_item > a,
.nav__item.current-menu-item > .nav__link {
	color: var(--c-teal);
}

/* Submenus stay keyboard reachable. */
.nav .sub-menu {
	position: absolute;
	top: 100%;
	left: 0;
	z-index: 5;
	display: block;
	min-width: 230px;
	margin: 0;
	padding: 0.4rem;
	border: 1px solid var(--line-dark);
	border-radius: var(--r-md);
	background: var(--c-navy);
	box-shadow: var(--sh-3);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease), visibility var(--dur);
}

.nav li:hover > .sub-menu,
.nav li:focus-within > .sub-menu {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
}

.nav .sub-menu a {
	white-space: normal;
}

.header__cta {
	display: none;
}

.nav-toggle {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 1px solid rgba(174, 191, 201, 0.32);
	border-radius: var(--r-sm);
	background: transparent;
	color: var(--t-on-dark);
	cursor: pointer;
}

.nav-toggle:hover {
	background: rgba(245, 243, 237, 0.08);
	border-color: var(--c-teal);
}

.nav-toggle__close {
	display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__open {
	display: none;
}

.nav-toggle[aria-expanded="true"] .nav-toggle__close {
	display: block;
}

/* Mobile drawer */
.mobile-nav {
	position: fixed;
	inset: var(--header-h) 0 0;
	z-index: 99;
	display: flex;
	flex-direction: column;
	padding: var(--sp-5) var(--gutter) calc(var(--sp-8) + env(safe-area-inset-bottom));
	background: var(--c-navy-deep);
	overflow-y: auto;
	overscroll-behavior: contain;
	visibility: hidden;
	opacity: 0;
	transform: translateY(-8px);
	/*
	 * Visibility flips instantly on open, so the first link is focusable in the
	 * same frame the drawer opens, and is delayed on close until the fade has
	 * finished. A mid-transition `visibility` would silently swallow .focus().
	 */
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
		visibility 0s linear var(--dur);
}

.mobile-nav.is-open {
	visibility: visible;
	opacity: 1;
	transform: translateY(0);
	transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease),
		visibility 0s linear 0s;
}

.mobile-nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mobile-nav li + li {
	margin-top: 0;
	border-top: 1px solid var(--line-dark);
}

.mobile-nav a {
	display: block;
	padding: 0.95rem 0.25rem;
	color: var(--t-on-dark);
	font-family: var(--font-head);
	font-size: 1.06rem;
	font-weight: 500;
	text-decoration: none;
}

.mobile-nav a:hover {
	color: var(--c-teal);
}

.mobile-nav .current-menu-item > a,
.mobile-nav .current_page_item > a {
	color: var(--c-teal);
}

.mobile-nav .sub-menu {
	padding-left: var(--sp-4);
}

.mobile-nav .sub-menu a {
	font-size: var(--f-sm);
	color: var(--t-on-dark-muted);
}

.mobile-nav__actions {
	display: grid;
	gap: var(--sp-3);
	margin-top: var(--sp-6);
}

.mobile-nav__phone {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	color: var(--t-on-dark-muted);
	font-size: var(--f-sm);
	text-decoration: none;
}

body.nav-open {
	overflow: hidden;
}

/* =========================================================================
   7. Hero
   ========================================================================= */

.hero {
	position: relative;
	background: var(--c-navy-deep);
	color: var(--t-on-dark-muted);
	overflow: hidden;
}

.hero__inner {
	position: relative;
	z-index: 2;
	display: grid;
	gap: clamp(2rem, 1.4rem + 2.4vw, 3.25rem);
	padding-block: clamp(2.5rem, 1.7rem + 3.4vw, 4.75rem);
}

.hero__copy {
	max-width: 36rem;
}

.hero__title {
	margin-bottom: var(--sp-4);
	color: var(--t-on-dark);
	font-size: var(--f-display);
	font-weight: 700;
	line-height: 1.08;
}

.hero__title em {
	color: var(--c-teal);
	font-style: normal;
}

.hero__lead {
	margin-bottom: var(--sp-5);
	font-size: var(--f-lead);
	color: var(--t-on-dark-muted);
	max-width: 34rem;
}

.hero__points {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2) var(--sp-5);
	margin: var(--sp-5) 0 0;
	padding: 0;
	list-style: none;
}

.hero__points li {
	display: flex;
	align-items: center;
	gap: 0.45rem;
	margin: 0;
	font-size: var(--f-sm);
	color: var(--t-on-dark-muted);
}

.hero__points .m-icon {
	color: var(--c-teal);
}

.hero__media {
	position: relative;
	border-radius: var(--r-lg);
	overflow: hidden;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.36);
}

.hero__picture,
.hero__picture img {
	display: block;
	width: 100%;
	height: auto;
}

.hero__picture img {
	/* Reserves space before the image decodes: no layout shift. */
	aspect-ratio: 2 / 3;
	object-fit: cover;
}

.hero__note {
	margin-top: var(--sp-4);
	font-size: var(--f-xs);
	color: var(--t-on-dark-muted);
}

/* =========================================================================
   8. Cards
   ========================================================================= */

.grid {
	display: grid;
	gap: clamp(1rem, 0.7rem + 1vw, 1.75rem);
}

.grid--2 {
	grid-template-columns: 1fr;
}

.grid--3,
.grid--4 {
	grid-template-columns: 1fr;
}

.card {
	display: flex;
	flex-direction: column;
	gap: var(--sp-3);
	padding: clamp(1.25rem, 1rem + 0.8vw, 1.85rem);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--s-raised);
	box-shadow: var(--sh-1);
	transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
		transform var(--dur) var(--ease);
}

.card:hover {
	border-color: var(--line-strong);
	box-shadow: var(--sh-2);
	transform: translateY(-2px);
}

.card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: var(--r-md);
	background: var(--c-teal-wash);
	color: var(--c-teal-deeper);
	flex: none;
}

.card__title {
	margin: 0;
	font-size: var(--f-h4);
}

.card__text {
	margin: 0;
	font-size: var(--f-sm);
	color: var(--t-body);
}

.card__note {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
	margin: 0;
	font-size: var(--f-xs);
	color: var(--t-muted);
}

.card__foot {
	margin-top: auto;
	padding-top: var(--sp-2);
}

.panel--dark .card {
	border-color: var(--line-dark);
	background: var(--c-navy);
	box-shadow: none;
}

.panel--dark .card:hover {
	border-color: rgba(92, 222, 207, 0.45);
}

.panel--dark .card__icon {
	background: rgba(92, 222, 207, 0.14);
	color: var(--c-teal);
}

.panel--dark .card__text {
	color: var(--t-on-dark-muted);
}

.panel--dark .card__note {
	color: var(--t-on-dark-muted);
}

/* =========================================================================
   9. Pricing
   ========================================================================= */

.plans {
	display: grid;
	gap: clamp(1rem, 0.7rem + 1vw, 1.5rem);
	grid-template-columns: 1fr;
	align-items: start;
}

.plan {
	position: relative;
	display: flex;
	flex-direction: column;
	padding: clamp(1.4rem, 1.1rem + 0.9vw, 2rem);
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	background: var(--c-white);
	box-shadow: var(--sh-1);
}

.plan--featured {
	border-color: var(--c-teal-deep);
	border-width: 2px;
	box-shadow: var(--sh-2);
}

/* Always present, even on cards with no badge, so the name, price and tier
   rows start at the same height across the row. */
.plan__flag-slot {
	display: flex;
	align-items: center;
	min-height: 26px;
	margin: 0 0 var(--sp-3);
}

.plan__flag {
	display: inline-block;
	padding: 0.28rem 0.7rem;
	border-radius: var(--r-pill);
	background: var(--c-teal-wash);
	color: var(--c-teal-deeper);
	font-family: var(--font-head);
	font-size: var(--f-xs);
	font-weight: 600;
	letter-spacing: 0.04em;
}

.plan__name {
	margin: 0 0 var(--sp-2);
	font-size: var(--f-h3);
}

.plan__summary {
	margin: 0 0 var(--sp-4);
	font-size: var(--f-sm);
	color: var(--t-muted);
	min-height: 2.8em;
}

.plan__price {
	display: flex;
	align-items: baseline;
	/* The period label is nowrap, so the row itself must be able to wrap or it
	   overflows the card at four-column widths. */
	flex-wrap: wrap;
	gap: 0.3rem;
	margin-bottom: var(--sp-1);
}

.plan__amount {
	font-family: var(--font-head);
	font-size: clamp(2.1rem, 1.8rem + 1.1vw, 2.6rem);
	font-weight: 700;
	line-height: 1;
	color: var(--t-strong);
	letter-spacing: -0.02em;
	/* Stops the digits reflowing when the device tier changes. */
	font-variant-numeric: tabular-nums;
}

.plan__period {
	font-size: var(--f-sm);
	color: var(--t-muted);
	white-space: nowrap;
}

.plan__currency-note {
	margin: 0 0 var(--sp-4);
	font-size: var(--f-xs);
	color: var(--t-muted);
}

.plan__tiers {
	margin: 0 0 var(--sp-4);
	padding: var(--sp-4);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	background: var(--s-sunken);
}

.plan__tiers-legend {
	display: block;
	margin-bottom: var(--sp-3);
	padding: 0;
	font-family: var(--font-head);
	font-size: var(--f-xs);
	font-weight: 600;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: var(--t-strong);
}

.plan__tier-options {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
}

.plan__tier {
	position: relative;
}

.plan__tier input {
	position: absolute;
	width: 1px;
	height: 1px;
	opacity: 0;
}

.plan__tier label {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 48px;
	min-height: 44px;
	padding: 0.4rem 0.75rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-sm);
	background: var(--c-white);
	font-family: var(--font-head);
	font-size: var(--f-sm);
	font-weight: 600;
	color: var(--t-body);
	cursor: pointer;
	transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease),
		color var(--dur) var(--ease);
}

.plan__tier label:hover {
	border-color: var(--c-teal-deep);
	color: var(--c-teal-deeper);
}

.plan__tier input:checked + label {
	border-color: var(--c-teal-deep);
	background: var(--c-teal-deep);
	color: var(--c-white);
}

.plan__tier input:focus-visible + label {
	outline: 3px solid var(--c-teal-deep);
	outline-offset: 2px;
}

.plan__tier-result {
	margin: var(--sp-3) 0 0;
	font-size: var(--f-sm);
	color: var(--t-body);
}

.plan__tier-result strong {
	font-variant-numeric: tabular-nums;
}

.plan__features {
	margin: 0 0 var(--sp-5);
	padding: 0;
	list-style: none;
}

.plan__features li {
	display: flex;
	align-items: flex-start;
	gap: 0.55rem;
	margin: 0 0 var(--sp-2);
	font-size: var(--f-sm);
}

.plan__features .m-icon {
	margin-top: 0.22em;
	color: var(--c-teal-deep);
	flex: none;
}

.plan__action {
	margin-top: auto;
}

.plan__terms {
	margin: var(--sp-3) 0 0;
	font-size: var(--f-xs);
	color: var(--t-muted);
}

.pricing-note {
	max-width: 52rem;
	margin: clamp(2rem, 1.5rem + 1.5vw, 3rem) auto 0;
	padding: var(--sp-5);
	border: 1px solid var(--line);
	border-left: 3px solid var(--c-teal-deep);
	border-radius: var(--r-md);
	background: var(--c-teal-wash);
}

.pricing-note h3 {
	margin-bottom: var(--sp-2);
	font-size: var(--f-h4);
}

.pricing-note p {
	font-size: var(--f-sm);
	color: var(--t-body);
}

.pricing-note p + p {
	margin-top: var(--sp-3);
}

/*
 * Row alignment across the plan row.
 *
 * At desktop widths all cards sit in one grid row, so each card can adopt the
 * parent's row tracks with subgrid. Summaries of different lengths then stop
 * pushing the price and connection selector out of alignment. Browsers without
 * subgrid keep the flex layout above, which still reads correctly.
 */
@supports (grid-template-rows: subgrid) {
	@media (min-width: 1024px) {
		.plans {
			grid-template-rows: repeat(8, auto);
			row-gap: 0;
		}

		.plan {
			display: grid;
			grid-row: span 8;
			grid-template-rows: subgrid;
			/*
			 * Without an explicit column the implicit track is auto-sized to
			 * max-content, so long feature lines push the card's children past
			 * its content box. minmax(0, 1fr) pins the column to the card width.
			 */
			grid-template-columns: minmax(0, 1fr);
		}

		.plan__action {
			margin-top: 0;
			align-self: end;
		}
	}
}

/* Comparison table */
.price-table-wrap {
	margin-top: clamp(2rem, 1.5rem + 1.5vw, 3rem);
	overflow-x: auto;
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	background: var(--c-white);
}

.price-table {
	min-width: 640px;
	font-size: var(--f-sm);
}

.price-table caption {
	padding: var(--sp-4);
	color: var(--t-muted);
	font-size: var(--f-xs);
	text-align: left;
}

.price-table th,
.price-table td {
	padding: 0.8rem 1rem;
	border-bottom: 1px solid var(--line);
	text-align: left;
}

.price-table thead th {
	background: var(--s-sunken);
	color: var(--t-strong);
	font-family: var(--font-head);
	font-size: var(--f-xs);
	letter-spacing: 0.04em;
	text-transform: uppercase;
	white-space: nowrap;
}

.price-table tbody th {
	color: var(--t-strong);
	font-weight: 600;
	white-space: nowrap;
}

.price-table td {
	font-variant-numeric: tabular-nums;
}

.price-table tbody tr:last-child th,
.price-table tbody tr:last-child td {
	border-bottom: 0;
}

/* =========================================================================
   10. Split media / editorial
   ========================================================================= */

.split {
	display: grid;
	gap: clamp(1.75rem, 1.3rem + 2vw, 3.25rem);
	align-items: center;
}

.split__media {
	border-radius: var(--r-lg);
	overflow: hidden;
	box-shadow: var(--sh-2);
}

.split__media img {
	display: block;
	width: 100%;
	height: auto;
}

.split__body > :last-child {
	margin-bottom: 0;
}

.checklist {
	margin: var(--sp-5) 0;
	padding: 0;
	list-style: none;
}

.checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.6rem;
	margin: 0 0 var(--sp-3);
	font-size: var(--f-sm);
}

.checklist .m-icon {
	margin-top: 0.22em;
	color: var(--c-teal-deep);
	flex: none;
}

.panel--dark .checklist .m-icon {
	color: var(--c-teal);
}

/* =========================================================================
   11. Showcase (fictional programme artwork)
   ========================================================================= */

.showcase {
	display: grid;
	gap: clamp(1rem, 0.7rem + 1vw, 1.5rem);
	grid-template-columns: 1fr;
}

.showcase__item {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line-dark);
	border-radius: var(--r-lg);
	background: var(--c-navy);
	overflow: hidden;
}

.showcase__media {
	position: relative;
	aspect-ratio: 16 / 9;
	background: var(--c-navy-soft);
}

.showcase__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.showcase__body {
	padding: var(--sp-4);
}

.showcase__kind {
	margin: 0 0 var(--sp-1);
	color: var(--c-teal);
	font-family: var(--font-head);
	font-size: var(--f-xs);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.showcase__title {
	margin: 0 0 var(--sp-2);
	font-size: var(--f-h4);
	color: var(--t-on-dark);
}

.showcase__text {
	margin: 0;
	font-size: var(--f-xs);
	color: var(--t-on-dark-muted);
}

.disclosure-note {
	max-width: 48rem;
	margin-top: var(--sp-6);
	padding: var(--sp-4) var(--sp-5);
	border-left: 3px solid var(--c-teal);
	border-radius: 0 var(--r-md) var(--r-md) 0;
	background: rgba(92, 222, 207, 0.08);
	font-size: var(--f-sm);
	color: var(--t-on-dark-muted);
}

.disclosure-note--light {
	border-left-color: var(--c-teal-deep);
	background: var(--c-teal-wash);
	color: var(--t-body);
}

/* =========================================================================
   12. Steps
   ========================================================================= */

.steps {
	display: grid;
	gap: var(--sp-5);
	counter-reset: step;
	margin: 0;
	padding: 0;
	list-style: none;
}

.step {
	position: relative;
	display: flex;
	gap: var(--sp-4);
	margin: 0;
	padding-bottom: var(--sp-5);
}

.step:not(:last-child)::before {
	content: "";
	position: absolute;
	top: 46px;
	left: 21px;
	width: 2px;
	height: calc(100% - 46px);
	background: var(--line);
}

.panel--dark .step:not(:last-child)::before {
	background: var(--line-dark);
}

.step__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--c-navy);
	color: var(--c-teal);
	font-family: var(--font-head);
	font-size: 1.05rem;
	font-weight: 700;
	flex: none;
	counter-increment: step;
}

.step__num::before {
	content: counter(step);
}

.panel--dark .step__num {
	background: var(--c-teal);
	color: var(--c-navy-deep);
}

.step__title {
	margin: 0.5rem 0 var(--sp-2);
	font-size: var(--f-h4);
}

.step__text {
	margin: 0;
	font-size: var(--f-sm);
}

.panel--dark .step__text {
	color: var(--t-on-dark-muted);
}

/* =========================================================================
   13. FAQ (native disclosure elements)
   ========================================================================= */

.faq {
	max-width: 52rem;
	margin-inline: auto;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--c-white);
	overflow: hidden;
}

.faq__item + .faq__item {
	border-top: 1px solid var(--line);
}

.faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-4);
	padding: 1.1rem clamp(1rem, 0.8rem + 0.6vw, 1.5rem);
	color: var(--t-strong);
	font-family: var(--font-head);
	font-size: 1.02rem;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
	list-style: none;
	transition: background-color var(--dur) var(--ease);
}

/* Hides the native marker across engines; the chevron replaces it. */
.faq__q::-webkit-details-marker {
	display: none;
}

.faq__q::marker {
	content: "";
}

.faq__q:hover {
	background: var(--s-sunken);
}

.faq__q .m-icon {
	color: var(--c-teal-deep);
	transition: transform var(--dur) var(--ease);
	flex: none;
}

.faq__item[open] > .faq__q {
	background: var(--c-teal-wash);
}

.faq__item[open] > .faq__q .m-icon {
	transform: rotate(180deg);
}

.faq__a {
	padding: 0 clamp(1rem, 0.8rem + 0.6vw, 1.5rem) 1.25rem;
	font-size: var(--f-sm);
}

.faq__a > :last-child {
	margin-bottom: 0;
}

/* =========================================================================
   14. Contact
   ========================================================================= */

.contact-grid {
	display: grid;
	gap: clamp(1.5rem, 1.1rem + 1.6vw, 2.75rem);
	align-items: start;
}

.contact-card {
	display: flex;
	flex-direction: column;
	gap: var(--sp-3);
	padding: clamp(1.4rem, 1.1rem + 0.9vw, 2rem);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--c-white);
	box-shadow: var(--sh-1);
}

.contact-card--wa {
	border-color: rgba(37, 211, 102, 0.42);
	background: linear-gradient(180deg, rgba(37, 211, 102, 0.06), rgba(37, 211, 102, 0));
}

.contact-card__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	border-radius: var(--r-md);
	background: var(--c-teal-wash);
	color: var(--c-teal-deeper);
}

.contact-card--wa .contact-card__icon {
	background: rgba(37, 211, 102, 0.14);
	color: var(--c-wa-dark);
}

.contact-card__title {
	margin: 0;
	font-size: var(--f-h4);
}

.contact-card__value {
	margin: 0;
	font-family: var(--font-head);
	font-size: 1.1rem;
	font-weight: 600;
	color: var(--t-strong);
}

.contact-card__value a {
	color: inherit;
	text-decoration: none;
}

.contact-card__value a:hover {
	color: var(--c-teal-deeper);
	text-decoration: underline;
}

.contact-card__text {
	margin: 0;
	font-size: var(--f-sm);
	color: var(--t-body);
}

/* Form */
.form {
	padding: clamp(1.4rem, 1.1rem + 0.9vw, 2rem);
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--c-white);
	box-shadow: var(--sh-1);
}

.form__row {
	margin-bottom: var(--sp-4);
}

.form__row--split {
	display: grid;
	gap: var(--sp-4);
}

.form__label {
	display: block;
	margin-bottom: var(--sp-2);
	font-family: var(--font-head);
	font-size: var(--f-sm);
	font-weight: 600;
	color: var(--t-strong);
}

.form__required {
	color: #a3341f;
}

.form__control {
	display: block;
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-sm);
	background: var(--c-white);
	color: var(--t-strong);
	font-size: var(--f-body);
	transition: border-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}

.form__control:hover {
	border-color: var(--t-muted);
}

.form__control:focus {
	border-color: var(--c-teal-deep);
	box-shadow: 0 0 0 3px rgba(20, 120, 111, 0.16);
	outline: none;
}

.form__control:focus-visible {
	outline: 3px solid var(--c-teal-deep);
	outline-offset: 1px;
}

textarea.form__control {
	min-height: 150px;
	resize: vertical;
}

.form__control[aria-invalid="true"] {
	border-color: #a3341f;
}

.form__hint {
	margin: var(--sp-2) 0 0;
	font-size: var(--f-xs);
	color: var(--t-muted);
}

.form__error {
	display: block;
	margin-top: var(--sp-2);
	color: #8f2d1b;
	font-size: var(--f-xs);
	font-weight: 500;
}

.form__honeypot {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.notice {
	margin-bottom: var(--sp-5);
	padding: var(--sp-4) var(--sp-5);
	border: 1px solid var(--line);
	border-left: 3px solid var(--c-teal-deep);
	border-radius: var(--r-sm);
	background: var(--c-teal-wash);
	font-size: var(--f-sm);
}

.notice--success {
	border-left-color: #1c7a3e;
	background: #edf7f0;
	color: #14532a;
}

.notice--error {
	border-left-color: #a3341f;
	background: #fdf1ee;
	color: #7a2716;
}

.notice p:last-child {
	margin-bottom: 0;
}

/* =========================================================================
   15. Floating WhatsApp button
   ========================================================================= */

.wa-float {
	position: fixed;
	right: max(16px, env(safe-area-inset-right));
	bottom: max(16px, env(safe-area-inset-bottom));
	z-index: 90;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55rem;
	min-width: 56px;
	min-height: 56px;
	padding: 0;
	border-radius: var(--r-pill);
	background: var(--c-wa);
	color: var(--c-navy-deep);
	font-family: var(--font-head);
	font-size: var(--f-sm);
	font-weight: 600;
	text-decoration: none;
	box-shadow: 0 6px 20px rgba(11, 23, 35, 0.28);
	transition: background-color var(--dur) var(--ease), box-shadow var(--dur) var(--ease),
		transform var(--dur) var(--ease), opacity var(--dur) var(--ease);
}

.wa-float:hover {
	background: #1fbe5b;
	color: var(--c-navy-deep);
	box-shadow: 0 10px 26px rgba(11, 23, 35, 0.34);
	transform: translateY(-2px);
}

.wa-float:focus-visible {
	outline: 3px solid var(--c-navy-deep);
	outline-offset: 3px;
}

.wa-float__label {
	display: none;
}

/* Hidden while the mobile drawer is open so it never covers the menu. */
body.nav-open .wa-float {
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
}

/* =========================================================================
   16. Page hero (inner pages)
   ========================================================================= */

.page-hero {
	padding-block: clamp(2.25rem, 1.8rem + 2vw, 3.75rem);
	background: var(--c-navy-deep);
	color: var(--t-on-dark-muted);
}

.page-hero__inner {
	max-width: 48rem;
}

.page-hero__title {
	margin-bottom: var(--sp-4);
	color: var(--t-on-dark);
}

.page-hero__lead {
	margin: 0;
	font-size: var(--f-lead);
	color: var(--t-on-dark-muted);
}

.page-hero__actions {
	margin-top: var(--sp-5);
}

.breadcrumbs {
	margin-bottom: var(--sp-4);
	font-size: var(--f-xs);
}

.breadcrumbs__list {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.breadcrumbs__item {
	margin: 0;
	color: var(--t-on-dark-muted);
}

.breadcrumbs__item + .breadcrumbs__item::before {
	content: "/";
	margin-right: 0.5rem;
	color: rgba(174, 191, 201, 0.55);
}

.breadcrumbs a {
	color: var(--t-on-dark-muted);
	text-decoration: none;
}

.breadcrumbs a:hover {
	color: var(--c-teal);
	text-decoration: underline;
}

.breadcrumbs [aria-current="page"] {
	color: var(--t-on-dark);
}

/* Light variant for blog/archive headers. */
.breadcrumbs--light .breadcrumbs__item,
.breadcrumbs--light a {
	color: var(--t-muted);
}

.breadcrumbs--light [aria-current="page"] {
	color: var(--t-strong);
}

/* =========================================================================
   17. Editorial content (guides, legal, blog)
   ========================================================================= */

.prose {
	max-width: 46rem;
	font-size: 1.03rem;
}

.prose > * + * {
	margin-top: var(--sp-4);
}

.prose h2 {
	margin-top: var(--sp-8);
	margin-bottom: var(--sp-3);
	padding-top: var(--sp-2);
	font-size: var(--f-h2);
}

.prose h2:first-child {
	margin-top: 0;
}

.prose h3 {
	margin-top: var(--sp-6);
	margin-bottom: var(--sp-3);
	font-size: var(--f-h3);
}

.prose h4 {
	margin-top: var(--sp-5);
	margin-bottom: var(--sp-2);
}

.prose ul,
.prose ol {
	padding-left: 1.35rem;
}

.prose li::marker {
	color: var(--c-teal-deep);
}

.prose blockquote {
	margin: var(--sp-6) 0;
	padding: var(--sp-4) var(--sp-5);
	border-left: 3px solid var(--c-teal-deep);
	background: var(--c-teal-wash);
	font-size: var(--f-lead);
}

.prose blockquote p:last-child {
	margin-bottom: 0;
}

.prose img {
	border-radius: var(--r-md);
}

.prose figure {
	margin: var(--sp-6) 0;
}

.prose figcaption {
	margin-top: var(--sp-2);
	font-size: var(--f-xs);
	color: var(--t-muted);
}

.prose table {
	display: block;
	overflow-x: auto;
	font-size: var(--f-sm);
}

.prose th,
.prose td {
	padding: 0.65rem 0.85rem;
	border: 1px solid var(--line);
	text-align: left;
}

.prose th {
	background: var(--s-sunken);
	color: var(--t-strong);
}

/* Guide callout */
.callout {
	padding: var(--sp-5);
	border: 1px solid var(--line);
	border-left: 3px solid var(--c-teal-deep);
	border-radius: 0 var(--r-md) var(--r-md) 0;
	background: var(--c-teal-wash);
	font-size: var(--f-sm);
}

.callout__title {
	margin: 0 0 var(--sp-2);
	font-size: var(--f-h4);
}

.callout p:last-child {
	margin-bottom: 0;
}

.callout--warn {
	border-left-color: #b26a00;
	background: #fdf6e8;
}

/* In-page contents */
.toc {
	padding: var(--sp-5);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	background: var(--s-sunken);
}

.toc__title {
	margin: 0 0 var(--sp-3);
	font-family: var(--font-head);
	font-size: var(--f-xs);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--t-strong);
}

.toc ol {
	margin: 0;
	padding-left: 1.2rem;
	font-size: var(--f-sm);
}

/* Related links */
.related {
	display: grid;
	gap: var(--sp-4);
	margin-top: var(--sp-7);
	padding-top: var(--sp-6);
	border-top: 1px solid var(--line);
}

.related__title {
	margin: 0;
	font-size: var(--f-h3);
}

.related__list {
	display: grid;
	gap: var(--sp-3);
	margin: 0;
	padding: 0;
	list-style: none;
}

.related__list li {
	margin: 0;
}

.related__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--sp-3);
	padding: 0.85rem 1.1rem;
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	background: var(--c-white);
	color: var(--t-strong);
	font-family: var(--font-head);
	font-size: var(--f-sm);
	font-weight: 500;
	text-decoration: none;
	transition: border-color var(--dur) var(--ease), background-color var(--dur) var(--ease);
}

.related__link:hover {
	border-color: var(--c-teal-deep);
	background: var(--c-teal-wash);
	color: var(--c-teal-deeper);
}

.related__link .m-icon {
	color: var(--c-teal-deep);
}

/* =========================================================================
   18. Blog
   ========================================================================= */

.post-grid {
	display: grid;
	gap: clamp(1.25rem, 1rem + 0.9vw, 2rem);
	grid-template-columns: 1fr;
}

.post-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--line);
	border-radius: var(--r-lg);
	background: var(--c-white);
	overflow: hidden;
	box-shadow: var(--sh-1);
	transition: box-shadow var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.post-card:hover {
	box-shadow: var(--sh-2);
	transform: translateY(-2px);
}

.post-card__media {
	aspect-ratio: 16 / 9;
	background: var(--s-sunken);
	overflow: hidden;
}

.post-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: var(--sp-2);
	padding: var(--sp-5);
}

.post-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-3);
	font-size: var(--f-xs);
	color: var(--t-muted);
}

.post-card__title {
	margin: 0;
	font-size: var(--f-h4);
}

.post-card__title a {
	color: var(--t-strong);
	text-decoration: none;
}

.post-card__title a:hover {
	color: var(--c-teal-deeper);
}

.post-card__excerpt {
	margin: 0;
	font-size: var(--f-sm);
}

.post-card__more {
	margin-top: auto;
	padding-top: var(--sp-3);
}

.entry__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-4);
	margin-bottom: var(--sp-5);
	font-size: var(--f-xs);
	color: var(--t-on-dark-muted);
}

.entry__featured {
	margin-bottom: var(--sp-6);
	border-radius: var(--r-lg);
	overflow: hidden;
}

.entry__featured img {
	display: block;
	width: 100%;
	height: auto;
}

.blog-layout {
	display: grid;
	gap: clamp(2rem, 1.5rem + 2vw, 3.5rem);
}

.widget {
	margin-bottom: var(--sp-6);
	padding: var(--sp-5);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	background: var(--s-sunken);
}

.widget__title {
	margin: 0 0 var(--sp-3);
	font-size: var(--f-h4);
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: var(--f-sm);
}

.widget li + li {
	margin-top: var(--sp-2);
	padding-top: var(--sp-2);
	border-top: 1px solid var(--line);
}

/* Pagination */
.pagination {
	margin-top: var(--sp-7);
}

.pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: var(--sp-2);
}

.pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 0.7rem;
	border: 1px solid var(--line);
	border-radius: var(--r-sm);
	background: var(--c-white);
	color: var(--t-body);
	font-size: var(--f-sm);
	font-weight: 500;
	text-decoration: none;
}

.pagination .page-numbers:hover {
	border-color: var(--c-teal-deep);
	color: var(--c-teal-deeper);
}

.pagination .page-numbers.current {
	background: var(--c-navy);
	border-color: var(--c-navy);
	color: var(--c-white);
}

.post-navigation {
	display: grid;
	gap: var(--sp-4);
	margin-top: var(--sp-7);
	padding-top: var(--sp-6);
	border-top: 1px solid var(--line);
}

.post-navigation .nav-links {
	display: grid;
	gap: var(--sp-4);
}

.post-navigation a {
	display: block;
	padding: var(--sp-4);
	border: 1px solid var(--line);
	border-radius: var(--r-md);
	color: var(--t-strong);
	font-family: var(--font-head);
	font-weight: 500;
	text-decoration: none;
}

.post-navigation a:hover {
	border-color: var(--c-teal-deep);
	background: var(--c-teal-wash);
}

/* Search form */
.search-form {
	display: flex;
	gap: var(--sp-2);
}

.search-form__field {
	flex: 1;
	min-width: 0;
	min-height: 48px;
	padding: 0.65rem 0.9rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-sm);
	background: var(--c-white);
}

.search-form__field:focus {
	border-color: var(--c-teal-deep);
	box-shadow: 0 0 0 3px rgba(20, 120, 111, 0.16);
	outline: none;
}

/* Comments */
.comments {
	margin-top: var(--sp-8);
	padding-top: var(--sp-6);
	border-top: 1px solid var(--line);
}

.comment-list {
	margin: 0 0 var(--sp-6);
	padding: 0;
	list-style: none;
}

.comment-list ol {
	padding-left: var(--sp-5);
	list-style: none;
}

.comment-body {
	padding: var(--sp-4) 0;
	border-bottom: 1px solid var(--line);
	font-size: var(--f-sm);
}

.comment-meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2);
	align-items: center;
	margin-bottom: var(--sp-2);
	font-size: var(--f-xs);
	color: var(--t-muted);
}

.comment-author img {
	border-radius: 50%;
	vertical-align: middle;
}

.comment-form p {
	margin-bottom: var(--sp-4);
}

.comment-form label {
	display: block;
	margin-bottom: var(--sp-2);
	font-family: var(--font-head);
	font-size: var(--f-sm);
	font-weight: 600;
	color: var(--t-strong);
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	min-height: 48px;
	padding: 0.7rem 0.9rem;
	border: 1px solid var(--line-strong);
	border-radius: var(--r-sm);
	background: var(--c-white);
}

.comment-form textarea {
	min-height: 140px;
}

.comment-form .submit {
	display: inline-flex;
	align-items: center;
	min-height: 48px;
	padding: 0.78rem 1.4rem;
	border: 0;
	border-radius: var(--r-pill);
	background: var(--c-teal-deep);
	color: var(--c-white);
	font-family: var(--font-head);
	font-weight: 600;
	cursor: pointer;
}

.comment-form .submit:hover {
	background: var(--c-teal-deeper);
}

/* =========================================================================
   19. Final CTA
   ========================================================================= */

.cta-final {
	position: relative;
	background: var(--c-navy-deep);
	overflow: hidden;
}

.cta-final::before {
	content: "";
	position: absolute;
	inset: 0;
	/* Decorative background from the asset pack; purely presentational. */
	background: url("../../website-assets/ui/horizon-lines.svg") center / cover no-repeat;
	opacity: 0.4;
	pointer-events: none;
}

.cta-final__inner {
	position: relative;
	z-index: 2;
	max-width: 44rem;
	margin-inline: auto;
	padding-block: clamp(3rem, 2.2rem + 3vw, 5rem);
	text-align: center;
}

.cta-final__title {
	margin-bottom: var(--sp-4);
	color: var(--t-on-dark);
	font-size: var(--f-h1);
}

.cta-final__text {
	margin-bottom: var(--sp-6);
	font-size: var(--f-lead);
	color: var(--t-on-dark-muted);
}

/* Compact inline CTA band */
.cta-band {
	display: grid;
	gap: var(--sp-5);
	padding: clamp(1.5rem, 1.2rem + 1.2vw, 2.5rem);
	border: 1px solid var(--line);
	border-radius: var(--r-xl);
	background: var(--s-ivory);
}

.cta-band__title {
	margin: 0 0 var(--sp-2);
	font-size: var(--f-h3);
}

.cta-band__text {
	margin: 0;
	font-size: var(--f-sm);
	color: var(--t-body);
}

/* =========================================================================
   20. Footer
   ========================================================================= */

.site-footer {
	background: var(--c-navy-deep);
	color: var(--t-on-dark-muted);
	font-size: var(--f-sm);
}

.site-footer__top {
	display: grid;
	gap: clamp(2rem, 1.5rem + 2vw, 3rem);
	padding-block: clamp(2.75rem, 2rem + 3vw, 4.5rem);
}

.site-footer__brand {
	max-width: 22rem;
}

.site-footer__logo {
	display: inline-block;
	margin-bottom: var(--sp-4);
}

.site-footer__logo img {
	display: block;
	width: auto;
	height: 34px;
}

.site-footer__about {
	margin: 0 0 var(--sp-4);
	color: var(--t-on-dark-muted);
}

.site-footer__contact {
	display: grid;
	gap: var(--sp-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__contact li {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin: 0;
}

.site-footer__contact a {
	color: var(--t-on-dark);
	text-decoration: none;
}

.site-footer__contact a:hover {
	color: var(--c-teal);
	text-decoration: underline;
}

.site-footer__contact .m-icon {
	color: var(--c-teal);
}

.site-footer__nav {
	display: grid;
	gap: clamp(1.75rem, 1.4rem + 1.4vw, 2.5rem);
}

.footer-col__title {
	margin: 0 0 var(--sp-4);
	color: var(--t-on-dark);
	font-family: var(--font-head);
	font-size: var(--f-xs);
	font-weight: 600;
	letter-spacing: 0.09em;
	text-transform: uppercase;
}

.footer-col ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footer-col li {
	margin: 0 0 var(--sp-2);
}

.footer-col a {
	color: var(--t-on-dark-muted);
	text-decoration: none;
}

.footer-col a:hover {
	color: var(--c-teal);
	text-decoration: underline;
}

.site-footer__bottom {
	display: flex;
	flex-direction: column;
	gap: var(--sp-3);
	padding-block: var(--sp-5);
	border-top: 1px solid var(--line-dark);
	font-size: var(--f-xs);
}

.site-footer__bottom p {
	margin: 0;
}

.site-footer__legal {
	display: flex;
	flex-wrap: wrap;
	gap: var(--sp-2) var(--sp-4);
	margin: 0;
	padding: 0;
	list-style: none;
}

.site-footer__legal li {
	margin: 0;
}

.site-footer__disclaimer {
	max-width: 62rem;
	color: rgba(174, 191, 201, 0.85);
}

/* =========================================================================
   21. 404 and search
   ========================================================================= */

.error-404 {
	max-width: 46rem;
}

.error-404__code {
	margin: 0 0 var(--sp-3);
	color: var(--c-teal-deep);
	font-family: var(--font-head);
	font-size: clamp(3rem, 2.2rem + 4vw, 5rem);
	font-weight: 700;
	line-height: 1;
}

.error-404__links {
	display: grid;
	gap: var(--sp-3);
	margin-top: var(--sp-6);
	padding: 0;
	list-style: none;
}

.search-results__count {
	margin-bottom: var(--sp-5);
	color: var(--t-muted);
	font-size: var(--f-sm);
}

/* =========================================================================
   22. Utilities
   ========================================================================= */

.m-icon {
	display: inline-block;
	vertical-align: middle;
}

.text-center {
	text-align: center;
}

.mt-0 {
	margin-top: 0;
}

.mb-0 {
	margin-bottom: 0;
}

.stack > * + * {
	margin-top: var(--sp-4);
}

.stack-lg > * + * {
	margin-top: var(--sp-6);
}

.muted {
	color: var(--t-muted);
}

.fineprint {
	font-size: var(--f-xs);
	color: var(--t-muted);
}

.panel--dark .fineprint,
.site-footer .fineprint {
	color: rgba(174, 191, 201, 0.85);
}

/* WordPress core alignment and caption classes. */
.alignleft {
	float: left;
	margin: 0 var(--sp-5) var(--sp-4) 0;
}

.alignright {
	float: right;
	margin: 0 0 var(--sp-4) var(--sp-5);
}

.aligncenter {
	display: block;
	margin-inline: auto;
}

.alignwide {
	max-width: var(--wrap-wide);
}

.alignfull {
	max-width: none;
}

.wp-caption-text,
.gallery-caption {
	font-size: var(--f-xs);
	color: var(--t-muted);
}

.sticky .post-card__title::after {
	content: " ★";
	color: var(--c-teal-deep);
}

.bypostauthor > .comment-body {
	border-left: 2px solid var(--c-teal-deep);
	padding-left: var(--sp-4);
}

/* =========================================================================
   23. Responsive
   ========================================================================= */

@media (min-width: 480px) {
	.grid--2,
	.grid--3,
	.grid--4 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.showcase {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.form__row--split {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.error-404__links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 640px) {
	.wa-float {
		padding: 0 1.25rem;
	}

	.wa-float__label {
		display: inline;
	}

	.plans {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__bottom {
		flex-direction: row;
		align-items: center;
		justify-content: space-between;
	}

	.cta-band {
		grid-template-columns: 1fr auto;
		align-items: center;
	}

	.post-navigation .nav-links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (min-width: 768px) {
	.grid--3 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.showcase {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.steps {
		max-width: 46rem;
	}

	.contact-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.site-footer__nav {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.brand__logo {
		height: 38px;
	}
}

@media (min-width: 1024px) {
	.grid--4 {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.plans {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.plans--two {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.hero__inner {
		grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
		align-items: center;
		gap: clamp(2rem, 0.5rem + 3.5vw, 4rem);
	}

	.hero__picture img {
		aspect-ratio: 1672 / 941;
	}

	.split {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.split--reverse .split__media {
		order: 2;
	}

	.post-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.site-footer__top {
		grid-template-columns: minmax(0, 0.95fr) minmax(0, 2fr);
	}

	.site-footer__nav {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.blog-layout--sidebar {
		grid-template-columns: minmax(0, 1fr) 300px;
	}

	.related__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.wa-float {
		right: 24px;
		bottom: 24px;
	}
}

/*
 * The horizontal navigation only appears once the logo, seven menu items and
 * the WhatsApp button genuinely fit the container. Measured at 1210px of
 * content, so below 1200px the drawer stays in use rather than letting the
 * header overflow the page.
 */
@media (min-width: 1200px) {
	.nav {
		display: block;
	}

	.header__cta {
		display: inline-flex;
	}

	.nav-toggle,
	.mobile-nav {
		display: none;
	}

	.brand__logo {
		height: 36px;
	}
}

@media (min-width: 1280px) {
	.post-grid--four {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* =========================================================================
   24. Motion, forced colours, print
   ========================================================================= */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}

	.btn:hover,
	.card:hover,
	.post-card:hover,
	.wa-float:hover {
		transform: none;
	}
}

@media (forced-colors: active) {
	.btn,
	.card,
	.plan,
	.form__control,
	.wa-float {
		border: 1px solid CanvasText;
	}

	.plan__tier input:checked + label {
		outline: 2px solid CanvasText;
	}
}

@media print {
	.site-header,
	.mobile-nav,
	.wa-float,
	.cta-final,
	.cta-band,
	.pagination,
	.comments {
		display: none !important;
	}

	body {
		color: #000;
		background: #fff;
	}

	.panel--dark,
	.page-hero,
	.hero {
		background: #fff !important;
		color: #000 !important;
	}

	.panel--dark h1,
	.panel--dark h2,
	.page-hero__title,
	.hero__title {
		color: #000 !important;
	}

	a {
		color: #000;
		text-decoration: underline;
	}
}

/* =========================================================================
   25. No-scripting fallback
   -------------------------------------------------------------------------
   Without JavaScript the mobile drawer cannot open, so the toggle is hidden
   and the primary navigation wraps inline instead. Every page also remains
   reachable from the footer columns, which need no scripting at all.
   ========================================================================= */

.no-js .nav-toggle,
.no-js .mobile-nav {
	display: none;
}

@media (max-width: 1199px) {
	.no-js .site-header__inner {
		flex-wrap: wrap;
		padding-block: var(--sp-3);
	}

	.no-js .nav {
		display: block;
		width: 100%;
	}

	.no-js .nav__list {
		flex-wrap: wrap;
		justify-content: flex-start;
		gap: 0.25rem 0.5rem;
	}

	.no-js .header__cta {
		display: inline-flex;
	}

	/* Hover-revealed submenus are unusable on touch; show them inline. */
	.no-js .nav .sub-menu {
		position: static;
		opacity: 1;
		visibility: visible;
		transform: none;
		box-shadow: none;
		background: transparent;
		border: 0;
		padding-left: var(--sp-4);
	}
}

/* The drawer's hidden attribute must win over its own display rule. */
.mobile-nav[hidden] {
	display: none;
}

.site-header.is-scrolled {
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.28);
}

.site-footer__disclaimer-wrap {
	padding-bottom: var(--sp-5);
}
