/* ==== Aviso de transparencia IA ==== */
.gsc-ai-notice {
	font-size: 13px;
	color: #6b7280;
	border-left: 3px solid #d1d5db;
	padding: 8px 14px;
	background: #f9fafb;
	margin: 0 0 20px;
}

/* ==== HERO ==== */
.gsc-hero {
	padding: 64px 24px;
	text-align: center;
	border-radius: 0 0 24px 24px;
	margin-bottom: 0 !important;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	box-sizing: border-box;
}
.gsc-hero-title {
	font-size: clamp(28px, 5vw, 44px);
	margin: 0 0 16px;
	font-weight: 800;
	line-height: 1.15;
}
.gsc-hero-subtitle {
	font-size: clamp(15px, 2vw, 19px);
	max-width: 640px;
	margin: 0 auto 28px;
	opacity: .95;
}
.gsc-hero-cta { margin: 0; }

/* ==== Botones de contacto (compartidos hero + CTA final) ==== */
.gsc-btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 14px 26px;
	margin: 6px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	font-size: 15px;
	transition: transform .15s ease, box-shadow .15s ease;
	box-shadow: 0 4px 14px rgba(0,0,0,.15);
}
.gsc-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 22px rgba(0,0,0,.22); }

.gsc-btn-whatsapp { background: #25D366; color: #fff; }
.gsc-btn-phone    { background: #111827; color: #fff; }
.gsc-btn-email    { background: #6b7280; color: #fff; }
.gsc-btn-reviews  { color: #fff; }

.gsc-btn-inverted.gsc-btn-whatsapp { background: #ffffff; color: #128c3f; }
.gsc-btn-inverted.gsc-btn-phone    { background: #ffffff; color: #111827; }
.gsc-btn-inverted.gsc-btn-email    { background: rgba(255,255,255,.15); color: #fff; border: 2px solid #fff; }

/* ==== Secciones generales ==== */
.gsc-section {
	padding: 56px 24px;
	max-width: 980px;
	margin: 0 auto;
}
.gsc-section-alt {
	background: #f8fafc;
	border-radius: 0;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	box-sizing: border-box;
}
.gsc-section-alt > * {
	max-width: 980px;
	margin-left: auto;
	margin-right: auto;
}

/* ==== Tarjetas de servicios ==== */
.gsc-services-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
	gap: 18px;
	margin-top: 28px;
}
.gsc-service-card {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 14px;
	padding: 24px 18px;
	text-align: center;
	box-shadow: 0 2px 8px rgba(0,0,0,.04);
	transition: transform .15s ease, box-shadow .15s ease;
}
.gsc-service-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 10px 24px rgba(0,0,0,.08);
}
.gsc-service-icon {
	font-size: 26px;
	margin: 0 0 8px;
	font-weight: 800;
}
.gsc-service-name {
	font-weight: 700;
	margin: 0;
}

/* ==== Panel destacado (¿Por qué elegirnos?) ==== */
.gsc-highlight-panel {
	max-width: 980px;
	margin: 40px auto;
	padding: 28px 32px;
	background: #fff;
	border-left-width: 4px;
	border-left-style: solid;
	border-radius: 4px;
	box-shadow: 0 2px 10px rgba(0,0,0,.05);
}

/* ==== Mapa + reseñas ==== */
.gsc-maps-reviews-columns { align-items: center; gap: 32px; }
.gsc-maps-col iframe { width: 100%; min-height: 280px; border-radius: 12px; border: none; }
.gsc-maps-link {
	display: inline-block;
	font-weight: 700;
	text-decoration: none;
}
.gsc-reviews-col { text-align: center; }
.gsc-reviews-copy { font-size: 18px; font-weight: 600; margin-bottom: 16px; }

/* ==== Vídeo YouTube ==== */
.gsc-video-embed {
	max-width: 780px;
	margin: 24px auto 0;
	border-radius: 14px;
	overflow: hidden;
}

/* ==== Redes sociales ==== */
.gsc-social-links { margin: 20px 0; }
.gsc-social-btn {
	display: inline-block;
	margin: 4px 6px;
	padding: 8px 18px;
	border-radius: 999px;
	background: #eef2ff;
	color: #3730a3;
	text-decoration: none;
	font-weight: 700;
	font-size: 14px;
}

/* ==== FAQ acordeón ==== */
.gsc-faq-list { max-width: 780px; margin: 28px auto 0; }
.gsc-faq-item {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 14px 18px;
	margin-bottom: 10px;
}
.gsc-faq-item summary {
	cursor: pointer;
	font-weight: 700;
	list-style: none;
}
.gsc-faq-item summary::-webkit-details-marker { display: none; }
.gsc-faq-item summary::after {
	content: '+';
	float: right;
	font-size: 20px;
	font-weight: 700;
}
.gsc-faq-item[open] summary::after { content: '\2212'; }
.gsc-faq-item p { margin: 12px 0 0; color: #444; }

/* ==== CTA final ==== */
.gsc-cta-banner {
	padding: 56px 24px;
	text-align: center;
	border-radius: 24px 24px 0 0;
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
	box-sizing: border-box;
}

/* ==== Contacto inline (compatibilidad) ==== */
.gsc-contact-inline {
	background: #f0f9ff;
	border-radius: 8px;
	padding: 14px 18px;
}
.gsc-contact-inline a { font-weight: 700; text-decoration: none; }

/* ==== Responsive ==== */
.gsc-page, .gsc-page * { box-sizing: border-box; }
.gsc-page { overflow-x: hidden; max-width: 100%; }
.gsc-page img, .gsc-page iframe, .gsc-page video {
	max-width: 100%;
	height: auto;
}
.gsc-page p, .gsc-page h1, .gsc-page h2, .gsc-page h3 {
	overflow-wrap: break-word;
	word-wrap: break-word;
}
.gsc-maps-reviews-columns.wp-block-columns {
	flex-wrap: wrap;
}

@media (max-width: 782px) {
	.gsc-hero { padding: 44px 18px; border-radius: 0; }
	.gsc-section { padding: 40px 18px; }
	.gsc-cta-banner { padding: 40px 18px; border-radius: 0; }
	.gsc-maps-reviews-columns,
	.gsc-maps-reviews-columns.wp-block-columns {
		flex-direction: column;
	}
	.gsc-maps-reviews-columns .wp-block-column {
		flex-basis: 100% !important;
		width: 100% !important;
	}
	.gsc-btn { width: 100%; justify-content: center; margin: 6px 0; }
	.gsc-hero-cta, .gsc-cta-banner p { display: flex; flex-direction: column; }
	.gsc-services-grid { grid-template-columns: 1fr; }
	.gsc-section > p, .gsc-section-alt > p, .gsc-hero-subtitle {
		text-align: left; /* en pantallas estrechas, justificar deja huecos feos entre pocas palabras */
	}
}

@media (max-width: 480px) {
	.gsc-hero-title { font-size: 26px; }
}

/* =========================================================
   PLANTILLAS VISUALES (6 estilos distintos sobre la misma
   estructura de bloques, activados por .gsc-tpl-N en el
   contenedor raíz de la página generada)
   ========================================================= */

/* ---- tpl-1: Moderno Minimal (estilo base ya definido arriba) ---- */

/* ---- tpl-2: Gradiente Bold ---- */
.gsc-tpl-2 .gsc-hero,
.gsc-tpl-2 .gsc-cta-banner {
	position: relative;
	overflow: hidden;
}
.gsc-tpl-2 .gsc-hero::before,
.gsc-tpl-2 .gsc-cta-banner::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(255,255,255,.18) 0%, rgba(0,0,0,.28) 100%);
	pointer-events: none;
}
.gsc-tpl-2 .gsc-hero-title { font-size: clamp(34px, 7vw, 56px); font-weight: 900; letter-spacing: -1px; }
.gsc-tpl-2 .gsc-service-card { border-radius: 24px; border: none; }
.gsc-tpl-2 .gsc-btn { border-radius: 12px; font-weight: 800; }
.gsc-tpl-2 .gsc-hero, .gsc-tpl-2 .gsc-cta-banner { border-radius: 0; }

/* ---- tpl-3: Corporate Elegante ---- */
.gsc-tpl-3 .gsc-hero,
.gsc-tpl-3 .gsc-cta-banner {
	background: #0f172a !important;
	border-radius: 0;
}
.gsc-tpl-3 .gsc-hero-title,
.gsc-tpl-3 h2 {
	font-family: Georgia, 'Times New Roman', serif;
	font-weight: 700;
}
.gsc-tpl-3 .gsc-hero-subtitle { font-family: Georgia, serif; }
.gsc-tpl-3 .gsc-service-card,
.gsc-tpl-3 .gsc-faq-item,
.gsc-tpl-3 .gsc-highlight-panel {
	border-radius: 2px;
	box-shadow: none;
	border: 1px solid #d1d5db;
}
.gsc-tpl-3 .gsc-btn { border-radius: 2px; letter-spacing: .5px; text-transform: uppercase; font-size: 13px; }
.gsc-tpl-3 .gsc-section-alt { background: #f1f5f9; }

/* ---- tpl-4: Creativo Asimétrico ---- */
.gsc-tpl-4 .gsc-hero {
	clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
	border-radius: 0;
}
.gsc-tpl-4 .gsc-service-card:nth-child(odd) { transform: rotate(-1.5deg); }
.gsc-tpl-4 .gsc-service-card:nth-child(even) { transform: rotate(1.5deg); }
.gsc-tpl-4 .gsc-service-card { border-radius: 4px 24px 4px 24px; border: none; }
.gsc-tpl-4 .gsc-service-card:hover { transform: rotate(0deg) translateY(-4px) scale(1.03); }
.gsc-tpl-4 .gsc-highlight-panel { border-radius: 4px 28px 4px 28px; }
.gsc-tpl-4 .gsc-btn { border-radius: 4px 16px 4px 16px; }
.gsc-tpl-4 .gsc-cta-banner { clip-path: polygon(0 8%, 100% 0, 100% 100%, 0 100%); border-radius: 0; }

/* ---- tpl-5: Cards Dashboard ---- */
.gsc-tpl-5 .gsc-section > h2,
.gsc-tpl-5 .gsc-section-alt > h2 {
	display: inline-block;
	background: #eef2ff;
	color: #3730a3;
	padding: 6px 16px;
	border-radius: 999px;
	font-size: 14px;
	text-transform: uppercase;
	letter-spacing: .5px;
}
.gsc-tpl-5 .gsc-section,
.gsc-tpl-5 .gsc-section-alt {
	max-width: 1100px;
}
.gsc-tpl-5 .gsc-highlight-panel,
.gsc-tpl-5 .gsc-faq-item {
	border-radius: 18px;
	box-shadow: 0 4px 16px rgba(0,0,0,.06);
	border: none;
}
.gsc-tpl-5 .gsc-service-card { border-radius: 18px; box-shadow: 0 4px 16px rgba(0,0,0,.06); border: none; }
.gsc-tpl-5 .gsc-hero { border-radius: 0 0 40px 40px; }
.gsc-tpl-5 .gsc-cta-banner { border-radius: 40px 40px 0 0; }

/* ---- tpl-6: Natural Orgánico ---- */
.gsc-tpl-6 .gsc-hero { border-radius: 0 0 60px 60px; }
.gsc-tpl-6 .gsc-cta-banner { border-radius: 60px 60px 0 0; }
.gsc-tpl-6 .gsc-service-card {
	border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
	border: none;
	box-shadow: 0 6px 18px rgba(0,0,0,.06);
}
.gsc-tpl-6 .gsc-service-icon { font-size: 30px; }
.gsc-tpl-6 .gsc-btn { border-radius: 999px; }
.gsc-tpl-6 .gsc-section-alt { background: #fdf6ec; }
.gsc-tpl-6 .gsc-highlight-panel { border-radius: 0 40px 0 40px; }
.gsc-tpl-6 .gsc-faq-item { border-radius: 20px; border: none; box-shadow: 0 3px 10px rgba(0,0,0,.05); }

/* ---- Descripción de servicio (usada en varias plantillas) ---- */
.gsc-service-desc { font-size: 13px; color: #6b7280; margin-top: 4px; }

/* ==== Alineación justificada para párrafos de contenido ==== */
.gsc-section > p,
.gsc-section-alt > p,
.gsc-highlight-panel p,
.gsc-faq-item p,
.gsc-hero-subtitle {
	text-align: justify;
	text-justify: inter-word;
	hyphens: auto;
}
/* Los títulos, botones y elementos centrados NO se justifican. */
.gsc-hero-title, .gsc-hero-cta, .gsc-cta-banner h2,
.gsc-service-name, .gsc-service-icon, .gsc-faq-item summary,
.gsc-social-links, .gsc-reviews-copy {
	text-align: inherit;
}

/* Refuerzo de ancho completo por si el tema no soporta bien alignfull */
.gsc-page.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-left: calc(50% - 50vw);
	margin-right: calc(50% - 50vw);
}
