/* TRANSDEPET V5.20 · Páginas internas unificadas */
body.td-inner-page{background:#fff;color:var(--ink);overflow-x:hidden}
.td-inner-hero{position:relative;min-height:420px;color:#fff;background:#11241d;isolation:isolate;display:flex;align-items:flex-end;padding:210px 0 58px;overflow:hidden}
.td-inner-hero>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;z-index:-2}
.td-inner-hero::after{content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(180deg,rgba(5,18,14,.55),rgba(5,18,14,.18) 42%,rgba(4,18,13,.82)),linear-gradient(90deg,rgba(4,15,11,.64),rgba(4,15,11,.12) 70%)}
.td-inner-hero-content{position:relative;z-index:1}
.td-inner-kicker{display:flex;align-items:center;gap:12px;font-size:11px;font-weight:700;letter-spacing:.17em;text-transform:uppercase;color:#f4f6ef}
.td-inner-kicker::before{content:"";width:36px;height:3px;border-radius:3px;background:var(--amber)}
.td-inner-hero h1{font-size:clamp(42px,5vw,70px);line-height:1.02;max-width:920px;margin:18px 0 16px;color:#fff}
.td-breadcrumb{display:flex;align-items:center;gap:10px;flex-wrap:wrap;font-size:13px;color:#e6ece7}.td-breadcrumb a:hover{color:#ffca4b}
.td-inner-section{padding:72px 0}.td-inner-section.td-soft{background:var(--paper);border-block:1px solid var(--line)}
.td-section-heading{display:flex;justify-content:space-between;align-items:flex-end;gap:34px;margin-bottom:34px}.td-section-heading>p{max-width:540px;margin:0;color:var(--muted);line-height:1.75}
.td-prose{font-size:16px;line-height:1.85;color:#414a46}.td-prose p:first-child{margin-top:0}.td-prose img{border-radius:12px}
.td-panel{background:#fff;border:1px solid var(--line);border-radius:16px;box-shadow:0 18px 45px rgba(17,32,27,.07)}
.td-card-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
.td-card{background:#fff;border:1px solid var(--line);border-radius:15px;overflow:hidden;box-shadow:0 14px 35px rgba(12,31,22,.05)}
.td-card-media{aspect-ratio:16/10;background:#eef0eb;overflow:hidden}.td-card-media img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.td-card:hover .td-card-media img{transform:scale(1.025)}
.td-card-body{padding:22px}.td-card-body h3{font-size:21px;margin:0 0 10px}.td-card-body p{margin:0;color:var(--muted);line-height:1.7}.td-card-body .text-link{margin-top:18px}
/* Clientes */
.td-client-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.td-client-logo{min-height:150px;background:#fff;border:1px solid var(--line);border-radius:14px;display:flex;align-items:center;justify-content:center;padding:22px;box-shadow:0 12px 30px rgba(18,40,31,.05)}.td-client-logo img{max-width:86%;max-height:92px;object-fit:contain}
/* Galería */
.td-gallery{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}.td-gallery-item{position:relative;aspect-ratio:4/3;border-radius:13px;overflow:hidden;background:#e9ece6;border:1px solid var(--line);cursor:zoom-in}.td-gallery-item img{width:100%;height:100%;object-fit:cover;transition:transform .25s}.td-gallery-item:hover img{transform:scale(1.035)}.td-gallery-item span{position:absolute;left:12px;bottom:12px;right:12px;padding:9px 11px;border-radius:8px;background:rgba(8,25,18,.76);color:#fff;font-size:12px;backdrop-filter:blur(8px)}
.td-lightbox{position:fixed;inset:0;z-index:30000;background:rgba(2,11,8,.92);display:flex;align-items:center;justify-content:center;padding:30px}.td-lightbox[hidden]{display:none}.td-lightbox img{max-width:min(1200px,92vw);max-height:86vh;object-fit:contain;border-radius:8px}.td-lightbox button{position:absolute;top:22px;right:24px;border:1px solid #ffffff66;background:#11251dcc;color:#fff;width:46px;height:46px;border-radius:50%;font-size:28px}
/* Videos */
.td-video-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}.td-video-card{background:#0d2018;border-radius:14px;overflow:hidden;box-shadow:0 18px 40px rgba(10,25,18,.14)}.td-video-card iframe{display:block;width:100%;aspect-ratio:16/9;height:auto;border:0}
/* Maquinaria */
.td-equipment-category{padding:26px;border:1px solid var(--line);border-radius:16px;background:#fff;box-shadow:0 14px 36px rgba(16,34,26,.05);margin-bottom:26px}.td-equipment-category h2{font-size:clamp(26px,3vw,38px);margin-bottom:22px}.td-equipment-items{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}.td-equipment-item{border:1px solid var(--line);border-radius:13px;overflow:hidden;background:var(--paper)}.td-equipment-item img{width:100%;aspect-ratio:16/10;object-fit:cover}.td-equipment-copy{padding:18px}.td-equipment-copy h3{font-size:18px;margin:0 0 8px}.td-equipment-copy p{margin:0;color:var(--muted);line-height:1.65}
/* Vacantes */
.td-job-list{display:grid;gap:18px}.td-job-card{display:grid;grid-template-columns:1fr auto;gap:24px;align-items:center;padding:26px 28px;border:1px solid var(--line);border-radius:15px;background:#fff;box-shadow:0 12px 30px rgba(10,30,21,.05)}.td-job-card h2{font-size:25px;margin:0 0 10px}.td-job-card p{margin:0;color:var(--muted);line-height:1.7}.td-job-meta{font-size:12px;color:#737a75;margin-top:12px!important}.td-job-detail-grid{display:grid;grid-template-columns:1fr 1fr;gap:24px}.td-job-detail{padding:28px}.td-job-detail h2{font-size:26px;margin-bottom:18px}.td-job-detail hr{border:0;border-top:1px solid var(--line)}
/* Servicio */
.td-service-layout{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(260px,.7fr);gap:34px}.td-service-main{overflow:hidden}.td-service-main>img{width:100%;max-height:520px;object-fit:cover}.td-service-copy{padding:30px}.td-service-copy h2{font-size:clamp(30px,3vw,42px);margin-bottom:18px}.td-related-services{display:grid;gap:12px}.td-related-services a{display:flex;gap:14px;align-items:center;padding:12px;border:1px solid var(--line);border-radius:11px;background:#fff}.td-related-services img{width:92px;height:68px;object-fit:cover;border-radius:7px}.td-related-services strong{font-size:14px;line-height:1.4}.td-related-title{font-size:24px;margin:0 0 18px}
/* Formularios */
.td-contact-grid{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(300px,.65fr);gap:30px}.td-form-card,.td-info-card{padding:30px}.td-form-card h2,.td-info-card h2{font-size:30px;margin-bottom:22px}.td-form-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}.td-form-grid .td-span-2{grid-column:1/-1}.td-form-card input[type=text],.td-form-card input[type=email],.td-form-card input[type=number],.td-form-card input[type=tel],.td-form-card textarea{width:100%;border:1px solid #cfd5cf;background:#fbfcf9;border-radius:9px;padding:14px 15px;font:inherit;color:var(--ink);outline:none}.td-form-card input:focus,.td-form-card textarea:focus{border-color:#e49d00;box-shadow:0 0 0 3px rgba(255,180,0,.14)}.td-form-card textarea{min-height:160px;resize:vertical}.td-check{display:flex;gap:10px;align-items:flex-start;font-size:13px;color:var(--muted);line-height:1.6}.td-check a{text-decoration:underline;color:#1f563e}.td-submit{border:0;margin-top:18px}.td-info-list{display:grid;gap:18px}.td-info-row{padding-bottom:18px;border-bottom:1px solid var(--line)}.td-info-row small{display:block;color:#777f79;text-transform:uppercase;letter-spacing:.12em;font-size:10px;margin-bottom:5px}.td-info-row p{margin:0;line-height:1.65}.td-map{margin-top:28px;border-radius:15px;overflow:hidden;border:1px solid var(--line)}.td-map iframe{display:block;width:100%;height:460px;border:0}
/* Política */
.td-legal{padding:34px}.td-legal .td-prose{max-width:920px;margin:auto}
/* PQR */
.td-pqr-intro{max-width:900px;margin:0 auto 28px;text-align:center;color:var(--muted);line-height:1.8}.td-pqr-card{max-width:900px;margin:0 auto;padding:32px}
/* Empty state */
.td-empty{padding:34px;border:1px dashed #c9d0c8;border-radius:14px;text-align:center;color:var(--muted);background:#fafbf8}
/* Preserve modern shared sections spacing inside internal pages */
body.td-inner-page .partners-modern{margin-top:0}
body.td-inner-page .certifications-modern{padding-top:64px;padding-bottom:64px}
/* active dropdown group */
.td-master-header .td-master-nav>details.td-nav-active>summary{color:#ffca4b}
/* Mobile */
@media(max-width:980px){.td-inner-hero{min-height:380px;padding-top:185px}.td-card-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.td-client-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.td-gallery{grid-template-columns:repeat(3,minmax(0,1fr))}.td-equipment-items{grid-template-columns:repeat(2,minmax(0,1fr))}.td-service-layout,.td-contact-grid{grid-template-columns:1fr}.td-video-grid{grid-template-columns:1fr}}
@media(max-width:680px){.td-inner-hero{min-height:330px;padding:165px 0 42px}.td-inner-hero h1{font-size:40px}.td-inner-section{padding:52px 0}.td-section-heading{display:block}.td-section-heading>p{margin-top:16px}.td-card-grid,.td-client-grid,.td-gallery,.td-equipment-items,.td-job-detail-grid,.td-form-grid{grid-template-columns:1fr}.td-job-card{grid-template-columns:1fr}.td-gallery{grid-template-columns:repeat(2,minmax(0,1fr))}.td-form-grid .td-span-2{grid-column:auto}.td-form-card,.td-info-card,.td-pqr-card,.td-legal{padding:22px}.td-map iframe{height:360px}}

/* TRANSDEPET V5.21 · Corrección tipográfica global para detalle de servicios
   Normaliza el HTML enriquecido almacenado en la base de datos, incluso cuando
   contiene tamaños de letra inline heredados del editor anterior. */
body.td-service-page .td-service-layout{align-items:start}
body.td-service-page .td-service-main,
body.td-service-page .td-service-copy,
body.td-service-page .td-service-copy .td-prose{min-width:0;max-width:100%}
body.td-service-page .td-service-copy{padding:28px 30px 34px}
body.td-service-page .td-service-copy>h2{
  font-size:clamp(27px,2.35vw,36px);
  line-height:1.12;
  letter-spacing:-.025em;
  margin:0 0 18px;
  overflow-wrap:anywhere;
}
body.td-service-page .td-service-copy .td-prose{
  font-size:16px !important;
  line-height:1.78 !important;
  color:#414a46;
  overflow-wrap:break-word;
  word-break:normal;
}
/* El CMS antiguo puede guardar font-size inline en p/span/div. Se normaliza aquí. */
body.td-service-page .td-service-copy .td-prose p,
body.td-service-page .td-service-copy .td-prose li,
body.td-service-page .td-service-copy .td-prose div,
body.td-service-page .td-service-copy .td-prose span,
body.td-service-page .td-service-copy .td-prose font{
  font-size:16px !important;
  line-height:1.78 !important;
  max-width:100%;
}
body.td-service-page .td-service-copy .td-prose h1,
body.td-service-page .td-service-copy .td-prose h1 *{
  font-size:30px !important;
  line-height:1.2 !important;
}
body.td-service-page .td-service-copy .td-prose h2,
body.td-service-page .td-service-copy .td-prose h2 *{
  font-size:26px !important;
  line-height:1.24 !important;
}
body.td-service-page .td-service-copy .td-prose h3,
body.td-service-page .td-service-copy .td-prose h3 *{
  font-size:22px !important;
  line-height:1.3 !important;
}
body.td-service-page .td-service-copy .td-prose h4,
body.td-service-page .td-service-copy .td-prose h4 *{
  font-size:19px !important;
  line-height:1.35 !important;
}
body.td-service-page .td-service-copy .td-prose h5,
body.td-service-page .td-service-copy .td-prose h5 *,
body.td-service-page .td-service-copy .td-prose h6,
body.td-service-page .td-service-copy .td-prose h6 *{
  font-size:17px !important;
  line-height:1.4 !important;
}
body.td-service-page .td-service-copy .td-prose h1,
body.td-service-page .td-service-copy .td-prose h2,
body.td-service-page .td-service-copy .td-prose h3,
body.td-service-page .td-service-copy .td-prose h4,
body.td-service-page .td-service-copy .td-prose h5,
body.td-service-page .td-service-copy .td-prose h6{
  margin:1.25em 0 .55em;
  color:var(--ink);
  overflow-wrap:anywhere;
}
body.td-service-page .td-service-copy .td-prose p{margin:0 0 1.05em}
body.td-service-page .td-service-copy .td-prose ul,
body.td-service-page .td-service-copy .td-prose ol{margin:0 0 1.15em;padding-left:1.35em}
body.td-service-page .td-service-copy .td-prose li{margin:.32em 0}
body.td-service-page .td-service-copy .td-prose a{overflow-wrap:anywhere;word-break:break-word}
body.td-service-page .td-service-copy .td-prose img,
body.td-service-page .td-service-copy .td-prose video,
body.td-service-page .td-service-copy .td-prose iframe{max-width:100% !important;height:auto}
body.td-service-page .td-service-copy .td-prose table{display:block;max-width:100%;overflow-x:auto;border-collapse:collapse}
body.td-service-page .td-service-copy .td-prose td,
body.td-service-page .td-service-copy .td-prose th{font-size:15px !important;line-height:1.55 !important}
body.td-service-page .td-related-services a{min-width:0}
body.td-service-page .td-related-services strong{overflow-wrap:anywhere}
body.td-service-page .td-inner-hero h1{font-size:clamp(36px,4.25vw,58px);max-width:900px;overflow-wrap:anywhere}
@media(max-width:980px){
  body.td-service-page .td-service-copy{padding:26px}
  body.td-service-page .td-service-copy>h2{font-size:32px}
}
@media(max-width:680px){
  body.td-service-page .td-inner-hero h1{font-size:34px;line-height:1.08}
  body.td-service-page .td-service-copy{padding:22px 20px 26px}
  body.td-service-page .td-service-copy>h2{font-size:28px;line-height:1.16}
  body.td-service-page .td-service-copy .td-prose,
  body.td-service-page .td-service-copy .td-prose p,
  body.td-service-page .td-service-copy .td-prose li,
  body.td-service-page .td-service-copy .td-prose div,
  body.td-service-page .td-service-copy .td-prose span,
  body.td-service-page .td-service-copy .td-prose font{font-size:15.5px !important;line-height:1.72 !important}
  body.td-service-page .td-service-copy .td-prose h1,
  body.td-service-page .td-service-copy .td-prose h1 *{font-size:26px !important}
  body.td-service-page .td-service-copy .td-prose h2,
  body.td-service-page .td-service-copy .td-prose h2 *{font-size:23px !important}
  body.td-service-page .td-service-copy .td-prose h3,
  body.td-service-page .td-service-copy .td-prose h3 *{font-size:20px !important}
}

/* TRANSDEPET V5.22 · Detalle de servicio sin bloque de imagen duplicado
   El hero interno ya utiliza la imagen del servicio; el contenido comienza arriba. */
body.td-service-page .td-service-main--text-first{overflow:visible}
body.td-service-page .td-service-main--text-first>.td-service-copy{
  padding-top:30px;
  margin-top:0;
}
body.td-service-page .td-service-main--text-first .section-marker{margin-top:0}
body.td-service-page .td-service-main--text-first>img{display:none!important}
@media(max-width:680px){
  body.td-service-page .td-service-main--text-first>.td-service-copy{padding-top:22px}
}


/* TRANSDEPET V5.23 · Ritmo vertical compacto para descripción de servicios
   Conserva el texto del CMS y corrige separaciones excesivas heredadas del editor. */
body.td-service-page .td-service-copy .td-prose{
  line-height:1.62 !important;
}
body.td-service-page .td-service-copy .td-prose p,
body.td-service-page .td-service-copy .td-prose div,
body.td-service-page .td-service-copy .td-prose span,
body.td-service-page .td-service-copy .td-prose font{
  line-height:1.62 !important;
}
body.td-service-page .td-service-copy .td-prose p{
  margin:0 0 .72em !important;
}
body.td-service-page .td-service-copy .td-prose ul,
body.td-service-page .td-service-copy .td-prose ol{
  margin:.18em 0 .82em !important;
  padding-left:1.42em !important;
}
body.td-service-page .td-service-copy .td-prose li{
  margin:.18em 0 !important;
}
body.td-service-page .td-service-copy .td-prose p + ul,
body.td-service-page .td-service-copy .td-prose p + ol{
  margin-top:-.18em !important;
}
body.td-service-page .td-service-copy .td-prose ul + p,
body.td-service-page .td-service-copy .td-prose ol + p{
  margin-top:.55em !important;
}
body.td-service-page .td-service-copy .td-prose h1,
body.td-service-page .td-service-copy .td-prose h2,
body.td-service-page .td-service-copy .td-prose h3,
body.td-service-page .td-service-copy .td-prose h4,
body.td-service-page .td-service-copy .td-prose h5,
body.td-service-page .td-service-copy .td-prose h6{
  margin:.95em 0 .38em !important;
}
/* Oculta bloques vacíos que puedan sobrevivir al HTML del editor. */
body.td-service-page .td-service-copy .td-prose p:empty,
body.td-service-page .td-service-copy .td-prose div:empty{
  display:none !important;
  margin:0 !important;
  padding:0 !important;
  min-height:0 !important;
}
body.td-service-page .td-service-copy .td-prose br + br{
  line-height:.45;
}
@media(max-width:680px){
  body.td-service-page .td-service-copy .td-prose,
  body.td-service-page .td-service-copy .td-prose p,
  body.td-service-page .td-service-copy .td-prose li,
  body.td-service-page .td-service-copy .td-prose div,
  body.td-service-page .td-service-copy .td-prose span,
  body.td-service-page .td-service-copy .td-prose font{
    line-height:1.58 !important;
  }
  body.td-service-page .td-service-copy .td-prose p{margin-bottom:.68em !important}
}

/* TRANSDEPET V5.24 · Detalle de servicios con el mismo lenguaje visual de Nosotros
   Solo ajusta presentación: no modifica el texto ni las consultas del CMS. */
body.td-service-page .td-service-layout{
  grid-template-columns:minmax(0,1.32fr) minmax(290px,.68fr);
  gap:42px;
  align-items:start;
}
body.td-service-page .td-service-main{
  background:transparent;
  border:0;
  border-radius:0;
  box-shadow:none;
  overflow:visible;
}
body.td-service-page .td-service-copy{
  padding:6px 0 20px;
  max-width:780px;
}
/* Igual que la línea/acento de la sección introductoria de Nosotros. */
body.td-service-page .td-service-copy .section-marker{
  margin:0 0 27px;
  color:#626c63;
  font-size:10px;
  font-weight:750;
  letter-spacing:.18em;
}
body.td-service-page .td-service-copy .section-marker::before{
  width:58px;
  height:4px;
  border-radius:4px;
}
body.td-service-page .td-service-copy>h2{
  margin:0 0 24px;
  max-width:760px;
  font-size:clamp(31px,3vw,43px);
  line-height:1.12;
  letter-spacing:-.035em;
  color:#182b20;
}
/* Misma escala de lectura de .about-original-copy en Nosotros. */
body.td-service-page .td-service-copy .td-prose{
  max-width:760px;
  color:#334038;
  font-size:16px !important;
  line-height:1.95 !important;
  font-weight:400;
  overflow-wrap:break-word;
}
/* El editor antiguo puede guardar tamaño/interlineado en etiquetas internas.
   Se neutraliza para que todo el texto conserve la escala de Nosotros. */
body.td-service-page .td-service-copy .td-prose p,
body.td-service-page .td-service-copy .td-prose div,
body.td-service-page .td-service-copy .td-prose span,
body.td-service-page .td-service-copy .td-prose font,
body.td-service-page .td-service-copy .td-prose li,
body.td-service-page .td-service-copy .td-prose b,
body.td-service-page .td-service-copy .td-prose strong,
body.td-service-page .td-service-copy .td-prose em,
body.td-service-page .td-service-copy .td-prose i{
  font-size:16px !important;
  line-height:1.95 !important;
}
body.td-service-page .td-service-copy .td-prose p,
body.td-service-page .td-service-copy .td-prose div{
  margin-top:0 !important;
  margin-bottom:18px !important;
}
body.td-service-page .td-service-copy .td-prose ul,
body.td-service-page .td-service-copy .td-prose ol{
  margin:0 0 20px !important;
  padding-left:24px !important;
}
body.td-service-page .td-service-copy .td-prose li{
  margin:0 0 8px !important;
  padding-left:2px;
}
body.td-service-page .td-service-copy .td-prose strong,
body.td-service-page .td-service-copy .td-prose b{
  font-weight:650;
  color:#26352d;
}
body.td-service-page .td-service-copy .td-prose h1,
body.td-service-page .td-service-copy .td-prose h2,
body.td-service-page .td-service-copy .td-prose h3,
body.td-service-page .td-service-copy .td-prose h4,
body.td-service-page .td-service-copy .td-prose h5,
body.td-service-page .td-service-copy .td-prose h6{
  color:#182b20;
  line-height:1.3 !important;
  letter-spacing:-.015em;
  margin:28px 0 12px !important;
}
body.td-service-page .td-service-copy .td-prose h1,
body.td-service-page .td-service-copy .td-prose h1 *{font-size:26px !important}
body.td-service-page .td-service-copy .td-prose h2,
body.td-service-page .td-service-copy .td-prose h2 *{font-size:24px !important}
body.td-service-page .td-service-copy .td-prose h3,
body.td-service-page .td-service-copy .td-prose h3 *{font-size:21px !important}
body.td-service-page .td-service-copy .td-prose h4,
body.td-service-page .td-service-copy .td-prose h4 *,
body.td-service-page .td-service-copy .td-prose h5,
body.td-service-page .td-service-copy .td-prose h5 *,
body.td-service-page .td-service-copy .td-prose h6,
body.td-service-page .td-service-copy .td-prose h6 *{font-size:18px !important}
/* Saltos heredados del editor: un salto normal no debe crear grandes huecos. */
body.td-service-page .td-service-copy .td-prose br{line-height:1.15}
body.td-service-page .td-service-copy .td-prose br + br{line-height:.35}

@media(max-width:980px){
  body.td-service-page .td-service-layout{grid-template-columns:1fr;gap:34px}
  body.td-service-page .td-service-copy{max-width:820px}
  body.td-service-page .td-service-copy .td-prose{max-width:820px}
}
@media(max-width:680px){
  body.td-service-page .td-service-copy{padding:2px 0 12px}
  body.td-service-page .td-service-copy .section-marker{margin-bottom:20px}
  body.td-service-page .td-service-copy>h2{font-size:30px;margin-bottom:20px}
  body.td-service-page .td-service-copy .td-prose,
  body.td-service-page .td-service-copy .td-prose p,
  body.td-service-page .td-service-copy .td-prose div,
  body.td-service-page .td-service-copy .td-prose span,
  body.td-service-page .td-service-copy .td-prose font,
  body.td-service-page .td-service-copy .td-prose li,
  body.td-service-page .td-service-copy .td-prose b,
  body.td-service-page .td-service-copy .td-prose strong,
  body.td-service-page .td-service-copy .td-prose em,
  body.td-service-page .td-service-copy .td-prose i{
    font-size:15.5px !important;
    line-height:1.85 !important;
  }
  body.td-service-page .td-service-copy .td-prose p,
  body.td-service-page .td-service-copy .td-prose div{margin-bottom:15px !important}
}

/* TRANSDEPET V5.25 · Normalización REAL del texto de Servicios
   El detalle del CMS hereda ahora la misma familia y escala de lectura de Nosotros.
   Estas reglas van al final para prevalecer sobre formatos antiguos del editor. */
body.td-service-page .td-service-copy{
  max-width:780px;
  padding:6px 0 18px;
}
body.td-service-page .td-service-copy>h2{
  max-width:760px;
  margin:0 0 22px;
  font-family:"Segoe UI",Arial,Helvetica,sans-serif !important;
  font-size:clamp(30px,2.7vw,40px) !important;
  font-weight:700 !important;
  line-height:1.12 !important;
  letter-spacing:-.032em;
  color:#182b20;
}
body.td-service-page .td-service-copy .td-prose{
  max-width:760px;
  color:#334038;
  font-family:"Segoe UI",Arial,Helvetica,sans-serif !important;
  font-size:16px !important;
  font-weight:400 !important;
  line-height:1.72 !important;
  letter-spacing:0 !important;
}
/* El CMS antiguo puede envolver el contenido en font/span/strong con estilos propios. */
body.td-service-page .td-service-copy .td-prose :where(p,div,span,font,li,a,b,strong,em,i,u){
  font-family:"Segoe UI",Arial,Helvetica,sans-serif !important;
  font-size:16px !important;
  line-height:1.72 !important;
  letter-spacing:0 !important;
}
body.td-service-page .td-service-copy .td-prose p,
body.td-service-page .td-service-copy .td-prose div{
  margin:0 0 14px !important;
  padding:0 !important;
}
body.td-service-page .td-service-copy .td-prose ul,
body.td-service-page .td-service-copy .td-prose ol{
  margin:4px 0 16px !important;
  padding-left:25px !important;
}
body.td-service-page .td-service-copy .td-prose li{
  margin:0 0 6px !important;
  padding-left:2px !important;
  font-weight:400 !important;
}
body.td-service-page .td-service-copy .td-prose strong,
body.td-service-page .td-service-copy .td-prose b{
  font-weight:600 !important;
  color:inherit !important;
}
/* Muchos registros antiguos tienen párrafos o ítems completos dentro de strong/b.
   En esos casos se normaliza el peso para que no aparezca todo el bloque en negrita. */
body.td-service-page .td-service-copy .td-prose p>strong:only-child,
body.td-service-page .td-service-copy .td-prose p>b:only-child,
body.td-service-page .td-service-copy .td-prose li>strong:only-child,
body.td-service-page .td-service-copy .td-prose li>b:only-child{
  font-weight:400 !important;
}
body.td-service-page .td-service-copy .td-prose h1,
body.td-service-page .td-service-copy .td-prose h2,
body.td-service-page .td-service-copy .td-prose h3,
body.td-service-page .td-service-copy .td-prose h4,
body.td-service-page .td-service-copy .td-prose h5,
body.td-service-page .td-service-copy .td-prose h6{
  font-family:"Segoe UI",Arial,Helvetica,sans-serif !important;
  font-weight:650 !important;
  line-height:1.3 !important;
  margin:18px 0 8px !important;
  color:#26352d;
}
body.td-service-page .td-service-copy .td-prose h1,
body.td-service-page .td-service-copy .td-prose h1 *{font-size:21px !important}
body.td-service-page .td-service-copy .td-prose h2,
body.td-service-page .td-service-copy .td-prose h2 *{font-size:20px !important}
body.td-service-page .td-service-copy .td-prose h3,
body.td-service-page .td-service-copy .td-prose h3 *{font-size:18px !important}
body.td-service-page .td-service-copy .td-prose h4,
body.td-service-page .td-service-copy .td-prose h4 *,
body.td-service-page .td-service-copy .td-prose h5,
body.td-service-page .td-service-copy .td-prose h5 *,
body.td-service-page .td-service-copy .td-prose h6,
body.td-service-page .td-service-copy .td-prose h6 *{font-size:16px !important}
body.td-service-page .td-service-copy .td-prose br{line-height:1 !important}
body.td-service-page .td-service-copy .td-prose p:empty,
body.td-service-page .td-service-copy .td-prose div:empty{display:none !important}

@media(max-width:680px){
  body.td-service-page .td-service-copy>h2{font-size:29px !important;margin-bottom:18px}
  body.td-service-page .td-service-copy .td-prose,
  body.td-service-page .td-service-copy .td-prose :where(p,div,span,font,li,a,b,strong,em,i,u){
    font-size:15px !important;
    line-height:1.68 !important;
  }
  body.td-service-page .td-service-copy .td-prose p,
  body.td-service-page .td-service-copy .td-prose div{margin-bottom:12px !important}
  body.td-service-page .td-service-copy .td-prose li{margin-bottom:5px !important}
}
