/* ==========================================================================
   Own front-end components (no third-party slider / gallery libraries)
   - .os-slider    hero image slider      (cross-fade, no pan / zoom)
   - .os-carousel  centred looping carousel
   - .os-gallery   justified gallery + .os-lightbox
   Markup is produced by function/fnc_ui.php, behaviour lives in js/site.js
   ========================================================================== */

/* Bootstrap 4 -> 5 helper still used by the templates */
.btn-block { display: block; width: 100%; }

/* ---------- Hero slider ---------- */
.os-slider {
	--os-accent: #4400BF;
	position: relative;
	width: 100%;
	max-width: 1400px;
	margin: 0 auto;
	aspect-ratio: 1400 / 805;
	overflow: hidden;
	background: #eee;
	touch-action: pan-y;
	-webkit-user-select: none;
	user-select: none;
}
.os-slider__viewport { position: absolute; inset: 0; }
.os-slider__slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .8s ease, visibility 0s linear .8s;
}
.os-slider__slide.is-active {
	opacity: 1;
	visibility: visible;
	z-index: 1;
	transition-delay: 0s;
}
.os-slider__slide img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	-webkit-user-drag: none;
}

.os-slider__arrow {
	position: absolute;
	top: 50%;
	z-index: 3;
	width: 48px;
	height: 48px;
	margin-top: -24px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(0, 0, 0, .45);
	color: #fff;
	font-size: 20px;
	line-height: 48px;
	text-align: center;
	cursor: pointer;
	opacity: 0;
	transition: opacity .25s, background-color .25s;
}
.os-slider__arrow--prev { left: 14px; }
.os-slider__arrow--next { right: 14px; }
.os-slider:hover .os-slider__arrow,
.os-slider:focus-within .os-slider__arrow { opacity: 1; }
.os-slider__arrow:hover { background: var(--os-accent); }
@media (hover: none) { .os-slider__arrow { opacity: .85; } }

.os-slider__controls {
	position: absolute;
	left: 50%;
	bottom: 14px;
	z-index: 3;
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 6px 14px;
	border-radius: 20px;
	background: rgba(255, 255, 255, .8);
	transform: translateX(-50%);
}
.os-slider__dots { display: flex; gap: 8px; }
.os-slider__dot {
	width: 14px;
	height: 14px;
	padding: 0;
	border: 2px solid var(--os-accent);
	border-radius: 10px;
	background: transparent;
	cursor: pointer;
	transition: background-color .25s;
}
.os-slider__dot.is-active { background: var(--os-accent); }
.os-slider__toggle {
	position: relative;
	width: 14px;
	height: 14px;
	padding: 0;
	border: 0;
	background: transparent;
	cursor: pointer;
}
/* pause icon (two bars) / play icon (triangle) */
.os-slider__toggle-icon,
.os-slider__toggle-icon::before {
	position: absolute;
	top: 1px;
	bottom: 1px;
	width: 4px;
	background: var(--os-accent);
	content: "";
}
.os-slider__toggle-icon { left: 1px; }
.os-slider__toggle-icon::before { left: 8px; top: 0; bottom: 0; }
.os-slider__toggle[aria-pressed="true"] .os-slider__toggle-icon { background: transparent; width: 0; height: 0; top: 0; bottom: auto; left: 3px; border-style: solid; border-width: 7px 0 7px 11px; border-color: transparent transparent transparent var(--os-accent); }
.os-slider__toggle[aria-pressed="true"] .os-slider__toggle-icon::before { display: none; }

.os-slider button:focus-visible,
.os-carousel button:focus-visible,
.os-lightbox button:focus-visible,
.os-gallery__item:focus-visible { outline: 3px solid #ff8800; outline-offset: 2px; }

/* ---------- Centred carousel ---------- */
.os-carousel {
	--gap: 20px;
	position: relative;
	overflow: hidden;
	padding: 10px 0 0;
	touch-action: pan-y;
	-webkit-user-select: none;
	user-select: none;
}
.os-carousel__stage {
	--w: min(var(--slide-w, 300px), 80vw);
	display: grid;
	justify-items: center;
	cursor: grab;
}
.os-carousel__stage.is-dragging { cursor: grabbing; }
.os-carousel__slide {
	grid-area: 1 / 1;
	width: var(--w);
	margin: 10px 0 14px;
	transform: translateX(calc(var(--o, 0) * (var(--w) + var(--gap)) + var(--drag, 0px)));
	transition: transform .45s ease;
	will-change: transform;
}
.os-carousel__stage.is-dragging .os-carousel__slide { transition: none; }
.os-carousel:not(.is-ready) .os-carousel__slide:not(:first-child) { visibility: hidden; }
.os-carousel__slide img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 10px;
	box-shadow: 0 4px 8px #00000061;
	-webkit-user-drag: none;
}
.os-carousel__dots { display: flex; justify-content: center; gap: 8px; padding: 4px 0 10px; }
.os-carousel__dot {
	width: 10px;
	height: 10px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #c3c3cf;
	cursor: pointer;
	transition: background-color .25s, transform .25s;
}
.os-carousel__dot.is-active { background: #4400BF; transform: scale(1.25); }

/* ---------- Justified gallery ---------- */
.os-gallery {
	--row-h: 160px;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}
.os-gallery::after { content: ""; flex-grow: 100000; } /* keeps the last row from stretching */
.os-gallery__item {
	position: relative;
	display: block;
	min-width: 0;
	aspect-ratio: var(--ar, 1.5);
	flex: calc(var(--ar, 1.5) * 100) 1 calc(var(--ar, 1.5) * var(--row-h));
	overflow: hidden;
	border-radius: 10px;
	background: #e6e6ee;
	cursor: zoom-in;
}
.os-gallery__item img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.os-gallery__item::after {
	content: "\f00e"; /* Font Awesome search-plus */
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	background: rgba(0, 0, 0, .45);
	color: #fff;
	font: 900 24px/1 "Font Awesome 6 Free";
	opacity: 0;
	transition: opacity .2s;
}
.os-gallery__item:hover::after,
.os-gallery__item:focus-visible::after { opacity: 1; }

/* ---------- Lightbox ---------- */
html.os-lightbox-open { overflow: hidden; }
.os-lightbox {
	position: fixed;
	inset: 0;
	z-index: 10000;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	background: rgba(0, 0, 0, .88);
	opacity: 0;
	transition: opacity .2s;
	touch-action: none;
}
.os-lightbox.is-open { opacity: 1; }
.os-lightbox__figure { display: flex; flex-direction: column; align-items: center; max-width: 96vw; margin: 0; }
.os-lightbox__img {
	display: block;
	max-width: 92vw;
	max-height: 82vh;
	width: auto;
	height: auto;
	object-fit: contain;
	box-shadow: 0 6px 30px rgba(0, 0, 0, .5);
	transition: opacity .2s;
}
.os-lightbox__img.is-loading { opacity: .25; }
.os-lightbox__caption { max-width: 92vw; margin-top: 10px; color: #ddd; font-size: 14px; text-align: center; }
.os-lightbox__count { position: absolute; top: 16px; left: 18px; color: #ddd; font-size: 14px; }
.os-lightbox__btn {
	position: absolute;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .14);
	color: #fff;
	font-size: 22px;
	line-height: 48px;
	text-align: center;
	cursor: pointer;
	transition: background-color .2s;
}
.os-lightbox__btn:hover { background: rgba(255, 255, 255, .3); }
.os-lightbox__close { top: 12px; right: 14px; }
.os-lightbox__prev { top: 50%; left: 14px; margin-top: -24px; }
.os-lightbox__next { top: 50%; right: 14px; margin-top: -24px; }
.os-lightbox[data-single] .os-lightbox__prev,
.os-lightbox[data-single] .os-lightbox__next,
.os-lightbox[data-single] .os-lightbox__count { display: none; }

@media (max-width: 575px) {
	.os-slider__arrow { width: 38px; height: 38px; margin-top: -19px; font-size: 16px; line-height: 38px; }
	.os-slider__controls { bottom: 8px; padding: 4px 10px; }
	.os-lightbox__prev, .os-lightbox__next { top: auto; bottom: 18px; }
	.os-lightbox__prev { left: 24px; }
	.os-lightbox__next { right: 24px; }
}

@media (prefers-reduced-motion: reduce) {
	.os-slider__slide, .os-carousel__slide, .os-lightbox, .os-lightbox__img { transition: none !important; }
}

/* ==========================================================================
   Floating contact bar (always open, no toggle)
   ========================================================================== */
.os-fab {
	position: fixed;
	right: 16px;
	bottom: 24px;
	z-index: 1040;
	display: flex;
	flex-direction: column;
	gap: 10px;
	align-items: flex-end;
}
.os-fab__item {
	--c: #4400BF;
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 52px;
	padding: 6px 18px 6px 6px;
	border-radius: 30px;
	background: var(--c);
	color: #fff !important;
	text-decoration: none !important;
	box-shadow: 0 6px 18px rgba(0, 0, 0, .25);
	transition: transform .2s ease, box-shadow .2s ease;
}
.os-fab__item:hover { transform: translateY(-2px) scale(1.02); box-shadow: 0 10px 24px rgba(0, 0, 0, .3); }
.os-fab__icon {
	display: grid;
	place-items: center;
	flex: 0 0 40px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: #fff;
	color: var(--c);
	font-size: 20px;
}
.os-fab__text { display: flex; flex-direction: column; line-height: 1.2; }
.os-fab__label { font-size: 12px; opacity: .9; }
.os-fab__detail { font-size: 15px; font-weight: 600; }
.os-fab__item--tel  { --c: #5a1fd6; }
.os-fab__item--line { --c: #06a94d; }
.os-fab__item--msg  { --c: #0a7cff; }
.os-fab__item--mail { --c: #e8590c; }
html .scroll-to-top { right: auto; left: 10px; }

@media (max-width: 767px) {
	.os-fab {
		left: 0; right: 0; bottom: 0;
		flex-direction: row;
		gap: 0;
		align-items: stretch;
		box-shadow: 0 -4px 16px rgba(0, 0, 0, .18);
	}
	.os-fab__item {
		flex: 1 1 0;
		flex-direction: column;
		justify-content: center;
		gap: 2px;
		min-height: 58px;
		padding: 6px 2px;
		border-radius: 0;
		box-shadow: none;
		text-align: center;
	}
	.os-fab__item:hover { transform: none; }
	.os-fab__icon { flex: 0 0 auto; width: auto; height: auto; background: transparent; color: #fff; font-size: 20px; }
	.os-fab__detail { display: none; }
	.os-fab__label { font-size: 13px; opacity: 1; }
	body { padding-bottom: 58px; }
}

/* ---------- Admin toolbar (top nav, admin mode only) ---------- */
.os-adminbar { background: #1d1b2e; color: #fff; font-size: 14px; position: relative; z-index: 1100; }
.os-adminbar .container { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 18px; padding-top: 6px; padding-bottom: 6px; }
.os-adminbar a { color: #d9d4ff; text-decoration: none; white-space: nowrap; }
.os-adminbar a:hover { color: #fff; text-decoration: underline; }
.os-adminbar__title { font-weight: 600; color: #ffd24a; }
.os-adminbar__out { margin-left: auto; }

/* ---------- FAQ / legal / embeds ---------- */
.os-faq__item { border: 1px solid #e3e0f3; border-radius: 10px; margin-bottom: 10px; background: #fff; }
.os-faq__item summary { cursor: pointer; padding: 14px 18px; font-weight: 600; color: #030099; list-style-position: inside; }
.os-faq__item[open] summary { border-bottom: 1px solid #eee; }
.os-faq__item p { padding: 12px 18px 16px; margin: 0; }
.os-legal h2 { color: #030099; margin-bottom: 8px; }
.os-legal h3 { font-size: 20px; margin: 24px 0 8px; color: #030099; }
.os-legal p, .os-legal li { line-height: 1.7; }
.os-embed-placeholder { padding: 24px 16px; text-align: center; background: #f4f4f8; border: 1px dashed #b9b4dd; border-radius: 10px; }
.os-embed-placeholder i { font-size: 40px; color: #1877f2; }
.os-embed-placeholder p { margin: 8px 0 12px !important; }
.page-header .os-crumb-title { color: #34cef2 !important; display: inline-block; font-size: 27px; line-height: 36px; margin: 0 !important; padding: 0; font-weight: 400; position: relative; top: 1px; }
.os-linkbtn { background: none; border: 0; padding: 0; color: inherit; text-decoration: underline; cursor: pointer; font: inherit; }
.os-footer-links { display: block; margin-top: 6px; font-size: 14px; }
.os-footer-links a { color: #fff; text-decoration: underline; }

/* ---------- Cookie consent ---------- */
.os-consent { position: fixed; left: 0; right: 0; bottom: 0; z-index: 10050; display: flex; justify-content: center; padding: 12px; pointer-events: none; }
.os-consent[hidden] { display: none; }
.os-consent__box { pointer-events: auto; width: 100%; max-width: 980px; max-height: 92vh; overflow-y: auto; background: #fff; border-radius: 14px; padding: 18px 20px; box-shadow: 0 10px 40px rgba(0, 0, 0, .35); border-top: 4px solid #4400BF; }
.os-consent__title { font-size: 20px; margin: 0 0 6px; color: #030099; }
.os-consent__text { margin: 0 0 12px !important; font-size: 15px; line-height: 1.6 !important; }
.os-consent__actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.os-consent__settings { margin-top: 14px; border-top: 1px solid #eee; padding-top: 12px; }
.os-consent__row { display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px; cursor: pointer; }
.os-consent__row input { margin-top: 6px; width: 18px; height: 18px; flex: 0 0 auto; }
.os-consent__row small { display: block; color: #666; }
@media (max-width: 767px) { .os-consent { padding: 0; } .os-consent__box { border-radius: 14px 14px 0 0; } }

/* ---------- Contact page ---------- */
.os-hero { background-size: cover; background-position: center; }
.os-hero__shade { padding: 64px 0 56px; background: linear-gradient(120deg, rgba(3, 0, 120, .82), rgba(106, 0, 214, .62)); text-align: center; }
.os-hero__title { color: #fff; font-size: 40px; margin: 0 0 10px; }
.os-hero__lead { color: #ecebff !important; max-width: 720px; margin: 0 auto !important; font-size: 18px; line-height: 1.6 !important; }
.os-contact { background: #f5f4fb; padding: 48px 0 56px; }
.os-contact__intro { text-align: center; max-width: 820px; margin: 0 auto 32px; }
.os-contact__intro h2 { margin-bottom: 10px; }
.os-contact__intro p { color: #555; }
.os-contact__h2 { font-size: 22px; color: #030099; margin: 0 0 14px; }
.os-contact__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; margin-bottom: 26px; }
.os-ccard {
	--c: #4400BF;
	display: flex; flex-direction: column; align-items: flex-start; gap: 4px;
	padding: 22px 22px 18px; border-radius: 16px; background: #fff;
	color: #222 !important; text-decoration: none !important;
	border: 1px solid #e6e3f5; box-shadow: 0 4px 14px rgba(40, 20, 120, .07);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s;
}
.os-ccard:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(40, 20, 120, .16); border-color: var(--c); }
.os-ccard__icon { display: grid; place-items: center; width: 52px; height: 52px; border-radius: 14px; background: var(--c); color: #fff; font-size: 24px; margin-bottom: 8px; }
.os-ccard__label { font-size: 14px; color: #777; }
.os-ccard__value { font-size: 19px; font-weight: 600; word-break: break-word; line-height: 1.35; }
.os-ccard__cta { margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--c); }
.os-ccard__cta i { transition: transform .2s; }
.os-ccard:hover .os-ccard__cta i { transform: translateX(4px); }
.os-ccard--tel  { --c: #5a1fd6; }
.os-ccard--line { --c: #06a94d; }
.os-ccard--msg  { --c: #0a7cff; }
.os-ccard--fb   { --c: #1877f2; }
.os-ccard--mail { --c: #e8590c; }
.os-contact__address { display: flex; flex-wrap: wrap; align-items: center; gap: 14px 18px; padding: 18px 22px; margin-bottom: 30px; background: #fff; border: 1px solid #e6e3f5; border-radius: 16px; }
.os-contact__address p { margin: 2px 0 0 !important; color: #555; }
.os-contact__address > div { flex: 1 1 260px; }
.os-contact__address-icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 50%; background: #efeaff; color: #4400BF; font-size: 20px; }
.os-contact__fb { background: #fff; border-radius: 16px; padding: 12px; border: 1px solid #e6e3f5; overflow: hidden; }
@media (max-width: 575px) {
	.os-hero__shade { padding: 44px 0 38px; }
	.os-hero__title { font-size: 30px; }
	.os-hero__lead { font-size: 16px; }
}

/* ---------- Shared page sections (product / about) ---------- */
.os-section { padding: 48px 0; background: #fff; }
.os-section--tint { background: #f5f4fb; }
.os-section__head { text-align: center; max-width: 780px; margin: 0 auto 28px; }
.os-section__head--left { text-align: left; margin: 0 0 14px; max-width: none; }
.os-section__head h2 { color: #030099; margin: 0 0 8px; }
.os-section__head p { color: #666; margin: 0; }
.os-feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px; }
.os-feature { padding: 24px 22px; background: #fff; border: 1px solid #e6e3f5; border-radius: 16px; box-shadow: 0 4px 14px rgba(40, 20, 120, .07); transition: transform .2s, box-shadow .2s; }
.os-feature:hover { transform: translateY(-4px); box-shadow: 0 12px 28px rgba(40, 20, 120, .15); }
.os-feature__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 14px; background: linear-gradient(135deg, #04009A, #6600D4); color: #fff; font-size: 22px; }
.os-feature h3 { font-size: 20px; margin: 0 0 6px; color: #222; }
.os-feature p { margin: 0 !important; color: #555; line-height: 1.6 !important; }
.os-uses { margin: 26px 0 0 !important; text-align: center; }
.os-chip { display: inline-block; margin: 4px 4px 0; padding: 5px 14px; border-radius: 20px; background: #efeaff; color: #4400BF; font-size: 15px; }
.os-about__img { width: 100%; height: auto; border-radius: 16px; box-shadow: 0 8px 28px rgba(40, 20, 120, .18); }
.os-about__h2 { color: #030099; margin-bottom: 12px; }
.os-about__box { max-width: 900px; margin: 0 auto; padding: 30px 32px; background: #f5f4fb; border-radius: 18px; border-left: 5px solid #4400BF; }
.os-about__box p { margin-bottom: 12px !important; line-height: 1.7 !important; }
.os-checklist { list-style: none; padding: 0; margin: 0 0 14px; }
.os-checklist li { position: relative; padding: 6px 0 6px 32px; line-height: 1.6; }
.os-checklist li::before { content: "\f00c"; position: absolute; left: 0; top: 7px; width: 22px; height: 22px; border-radius: 50%; background: #06a94d; color: #fff; font: 900 12px/22px "Font Awesome 6 Free"; text-align: center; }
.os-cta { padding: 52px 0; text-align: center; color: #fff; background: linear-gradient(120deg, #020098 0%, #6a00d6 100%); }
.os-cta__title { color: #fff; margin: 0 0 8px; }
.os-cta__text { color: #e4e0ff !important; margin: 0 0 20px !important; }
.os-cta__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.os-cta__btn { color: #fff !important; border: 0 !important; }
.os-cta__btn--tel  { background: #ff8800 !important; }
.os-cta__btn--line { background: #06a94d !important; }
.os-cta__btn--msg  { background: #0a7cff !important; }
.os-cta__btn--ghost { background: transparent !important; border: 2px solid #fff !important; }
@media (max-width: 575px) { .os-section { padding: 34px 0; } .os-about__box { padding: 22px 18px; } .os-cta__btn { width: 100%; } }

/* ---------- Footer ---------- */
#footer.os-footer { background: #0e0c24; color: #c9c6e3; border-top: 0; box-shadow: none; padding: 0; margin: 0; font-size: 15px; }
.os-footer a { color: #e3e0ff; text-decoration: none; }
.os-footer a:hover { color: #fff; text-decoration: underline; }
.os-footer__grid { display: grid; grid-template-columns: 1.4fr 0.8fr 1.1fr 1fr; gap: 32px; padding: 56px 0 28px; }
.os-footer__logo img { height: auto; max-width: 220px; background: #fff; border-radius: 10px; padding: 8px 12px; }
.os-footer__brand p { color: #a9a5c9 !important; margin: 14px 0 16px !important; line-height: 1.6 !important; }
.os-footer__social { display: flex; gap: 10px; }
.os-footer__social a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: rgba(255, 255, 255, .08); font-size: 18px; transition: background .2s, transform .2s; }
.os-footer__social a:hover { background: #6a00d6; transform: translateY(-2px); text-decoration: none; }
.os-footer__title { color: #fff; font-size: 18px; margin: 0 0 14px; position: relative; padding-bottom: 8px; }
.os-footer__title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 32px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #2bc4e6, #6a00d6); }
.os-footer__col ul { list-style: none; padding: 0; margin: 0; }
.os-footer__col li { padding: 4px 0; }
.os-footer__contact li { display: flex; gap: 10px; align-items: baseline; }
.os-footer__contact i { width: 16px; color: #2bc4e6; }
.os-footer__qr img { margin-top: 12px; border-radius: 10px; background: #fff; padding: 6px; }
.os-footer__stats { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin: 0; }
.os-footer__stats div { background: rgba(255, 255, 255, .06); border-radius: 10px; padding: 8px 10px; }
.os-footer__stats dt { font-weight: 400; font-size: 12px; color: #a9a5c9; }
.os-footer__stats dd { margin: 0; color: #fff; font-size: 17px; font-weight: 600; }
.os-footer__tags { padding: 0 0 26px; border-top: 1px solid rgba(255, 255, 255, .08); padding-top: 20px; }
.os-footer__tags .badge { font-weight: 400 !important; }
.os-footer__bottom { background: #08071a; padding: 16px 0; font-size: 14px; }
.os-footer__bottom .container { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 20px; }
.os-footer__legal { display: flex; flex-wrap: wrap; gap: 6px 18px; }
.os-footer .os-linkbtn { color: #e3e0ff; }
@media (max-width: 991px) { .os-footer__grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 575px) { .os-footer__grid { grid-template-columns: 1fr; padding-top: 40px; } .os-footer__bottom .container { justify-content: center; text-align: center; } }
.os-section .col-lg-6 p { margin-bottom: 12px !important; line-height: 1.7 !important; }
.os-contact__intro p { line-height: 1.7 !important; }

/* ---------- Contact buttons (home) ---------- */
.os-cbtns { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 14px; margin: 18px 0 8px; }
.os-cbtn {
	--g1: #04009A; --g2: #6600D4;
	position: relative; overflow: hidden; isolation: isolate;
	display: flex; align-items: center; gap: 14px;
	padding: 14px 18px 14px 14px; border-radius: 18px;
	background: linear-gradient(120deg, var(--g1), var(--g2));
	background-size: 160% 160%; background-position: 0% 50%;
	color: #fff !important; text-decoration: none !important;
	box-shadow: 0 8px 20px -6px var(--g2);
	transition: transform .25s cubic-bezier(.2, .8, .2, 1.4), box-shadow .25s, background-position .5s;
	animation: os-cbtn-in .6s both var(--d, 0s);
}
.os-cbtn:hover, .os-cbtn:focus-visible { transform: translateY(-4px) scale(1.02); box-shadow: 0 16px 30px -8px var(--g2); background-position: 100% 50%; }
.os-cbtn:active { transform: translateY(0) scale(.98); }
/* light sweep */
.os-cbtn::before {
	content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 40%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .35), transparent);
	transform: skewX(-20deg); animation: os-cbtn-shine 4s ease-in-out infinite; animation-delay: calc(var(--d, 0s) + 1s);
}
.os-cbtn__icon {
	position: relative; display: grid; place-items: center; flex: 0 0 48px; width: 48px; height: 48px;
	border-radius: 50%; background: #fff; color: var(--g2); font-size: 22px;
}
/* pulse ring */
.os-cbtn__icon::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #fff; animation: os-cbtn-ring 2s ease-out infinite; }
.os-cbtn--tel .os-cbtn__icon i { animation: os-cbtn-wiggle 2.4s ease-in-out infinite; }
.os-cbtn__text { display: flex; flex-direction: column; line-height: 1.25; min-width: 0; }
.os-cbtn__label { font-size: 13px; opacity: .85; }
.os-cbtn__value { font-size: 18px; font-weight: 700; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.os-cbtn__arrow { margin-left: auto; opacity: .7; transition: transform .25s, opacity .25s; }
.os-cbtn:hover .os-cbtn__arrow { transform: translateX(5px); opacity: 1; }
.os-cbtn--tel  { --g1: #ff6a00; --g2: #ee0979; }
.os-cbtn--msg  { --g1: #0099ff; --g2: #a033ff; }
.os-cbtn--line { --g1: #00b900; --g2: #06c755; }
.os-cbtn--line { box-shadow: 0 8px 20px -6px #009e3a; }

@keyframes os-cbtn-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@keyframes os-cbtn-shine { 0%, 60% { left: -60%; } 100% { left: 130%; } }
@keyframes os-cbtn-ring { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.6); opacity: 0; } }
@keyframes os-cbtn-wiggle { 0%, 70%, 100% { transform: rotate(0); } 75% { transform: rotate(-15deg); } 80% { transform: rotate(15deg); } 85% { transform: rotate(-10deg); } 90% { transform: rotate(8deg); } }
@media (prefers-reduced-motion: reduce) { .os-cbtn, .os-cbtn::before, .os-cbtn__icon::after, .os-cbtn__icon i { animation: none !important; } }

/* ---------- Home ---------- */
.os-home-hero { padding: 20px 0 0; background: linear-gradient(180deg, #f5f4fb, #fff); }
.os-home-hero .os-slider { border-radius: 20px; box-shadow: 0 14px 40px -12px rgba(40, 20, 120, .45); }
.os-eyebrow { display: inline-flex; gap: 6px; align-items: center; padding: 5px 14px; margin-bottom: 12px; border-radius: 20px; background: #efeaff; color: #4400BF; font-size: 14px; font-weight: 600; }
.os-home-title { font-size: 32px; line-height: 1.35; margin: 0 0 12px; background: linear-gradient(120deg, #04009A, #6600D4); -webkit-background-clip: text; background-clip: text; color: transparent; }
.os-home-lead { color: #555 !important; font-size: 17px; line-height: 1.7 !important; }
.os-home-carousel { padding-bottom: 30px; }
.os-home-samples { background: linear-gradient(120deg, #020098 0%, #3d00b0 100%); }
.os-home-samples .os-section__head h2 { color: #fff; }
.os-home-samples .os-section__head p { color: #d7d2ff; }
.os-text { margin-bottom: 12px !important; line-height: 1.75 !important; color: #444; }
.os-about__h3 { font-size: 20px; color: #030099; margin: 0 0 12px; }
.os-about__box--side { position: sticky; top: 20px; margin: 0; }
.os-point-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 14px; }
.os-point { display: flex; gap: 14px; align-items: center; padding: 16px 18px; background: #fff; border: 1px solid #e6e3f5; border-radius: 16px; transition: transform .2s, box-shadow .2s; }
.os-point:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(40, 20, 120, .12); }
.os-point .os-feature__icon { flex: 0 0 48px; width: 48px; height: 48px; margin: 0; }
.os-point p { margin: 0 !important; line-height: 1.6 !important; color: #333; }
@media (max-width: 575px) { .os-home-title { font-size: 24px; } .os-home-hero { padding-top: 10px; } .os-home-hero .os-slider { border-radius: 12px; } }

/* ---------- Top bar + navigation ---------- */
.os-topbar { background: linear-gradient(120deg, #000097 0%, #6C00D7 100%); color: #fff; font-size: 14px; }
.os-topbar .container { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 4px 16px; padding-top: 7px; padding-bottom: 7px; }
.os-topbar__brand { font-weight: 600; letter-spacing: .3px; text-transform: uppercase; }
.os-topbar__brand i { color: #ffd24a; }
.os-topbar__links { display: flex; gap: 18px; }
.os-topbar a { color: #fff; text-decoration: none; }
.os-topbar a:hover { color: #ffd24a; }

.os-nav { position: sticky; top: 0; z-index: 1030; background: rgba(255, 255, 255, .92); -webkit-backdrop-filter: saturate(180%) blur(12px); backdrop-filter: saturate(180%) blur(12px); border-bottom: 1px solid #ece9f7; transition: box-shadow .25s; }
.os-nav.is-scrolled { box-shadow: 0 6px 24px -10px rgba(40, 20, 120, .35); }
.os-nav__inner { display: flex; align-items: center; gap: 20px; min-height: 84px; transition: min-height .25s; }
.os-nav.is-scrolled .os-nav__inner { min-height: 64px; }
.os-nav__logo img { display: block; width: auto; height: 58px; transition: height .25s; }
.os-nav.is-scrolled .os-nav__logo img { height: 44px; }
.os-nav__menu { margin-left: auto; display: flex; align-items: center; }
.os-nav__menu ul { display: flex; gap: 4px; list-style: none; margin: 0; padding: 0; }
.os-nav__menu a { position: relative; display: flex; align-items: center; gap: 8px; padding: 10px 16px; border-radius: 12px; color: #3b3a4f; font-size: 16px; text-decoration: none; transition: color .2s, background .2s; }
.os-nav__menu a i { font-size: 14px; color: #9b95c9; transition: color .2s; }
.os-nav__menu a::after { content: ""; position: absolute; left: 16px; right: 16px; bottom: 4px; height: 3px; border-radius: 2px; background: linear-gradient(90deg, #04009A, #6600D4); transform: scaleX(0); transition: transform .25s; }
.os-nav__menu a:hover, .os-nav__menu a.is-active { color: #4400BF; background: #f3f0ff; }
.os-nav__menu a:hover i, .os-nav__menu a.is-active i { color: #4400BF; }
.os-nav__menu a.is-active::after, .os-nav__menu a:hover::after { transform: scaleX(1); }
.os-nav__cta { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 30px; background: linear-gradient(120deg, #04009A, #6600D4); color: #fff !important; font-weight: 600; text-decoration: none !important; white-space: nowrap; box-shadow: 0 6px 16px -6px #6600D4; transition: transform .2s, box-shadow .2s; }
.os-nav__cta:hover { transform: translateY(-2px); box-shadow: 0 10px 22px -6px #6600D4; }
.os-nav__cta--menu { display: none; }
.os-nav__toggle { display: none; margin-left: auto; width: 46px; height: 46px; padding: 12px 11px; border: 0; border-radius: 12px; background: linear-gradient(120deg, #04009A, #6600D4); cursor: pointer; flex-direction: column; justify-content: space-between; }
.os-nav__toggle span { display: block; height: 3px; border-radius: 2px; background: #fff; transition: transform .3s, opacity .2s; }
.os-nav.is-open .os-nav__toggle span:nth-child(1) { transform: translateY(8.5px) rotate(45deg); }
.os-nav.is-open .os-nav__toggle span:nth-child(2) { opacity: 0; }
.os-nav.is-open .os-nav__toggle span:nth-child(3) { transform: translateY(-8.5px) rotate(-45deg); }
.os-nav__backdrop { display: none; }

@media (max-width: 991px) {
	.os-topbar__brand { display: none; }
	.os-topbar .container { justify-content: center; }
	.os-nav__inner { min-height: 68px; }
	.os-nav__logo img { height: 46px; }
	.os-nav__cta:not(.os-nav__cta--menu) { display: none; }
	.os-nav__toggle { display: flex; }
	.os-nav__menu {
		position: fixed; top: 0; right: 0; bottom: 0; z-index: 1050; width: min(320px, 84vw);
		flex-direction: column; align-items: stretch; gap: 16px; margin: 0; padding: 84px 18px 24px;
		background: #fff; box-shadow: -10px 0 40px rgba(0, 0, 0, .2);
		transform: translateX(100%); transition: transform .3s cubic-bezier(.2, .8, .2, 1); overflow-y: auto;
	}
	.os-nav.is-open .os-nav__menu { transform: none; }
	.os-nav__menu ul { flex-direction: column; gap: 6px; }
	.os-nav__menu a { padding: 14px 16px; font-size: 18px; }
	.os-nav__menu a::after { display: none; }
	.os-nav__cta--menu { display: flex; justify-content: center; }
	.os-nav__toggle { position: relative; z-index: 1060; }
	.os-nav__backdrop { position: fixed; inset: 0; z-index: 1029; background: rgba(10, 8, 30, .45); opacity: 0; pointer-events: none; transition: opacity .3s; display: block; }
	html.os-nav-open .os-nav__backdrop { opacity: 1; pointer-events: auto; }
	html.os-nav-open { overflow: hidden; }
}

/* ---------- Gallery: fixed 4-column grid (overrides the justified layout above) ---------- */
.os-gallery { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.os-gallery::after { content: none; }
.os-gallery__item { flex: none; aspect-ratio: 1 / 1; border-radius: 14px; box-shadow: 0 4px 12px rgba(40, 20, 120, .12); transition: transform .25s, box-shadow .25s; }
.os-gallery__item img { transition: transform .4s ease; }
.os-gallery__item:hover { transform: translateY(-3px); box-shadow: 0 12px 26px rgba(40, 20, 120, .25); }
.os-gallery__item:hover img { transform: scale(1.06); }
@media (max-width: 767px) { .os-gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } }
.os-nav__menu a { white-space: nowrap; }
.os-nav__menu a.os-nav__cta--menu { display: none; }
@media (min-width: 992px) and (max-width: 1199px) { .os-nav__menu a { padding: 10px 11px; } .os-nav__menu a i { display: none; } .os-nav__cta span { display: none; } }
@media (max-width: 991px) { .os-nav__menu a.os-nav__cta--menu { display: flex; justify-content: center; color: #fff; } .os-nav__menu a.os-nav__cta--menu::after { display: none; } }
/* backdrop-filter would trap the fixed mobile drawer inside the header */
@media (max-width: 991px) { .os-nav { -webkit-backdrop-filter: none; backdrop-filter: none; background: #fff; } }

/* ---------- CTA band buttons: glass pills with glow, shine, pulse ---------- */
.os-cta { position: relative; overflow: hidden; isolation: isolate; }
.os-cta::before, .os-cta::after { content: ""; position: absolute; z-index: -1; border-radius: 50%; filter: blur(60px); opacity: .55; animation: os-cta-float 12s ease-in-out infinite alternate; }
.os-cta::before { width: 320px; height: 320px; left: -80px; top: -120px; background: #2bc4e6; }
.os-cta::after { width: 360px; height: 360px; right: -100px; bottom: -160px; background: #ff3cac; animation-delay: -6s; }
.os-cta__actions { gap: 14px; }
.os-cta__btn {
	--c: #fff;
	position: relative; overflow: hidden; isolation: isolate;
	display: inline-flex; align-items: center; gap: 10px;
	padding: 8px 22px 8px 8px !important; border-radius: 40px !important;
	font-size: 17px !important; font-weight: 600;
	background: rgba(255, 255, 255, .12) !important;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	border: 1px solid rgba(255, 255, 255, .28) !important;
	box-shadow: 0 8px 24px -10px rgba(0, 0, 0, .5);
	transition: transform .25s cubic-bezier(.2, .8, .2, 1.4), box-shadow .25s, background-color .25s;
	animation: os-cbtn-in .6s both var(--d, 0s);
}
.os-cta__btn::before { /* shine sweep */
	content: ""; position: absolute; z-index: -1; top: 0; bottom: 0; left: -60%; width: 40%;
	background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .4), transparent);
	transform: skewX(-20deg); animation: os-cbtn-shine 4.5s ease-in-out infinite; animation-delay: calc(var(--d, 0s) + 1.2s);
}
.os-cta__btn:hover, .os-cta__btn:focus-visible { transform: translateY(-4px) scale(1.04); background-color: rgba(255, 255, 255, .22) !important; box-shadow: 0 14px 30px -10px var(--c); }
.os-cta__btn:active { transform: scale(.97); }
.os-cta__ic { position: relative; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--c); color: #fff; font-size: 18px; }
.os-cta__ic::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--c); animation: os-cbtn-ring 2s ease-out infinite; animation-delay: var(--d, 0s); }
.os-cta__btn--tel  { --c: #ff6a00; }
.os-cta__btn--line { --c: #06c755; }
.os-cta__btn--msg  { --c: #0a7cff; }
.os-cta__btn--tel .os-cta__ic i { animation: os-cbtn-wiggle 2.4s ease-in-out infinite; }
.os-cta__btn--ghost { padding: 12px 24px !important; background: #fff !important; color: #3a00a8 !important; border-color: #fff !important; }
.os-cta__btn--ghost:hover { background: #ffd24a !important; color: #1d1b2e !important; box-shadow: 0 14px 30px -10px #ffd24a; }
.os-cta__arrow { transition: transform .25s; }
.os-cta__btn--ghost:hover .os-cta__arrow { transform: translateX(5px); }
@keyframes os-cta-float { from { transform: translate(0, 0) scale(1); } to { transform: translate(60px, 40px) scale(1.15); } }
@media (max-width: 575px) { .os-cta__btn { justify-content: flex-start; } .os-cta__btn--ghost { justify-content: center; } }
@media (prefers-reduced-motion: reduce) { .os-cta::before, .os-cta::after, .os-cta__btn, .os-cta__btn::before, .os-cta__ic::after, .os-cta__ic i { animation: none !important; } }
