/* ¿Por qué elegir a Tecreamos.cl? (/por-que-elegir-tecreamos/)
   Usa las secciones de pages/detalle.css (hero, secciones, tarjetas, hablemos)
   y suma aquí listas, tablas, cuadros destacados y pastillas propios de esta página. */

/* Hero con imagen a la derecha */
:is(.entry-content, .is-root-container) .tc-pq-hero-sub { margin: 0 0 14px; font-family: 'Lexend', sans-serif; font-size: 22px; font-weight: 500; line-height: 1.35; color: #ffffff; }
.tc-pq-hero-chips { flex-wrap: wrap; }
:is(.entry-content, .is-root-container) .tc-pq-hero-img { margin: 0; }
.tc-pq-hero-img img { display: block; width: 100%; height: auto; border-radius: 20px; box-shadow: 0 24px 48px rgba(0, 0, 0, .35); border: 1px solid rgba(255, 255, 255, .14); }

/* Texto corrido y subtítulos dentro de una sección */
:is(.entry-content, .is-root-container) .tc-pq-text { margin: 0 0 14px; font-size: 16px; line-height: 1.7; color: var(--tc-c-texto); }
:is(.entry-content, .is-root-container) .tc-pq-small { margin-top: 16px; font-size: 14.5px; }
:is(.entry-content, .is-root-container) .tc-pq-sub { margin: 48px 0 16px; font-size: 21px; font-weight: 600; color: var(--tc-c-navy); }

/* Lista con check rojo */
.tc-pq-list { display: grid; gap: 12px; }
:is(.entry-content, .is-root-container) .tc-pq-li { position: relative; margin: 0; padding-left: 32px; font-size: 15.5px; line-height: 1.55; color: var(--tc-c-texto); }
.tc-pq-li::before {
	content: "";
	position: absolute;
	left: 0;
	top: 2px;
	width: 20px;
	height: 20px;
	border-radius: 50%;
	background: var(--tc-acento-tinte) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23B9151B' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 12px no-repeat;
}

/* Lista a la izquierda + cuadro destacado a la derecha */
.tc-pq-split { display: grid; grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr); gap: 40px; align-items: center; }
:is(.entry-content, .is-root-container) .tc-pq-split > * { margin: 0; }

/* Cuadro destacado petróleo con ícono rojo */
.tc-pq-destacado {
	position: relative;
	padding: 92px 28px 28px;
	border-radius: 20px;
	background: linear-gradient(135deg, #071318 0%, #0D2730 55%, #123A46 100%);
	border-left: 5px solid var(--tc-acento);
	box-shadow: 0 14px 30px rgba(13, 39, 48, .22);
}
.tc-pq-destacado::before { content: ""; position: absolute; left: 28px; top: 26px; width: 50px; height: 50px; border-radius: 15px; background: var(--tc-acento-grad); box-shadow: 0 8px 18px rgba(0, 0, 0, .3); }
.tc-pq-destacado::after { content: ""; position: absolute; left: 42px; top: 40px; width: 22px; height: 22px; background: #ffffff; -webkit-mask: var(--tc-ico) center / contain no-repeat; mask: var(--tc-ico) center / contain no-repeat; }
:is(.entry-content, .is-root-container) .tc-pq-destacado-title { margin: 0 0 8px; font-size: 21px; font-weight: 600; color: #ffffff; }
:is(.entry-content, .is-root-container) .tc-pq-destacado-text { margin: 0; font-size: 15.5px; line-height: 1.65; color: #D5DEE4; }
.tc-pq-destacado-text strong { color: #ffffff; }
.tc-pq-destacado--ancho { margin-top: 32px; padding: 26px 28px 26px 104px; }
.tc-pq-destacado--ancho::before { top: 50%; margin-top: -25px; }
.tc-pq-destacado--ancho::after { top: 50%; margin-top: -11px; }

/* Cajas blancas con título e ícono (dos columnas) */
.tc-pq-boxes { align-items: stretch; }
.tc-pq-box {
	position: relative;
	padding: 28px 28px 26px;
	background: #ffffff;
	border: 1.5px solid #C5CBD6;
	border-radius: 18px;
	box-shadow: var(--tc-sombra);
}
:is(.entry-content, .is-root-container) .tc-pq-box-title { display: flex; align-items: center; gap: 12px; margin: 0 0 18px; font-size: 19px; font-weight: 600; color: var(--tc-c-navy); }
.tc-pq-box-title::before { content: ""; flex: none; width: 40px; height: 40px; border-radius: 12px; background: var(--tc-acento-tinte); }
.tc-pq-box::after { content: ""; position: absolute; left: 38px; top: 38px; width: 20px; height: 20px; background: var(--tc-acento); -webkit-mask: var(--tc-ico) center / contain no-repeat; mask: var(--tc-ico) center / contain no-repeat; }

/* Pastillas */
.tc-pq-chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 20px; }
:is(.entry-content, .is-root-container) .tc-pq-chip { display: inline-flex; align-items: center; gap: 8px; margin: 0; padding: 9px 16px; background: #ffffff; border: 1.5px solid #C5CBD6; border-radius: 999px; font-size: 14.5px; font-weight: 500; color: var(--tc-c-navy); }
.tc-pq-chip::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--tc-acento); }

/* Nota al pie de una tabla o grilla */
:is(.entry-content, .is-root-container) .tc-pq-nota { margin: 18px 0 0; padding: 14px 18px; background: var(--tc-acento-tinte); border: 1px solid var(--tc-acento-borde); border-radius: 12px; font-size: 14.5px; line-height: 1.6; color: var(--tc-c-navy); }

/* Tablas (hechas con grupos) */
.tc-pq-tabla { overflow: hidden; background: #ffffff; border: 1.5px solid #C5CBD6; border-radius: 16px; box-shadow: var(--tc-sombra); }
.tc-pq-tr { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.6fr); }
.tc-pq-tabla--3 .tc-pq-tr { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(0, 1fr); }
.tc-pq-tr:nth-child(odd):not(.tc-pq-th) { background: #F6F8FA; }
:is(.entry-content, .is-root-container) .tc-pq-td { margin: 0; padding: 14px 20px; font-size: 15px; line-height: 1.5; color: var(--tc-c-texto); }
:is(.entry-content, .is-root-container) .tc-pq-td:first-child { font-weight: 600; color: var(--tc-c-navy); }
.tc-pq-th { background: #0D2730; }
:is(.entry-content, .is-root-container) .tc-pq-th .tc-pq-td { padding-block: 15px; font-family: 'Lexend', sans-serif; font-size: 14px; font-weight: 600; letter-spacing: .02em; color: #ffffff; }
.tc-pq-comp .tc-pq-tr > :not(:first-child) { text-align: center; }
.tc-pq-comp .tc-pq-tr > :nth-child(2) { background: rgba(185, 21, 27, .05); }
.tc-pq-comp .tc-pq-th > :nth-child(2) { background: var(--tc-acento); }
.tc-pq-si { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--tc-c-navy); }
.tc-pq-si::before { content: "✓"; color: #16A34A; font-weight: 800; }
.tc-pq-ficha .tc-pq-tr { grid-template-columns: minmax(0, .8fr) minmax(0, 1.4fr); }
.tc-pq-ctas { padding-top: 10px; }

/* Responsivo */
@media (max-width: 1024px) {
	.tc-pq-split { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.tc-pq-hero-img { max-width: 560px; }
}
@media (max-width: 767px) {
	:is(.entry-content, .is-root-container) .tc-pq-hero-sub { font-size: 19px; }
	:is(.entry-content, .is-root-container) .tc-pq-sub { margin-top: 36px; font-size: 19px; }
	.tc-pq-tr, .tc-pq-ficha .tc-pq-tr { grid-template-columns: minmax(0, 1fr); }
	.tc-pq-tabla--2 .tc-pq-th { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
	:is(.entry-content, .is-root-container) .tc-pq-td { padding: 10px 16px; }
	:is(.entry-content, .is-root-container) .tc-pq-td:first-child { padding-bottom: 2px; }
	.tc-pq-tabla--3 .tc-pq-tr { grid-template-columns: minmax(0, 1.4fr) minmax(0, .8fr) minmax(0, 1fr); }
	:is(.entry-content, .is-root-container) .tc-pq-tabla--3 .tc-pq-td { padding: 10px 10px; font-size: 13.5px; }
	.tc-pq-destacado { padding: 88px 22px 24px; }
	.tc-pq-destacado--ancho { padding: 88px 22px 24px; }
	.tc-pq-destacado--ancho::before { top: 24px; margin-top: 0; }
	.tc-pq-destacado--ancho::after { top: 38px; margin-top: 0; }
	.tc-pq-box { padding: 22px 20px; }
	.tc-pq-box::after { left: 30px; top: 32px; }
}

/* Separación vertical entre bloques (el tema anula los márgenes de los grupos tc-*) */
:is(.entry-content, .is-root-container) .tc-dsec .tc-pq-sub { margin: 0; padding: 56px 0 16px; }
:is(.entry-content, .is-root-container) .tc-dsec .tc-pq-nota { margin-top: 24px !important; }
:is(.entry-content, .is-root-container) .tc-dsec .tc-pq-small { margin-top: 0; padding-top: 18px; }
:is(.entry-content, .is-root-container) .tc-dsec .tc-pq-destacado--ancho { margin-top: 40px !important; }
:is(.entry-content, .is-root-container) .tc-dsec .tc-pq-sub + .tc-pq-tabla,
:is(.entry-content, .is-root-container) .tc-dsec .tc-pq-sub + .tc-pq-chips { margin-top: 4px; }
:is(.entry-content, .is-root-container) .tc-dsec .tc-pq-chips { margin-bottom: 0; padding-bottom: 8px; }
:is(.entry-content, .is-root-container) .tc-dsec .tc-pq-chips + .tc-pq-text { padding-top: 18px; }
:is(.entry-content, .is-root-container) .tc-dsec .tc-sec-lead + .tc-pq-chips { margin-top: 0; }
@media (max-width: 767px) {
	:is(.entry-content, .is-root-container) .tc-dsec .tc-pq-sub { padding-top: 40px; }
}
.tc-pq-split--top { align-items: start; }
:is(.entry-content, .is-root-container) .tc-pq-col .tc-pq-ctas { padding-top: 14px; justify-content: flex-start; }
