/*
Theme Name: Creador de Páginas (cdp)
Theme URI: https://creadordepaginas.com
Description: Tema hijo de Twenty Twenty-Five para creadordepaginas.com. Paleta carbón/azul, titulares Archivo y texto Inter.
Author: IND — Ingeniería de Negocios Digitales
Author URI: https://creadordepaginas.com
Template: twentytwentyfive
Version: 1.2
Requires at least: 6.5
Requires PHP: 8.0
Text Domain: cdp
*/

/*
 * Neutraliza los márgenes automáticos que el editor mete a los hijos
 * de los grupos con layout "flow" (margin-block-start:1.2rem). Así el
 * espaciado lo controlan los bloques (spacers, padding y blockGap).
 */
.wp-block-post-content .is-layout-flow > * {
	margin-block-start: 0;
	margin-block-end: 0;
}

html {
	scroll-behavior: smooth;
}

/* Evita que el texto de los botones se parta en varias líneas */
.wp-block-button__link {
	white-space: nowrap;
}

/* En móvil, el CTA del header se oculta (el hero y el pie ya lo ofrecen) */
@media (max-width: 782px) {
	.wp-block-button.cdp-header-cta {
		display: none !important;
	}
}

/* --- Cotizador (formulario) --- */
.cdp-quote-form {
	max-width: 540px;
	margin: 0 auto;
}

.cdp-quote-form form {
	background: #ffffff;
	border: 1px solid #e3e8ee;
	border-radius: 12px;
	padding: 32px;
}

.cdp-quote-form label {
	display: block;
	margin: 16px 0 6px;
	font-weight: 500;
	font-size: 14px;
	color: #0d141a;
}

.cdp-quote-form input,
.cdp-quote-form select {
	width: 100%;
	padding: 12px 14px;
	border: 1px solid #cbd3dc;
	border-radius: 8px;
	font-size: 16px;
	color: #0d141a;
	background: #ffffff;
	box-sizing: border-box;
}

.cdp-quote-form input:focus,
.cdp-quote-form select:focus {
	outline: 2px solid #1b4dff;
	outline-offset: 1px;
	border-color: #1b4dff;
}

.cdp-quote-form button[type="submit"] {
	width: 100%;
	margin-top: 24px;
	padding: 14px;
	background: #1b4dff;
	color: #ffffff;
	border: none;
	border-radius: 8px;
	font-size: 16px;
	font-weight: 600;
	cursor: pointer;
	transition: background 0.15s ease;
}

.cdp-quote-form button[type="submit"]:hover {
	background: #163fc9;
}

.cdp-quote-form .payment-options {
	margin-top: 6px;
}

.cdp-quote-form .payment-options label {
	display: inline;
	margin-left: 6px;
	font-weight: 400;
}

.cdp-quote-form .total-price {
	margin-top: 12px;
	font-weight: 600;
	color: #1b4dff;
	text-align: center;
}

.cdp-quote-form .cdp-form-note {
	text-align: center;
	font-size: 12px;
	color: #6b7684;
	margin-top: 16px;
}
