/* Antes de contratar diseño web (/antes-de-contratar-diseno-web/) */

/* Hero plano #0F2830 sin imagen (estilo Preguntas Frecuentes) */
.tc-pf-hero { background: #0F2830; }
.tc-pf-hero::before, .tc-pf-hero::after, .tc-pf-hero .tc-dhero-inner::before { display: none; }
.tc-ac-hero .tc-dhero-inner { grid-template-columns: minmax(0, 1fr) !important; max-width: 900px; margin-inline: auto; text-align: center; }
:is(.entry-content, .is-root-container) .tc-ac-hero .tc-dhero-intro { max-width: 760px; margin-inline: auto; }
:is(.entry-content, .is-root-container) .tc-ac-hero .tc-dhero-intro + .tc-dhero-intro { margin-top: 14px !important; }

/* Íconos propios */
.tc-ac-ico-key { --tc-ico: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='7.5' cy='15.5' r='4.5'/%3E%3Cpath d='m10.7 12.3 9.8-9.8M17 6l3 3M14.5 8.5l2 2'/%3E%3C/svg%3E"); }
.tc-ac-ico-life { --tc-ico: 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' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Ccircle cx='12' cy='12' r='4'/%3E%3Cpath d='m5.6 5.6 3.6 3.6M14.8 14.8l3.6 3.6M14.8 9.2l3.6-3.6M5.6 18.4l3.6-3.6'/%3E%3C/svg%3E"); }

/* Ícono en cuadro (rojo por defecto, petróleo en errores) */
.tc-ac-q, .tc-ac-card, .tc-ac-err, .tc-ac-feat, .tc-ac-box--info { position: relative; }
:is(.tc-ac-q, .tc-ac-card, .tc-ac-err, .tc-ac-feat, .tc-ac-box--info)::before { content: ""; position: absolute; width: 44px; height: 44px; border-radius: 12px; background: var(--tc-acento-tinte); }
:is(.tc-ac-q, .tc-ac-card, .tc-ac-err, .tc-ac-feat, .tc-ac-box--info)::after { content: ""; position: absolute; width: 22px; height: 22px; background: var(--tc-acento); -webkit-mask: var(--tc-ico) center / contain no-repeat; mask: var(--tc-ico) center / contain no-repeat; }

/* 02 · Cuatro preguntas */
:is(.entry-content, .is-root-container) .tc-ac-sec-q .tc-sec-title { margin-bottom: 36px !important; }
.tc-ac-qgrid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; align-items: stretch; }
.tc-ac-q { display: flex; align-items: flex-start; padding: 84px 24px 26px; background: #ffffff; border: 1px solid #DDE3EA; border-radius: 16px; text-align: center; justify-content: center; }
.tc-ac-q::before { left: 50%; top: 24px; width: 48px; height: 48px; margin-left: -24px; }
.tc-ac-q::after { left: 50%; top: 36px; width: 24px; height: 24px; margin-left: -12px; }
:is(.entry-content, .is-root-container) .tc-ac-q-text { margin: 0; font-family: 'Lexend', sans-serif; font-size: 17px; font-weight: 500; line-height: 1.45; color: var(--tc-c-navy); }

/* Texto común */
:is(.entry-content, .is-root-container) .tc-ac-p { margin: 0 0 14px; font-size: 16px; line-height: 1.7; color: var(--tc-c-texto); }
:is(.entry-content, .is-root-container) .tc-ac-p:last-child { margin-bottom: 0; }
:is(.entry-content, .is-root-container) .tc-ac-p strong { color: var(--tc-c-navy); }
:is(.entry-content, .is-root-container) .tc-dsec .tc-ac-intro { max-width: 820px; margin: 0 auto 36px !important; }
.tc-ac-intro--centro { text-align: center; }
:is(.entry-content, .is-root-container) .tc-ac-h3 { margin: 0 0 18px; font-size: 21px; font-weight: 600; line-height: 1.35; color: var(--tc-c-navy); }
:is(.entry-content, .is-root-container) .tc-dsec .tc-ac-h3--centro { margin-top: 48px !important; text-align: center; }
:is(.entry-content, .is-root-container) .tc-dsec .tc-ac-sub { margin: 0 0 22px !important; font-size: 17px; font-weight: 600; text-align: center; color: var(--tc-c-navy); }
:is(.entry-content, .is-root-container) .tc-dsec .tc-ac-cierre-txt { max-width: 820px; margin: 28px auto 0 !important; font-size: 16px; line-height: 1.7; text-align: center; color: var(--tc-c-texto); }
:is(.entry-content, .is-root-container) .tc-dsec .tc-ac-cierre-txt + .tc-ac-cierre-txt { margin-top: 10px !important; }
:is(.entry-content, .is-root-container) .tc-ac-cierre-txt a { color: var(--tc-acento); font-weight: 600; }

/* Lista con check */
.tc-ac-list { display: grid; gap: 10px; }
.tc-ac-list--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 24px; }
:is(.entry-content, .is-root-container) .tc-ac-li { position: relative; margin: 0; padding-left: 28px; font-size: 15.5px; line-height: 1.5; color: var(--tc-c-texto); }
.tc-ac-li::before, .tc-ac-check-item::before { content: ""; position: absolute; left: 0; top: 3px; width: 17px; height: 17px; background: #16A34A; -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='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-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='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / contain no-repeat; }

/* Imagen + contenido */
.tc-ac-split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; }
:is(.entry-content, .is-root-container) :is(.tc-ac-split-img, .tc-ac-srv-img) { margin: 0; }
:is(.tc-ac-split-img, .tc-ac-srv-img) img { display: block; width: 100%; height: auto; border-radius: 18px; }
:is(.entry-content, .is-root-container) .tc-ac-split-body .tc-ac-list { margin: 4px 0 18px; }
:is(.entry-content, .is-root-container) .tc-ac-p--cierre { margin-top: 0; }
.tc-ac-split--srv { grid-template-columns: minmax(0, .9fr) minmax(0, 1.1fr); }
.tc-ac-srv-img img { border-radius: 16px; }

/* 04 · Dos cajas */
.tc-ac-g2 { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 24px; align-items: stretch; }
.tc-ac-box { padding: 30px; background: #ffffff; border: 1.5px solid #C5CBD6; border-radius: 18px; }
.tc-ac-box--info { padding-top: 92px; background: #F6F8FA; border: 1px solid #DDE3EA; }
.tc-ac-box--info::before { left: 30px; top: 30px; }
.tc-ac-box--info::after { left: 41px; top: 41px; }
:is(.entry-content, .is-root-container) .tc-ac-box-title { margin: 0 0 14px; font-size: 21px; font-weight: 600; color: var(--tc-c-navy); }

/* 05 · Imagen comparativa y tabla */
:is(.entry-content, .is-root-container) .tc-dsec .tc-ac-comp { margin: 8px 0 40px !important; text-align: center; }
.tc-ac-comp a { display: block; }
.tc-ac-comp img { display: block; width: 100%; max-width: 100%; height: auto; margin-inline: auto; border-radius: 16px; }
.tc-ac-comp figcaption { display: none; }
.tc-ac-tabla { max-width: 980px; margin: 0 auto; overflow: hidden; background: #ffffff; border: 1px solid #DDE3EA; border-radius: 14px; }
.tc-ac-tr { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid #E6EAF0; }
.tc-ac-th { border-top: 0; background: #0F2830; }
:is(.entry-content, .is-root-container) .tc-ac-td { margin: 0; padding: 14px 18px; font-size: 15px; line-height: 1.45; color: var(--tc-c-texto); }
:is(.entry-content, .is-root-container) .tc-ac-td:first-child { font-weight: 600; color: var(--tc-c-navy); }
:is(.entry-content, .is-root-container) .tc-ac-td:last-child { font-weight: 600; color: var(--tc-c-navy); background: #EEF5F7; }
:is(.entry-content, .is-root-container) .tc-ac-th .tc-ac-td { font-weight: 600; color: #ffffff; background: transparent; }
:is(.entry-content, .is-root-container) .tc-ac-th .tc-ac-td:last-child { background: #16404B; }
.tc-ac-tabla, .tc-ac-benef { box-sizing: border-box; }
:is(.entry-content, .is-root-container) .tc-dsec .tc-ac-benef { max-width: 980px; margin: 44px auto 0 !important; padding: 30px; background: #ffffff; border: 1.5px solid #C5CBD6; border-radius: 18px; }

/* 06 · Tarjetas */
.tc-ac-grid3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.tc-ac-card { padding: 84px 24px 24px; background: #ffffff; border: 1px solid #DDE3EA; border-radius: 16px; }
.tc-ac-card::before { left: 24px; top: 24px; }
.tc-ac-card::after { left: 35px; top: 35px; }
:is(.entry-content, .is-root-container) .tc-ac-card-title { margin: 0 0 6px; font-size: 18px; font-weight: 600; line-height: 1.35; color: var(--tc-c-navy); }
:is(.entry-content, .is-root-container) .tc-ac-card-text { margin: 0; font-size: 15px; line-height: 1.6; color: var(--tc-c-texto); }

/* 07 · Errores numerados (tono petróleo, sin rojo) */
.tc-ac-errgrid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px; }
.tc-ac-err { padding: 28px 28px 28px 96px; background: #ffffff; border: 1px solid #DDE3EA; border-radius: 18px; }
.tc-ac-err::before { left: 28px; top: 28px; background: #E3EEF1; }
.tc-ac-err::after { left: 39px; top: 39px; background: #16404B; }
:is(.entry-content, .is-root-container) .tc-ac-err-num { margin: 0 0 4px; font-family: 'Lexend', sans-serif; font-size: 13px; font-weight: 700; letter-spacing: .08em; color: #16404B; }
:is(.entry-content, .is-root-container) .tc-ac-err-num::before { content: "Error "; }
:is(.entry-content, .is-root-container) .tc-ac-err-title { margin: 0 0 12px; font-size: 19px; font-weight: 600; line-height: 1.35; color: var(--tc-c-navy); }
:is(.entry-content, .is-root-container) .tc-ac-err .tc-ac-p { margin-bottom: 10px; font-size: 15px; line-height: 1.65; }

/* 08 · Lista de comprobación */
.tc-ac-check { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px 28px; max-width: 1000px; margin: 0 auto; padding: 34px; background: #ffffff; border: 1.5px solid #C5CBD6; border-radius: 18px; }
:is(.entry-content, .is-root-container) .tc-ac-check-item { position: relative; margin: 0; padding: 12px 14px 12px 44px; background: #F6F8FA; border-radius: 10px; font-size: 15.5px; line-height: 1.45; color: var(--tc-c-navy); }
.tc-ac-check-item::before { left: 16px; top: 15px; }
.tc-ac-check-n { font-weight: 700; color: #16404B; }

/* 09 · Tecnología */
.tc-ac-featgrid { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; }
.tc-ac-featgrid > .tc-ac-feat { box-sizing: border-box; flex: 0 0 calc((100% - 48px) / 4); }
.tc-ac-feat { display: flex; align-items: center; min-height: 76px; padding: 16px 18px 16px 76px; background: #ffffff; border: 1px solid #DDE3EA; border-radius: 14px; }
.tc-ac-feat::before { left: 16px; top: 50%; margin-top: -22px; }
.tc-ac-feat::after { left: 27px; top: 50%; margin-top: -11px; }
:is(.entry-content, .is-root-container) .tc-ac-feat-text { margin: 0; font-size: 15px; font-weight: 500; line-height: 1.4; color: var(--tc-c-navy); }
:is(.entry-content, .is-root-container) .tc-dsec .tc-ac-destacado { max-width: 820px; margin: 24px auto 0 !important; padding: 20px 24px; background: linear-gradient(135deg, #071318 0%, #0D2730 55%, #123A46 100%); border-left: 5px solid var(--tc-acento); border-radius: 14px; font-size: 18px; line-height: 1.5; color: #D5DEE4; text-align: center; }
.tc-ac-destacado strong { color: #ffffff; }
:is(.entry-content, .is-root-container) .tc-ac-destacado { font-weight: 600; color: #ffffff; }

/* 10 · Inversión */
.tc-ac-inversion { text-align: center; }
:is(.entry-content, .is-root-container) .tc-ac-inversion .tc-cierre-text { margin-bottom: 14px; }
:is(.entry-content, .is-root-container) .tc-ac-frase { margin: 26px auto 0; max-width: 660px; font-family: 'Lexend', sans-serif; font-size: 20px; font-weight: 600; line-height: 1.45; color: #ffffff; }

/* 11 · Cierre */
.tc-pf-cierre { text-align: center; }
:is(.entry-content, .is-root-container) .tc-pf-cierre .tc-cierre-text { margin-bottom: 14px; }
:is(.entry-content, .is-root-container) .tc-pf-cierre .tc-ctas { margin-top: 26px; }
:is(.entry-content, .is-root-container) .tc-dsec .tc-qi-contacto { margin: 26px 0 0 !important; font-size: 16px; font-weight: 600; color: #ffffff; }
:is(.entry-content, .is-root-container) .tc-qi-contacto a { color: #ffffff; text-decoration: none; }
:is(.entry-content, .is-root-container) .tc-dsec .tc-qi-horario { margin: 6px 0 0 !important; font-size: 14px; color: rgba(255, 255, 255, .72); }

/* Responsivo */
@media (max-width: 1100px) {
	.tc-ac-qgrid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.tc-ac-featgrid > .tc-ac-feat { flex-basis: calc((100% - 16px) / 2); }
}
@media (max-width: 1024px) {
	.tc-ac-split, .tc-ac-split--srv, .tc-ac-g2 { grid-template-columns: minmax(0, 1fr); gap: 28px; }
	.tc-ac-split-img, .tc-ac-srv-img { max-width: 620px; margin-inline: auto !important; }
	.tc-ac-grid3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 767px) {
	.tc-ac-qgrid { gap: 14px; }
	.tc-ac-q { padding: 76px 16px 20px; }
	:is(.entry-content, .is-root-container) .tc-ac-q-text { font-size: 15.5px; }
	.tc-ac-grid3, .tc-ac-errgrid, .tc-ac-check, .tc-ac-list--2 { grid-template-columns: minmax(0, 1fr); }
	.tc-ac-err { padding: 88px 22px 22px; }
	.tc-ac-err::before { left: 22px; top: 22px; }
	.tc-ac-err::after { left: 33px; top: 33px; }
	.tc-ac-box, .tc-ac-benef, .tc-ac-check { padding: 22px; }
	.tc-ac-box--info { padding-top: 84px; }
	.tc-ac-box--info::before { left: 22px; top: 22px; }
	.tc-ac-box--info::after { left: 33px; top: 33px; }
	.tc-ac-comp figcaption { display: block; margin-top: 10px; font-size: 13px; color: var(--tc-c-texto); }
	:is(.entry-content, .is-root-container) .tc-ac-td { padding: 11px 10px; font-size: 13px; }
	:is(.entry-content, .is-root-container) .tc-ac-frase { font-size: 17px; }
}
@media (max-width: 359px) {
	.tc-ac-qgrid { grid-template-columns: minmax(0, 1fr); }
}

/* Carrusel en celular (tc-carrusel.js): preguntas, problemas de hosting, errores y tecnologías */
@media (max-width: 767px) {
	.tc-ac-qgrid.tc-carrusel, .tc-ac-grid3.tc-carrusel, .tc-ac-errgrid.tc-carrusel, .tc-ac-featgrid.tc-carrusel { display: flex; flex-wrap: nowrap; justify-content: flex-start; gap: 14px; }
	.tc-carrusel .tc-ac-q, .tc-carrusel .tc-ac-card, .tc-carrusel .tc-ac-err, .tc-carrusel .tc-ac-feat { flex: 0 0 calc(100% - 48px); max-width: 400px; box-sizing: border-box; scroll-snap-align: center; scroll-snap-stop: always; }
	.tc-carrusel .tc-ac-q { align-items: center; min-height: 190px; }
	:is(.entry-content, .is-root-container) .tc-carrusel .tc-ac-q-text { font-size: 17px; }
	.tc-carrusel .tc-ac-card { padding: 92px 24px 26px; text-align: center; }
	.tc-carrusel .tc-ac-card::before, .tc-carrusel .tc-ac-err::before { left: 50%; margin-left: -22px; }
	.tc-carrusel .tc-ac-card::after, .tc-carrusel .tc-ac-err::after { left: 50%; margin-left: -11px; }
	.tc-carrusel .tc-ac-err { padding: 90px 22px 22px; text-align: left; }
	:is(.entry-content, .is-root-container) .tc-carrusel .tc-ac-err :is(.tc-ac-err-num, .tc-ac-err-title) { text-align: center; }
	.tc-carrusel .tc-ac-feat { flex-direction: column; justify-content: flex-start; min-height: 150px; padding: 84px 20px 22px; text-align: center; }
	.tc-carrusel .tc-ac-feat::before { left: 50%; top: 22px; margin: 0 0 0 -22px; }
	.tc-carrusel .tc-ac-feat::after { left: 50%; top: 33px; margin: 0 0 0 -11px; }
	:is(.entry-content, .is-root-container) .tc-carrusel .tc-ac-feat-text { font-size: 16px; }
	/* 12 preguntas: lista más compacta */
	.tc-ac-check { gap: 8px; padding: 16px; }
	:is(.entry-content, .is-root-container) .tc-ac-check-item { padding: 9px 12px 9px 38px; font-size: 14.5px; }
	.tc-ac-check-item::before { left: 13px; top: 12px; }
}
