:root {
	--bg: #f6fbff;
	--card: #ffffff;
	--accent-start: #00c2cb;
	--accent-end: #0078ff;
	--muted: #6b7280;
	--text: #0b1723;
	--radius: 12px;
	--glass: rgba(255,255,255,0.6);
	--shadow: 0 10px 30px rgba(12, 35, 68, .08);
	--max-width: 1240px;
	--gap: 30px;
	--col-gap: 48px;
	--btn-radius: 10px;
	--btn-primary-bg: linear-gradient(90deg, var(--accent-start), var(--accent-end));
	--btn-primary-color: #fff;

	/* Modal specifics */
	--modal-backdrop: rgba(3,15,36,0.55);
	--modal-radius: 14px;
	--modal-panel-bg: linear-gradient(180deg, #ffffff, #fbfdff);
	--error-color: #b91c1c;
	--focus-ring: rgba(0,120,255,0.18);

	/* combos */
	--combo-border: rgba(10,20,40,0.06);
	--combo-bg: rgba(250,250,255,0.85);
	--combo-checked-bg: linear-gradient(90deg, rgba(0,194,203,0.12), rgba(0,120,255,0.08));
	--combo-radius: 10px;
	--combo-gap: 12px; /* larger gap between combo chips */
	--tooltip-bg: rgba(3,15,36,0.95);
	--tooltip-color: #fff;
}

/* Reset + base */
* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	font-family: Inter, "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

html, body {
	height: 100%;
	background: linear-gradient(180deg, var(--bg), #eef6ff);
	color: var(--text);
	-webkit-tap-highlight-color: transparent;
}

a { color: inherit; text-decoration: none; }

/* ---------- Header ---------- */

.site-header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	backdrop-filter: blur(6px);
	background: linear-gradient(90deg, rgba(255,255,255,0.65), rgba(255,255,255,0.5));
	border-bottom: 1px solid rgba(10,20,40,0.04);
	z-index: 1200;
	box-shadow: 0 2px 8px rgba(12,35,68,0.04);
}

.header-wrap {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 14px 20px;
	display: flex;
	align-items: center;
	gap: 12px;
	justify-content: space-between;
}

.brand {
	display: flex;
	gap: 12px;
	align-items: center;
}

.brand-logo {
	width: 56px;
	height: 56px;
	object-fit: contain;
	border-radius: 10px;
	padding: 6px;
	background: linear-gradient(180deg, rgba(255,255,255,0.85), rgba(255,255,255,0.6));
	box-shadow: 0 6px 16px rgba(10,20,40,0.06);
}

.brand-name {
	font-weight: 700;
	font-size: 1.05rem;
	display: block;
	color: var(--text);
}

.brand-tag {
	font-size: 0.78rem;
	color: var(--muted);
	display: block;
	margin-top: 2px;
}

.header-center {
	text-align: center;
	flex: 1;
}

.current-time {
	background: linear-gradient(90deg, rgba(255,255,255,0.9), rgba(255,255,255,0.7));
	padding: 6px 10px;
	border-radius: 8px;
	color: var(--muted);
	font-size: 0.9rem;
	box-shadow: 0 4px 12px rgba(12,35,68,0.03);
	display: inline-block;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 12px;
}

/* ---------- Menu (new) ---------- */

.menu {
	position: relative;
	display: inline-block;
}

.menu-button {
	/* visually consistent with other header buttons */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,255,0.95));
	border: 1px solid rgba(10,20,40,0.06);
	color: var(--accent-end);
	padding: 8px;
	border-radius: 10px;
	cursor: pointer;
	min-height: 40px;
	line-height: 1;
	transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
	box-shadow: 0 6px 18px rgba(12,35,68,0.04);
}

.menu-button svg {
	width: 30px;
	height: 20px;
	fill: currentColor;
	opacity: 0.98;
}

.menu-button:focus {
	outline: none;
	box-shadow: 0 8px 22px rgba(10,20,40,0.06), 0 0 0 4px var(--focus-ring);
	transform: translateY(-1px);
}

.menu-button:hover {
	transform: translateY(-2px);
	box-shadow: 0 12px 28px rgba(12,35,68,0.08);
}

/* Dropdown list (hidden by default) */
.menu-list {
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	background: var(--card);
	border-radius: 12px;
	padding: 8px;
	min-width: 220px;
	box-shadow: 0 18px 40px rgba(12,35,68,0.12);
	border: 1px solid rgba(10,20,40,0.04);
	list-style: none;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transform: translateY(-6px);
	transition: opacity .16s ease, transform .16s ease, visibility .16s;
	z-index: 1300;
}

/* show on hover or keyboard focus-within */
.menu:hover .menu-list,
.menu:focus-within .menu-list {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
	transform: translateY(0);
}

/* simple caret (optional) */
.menu-list::before {
	content: "";
	position: absolute;
	right: 18px;
	top: -6px;
	width: 12px;
	height: 12px;
	background: var(--card);
	transform: rotate(45deg);
	border-left: 1px solid rgba(10,20,40,0.03);
	border-top: 1px solid rgba(10,20,40,0.03);
	box-shadow: 0 6px 10px rgba(12,35,68,0.04);
}

/* menu items */
.menu-item {
	display: block;
	padding: 10px 14px;
	border-radius: 10px;
	font-weight: 600;
	color: #0b1723;
	white-space: nowrap;
	transition: background .12s ease, transform .08s ease;
}

.menu-item:hover,
.menu-item:focus {
	background: linear-gradient(90deg, rgba(0,194,203,0.06), rgba(0,120,255,0.04));
	outline: none;
	transform: translateY(-1px);
	color: var(--accent-end);
}

/* make sure the menu is keyboard accessible and visibly focused */
.menu-item:focus {
	box-shadow: 0 8px 18px rgba(10,20,40,0.06), 0 0 0 4px var(--focus-ring);
	border-radius: 8px;
}

/* Mobile: menu becomes full width block below header */
@media (max-width: 768px) {
	.menu-list {
		position: fixed;
		left: 8px;
		right: 8px;
		top: 74px; /* below header */
		min-width: auto;
		padding: 10px;
		border-radius: 12px;
	}
}

/* Chat CTA */
.cta-button {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--btn-primary-bg);
	color: var(--btn-primary-color);
	padding: 10px 14px;
	border-radius: var(--btn-radius);
	text-decoration: none;
	font-weight: 600;
	box-shadow: 0 8px 20px rgba(7, 94, 255, 0.12);
	transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}

.cta-button svg { opacity: 0.95; }

.cta-button:focus {
	outline: none;
	box-shadow: 0 8px 20px rgba(7, 94, 255, 0.14), 0 0 0 4px var(--focus-ring);
}

.cta-button:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(7, 94, 255, 0.16);
}

/* Logout/Login control
   - unified styling so <button class="logout-button"> and <a class="logout-button"> match exactly
*/
.logout-form { display: inline-block; }

.logout-button {
	/* unified for both <button> and <a> */
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	appearance: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	background: transparent;
	border: 1px solid rgba(10,20,40,0.07);
	color: var(--muted);
	padding: 8px 12px;
	border-radius: 10px;
	cursor: pointer;
	font-weight: 600;
	text-decoration: none; /* for anchors */
	min-height: 40px;
	line-height: 1;
	transition: background .12s ease, color .12s ease, box-shadow .12s ease, transform .08s ease;
}

/* Focus + hover states identical for button and anchor */
.logout-button:focus {
	outline: none;
	box-shadow: 0 8px 18px rgba(10,20,40,0.06), 0 0 0 4px var(--focus-ring);
}

.logout-button:hover {
	background: #fff;
	color: var(--text);
	box-shadow: 0 6px 16px rgba(10,20,40,0.04);
	transform: translateY(-1px);
}

/* When anchor is visited keep color consistent */
.logout-button:visited { color: var(--muted); }

/* ---------- Hero ---------- */

.hero {
	margin-top: 100px; /* space for header */
	padding: 36px 20px;
}

.hero-inner {
	max-width: var(--max-width);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr 420px;
	gap: 32px;
	align-items: center;
}

/* ensure hero-left groups text and CTA */
.hero-left { display: flex; flex-direction: column; gap: 12px; }

.hero h1 {
	font-size: 2.2rem;
	line-height: 1.05;
	margin-bottom: 12px;
	letter-spacing: -0.02em;
	color: #07122a;
}

.hero-sub {
	color: var(--muted);
	margin-bottom: 18px;
	font-size: 1rem;
}

.hero-cta { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }

/* ---------- NEW: pending-payment pill (header/hero) ---------- */
/* This is conservative: it's inline next to the Why Delphixit Nova CTA and stacks on small screens */
.pending-payment {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border-radius: 12px;
	background: linear-gradient(180deg, rgba(255,255,255,0.98), rgba(250,250,255,0.95));
	border: 1px solid rgba(7,94,255,0.08);
	box-shadow: 0 8px 20px rgba(7,94,255,0.05);
	color: #9f1239;
	font-weight: 700;
	font-size: 0.95rem;
	text-decoration: none;
	white-space: nowrap;
	transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.pending-payment:hover {
	transform: translateY(-3px);
	box-shadow: 0 14px 30px rgba(7,94,255,0.08);
	opacity: 0.98;
}
.pending-payment[hidden] { display: none !important; }

.pending-banner-wrap {
	width: 100%;
	display: flex;
	justify-content: center;
	margin: 18px 0 8px 0;
}
.pending-banner {
	max-width: var(--max-width);
	width: calc(100% - 40px);
	background: linear-gradient(90deg, rgba(255,243,230,0.95), rgba(255,250,246,0.95));
	border: 1px solid rgba(217,115,22,0.08);
	padding: 12px 18px;
	border-radius: 12px;
	text-align: center;
	font-weight: 600;
	color: #6b2b00;
	box-shadow: 0 8px 28px rgba(12,35,68,0.04);
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	flex-wrap: wrap;
	font-size: 1rem;
}

.btn-pay {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 12px;
	border-radius: 10px;
	background: var(--btn-primary-bg);
	color: var(--btn-primary-color);
	text-decoration: none;
	font-weight: 700;
	box-shadow: 0 10px 24px rgba(7,94,255,0.08);
	transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}
.btn-pay:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(7,94,255,0.12); }

/* ---------- Services ---------- */

.services {
	max-width: var(--max-width);
	margin: 36px auto;
	padding: 18px 36px 72px 36px;
	display: grid;
	grid-template-columns: repeat(2, minmax(540px, 1fr));
	column-gap: var(--col-gap);
	row-gap: var(--gap);
	gap: var(--gap);
}

.service-card {
	background: var(--card);
	border-radius: var(--radius);
	padding: 18px;
	display: flex;
	gap: 18px;
	align-items: flex-start;
	box-shadow: var(--shadow);
	transition: transform .18s ease, box-shadow .18s ease;
	position: relative;
}

.service-card.clickable {
	cursor: pointer;
	touch-action: manipulation;
	-webkit-tap-highlight-color: rgba(0,0,0,0.04);
}

.service-card.clickable:focus {
	outline: none;
	box-shadow: 0 20px 40px rgba(12,35,68,0.12), 0 0 0 4px var(--focus-ring);
	border-radius: 12px;
}

.service-card:hover {
	transform: translateY(-8px);
	box-shadow: 0 20px 40px rgba(12,35,68,0.09);
}

.service-icon {
	width: 84px;
	height: 84px;
	border-radius: 12px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 84px;
	background: linear-gradient(180deg, rgba(250,250,250,0.8), rgba(245,245,255,0.7));
	box-shadow: inset 0 -6px 14px rgba(0,0,0,0.02);
}

.service-icon svg { width: 56px; height: 56px; display: block; }

.service-body { flex: 1; display: flex; flex-direction: column; gap: 10px; }

.service-title { font-size: 1.1rem; margin: 0; }

.service-title a { color: var(--text); text-decoration: none; }

.service-title a:hover { color: var(--accent-end); text-decoration: underline; }

.pkg-short { color: #0b1723; font-weight: 600; font-size: 0.95rem; }

.pkg-combos { color: var(--muted); font-size: 0.92rem; margin-top: 4px; }

.pkg-badge {
	display: inline-block;
	background: rgba(0,120,255,0.06);
	color: var(--accent-end);
	border: 1px solid rgba(0,120,255,0.08);
	padding: 6px 8px;
	border-radius: 999px;
	font-size: 0.82rem;
	margin: 6px 6px 0 0;
}

.action-buttons {
	display: inline-flex;
	gap: 8px;
	align-items: center;
}

.btn-primary {
	display: inline-block;
	padding: 10px 14px;
	border-radius: 10px;
	text-decoration: none;
	font-weight: 700;
	background: var(--btn-primary-bg);
	color: var(--btn-primary-color);
	box-shadow: 0 10px 24px rgba(7,94,255,0.08);
	transition: transform .12s ease, box-shadow .12s ease, opacity .12s ease;
}

.btn-primary:focus {
	outline: none;
	box-shadow: 0 10px 24px rgba(7,94,255,0.12), 0 0 0 4px var(--focus-ring);
}

.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 14px 34px rgba(7,94,255,0.12); opacity: 0.98; }

.btn-primary.outline {
	background: transparent;
	color: var(--accent-end);
	border: 1px solid rgba(10,20,40,0.06);
	box-shadow: none;
	padding: 9px 12px;
}

.btn-outline {
	padding: 8px 12px;
	border-radius: 8px;
	border: 1px solid rgba(10,20,40,0.06);
	text-decoration: none;
	color: var(--accent-end);
	font-weight: 700;
	background: transparent;
}

.btn-outline:hover { background: rgba(0,120,255,0.04); }

.service-body p { color: #07122a; margin: 0; font-size: 0.98rem; }

.service-foot {
	margin-top: 12px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 8px;
}

.price { color: #076b35; font-weight: 700; }

/* ---------- Combination list styling (custom checkboxes) ---------- */

.combinations {
	list-style: none;
	padding: 0;
	margin: 10px 0 0 0;
	display: flex;
	flex-wrap: wrap;
	gap: var(--combo-gap);
}

.combinations .combo-item {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 10px 12px;
	border-radius: var(--combo-radius);
	border: 1px solid var(--combo-border);
	background: var(--combo-bg);
	font-size: 0.95rem;
	color: var(--text);
	min-width: 140px;
	box-shadow: 0 6px 16px rgba(3,15,36,0.04);
	transition: transform .12s ease, box-shadow .12s ease, background .12s ease, border-color .12s ease;
	position: relative;
}

/* hidden native checkbox */
.combo-item input[type="checkbox"] {
	position: absolute;
	opacity: 0;
	pointer-events: none;
	width: 1px;
	height: 1px;
}

/* custom faux checkbox */
.combo-item .combo-label {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	cursor: pointer;
	user-select: none;
	width: 100%;
	padding-left: 6px;
	padding-right: 6px;
}

.combo-item .combo-label .faux {
	flex: 0 0 18px;
	height: 18px;
	border-radius: 5px;
	border: 1px solid rgba(10,20,40,0.12);
	display: inline-grid;
	place-items: center;
	background: #fff;
	box-shadow: inset 0 -4px 8px rgba(0,0,0,0.03);
	transition: background .12s ease, transform .12s ease, border-color .12s ease;
}

/* checkmark (hidden by default) */
.combo-item .combo-label .faux::after {
	content: "";
	width: 10px;
	height: 10px;
	display: block;
	transform: scale(0);
	transition: transform .12s ease;
	background-image: linear-gradient(90deg, var(--accent-start), var(--accent-end));
	clip-path: polygon(14% 44%, 0% 60%, 40% 100%, 100% 10%, 86% 0%, 42% 62%); /* check-like shape */
}

/* when checked */
.combo-item input[type="checkbox"]:checked + .combo-label {
	background: var(--combo-checked-bg);
	border-color: rgba(0,120,255,0.16);
	transform: translateY(-4px);
	box-shadow: 0 18px 34px rgba(7,94,255,0.06);
}

.combo-item input[type="checkbox"]:checked + .combo-label .faux {
	background: linear-gradient(90deg, rgba(0,194,203,0.16), rgba(0,120,255,0.08));
	border-color: rgba(0,120,255,0.16);
}

.combo-item input[type="checkbox"]:checked + .combo-label .faux::after {
	transform: scale(1);
}

/* Focus styles */
.combo-item input[type="checkbox"]:focus + .combo-label,
.combo-item .combo-label:focus {
	outline: none;
	box-shadow: 0 8px 24px rgba(7,94,255,0.06);
}

/* disabled (for multi & cross packages) */
.combo-item.disabled {
	opacity: 0.55;
	cursor: not-allowed;
	pointer-events: none;
}

.combo-item.disabled .combo-label {
	cursor: not-allowed;
}

.combo-item.disabled .combo-label .faux {
	background: #f6f8fa;
	border-color: rgba(10,20,40,0.04);
}

/* Tooltip shown when hovering disabled package or disabled combo */
.package-tooltip {
	position: absolute;
	right: 18px;
	top: 10px;
	background: var(--tooltip-bg);
	color: var(--tooltip-color);
	padding: 8px 12px;
	border-radius: 8px;
	font-size: 0.88rem;
	box-shadow: 0 10px 30px rgba(3,15,36,0.4);
	opacity: 0;
	transform: translateY(-6px) scale(0.98);
	pointer-events: none;
	transition: opacity .14s ease, transform .14s ease;
	z-index: 60;
	white-space: nowrap;
}

/* visible state */
.service-card.show-tooltip .package-tooltip {
	opacity: 1;
	transform: translateY(0) scale(1);
	pointer-events: auto;
}

/* small caret for tooltip */
.package-tooltip::after {
	content: "";
	position: absolute;
	right: 12px;
	bottom: -6px;
	width: 10px;
	height: 10px;
	background: var(--tooltip-bg);
	transform: rotate(45deg);
	box-shadow: 0 6px 10px rgba(3,15,36,0.15);
}

/* ---------- VISUAL ONLY: per-card meta badge colors (no layout/position changes) ---------- */

.service-meta .perk {
	padding: 4px 8px;
	border-radius: 8px;
	font-weight: 700;
	box-shadow: 0 6px 14px rgba(3,15,36,0.035);
	white-space: nowrap;
}

/* Eligible (green) */
.service-meta .perk.included {
	background: linear-gradient(180deg, rgba(230, 255, 242, 0.95), rgba(225, 255, 236, 0.95));
	color: #047857;
	border: 1px solid rgba(4,120,87,0.12);
}

/* Not eligible (red) */
.service-meta .perk.not-eligible {
	background: linear-gradient(180deg, rgba(255, 243, 245, 0.98), rgba(255, 240, 240, 0.98));
	color: #9b1c1c;
	border: 1px solid rgba(155,28,28,0.08);
}

/* Small "Recommended" pill */
.service-meta .recommended {
	padding: 3px 7px;
	border-radius: 8px;
	font-weight: 800;
	font-size: 0.72rem;
	background: linear-gradient(90deg, rgba(255, 243, 205, 0.95), rgba(255, 236, 179, 0.95));
	color: #5a3700;
	border: 1px solid rgba(90,55,0,0.06);
	box-shadow: 0 6px 14px rgba(3,15,36,0.035);
}

/* Recommended card subtle visual emphasis */
.recommended-card {
	border: 1px solid rgba(255,193,7,0.04);
	box-shadow: 0 14px 36px rgba(12,35,68,0.06);
}

/* small variant for mobile */
@media (max-width: 768px) {
	.combinations .combo-item { min-width: 100%; }
	.package-tooltip { left: 12px; right: 12px; top: auto; bottom: 12px; transform: translateY(6px); }

	.hero-cta { flex-direction: column; align-items: stretch; }
	.pending-payment {
		display: inline-flex;
		justify-content: center;
		width: 100%;
		padding: 10px 12px;
		font-size: 0.96rem;
	}
	.btn-pay { width: auto; }
}

/* ---------- Footer ---------- */

.site-footer {
	margin-top: 40px;
	padding: 26px 20px;
	background: transparent;
}

.footer-inner {
	max-width: var(--max-width);
	margin: 0 auto;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	align-items: flex-start;
	flex-wrap: wrap;
}

.contact-card, .about-card {
	background: linear-gradient(180deg, rgba(255,255,255,0.9), rgba(255,255,255,0.85));
	padding: 16px;
	border-radius: 12px;
	box-shadow: 0 10px 30px rgba(12,35,68,0.04);
	min-width: 240px;
}

/* visually indicate disabled anchors (used by JS for single-package link toggling) */
a.disabled-link {
	opacity: 0.45;
	pointer-events: none;
	filter: grayscale(.06);
	box-shadow: none !important;
	cursor: default;
	text-decoration: none;
}

.contact-card h3, .about-card h3 { margin-bottom: 8px; }

.contact-card p { margin: 6px 0; color: var(--muted); }

.contact-card a { color: var(--accent-end); text-decoration: none; font-weight: 600; }

.about-card a { text-decoration: none; }

.muted {
	color: var(--muted);
	background: WHITE !important;
	text-decoration: none;
}

.small-muted { color: var(--muted); font-size: 0.9rem; }

/* ---------- Modals ---------- */

.modal {
	position: fixed;
	inset: 0;
	z-index: 2000;
	display: none; /* visible when JS toggles */
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.modal[hidden] { display: none; }
.modal:not([hidden]) { display: flex; }

.modal-backdrop {
	position: absolute;
	inset: 0;
	background: var(--modal-backdrop);
	transition: opacity .12s ease;
}

.modal-panel {
	position: relative;
	z-index: 2001;
	width: 100%;
	max-width: 520px;
	background: var(--modal-panel-bg);
	border-radius: var(--modal-radius);
	box-shadow: 0 20px 50px rgba(3,15,36,0.25);
	padding: 20px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.modal-close {
	position: absolute;
	right: 12px;
	top: 10px;
	background: transparent;
	border: none;
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
	color: #334155;
	padding: 6px;
	border-radius: 8px;
	transition: background .12s ease;
}

.modal-close:hover { background: rgba(0,0,0,0.04); }

.username-form {
	display: flex;
	flex-direction: column;
	gap: 10px;
	margin-top: 6px;
}

.username-form input[type="text"],
.username-form input[type="search"],
.username-form input[type="tel"] {
	padding: 12px 14px;
	border-radius: 10px;
	border: 1px solid rgba(10,20,40,0.08);
	font-size: 1rem;
	outline: none;
	box-shadow: none;
	transition: box-shadow .12s ease, border-color .12s ease;
}

.username-form input[type="text"]:focus {
	box-shadow: 0 8px 24px rgba(7,94,255,0.06);
	border-color: rgba(0,120,255,0.28);
}

.modal-actions {
	display: flex;
	gap: 10px;
	justify-content: flex-end;
	margin-top: 4px;
}

.username-error {
	font-size: 0.95rem;
	color: var(--error-color);
	min-height: 1.2em;
	margin-top: 4px;
}

/* screen-reader helper */
.sr-only {
	position: absolute !important;
	height: 1px;
	width: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
	white-space: nowrap;
}

/* ---------- Responsive ---------- */

@media (max-width: 560px) {
	.modal-panel {
		margin: 0 12px;
		padding: 16px;
		border-radius: 12px;
	}
	.modal-actions {
		flex-direction: column-reverse;
	}
	.btn-primary, .btn-outline {
		width: 100%;
	}
}

@media (max-width: 980px) {
	.hero-inner { grid-template-columns: 1fr; }
	.services {
		grid-template-columns: 1fr;
		padding-left: 20px;
		padding-right: 20px;
		column-gap: 0;
		gap: 18px;
		padding-bottom: 40px;
	}
	.header-wrap { padding: 12px 16px; }
	.hero-visual { height: 220px; }
}

/* Mobile layout overrides */
@media (max-width: 768px) {
	:root {
		--max-width: 920px;
		--gap: 18px; /* tighter gap on small screens */
		--col-gap: 20px;
	}

	.site-header {
		position: sticky;
		top: 0;
		left: 0;
		background: linear-gradient(90deg, rgba(255,255,255,0.85), rgba(255,255,255,0.75));
		border-bottom: 1px solid rgba(10,20,40,0.06);
		padding: 8px 10px;
	}

	.header-wrap {
		max-width: var(--max-width);
		margin: 0 auto;
		padding: 8px 12px;
		display: flex;
		flex-direction: column;
		gap: 8px;
		align-items: stretch;
		justify-content: center;
	}

	.brand {
		display: flex;
		align-items: center;
		gap: 10px;
		justify-content: flex-start;
	}

	.brand-logo {
		width: 48px;
		height: 48px;
		padding: 4px;
		border-radius: 8px;
	}

	.brand-text { display: none; }

	.header-center { order: 3; text-align: center; margin-top: 6px; }

	.current-time { font-size: 0.87rem; padding: 6px 8px; }

	.header-actions {
		display: flex;
		gap: 8px;
		align-items: center;
		justify-content: space-between;
		order: 2;
	}

	/* make CTA and login/logout match and stretch */
	.cta-button, .logout-button {
		flex: 1 1 auto;
		min-height: 44px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 10px 12px;
		font-size: 0.95rem;
	}

	.cta-button { border-radius: 12px; }

	.logout-button {
		border-radius: 12px;
		border: 1px solid rgba(10,20,40,0.06);
		background: #fff;
		color: var(--muted);
	}

	.hero { margin-top: 92px; padding: 18px 14px; }

	.hero-inner {
		display: grid;
		grid-template-columns: 1fr;
		gap: 18px;
		align-items: start;
	}

	.hero-visual {
		height: 160px;
		border-radius: 12px;
		box-shadow: 0 10px 28px rgba(3,15,36,0.08);
	}

	.hero-visual svg { height: 100%; width: 100%; }

	.hero h1 { font-size: 1.45rem; line-height: 1.12; margin-bottom: 8px; }

	.hero-sub { font-size: 0.95rem; margin-bottom: 12px; }

	.hero-cta {
		flex-direction: column;
		gap: 10px;
	}

	.hero-cta a {
		width: 100%;
		text-align: center;
		padding: 12px 14px;
		border-radius: 12px;
	}

	.hero-cta a.primary { font-size: 1rem; }

	.hero-cta a.muted { font-size: 0.95rem; }

	.services {
		margin: 18px auto;
		padding: 12px 14px 44px 14px;
		grid-template-columns: 1fr;
		gap: 18px;
	}

	.service-card {
		flex-direction: column;
		align-items: center;
		text-align: center;
		padding: 18px;
		gap: 12px;
	}

	.service-card.clickable:active {
		transform: translateY(-2px);
		box-shadow: 0 10px 20px rgba(12,35,68,0.08);
	}

	.service-icon {
		width: 96px;
		height: 96px;
		border-radius: 14px;
		margin-bottom: 8px;
		flex: 0 0 auto;
	}

	.service-icon svg { width: 64px; height: 64px; }

	.service-body { align-items: center; }

	.service-title { font-size: 1.05rem; }

	.service-body p {
		font-size: 0.98rem;
		color: var(--muted);
		max-width: 44ch;
	}

	.service-foot {
		width: 100%;
		display: flex;
		flex-direction: column;
		gap: 10px;
		align-items: center;
		margin-top: 12px;
	}

	.price { display: block; font-size: 1.02rem; }

	.btn-outline, .btn-outline:visited {
		width: 100%;
		padding: 10px 12px;
		border-radius: 12px;
		font-weight: 700;
		box-sizing: border-box;
	}

	.site-footer { padding: 18px 12px 40px 12px; }

	.footer-inner {
		max-width: var(--max-width);
		margin: 0 auto;
		display: flex;
		flex-direction: column;
		gap: 12px;
		align-items: stretch;
	}

	.contact-card, .about-card { padding: 14px; min-width: auto; }

	.contact-card p, .about-card p { font-size: 0.98rem; color: var(--muted); }

	.contact-card a, .live-chat-link {
		display: inline-block;
		padding: 8px 10px;
		border-radius: 8px;
		text-decoration: none;
		color: var(--accent-end);
		font-weight: 700;
	}

	.service-title a { display: block; }

	.brand-name { font-size: 1rem; }

	.service-card, .contact-card, .about-card { box-shadow: 0 8px 22px rgba(12,35,68,0.06); }

	@supports (padding: max(1px)) {
		.hero { padding-left: max(12px, 3vw); padding-right: max(12px, 3vw); }
		.services { padding-left: max(12px, 3vw); padding-right: max(12px, 3vw); }
		.site-footer { padding-left: max(12px, 3vw); padding-right: max(12px, 3vw); }
	}
}

/* Utility (keeps focus helpers in place) */
:root:focus-within {}

/* End of stylesheet */
