/* Mantenimiento Web (/mantenimiento-web/): ajustes propios de la página.
 * Las tarjetas, carruseles, recuadros y pasos usan components/diseno-comun.css y detalle.css. */

/* Hero: kicker centrado, subtítulo y beneficios en varias líneas */
.tc-mw-hero .tc-kicker { justify-content: center; }
:is(.entry-content, .is-root-container) .tc-mw-hero .tc-mw-sub { margin: 10px 0 16px; font-family: 'Lexend', sans-serif; font-size: 20px; font-weight: 400; line-height: 1.4; color: #ffffff; }
.tc-mw-hero .tc-dhero-chips { flex-wrap: wrap; justify-content: center; margin: 22px 0 4px; }

/* Cierre con texto superior */
.tc-mw-cierre .tc-kicker { justify-content: center; }

@media (max-width: 767px) {
	:is(.entry-content, .is-root-container) .tc-mw-hero .tc-mw-sub { font-size: 17px; }
}

/* Botón de cotización bajo los factores de precio */
:is(.entry-content, .is-root-container) .tc-dsec .tc-mw-ctas { margin-top: 26px !important; }

/* Tarjetas con profundidad: ver .tc-dw-selgrid--relieve en components/diseno-comun.css */

/* Botones de las tarjetas: una sola línea y sin cambios de tamaño en hover */
:is(.entry-content, .is-root-container) .tc-dw-selgrid .tc-dw-sel .tc-dw-btn-borde a,
:is(.entry-content, .is-root-container) .tc-dw-selgrid .tc-dw-sel .tc-dw-btn-borde a:hover,
:is(.entry-content, .is-root-container) .tc-dw-selgrid .tc-dw-sel .tc-dw-btn-borde a:focus { min-height: 42px; padding: 0 12px; font-size: 14px; font-weight: 600; white-space: nowrap; transform: none; }
.tc-dw-selgrid .tc-dw-sel .tc-dw-btn-borde a::after, .tc-dw-selgrid .tc-dw-sel .tc-dw-btn-borde a:hover::after { transform: none; }

/* Proceso en cuatro etapas */
@media (min-width: 1101px) {
	.tc-dw-pasos.tc-mw-pasos { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (min-width: 768px) and (max-width: 1100px) {
	.tc-dw-pasos.tc-mw-pasos { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Precio: texto y lista sencilla de factores */
.tc-mw-precio { max-width: 780px; margin: 0 auto; text-align: center; }
:is(.entry-content, .is-root-container) .tc-mw-precio .tc-dw-p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; color: var(--tc-c-texto); }
:is(.entry-content, .is-root-container) .tc-mw-precio .tc-mw-precio-sub { margin: 22px 0 12px; font-family: 'Lexend', sans-serif; font-size: 17px; font-weight: 500; color: #0F2830; }
:is(.entry-content, .is-root-container) .tc-mw-precio .tc-mw-factores { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 28px; margin: 0 0 24px; padding: 20px 24px; list-style: none; text-align: left; background: #ffffff; border: 1px solid #DDE3EA; border-radius: 16px; }
:is(.entry-content, .is-root-container) .tc-mw-precio .tc-mw-factores li { position: relative; margin: 0; padding-left: 26px; font-size: 15px; line-height: 1.5; color: #34404C; }
.tc-mw-factores li::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; background: #286747; -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m5 12.5 4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Cierre: enlaces secundarios discretos */
:is(.entry-content, .is-root-container) .tc-dsec .tc-mw-enlaces { margin: 14px 0 0 !important; font-size: 14px; color: rgba(255, 255, 255, .55); }
:is(.entry-content, .is-root-container) .tc-mw-enlaces a { color: rgba(255, 255, 255, .85); text-decoration: underline; text-underline-offset: 3px; }
:is(.entry-content, .is-root-container) .tc-mw-enlaces a:hover { color: #ffffff; }

@media (max-width: 767px) {
	:is(.entry-content, .is-root-container) .tc-mw-precio .tc-mw-factores { grid-template-columns: minmax(0, 1fr); padding: 18px; }
}

/* Formulario de cotización bajo el cierre, sobre fondo claro */
.tc-mw-form { max-width: 860px; margin: 40px auto 0 !important; padding: 40px 36px; background: #F4F6F8; border: 1px solid #E2E7ED; border-radius: 16px; scroll-margin-top: 110px; }
:is(.entry-content, .is-root-container) .tc-mw-form .tc-sec-title { margin-top: 0; }
:is(.entry-content, .is-root-container) .tc-mw-form .tc-sec-lead { margin-bottom: 24px; }
@media (max-width: 767px) {
	.tc-mw-form { margin-top: 28px !important; padding: 28px 16px; }
}
:is(.entry-content, .is-root-container) .tc-mw-form .tc-cf7-group label + .tc-cf7-ayuda { margin: 0 0 8px; }
.tc-mw-form .tc-cf7-form { grid-template-columns: minmax(0, 1fr); }
@media (max-width: 767px) {
	.tc-mw-form .tc-cf7-submit .wpcf7-submit { height: auto; min-height: 52px; padding: 12px 46px; white-space: normal; line-height: 1.3; }
	.tc-mw-form .tc-cf7-field select { font-size: 14px; }
}
@media (max-width: 400px) {
	.tc-mw-form { padding: 24px 10px; }
	.tc-mw-form .tc-dw-formcard { padding: 18px 12px; }
	.tc-mw-form .tc-cf7-field select { padding-left: 38px; padding-right: 30px; font-size: 13px; }
}
