/* VIPTV OTT — light SaaS design system (compiled utility subset). */
:root {
	--ott-bg: #ffffff;
	--ott-bg-muted: #f9fafb;
	--ott-bg-soft: #f8fafc;
	--ott-text: #0f172a;
	--ott-text-secondary: #64748b;
	--ott-border: #e5e7eb;
	--ott-border-soft: rgba(229, 231, 235, 0.8);
	--ott-black: #111827;
	--ott-lime-bg: #ecfccb;
	--ott-lime-text: #3f6212;
	--ott-lime-border: rgba(190, 242, 100, 0.6);
	--ott-whatsapp: #10b981;
	--ott-glow: radial-gradient(ellipse 70% 55% at 50% 0%, rgba(217, 249, 157, 0.4), rgba(209, 250, 229, 0.2) 42%, transparent 70%);
}

* { box-sizing: border-box; }
html { background: var(--ott-bg); scroll-behavior: smooth; }
body {
	margin: 0;
	padding-top: 72px;
	background: var(--ott-bg);
	color: var(--ott-text);
	font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	line-height: 1.5;
}
a { color: inherit; text-decoration: none; }
button { font: inherit; }
img { display: block; max-width: 100%; height: auto; }

.screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.screen-reader-text:focus {
	position: fixed;
	z-index: 100;
	top: 1rem;
	left: 1rem;
	width: auto;
	height: auto;
	margin: 0;
	padding: .75rem 1rem;
	clip: auto;
	border-radius: .5rem;
	background: var(--ott-black);
	color: #fff;
}

.ott-container { width: min(100% - 2rem, 1120px); margin: 0 auto; }

/* Shared buttons */
.ott-btn {
	display: inline-flex;
	min-height: 42px;
	padding: .625rem 1.5rem;
	align-items: center;
	justify-content: center;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: .875rem;
	font-weight: 500;
	transition: background .18s ease, color .18s ease, border-color .18s ease, box-shadow .18s ease;
}
.ott-btn--primary { background: #000; color: #fff; }
.ott-btn--primary:hover,
.ott-btn--primary:focus-visible { background: #1f2937; }
.ott-btn--secondary {
	border-color: var(--ott-border);
	background: #fff;
	color: #1f2937;
}
.ott-btn--secondary:hover,
.ott-btn--secondary:focus-visible { background: #f9fafb; }
.ott-btn--whatsapp { background: var(--ott-whatsapp); color: #fff; }
.ott-btn--whatsapp:hover,
.ott-btn--whatsapp:focus-visible { background: #059669; }

.ott-badge {
	display: inline-flex;
	padding: .25rem .75rem;
	align-items: center;
	border: 1px solid var(--ott-lime-border);
	border-radius: 999px;
	background: var(--ott-lime-bg);
	color: var(--ott-lime-text);
	font-size: .75rem;
	font-weight: 600;
}

.ott-card {
	border: 1px solid var(--ott-border-soft);
	border-radius: 1rem;
	background: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .04);
	transition: box-shadow .18s ease, transform .18s ease;
}
.ott-card:hover { box-shadow: 0 8px 24px rgba(15, 23, 42, .08); }

.ott-section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.ott-section--muted { background: var(--ott-bg-muted); }
.ott-glow { background-image: var(--ott-glow); background-repeat: no-repeat; }

/* Header — Arcevo light pattern */
body.ott-menu-open { overflow: hidden; }
.ott-header {
	position: fixed;
	z-index: 50;
	top: 0;
	right: 0;
	left: 0;
	border-bottom: 1px solid #f3f4f6;
	background: rgba(255, 255, 255, .8);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}
.ott-header__inner {
	display: flex;
	width: min(100% - 2rem, 1120px);
	min-height: 64px;
	margin: 0 auto;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
}
.ott-logo {
	display: inline-flex;
	width: 118px;
	flex: 0 0 auto;
	align-items: center;
}
.ott-logo img {
	width: 100%;
	max-height: 36px;
	object-fit: contain;
	object-position: left center;
}
.ott-desktop-nav {
	display: flex;
	flex: 1;
	align-items: center;
	justify-content: center;
	gap: clamp(1rem, 2.2vw, 2rem);
}
.ott-desktop-nav a {
	color: #374151;
	font-size: .875rem;
	font-weight: 500;
	white-space: nowrap;
	transition: color .15s ease;
}
.ott-desktop-nav a:hover,
.ott-desktop-nav a:focus-visible { color: #000; }
.ott-header-actions {
	display: flex;
	flex: 0 0 auto;
	align-items: center;
	gap: .75rem;
}
.ott-menu-toggle {
	display: none;
	width: 40px;
	height: 40px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--ott-border);
	border-radius: .75rem;
	background: #fff;
	color: var(--ott-text);
	cursor: pointer;
}
.ott-menu-icon,
.ott-menu-icon::before,
.ott-menu-icon::after {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 1px;
	background: currentColor;
	content: "";
}
.ott-menu-icon { position: relative; }
.ott-menu-icon::before { position: absolute; top: -6px; }
.ott-menu-icon::after { position: absolute; top: 6px; }

.ott-drawer,
.ott-drawer-backdrop {
	position: fixed;
	display: none;
	visibility: hidden;
	pointer-events: none;
}

@media (max-width: 860px) {
	.ott-desktop-nav { display: none; }
	.ott-menu-toggle { display: inline-flex; }
	.ott-drawer-backdrop {
		position: fixed;
		z-index: 59;
		inset: 0;
		display: block;
		visibility: hidden;
		background: rgba(15, 23, 42, .28);
		opacity: 0;
		transition: opacity .22s ease, visibility .22s ease;
	}
	.ott-drawer {
		position: fixed;
		z-index: 60;
		top: .75rem;
		right: .75rem;
		display: flex;
		width: min(92vw, 360px);
		height: calc(100dvh - 1.5rem);
		padding: 1.15rem;
		transform: translateX(110%);
		flex-direction: column;
		border: 1px solid var(--ott-border);
		border-radius: 1.25rem;
		background: #fff;
		box-shadow: 0 20px 50px rgba(15, 23, 42, .12);
		transition: transform .28s cubic-bezier(.2, .8, .2, 1);
	}
	.ott-drawer.is-open { transform: translateX(0); }
	.ott-drawer-backdrop.is-open { visibility: visible; opacity: 1; }
	.ott-drawer__head {
		display: flex;
		padding-bottom: 1rem;
		align-items: center;
		justify-content: space-between;
		border-bottom: 1px solid #f3f4f6;
		color: var(--ott-text);
		font-weight: 700;
	}
	.ott-drawer-close {
		width: 36px;
		height: 36px;
		border: 1px solid var(--ott-border);
		border-radius: .65rem;
		background: #fff;
		color: var(--ott-text);
		font-size: 1.4rem;
		line-height: 1;
		cursor: pointer;
	}
	.ott-drawer__links { display: grid; margin-top: .5rem; }
	.ott-drawer__links a {
		display: flex;
		padding: 1rem 0;
		align-items: center;
		justify-content: space-between;
		border-bottom: 1px solid #f3f4f6;
		color: #111827;
		font-size: .9375rem;
		font-weight: 600;
	}
	.ott-drawer__links span {
		color: var(--ott-text-secondary);
		font-size: .75rem;
		font-weight: 500;
	}
	.ott-drawer__cta {
		width: 100%;
		min-height: 48px;
		margin-top: auto;
	}
}

@media (max-width: 380px) {
	.ott-logo { width: 100px; }
	.ott-header-actions .ott-btn { padding: .55rem 1rem; font-size: .8125rem; }
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.ott-drawer,
	.ott-drawer-backdrop,
	.ott-btn,
	.ott-card { transition: none; }
}
