/* Hosting exclusivo IA (/hosting-ia/).
 * Solo para esta página. Usa ia-comun.css (hero, listas, condiciones, preguntas frecuentes, cierre),
 * tc-dhero (detalle.css) y las tarjetas tc-dw-sel / tc-dw-recuadro de diseno-comun.css. */

/* ── Hero: ilustración vectorial y botón secundario con flecha hacia abajo ── */
.tc-hia-hero-ilus svg { display: block; width: 100%; max-width: 560px; height: auto; margin-inline: auto; }
:is(.entry-content, .is-root-container) .tc-hia-hero .tc-hia-hero-nota { margin: 14px 0 0 !important; font-size: 14px; color: rgba(255, 255, 255, .72); }
.tc-hia-hero .tc-hia-hero-nota::before { content: "✓"; margin-right: 6px; font-weight: 700; color: #5FD49A; }
.tc-hia-abajo a::after {
	-webkit-mask-image: 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E");
	        mask-image: 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.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 5v14M6 13l6 6 6-6'/%3E%3C/svg%3E");
}
.tc-hia-abajo a:hover::after { transform: translateY(3px); }
@media (max-width: 1100px) {
	.tc-hia-hero-ilus svg { max-width: 480px; }
}

/* ── Enlace complementario bajo un grupo de tarjetas ── */
:is(.entry-content, .is-root-container) .tc-hia-enlace { margin: 26px 0 0 !important; text-align: center; font-size: 15.5px; color: var(--hia-texto); }
:is(.entry-content, .is-root-container) .tc-hia-enlace a { margin-left: 6px; font-weight: 600; color: var(--tc-acento, #B9151B); text-decoration: none; white-space: nowrap; }
:is(.entry-content, .is-root-container) .tc-hia-enlace a:hover { text-decoration: underline; }

/* ── Características en bloques temáticos ── */
.tc-hia-bloques { max-width: 1000px; margin-inline: auto; }
:is(.entry-content, .is-root-container) .tc-hia-bloques .tc-dw-sel-title { margin-bottom: 14px; }
:is(.entry-content, .is-root-container) .tc-hia-nota { max-width: 1000px; margin: 22px auto 0 !important; padding: 12px 16px; text-align: center; background: #ffffff; border: 1px solid #E1E8EE; border-radius: 12px; font-size: 14.5px; line-height: 1.55; color: var(--hia-texto); }

/* ── Tecnologías compatibles ── */
.tc-hia-tecs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; max-width: 1000px; margin: 8px auto 0; }
.tc-hia-tec {
	--t-bg: #EAF1FB; --t-bd: #CCDAF0;
	display: flex; align-items: center; gap: 14px; min-height: 76px; padding: 14px 16px; box-sizing: border-box;
	background: var(--t-bg); border: 1px solid var(--t-bd); border-radius: 16px;
	box-shadow: 0 4px 12px rgba(15, 23, 42, .07); transition: transform .25s ease, box-shadow .25s ease;
}
.tc-hia-tec:nth-child(4n+2) { --t-bg: #ECEAFB; --t-bd: #D3CDF0; }
.tc-hia-tec:nth-child(4n+3) { --t-bg: #E3F3EA; --t-bd: #BFDFCC; }
.tc-hia-tec:nth-child(4n+4) { --t-bg: #FFF4E0; --t-bd: #EEDCB5; }
.tc-hia-tec svg { flex: none; width: 44px; height: 44px; padding: 10px; box-sizing: border-box; background: rgba(255, 255, 255, .8); border-radius: 12px; }
.tc-hia-tec span { font-size: 15px; font-weight: 600; line-height: 1.35; color: var(--hia-navy); }
@media (hover: hover) and (min-width: 1101px) {
	.tc-hia-tec:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(15, 23, 42, .12); }
}
.tc-hia-tec-nota { max-width: 1000px; margin: 24px auto 0 !important; }
@media (max-width: 900px) {
	.tc-hia-tecs { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
}
@media (max-width: 420px) {
	.tc-hia-tec { gap: 10px; min-height: 68px; padding: 12px; }
	.tc-hia-tec svg { width: 38px; height: 38px; padding: 8px; }
	.tc-hia-tec span { font-size: 13.5px; }
}

/* ── Modalidades de contratación ── */
.tc-hia-mods { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; max-width: 1000px; margin: 8px auto 0; }
.tc-hia-mod {
	--m-bg: #EAF1FB; --m-bd: #C7D7EF; --m-fg: #2F5B8F;
	display: flex; flex-direction: column; padding: 28px 26px 26px;
	background: var(--m-bg); border: 1px solid var(--m-bd); border-radius: 16px;
	box-shadow: 0 4px 12px rgba(15, 23, 42, .07); transition: transform .25s ease, box-shadow .25s ease;
}
.tc-hia-mod--verde { --m-bg: #E3F3EA; --m-bd: #B9DCC8; --m-fg: #2E7A55; }
.tc-hia-mod > .wp-block-group__inner-container { display: flex; flex: 1; flex-direction: column; width: 100%; max-width: none; margin: 0 !important; padding: 0 !important; }
@media (hover: hover) and (min-width: 1101px) {
	.tc-hia-mod:hover { transform: translateY(-3px); box-shadow: 0 8px 20px rgba(15, 23, 42, .12); }
}
:is(.entry-content, .is-root-container) .tc-hia-mod h3 { display: flex; align-items: center; gap: 14px; margin: 0 0 10px; font-family: 'Lexend', sans-serif; font-size: 22px; font-weight: 600; color: var(--hia-navy); }
.tc-hia-mod h3::before { content: ""; flex: none; width: 46px; height: 46px; border-radius: 12px; background: rgba(255, 255, 255, .85) var(--mod-ico) center / 22px no-repeat; box-shadow: 0 1px 2px rgba(15, 23, 42, .06); }
.tc-hia-mod--srv { --mod-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='4' width='18' height='7' rx='1.5'/%3E%3Crect x='3' y='13' width='18' height='7' rx='1.5'/%3E%3Cpath d='M7 7.5h.01M7 16.5h.01'/%3E%3C/svg%3E"); }
.tc-hia-mod--dom { --mod-ico: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3a14 14 0 0 1 0 18M12 3a14 14 0 0 0 0 18'/%3E%3C/svg%3E"); }
:is(.entry-content, .is-root-container) .tc-hia-mod .tc-hia-mod-desc { margin: 0 0 18px; font-size: 15.5px; line-height: 1.6; color: var(--hia-texto); }
.tc-hia-mod-precio { margin: 0 0 20px !important; padding: 18px 16px; text-align: center; background: #ffffff; border: 1px solid var(--m-bd); border-radius: 14px; }
:is(.entry-content, .is-root-container) .tc-hia-mod-precio p { margin: 0; }
:is(.entry-content, .is-root-container) .tc-hia-mod-monto { font-family: 'Lexend', sans-serif; font-size: 40px; font-weight: 600; line-height: 1.1; color: var(--hia-navy); }
.tc-hia-mod-monto span { font-size: 18px; font-weight: 500; color: var(--hia-texto); }
:is(.entry-content, .is-root-container) .tc-hia-mod-per { margin-top: 4px !important; font-size: 15px; font-weight: 600; color: var(--m-fg); }
:is(.entry-content, .is-root-container) .tc-hia-mod-total { display: inline-block; margin-top: 12px !important; padding: 6px 14px; background: var(--m-bg); border-radius: 999px; font-size: 14.5px; color: var(--hia-texto); }
.tc-hia-mod-total strong { color: var(--hia-navy); }
:is(.entry-content, .is-root-container) .tc-hia-mod .tc-hia-checks { margin-bottom: 24px !important; }
:is(.entry-content, .is-root-container) .tc-hia-mod .tc-hia-checks li { margin-bottom: 9px; }
:is(.entry-content, .is-root-container) .tc-hia-mod .tc-cta { margin: auto 0 0 !important; }
:is(.entry-content, .is-root-container) .tc-hia-mod .tc-cta a { width: 100%; justify-content: center; white-space: nowrap; }
:is(.entry-content, .is-root-container) .tc-hia-dominio-nota { max-width: 1000px; margin: 18px auto 16px !important; text-align: center; font-size: 14.5px; color: #5B6673; }
@media (max-width: 767px) {
	.tc-hia-mods { grid-template-columns: minmax(0, 1fr); gap: 18px; }
	.tc-hia-mod { padding: 22px 18px 20px; }
	:is(.entry-content, .is-root-container) .tc-hia-mod h3 { font-size: 20px; }
	:is(.entry-content, .is-root-container) .tc-hia-mod-monto { font-size: 34px; }
}

/* ── Importante antes de contratar ── */
.tc-hia-importante { max-width: 1000px; margin: 36px auto 0 !important; border-color: #EBDDB8; }
:is(.entry-content, .is-root-container) .tc-hia-importante h2 { margin: 6px 0 10px; font-family: 'Lexend', sans-serif; font-size: 24px; font-weight: 600; color: var(--hia-navy); }
:is(.entry-content, .is-root-container) .tc-hia-importante h3 { margin: 18px 0 12px; font-size: 16px; font-weight: 700; color: var(--hia-navy); }
:is(.entry-content, .is-root-container) .tc-hia-importante .tc-hia-checks--no { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 24px; margin: 0 0 16px; padding: 16px 18px 6px; background: rgba(255, 255, 255, .72); border-radius: 12px; }
.tc-hia-importante .tc-dw-btns { justify-content: flex-start; margin: 4px 0 14px !important; }
@media (max-width: 767px) {
	:is(.entry-content, .is-root-container) .tc-hia-importante .tc-hia-checks--no { grid-template-columns: minmax(0, 1fr); }
	.tc-hia-importante .tc-dw-btns { justify-content: center; }
}

/* ── Soporte: lista de no incluidos con ícono de exclusión ── */
.tc-hia-soporte { max-width: 1000px; margin-inline: auto; }
.tc-hia-soporte .tc-dw-sel--no li::before {
	-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'%3E%3Cpath d='m7 7 10 10M17 7 7 17'/%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'%3E%3Cpath d='m7 7 10 10M17 7 7 17'/%3E%3C/svg%3E") center / contain no-repeat;
}

/* ── Infraestructura propia: fotografía + tarjetas ── */
.tc-hia-infra { display: grid; grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); gap: 32px; align-items: center; max-width: 1100px; margin: 8px auto 0; }
.tc-hia-infra > .wp-block-group__inner-container { display: contents; }
:is(.entry-content, .is-root-container) .tc-hia-infra-img { margin: 0; padding: 26px; background: linear-gradient(160deg, #EEF3F6, #DDE7EC); border: 1px solid #D3DEE5; border-radius: 16px; }
.tc-hia-infra-img img { display: block; width: 100%; height: auto; }
.tc-hia-infra .tc-dw-selgrid { margin: 0 !important; }
@media (max-width: 1000px) {
	.tc-hia-infra { grid-template-columns: minmax(0, 1fr); gap: 24px; }
	:is(.entry-content, .is-root-container) .tc-hia-infra-img { max-width: 560px; margin-inline: auto; }
}

@media (prefers-reduced-motion: reduce) {
	.tc-hia-tec, .tc-hia-mod { transition: none; }
}
@media (max-width: 420px) {
	:is(.entry-content, .is-root-container) .tc-hia-enlace a { white-space: normal; }
}
