/* ============================================
   MANTIZ SEO FRAMEWORK - ESTILOS PRINCIPALES
   ============================================ */

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: 'Poppins', sans-serif;
	line-height: 1.6;
	color: #333;
}

/* Tipografía global forzada dentro de la plantilla */
.mantiz-page-container,
.mantiz-page-container * {
	font-family: 'Poppins', sans-serif !important;
}

/* ============================================
   CONTENEDOR PRINCIPAL
   ============================================ */

.mantiz-page-container {
	width: 100%;
	max-width: var(--mantiz-max-width, 900px);
	padding: 0;
	margin: 3em auto 0; /* 3em top, auto horizontal */
}

/* ============================================
   SECCIÓN HERO - LAYOUT DOS COLUMNAS
   ============================================ */

.mantiz-hero-section {
	background: #f5f5f5;
	padding: 30px 20px;
	margin-bottom: 40px;
}

.mantiz-hero-wrapper {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
	max-width: var(--mantiz-max-width, 900px);
	margin: 0 auto;
}

.mantiz-hero-left {
	display: flex;
	flex-direction: column;
	justify-content: center;
}

.mantiz-hero-left h2 {
	font-size: 34px;
	font-weight: 600;
	line-height: 36px;
	letter-spacing: -0.8px;
	color: #FF5503;
	margin-bottom: 15px;
}

.mantiz-hero-subtitle {
	font-size: 16px;
	font-weight: 500;
	max-width: 500px;
	color: #666;
	margin-bottom: 30px;
	line-height: 1.6;
}

.mantiz-hero-cta {
	display: flex;
	justify-content: center;
	margin-top: 20px;
	width: 100%;
}

.mantiz-cta-button {
	display: inline-block;
	background: #4FACD8;
	color: white !important;
	padding: 8px 25px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: normal !important;
	font-size: 16px;
	transition: background 0.3s ease;
	border: none;
	text-transform: capitalize;
}

.mantiz-cta-button:hover {
	background: #0075A0;
}

.mantiz-hero-right {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 300px;
	background: #fff;
	border-radius: 8px;
	overflow: hidden;
}

.mantiz-hero-cloud-label {
	margin-top: 12px;
	margin-bottom: -0.5em;
	font-size: 24px;
	font-weight: 700;
	color: #4FACD8;
	text-align: center;
}

.mantiz-hero-noinstall-label {
	margin-top: 6px;
	font-size: 16px;
	font-weight: 500;
	color: #555;
	text-align: center;
}

.mantiz-hero-image {
	width: 100%;
	height: auto;
	display: block;
	object-fit: cover;
	transform: scale(1);
	transition: transform 0.6s ease-in-out;
	will-change: transform;
}

.mantiz-hero-right:hover .mantiz-hero-image {
	transform: scale(1.03);
}
.mantiz-hero-image-placeholder {
	width: 100%;
	height: 300px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #f0f0f0;
	color: #999;
	font-size: 16px;
	text-align: center;
	padding: 20px;
}

/* ============================================
   SECCIÓN TÍTULO H2
   ============================================ */

.mantiz-section-title {
	background: #f5f5f5;
	padding: 5px 20px;
	text-align: center;
	margin-bottom: 0px;
}

.mantiz-section-title h2 {
	font-size: 20px;
	font-weight: 600;
	color: #000;
	margin-bottom: 5px;
}

/* ============================================
   SECCIÓN SHORTCODE
   ============================================ */

.mantiz-shortcode-section {
	background: #f5f5f5;
	padding: 40px 20px;
	text-align: center;
	margin-bottom: 40px;
	min-height: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ============================================
   SECCIÓN CONTENIDO PRINCIPAL
   ============================================ */

.mantiz-content-section {
	background: #f5f5f5;
	padding: 10px 20px;
	margin-bottom: 40px;
	max-width: var(--mantiz-max-width, 900px);
	margin-left: auto;
	margin-right: auto;
}

.mantiz-content-section p {
	font-size: 16px;
	line-height: 1.8;
	margin-bottom: 20px;
	color: #555;
}

.mantiz-content-section h2,
.mantiz-content-section h3 {
	margin-top: 20px;
	margin-bottom: 8px;
	color: #000;
}

.mantiz-content-section h2 {
	font-size: 24px;
	font-weight: 700;
	margin-bottom: 5px;
}

.mantiz-content-section h3 {
	font-size: 20px;
	font-weight: 600;
}

.mantiz-content-section ul,
.mantiz-content-section ol {
	margin-left: 20px;
	margin-bottom: 20px;
}

.mantiz-content-section li {
	margin-bottom: 10px;
}

/* ============================================
   SECCIÓN CTA FINAL (TOP)
   ============================================ */

.mantiz-final-cta-section-top {
	background: #f5f5f5;
	padding: 40px 20px;
	text-align: center;
	margin-bottom: 40px;
	min-height: 80px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.mantiz-final-cta-button {
	display: inline-block;
	background: #4FACD8;
	color: white !important;
	padding: 8px 25px;
	border-radius: 50px;
	text-decoration: none;
	font-weight: normal !important;
	font-size: 16px;
	transition: background 0.3s ease;
	border: none;
	text-transform: capitalize;
}

.mantiz-final-cta-button:hover {
	background: #0075A0;
}

/* ============================================
   SECCIÓN BENEFICIOS
   ============================================ */

.mantiz-benefits-section {
	background: #f5f5f5;
	padding: 40px 20px;
	margin-bottom: 40px;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.mantiz-benefits-section h2 {
	font-size: 20px;
	font-weight: 600;
	color: #000;
	margin-bottom: 18px;
	text-align: center;
}

.mantiz-benefits-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	gap: 30px;
}

.mantiz-benefit-item {
	background: white;
	padding: 30px;
	border-radius: 8px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mantiz-benefit-item:hover {
	transform: translateY(-5px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.mantiz-benefit-icon {
	display: block;
	font-size: 40px;
	margin-bottom: 15px;
	color: #ff0000;
}

.mantiz-benefit-item h3 {
	font-size: 18px;
	font-weight: 600;
	color: #000;
	margin-bottom: 6px;
}

.mantiz-benefit-item p {
	font-size: 14px;
	color: #666;
	line-height: 1.6;
}

/* ============================================
   SECCIÓN FAQ
   ============================================ */

.mantiz-faq-section {
	background: #f5f5f5;
	padding: 40px 20px;
	margin-bottom: 40px;
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.mantiz-faq-section h2 {
	font-size: 28px;
	font-weight: 700;
	color: #000;
	margin-bottom: 18px;
	margin-bottom: 30px;
	margin-bottom: 30px;
	text-align: center;
}

.mantiz-faq-container {
	display: flex;
	flex-direction: column;
	gap: 15px;
}

.mantiz-faq-item {
	background: white;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mantiz-faq-question {
	background: #f9f9f9;
	padding: 20px;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 600;
	color: #000;
	user-select: none;
	transition: background 0.3s ease;
}

.mantiz-faq-question:hover {
	background: #f0f0f0;
}

.mantiz-faq-toggle {
	font-size: 12px;
	transition: transform 0.3s ease;
}

.mantiz-faq-item.active .mantiz-faq-toggle {
	transform: rotate(180deg);
}

.mantiz-faq-answer {
	padding: 20px;
	display: none;
	background: white;
	color: #555;
	line-height: 1.8;
	font-size: 14px;
}

.mantiz-faq-item.active .mantiz-faq-answer {
	display: block;
}

/* ============================================
   CONTENIDO VACÍO
   ============================================ */

.mantiz-empty-content {
	color: #999;
	font-style: italic;
	text-align: center;
	padding: 20px;
	background: #f9f9f9;
	border-radius: 4px;
	border: 1px dashed #ddd;
}

/* ============================================
   RESPONSIVE - TABLET
   ============================================ */

@media (max-width: 768px) {
	.mantiz-hero-wrapper {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.mantiz-hero-left h2 {
		font-size: 24px;
	}

	.mantiz-hero-image-placeholder {
		min-height: 250px;
	}

	.mantiz-benefits-grid {
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		gap: 20px;
	}

	.mantiz-section-title h2 {
		font-size: 22px;
	}
}

/* ============================================
   RESPONSIVE - MOBILE
   ============================================ */

@media (max-width: 480px) {
	.mantiz-hero-section {
		padding: 30px 15px;
	}

	.mantiz-hero-left h2 {
		font-size: 20px;
	}

	.mantiz-hero-subtitle {
		font-size: 14px;
	}

	.mantiz-cta-button,
	.mantiz-final-cta-button {
		padding: 12px 30px;
		font-size: 14px;
	}

	.mantiz-benefits-grid {
		grid-template-columns: 1fr;
	}

	.mantiz-benefit-item {
		padding: 20px;
	}

	.mantiz-faq-question {
		padding: 15px;
		font-size: 14px;
	}

	.mantiz-faq-answer {
		padding: 15px;
		font-size: 13px;
	}

	.mantiz-content-section {
		padding: 20px 15px;
	}

	.mantiz-section-title h2 {
		font-size: 18px;
	}
}


/* ============================================
   AJUSTES PARA MANTIZ SEO LITE (FRONTEND)
   ============================================ */

/* Ocultar el título/nombre de la página generado por el tema en los sitios Lite */
body.single-mantiz_remote_page .entry-title,
body.single-mantiz_remote_page .page-title,
body.single-mantiz_remote_page .post-title,
body.single-mantiz_remote_page .entry-header, /* Added entry-header specifically */
body.single-mantiz_remote_page header.entry-header,
body.single-mantiz_remote_page h1:not(.mantiz-hero-title):not(.mantiz-section-title h2) {
	display: none !important;
}
