/* CCTV Page Styles for Atel76 */

.page-videonabludenie .mainbox {
	background-color: #f8fafc;
	padding-top: 25px;
	padding-bottom: 40px;
}

.cctv-content {
	background: #ffffff;
	border-radius: 8px;
	padding: 35px 30px;
	box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
	margin-bottom: 30px;
}

.cctv-content h1 {
	color: #007a87;
	font-size: 2.1rem;
	font-weight: 700;
	line-height: 1.3;
	margin-top: 0;
	margin-bottom: 25px;
	padding-bottom: 14px;
	border-bottom: 2px solid #e2e8f0;
	text-transform: none;
	text-align: left;
}

.cctv-section-title {
	color: #007a87;
	font-size: 1.7rem;
	font-weight: 700;
	margin-top: 30px;
	margin-bottom: 18px;
	padding-bottom: 8px;
	border-bottom: 2px solid #e2e8f0;
	display: flex;
	align-items: center;
}

.cctv-section-title:first-child {
	margin-top: 0;
}

.cctv-section-title span.badge-num {
	display: inline-block;
	background: #007a87;
	color: #fff;
	width: 32px;
	height: 32px;
	line-height: 32px;
	border-radius: 50%;
	text-align: center;
	font-size: 1rem;
	margin-right: 12px;
	flex-shrink: 0;
}

.cctv-text {
	font-size: 1.05rem;
	line-height: 1.65;
	color: #334155;
	margin-bottom: 18px;
}

.cctv-highlight-box {
	background: #f0fdfa;
	border-left: 4px solid #007a87;
	padding: 16px 20px;
	border-radius: 0 8px 8px 0;
	margin: 20px 0;
	font-size: 1.05rem;
	line-height: 1.6;
	color: #0f766e;
}

/* Figures and photos */
.cctv-gallery-row {
	margin-bottom: 25px;
}

.cctv-figure {
	margin: 10px 0 25px;
	background: #ffffff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 4px 10px rgba(0, 0, 0, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
	display: flex;
	flex-direction: column;
	height: calc(100% - 35px);
}

.cctv-figure:hover {
	transform: translateY(-2px);
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}

.cctv-figure-link {
	display: block;
	position: relative;
	overflow: hidden;
	background: #0f172a;
	text-align: center;
}

.cctv-figure-link img {
	width: 100%;
	height: auto;
	display: block;
	transition: opacity 0.2s ease;
}

.cctv-figure-link:hover img {
	opacity: 0.92;
}

.cctv-figure-caption {
	padding: 12px 16px;
	background: #f8fafc;
	color: #475569;
	font-size: 0.92rem;
	line-height: 1.45;
	font-weight: 500;
	border-top: 1px solid #e2e8f0;
	flex-grow: 1;
	display: block;
}

.cctv-figure-caption strong {
	color: #007a87;
	margin-right: 6px;
	white-space: nowrap;
}

/* Tariff Cards */
.cctv-tariffs-container {
	margin: 30px 0 25px;
}

.cctv-tariff-card {
	background: #ffffff;
	border: 2px solid #007a87;
	border-radius: 10px;
	padding: 25px 20px;
	text-align: center;
	box-shadow: 0 4px 14px rgba(0, 122, 135, 0.12);
	margin-bottom: 25px;
	position: relative;
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cctv-tariff-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 8px 24px rgba(0, 122, 135, 0.2);
}

.cctv-tariff-card.featured {
	border-color: #dd361f;
}

.cctv-tariff-badge {
	position: absolute;
	top: -13px;
	left: 50%;
	transform: translateX(-50%);
	background: #dd361f;
	color: #fff;
	padding: 3px 16px;
	border-radius: 20px;
	font-size: 0.82rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.5px;
}

.cctv-tariff-title {
	font-size: 1.25rem;
	font-weight: 700;
	color: #0f172a;
	margin-bottom: 12px;
	min-height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.cctv-tariff-price {
	color: #007a87;
	font-size: 2.8rem;
	font-weight: 800;
	line-height: 1;
	margin-bottom: 6px;
}

.cctv-tariff-card.featured .cctv-tariff-price {
	color: #dd361f;
}

.cctv-tariff-unit {
	color: #64748b;
	font-size: 0.95rem;
	margin-bottom: 18px;
	font-weight: 500;
}

.cctv-tariff-features {
	list-style: none;
	margin: 0 0 20px 0;
	padding: 0;
	text-align: left;
	font-size: 0.95rem;
	color: #334155;
}

.cctv-tariff-features li {
	padding: 6px 0 6px 24px;
	position: relative;
	border-bottom: 1px dashed #e2e8f0;
}

.cctv-tariff-features li:last-child {
	border-bottom: none;
}

.cctv-tariff-features li::before {
	content: "✓";
	position: absolute;
	left: 0;
	top: 6px;
	color: #007a87;
	font-weight: bold;
}

.cctv-btn-connect {
	display: inline-block;
	width: 100%;
	background: #007a87;
	color: #ffffff !important;
	padding: 12px 20px;
	font-size: 1.1rem;
	font-weight: 700;
	text-transform: uppercase;
	border-radius: 6px;
	text-decoration: none;
	transition: background-color 0.2s ease;
	cursor: pointer;
	border: none;
}

.cctv-btn-connect:hover {
	background: #005f69;
	color: #ffffff;
}

.cctv-tariff-card.featured .cctv-btn-connect {
	background: #dd361f;
}

.cctv-tariff-card.featured .cctv-btn-connect:hover {
	background: #b82813;
}

/* Setup Costs Table/Cards */
.cctv-setup-cards {
	margin: 20px 0 25px;
}

.cctv-setup-item {
	background: #f8fafc;
	border: 1px solid #cbd5e1;
	border-radius: 8px;
	padding: 18px 16px;
	margin-bottom: 15px;
	text-align: center;
	height: calc(100% - 15px);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.cctv-setup-item-title {
	font-size: 1rem;
	font-weight: 700;
	color: #1e293b;
	margin-bottom: 8px;
}

.cctv-setup-item-desc {
	font-size: 0.88rem;
	color: #64748b;
	margin-bottom: 12px;
	flex-grow: 1;
}

.cctv-setup-item-price {
	font-size: 1.6rem;
	font-weight: 800;
	color: #007a87;
}

.cctv-setup-item-price span {
	font-size: 0.95rem;
	font-weight: normal;
	color: #64748b;
}

/* Included in abonплата banner */
.cctv-included-box {
	background: linear-gradient(135deg, #f0fdf4 0%, #e6f7ec 100%);
	border: 1px solid #86efac;
	border-radius: 8px;
	padding: 22px 25px;
	margin: 25px 0;
}

.cctv-included-box h4 {
	color: #166534;
	font-size: 1.25rem;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 14px;
}

.cctv-included-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.cctv-included-list li {
	position: relative;
	padding-left: 28px;
	margin-bottom: 10px;
	font-size: 1.02rem;
	line-height: 1.5;
	color: #14532d;
}

.cctv-included-list li:last-child {
	margin-bottom: 0;
}

.cctv-included-list li::before {
	content: "✔";
	position: absolute;
	left: 0;
	top: 0;
	color: #16a34a;
	font-size: 1.15rem;
}

/* Feature grid */
.cctv-feature-card {
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 20px;
	margin-bottom: 20px;
	height: calc(100% - 20px);
}

.cctv-feature-card h4 {
	color: #007a87;
	font-size: 1.15rem;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 10px;
}

.cctv-feature-card p {
	font-size: 0.96rem;
	color: #475569;
	margin-bottom: 0;
	line-height: 1.55;
}

/* CTA Bottom Banner */
.cctv-cta-banner {
	background: linear-gradient(135deg, #00353c 0%, #007a87 100%);
	border-radius: 10px;
	color: #ffffff;
	padding: 35px 30px;
	margin-top: 35px;
	text-align: center;
	box-shadow: 0 6px 20px rgba(0, 53, 60, 0.2);
}

.cctv-cta-banner h3 {
	color: #ffffff;
	font-size: 1.8rem;
	font-weight: 700;
	margin-top: 0;
	margin-bottom: 12px;
}

.cctv-cta-banner p {
	color: #e0f2f1;
	font-size: 1.15rem;
	max-width: 800px;
	margin: 0 auto 25px auto;
	line-height: 1.6;
}

.cctv-cta-btn {
	display: inline-block;
	background: #dd361f;
	color: #ffffff !important;
	font-size: 1.25rem;
	font-weight: 700;
	text-transform: uppercase;
	padding: 14px 38px;
	border-radius: 6px;
	text-decoration: none;
	box-shadow: 0 4px 12px rgba(221, 54, 31, 0.4);
	transition: background-color 0.2s ease, transform 0.2s ease;
	cursor: pointer;
}

.cctv-cta-btn:hover {
	background: #c22b16;
	color: #ffffff;
	transform: translateY(-2px);
}

.cctv-cta-phone {
	display: block;
	margin-top: 15px;
	font-size: 1.1rem;
	color: #ffffff;
}

.cctv-cta-phone a {
	color: #ffffff;
	font-weight: 700;
	text-decoration: underline;
}

/* Responsive adjustments */
@media print, screen and (max-width: 1024px) {
	.cctv-content h1 {
		font-size: 1.85rem;
	}
	.cctv-content {
		padding: 25px 20px;
	}
}

@media print, screen and (max-width: 768px) {
	.page-videonabludenie .mainbox {
		padding-top: 15px;
		padding-bottom: 30px;
	}
	.cctv-content h1 {
		font-size: 1.45rem;
		margin-bottom: 18px;
		padding-bottom: 10px;
	}
	.cctv-content {
		padding: 20px 15px;
	}
	.cctv-section-title {
		font-size: 1.35rem;
	}
	.cctv-tariff-price {
		font-size: 2.3rem;
	}
	.cctv-cta-banner {
		padding: 25px 15px;
	}
	.cctv-cta-banner h3 {
		font-size: 1.4rem;
	}
	.cctv-cta-banner p {
		font-size: 1rem;
	}
	.cctv-cta-btn {
		font-size: 1.05rem;
		padding: 12px 24px;
		width: 100%;
	}
}
