/* Shell moderno para páginas heredadas VICMAISTER */
.vic-shell-header {
  position: sticky;
  top: 18px;
  z-index: 1000;
  background: transparent;
  border: 0;
  box-shadow: none;
  padding: 0 18px;
  font-family: Arial, Helvetica, sans-serif;
}
.vic-shell-inner {
  max-width: 1120px;
  min-height: 66px;
  margin: 0 auto;
  padding: 0 10px 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
  background: #ffffff;
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(20, 35, 50, .12);
}
.vic-shell-brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: #064494;
  font-size: 23px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}
.vic-shell-brand img {
  width: 66px;
  height: 66px;
  object-fit: contain;
  flex: 0 0 auto;
}
.vic-shell-nav {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.vic-shell-nav a {
  color: #202124;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
}
.vic-shell-nav a:hover {
  color: #064494;
}
.vic-shell-cta {
  background: #064494;
  color: #ffffff !important;
  border-radius: 999px;
  padding: 17px 24px;
  font-weight: 800 !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18);
}
.vic-shell-footer {
  background: #064494;
  color: #ffffff;
  font-family: Arial, Helvetica, sans-serif;
  margin-top: 42px;
}
.vic-shell-footer .vic-shell-inner {
  max-width: 1120px;
  min-height: auto;
  padding: 30px 22px;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border-radius: 0;
  box-shadow: none;
}
.vic-shell-footer h2 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: 22px;
  line-height: 1.25;
}
.vic-shell-footer p {
  margin: 0;
  color: #edf4ff;
  font-size: 15px;
  line-height: 1.55;
}
.vic-shell-footer a {
  color: #ffffff;
  text-decoration: none;
}
.vic-shell-footer a:hover {
  text-decoration: underline;
}
.vic-shell-footer-links {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}
.vic-shell-footer-links a {
  font-weight: 700;
  font-size: 14px;
}
.vic-shell-credit {
  border-top: 1px solid rgba(255, 255, 255, .22);
  padding: 13px 18px 16px;
  text-align: center;
  color: #edf4ff;
  font-size: 13px;
}
@media (max-width: 980px) {
  .vic-shell-header {
    top: 0;
    padding: 0;
  }
  .vic-shell-inner {
    border-radius: 0;
    padding: 10px 16px;
    gap: 16px;
  }
  .vic-shell-brand {
    font-size: 20px;
  }
  .vic-shell-brand img {
    width: 54px;
    height: 54px;
  }
  .vic-shell-nav {
    gap: 13px;
  }
  .vic-shell-nav a {
    font-size: 15px;
  }
  .vic-shell-cta {
    padding: 11px 15px;
  }
}
@media (max-width: 760px) {
  .vic-shell-inner,
  .vic-shell-footer .vic-shell-inner {
    display: block;
  }
  .vic-shell-brand {
    margin-bottom: 12px;
  }
  .vic-shell-nav,
  .vic-shell-footer-links {
    justify-content: flex-start;
    gap: 12px;
  }
  .vic-shell-nav a {
    display: inline-block;
    margin-bottom: 8px;
  }
}

/* Compensa el menú nativo fijo en páginas heredadas. */
#templatemo_wrapper.vic-native-offset {
  padding-top: 96px;
}
#templatemo_wrapper.vic-native-offset > .content_top:first-child {
  display: none;
}
@media (max-width: 991px) {
  #templatemo_wrapper.vic-native-offset {
    padding-top: 104px;
  }
}
@media (max-width: 575px) {
  #templatemo_wrapper.vic-native-offset {
    padding-top: 92px;
  }
}

/* Responsividad para páginas heredadas con layout templatemo. */
html,
body {
  max-width: 100%;
  overflow-x: hidden;
}
#templatemo_wrapper.vic-native-offset {
  width: 100% !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  box-sizing: border-box;
  overflow-x: hidden;
}
#templatemo_wrapper.vic-native-offset *,
#templatemo_wrapper.vic-native-offset *::before,
#templatemo_wrapper.vic-native-offset *::after {
  box-sizing: border-box;
}
#templatemo_wrapper.vic-native-offset img,
#templatemo_wrapper.vic-native-offset video,
#templatemo_wrapper.vic-native-offset iframe,
#templatemo_wrapper.vic-native-offset table {
  max-width: 100% !important;
}
#templatemo_wrapper.vic-native-offset img {
  height: auto;
}
#templatemo_wrapper.vic-native-offset .vicmaister-cta {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto 24px !important;
  padding: 56px 20px !important;
}
#templatemo_wrapper.vic-native-offset .vicmaister-cta .container,
#templatemo_wrapper.vic-native-offset #textointerno,
#templatemo_wrapper.vic-native-offset #textointerno3,
#templatemo_wrapper.vic-native-offset #templatemo_content,
#templatemo_wrapper.vic-native-offset #imgcasosdeexito,
#templatemo_wrapper.vic-native-offset .content_box,
#templatemo_wrapper.vic-native-offset .post_box,
#templatemo_wrapper.vic-native-offset .gallery,
#templatemo_wrapper.vic-native-offset .embed-container {
  width: min(100%, 1120px) !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px;
  padding-right: 20px;
  float: none !important;
}
#templatemo_wrapper.vic-native-offset #textointerno p,
#templatemo_wrapper.vic-native-offset #textointerno li,
#templatemo_wrapper.vic-native-offset #textointerno3 p,
#templatemo_wrapper.vic-native-offset #textointerno3 li,
#templatemo_wrapper.vic-native-offset .vicmaister-cta p {
  overflow-wrap: anywhere;
}
#templatemo_wrapper.vic-native-offset .col_4,
#templatemo_wrapper.vic-native-offset .col_f,
#templatemo_wrapper.vic-native-offset .col_l,
#templatemo_wrapper.vic-native-offset .rmc {
  max-width: 100% !important;
}

@media (max-width: 767px) {
  #templatemo_wrapper.vic-native-offset {
    padding-top: 92px;
  }
  #templatemo_wrapper.vic-native-offset .vicmaister-cta {
    padding: 42px 16px !important;
    text-align: left;
  }
  #templatemo_wrapper.vic-native-offset .vicmaister-cta h1,
  #templatemo_wrapper.vic-native-offset .vicmaister-cta h2 {
    font-size: 28px !important;
    line-height: 1.18 !important;
    text-align: left;
  }
  #templatemo_wrapper.vic-native-offset .vicmaister-cta p,
  #templatemo_wrapper.vic-native-offset #textointerno p,
  #templatemo_wrapper.vic-native-offset #textointerno li,
  #templatemo_wrapper.vic-native-offset #textointerno3 p,
  #templatemo_wrapper.vic-native-offset #textointerno3 li {
    font-size: 16px !important;
    line-height: 1.55 !important;
  }
  #templatemo_wrapper.vic-native-offset .vicmaister-cta .container,
  #templatemo_wrapper.vic-native-offset #textointerno,
  #templatemo_wrapper.vic-native-offset #textointerno3,
  #templatemo_wrapper.vic-native-offset #templatemo_content,
  #templatemo_wrapper.vic-native-offset #imgcasosdeexito,
  #templatemo_wrapper.vic-native-offset .content_box,
  #templatemo_wrapper.vic-native-offset .post_box,
  #templatemo_wrapper.vic-native-offset .gallery,
  #templatemo_wrapper.vic-native-offset .embed-container {
    width: 100% !important;
    padding-left: 16px;
    padding-right: 16px;
  }
  #templatemo_wrapper.vic-native-offset .col_4,
  #templatemo_wrapper.vic-native-offset .col_f,
  #templatemo_wrapper.vic-native-offset .col_l,
  #templatemo_wrapper.vic-native-offset .rmc {
    width: 100% !important;
    float: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }
  #templatemo_wrapper.vic-native-offset .btn-cta,
  #templatemo_wrapper.vic-native-offset .vicmaister-cta .btn-cta {
    display: block !important;
    width: 100% !important;
    max-width: 360px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    white-space: normal;
  }
}

/* Overrides adicionales para anchos fijos heredados. */
#templatemo_wrapper.vic-native-offset #slidepics,
#templatemo_wrapper.vic-native-offset #imagenesinternas,
#templatemo_wrapper.vic-native-offset #formulario,
#templatemo_wrapper.vic-native-offset #templatemo_sidebar,
#templatemo_wrapper.vic-native-offset .gallery_box,
#templatemo_wrapper.vic-native-offset .templatemo_footer,
#templatemo_wrapper.vic-native-offset .am,
#templatemo_wrapper.vic-native-offset .redes_sociales,
#templatemo_wrapper.vic-native-offset .col_3 {
  width: min(100%, 1120px) !important;
  max-width: 100% !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px;
  padding-right: 20px;
  float: none !important;
}
#templatemo_wrapper.vic-native-offset .gallery li,
#templatemo_wrapper.vic-native-offset .gallery li a,
#templatemo_wrapper.vic-native-offset .gallery li a img {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  float: none !important;
}
#templatemo_wrapper.vic-native-offset .gallery li {
  min-height: 0 !important;
}

@media (max-width: 767px) {
  #templatemo_wrapper.vic-native-offset #slidepics,
  #templatemo_wrapper.vic-native-offset #imagenesinternas,
  #templatemo_wrapper.vic-native-offset #formulario,
  #templatemo_wrapper.vic-native-offset #templatemo_sidebar,
  #templatemo_wrapper.vic-native-offset .gallery_box,
  #templatemo_wrapper.vic-native-offset .templatemo_footer,
  #templatemo_wrapper.vic-native-offset .am,
  #templatemo_wrapper.vic-native-offset .redes_sociales,
  #templatemo_wrapper.vic-native-offset .col_3 {
    width: 100% !important;
    padding-left: 16px;
    padding-right: 16px;
  }
  #templatemo_wrapper.vic-native-offset ul,
  #templatemo_wrapper.vic-native-offset ol {
    padding-left: 22px;
  }
}

/* Restaura la estructura desktop original de páginas heredadas. */
@media (min-width: 992px) {
  #templatemo_wrapper.vic-native-offset {
    width: 1340px !important;
    max-width: calc(100% - 40px) !important;
    padding-left: 10px;
    padding-right: 10px;
    overflow-x: visible;
  }
  #templatemo_wrapper.vic-native-offset .vicmaister-cta {
    width: auto !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 60px 20px !important;
    text-align: center;
  }
  #templatemo_wrapper.vic-native-offset .vicmaister-cta .container {
    width: 1100px !important;
    max-width: 100% !important;
    padding-left: 0;
    padding-right: 0;
    float: none !important;
  }
  #templatemo_wrapper.vic-native-offset #templatemo_content {
    float: left !important;
    width: 350px !important;
    max-width: 350px !important;
    padding-left: 0;
    padding-right: 0;
  }
  #templatemo_wrapper.vic-native-offset #textointerno {
    float: left !important;
    width: 700px !important;
    max-width: 700px !important;
    margin: 0 0 0 25px !important;
    padding-left: 0;
    padding-right: 0;
  }
  #templatemo_wrapper.vic-native-offset #textointerno3 {
    float: left !important;
    width: 1280px !important;
    max-width: 1280px !important;
    margin: 0 0 0 25px !important;
    padding-left: 0;
    padding-right: 0;
  }
  #templatemo_wrapper.vic-native-offset #imagenesinternas {
    float: left !important;
    width: 550px !important;
    max-width: 550px !important;
    margin: 47px 0 0 40px !important;
    padding-left: 0;
    padding-right: 0;
    text-align: center;
  }
  #templatemo_wrapper.vic-native-offset #imgcasosdeexito {
    float: left !important;
    width: 1000px !important;
    max-width: 1000px !important;
    padding-left: 0;
    padding-right: 0;
  }
  #templatemo_wrapper.vic-native-offset #formulario {
    float: left !important;
    width: 540px !important;
    max-width: 540px !important;
    padding-left: 0;
    padding-right: 0;
  }
  #templatemo_wrapper.vic-native-offset #slidepics {
    float: left !important;
    width: 1100px !important;
    max-width: 1100px !important;
    margin: 0 0 0 25px !important;
    padding-left: 0;
    padding-right: 0;
  }
  #templatemo_wrapper.vic-native-offset .col_3 {
    float: left !important;
    width: 420px !important;
    max-width: 420px !important;
    margin-right: 35px !important;
    padding-left: 0;
    padding-right: 0;
  }
  #templatemo_wrapper.vic-native-offset .col_4 {
    float: left !important;
    width: 310px !important;
    max-width: 310px !important;
    margin-right: 20px !important;
  }
  #templatemo_wrapper.vic-native-offset .rmc {
    margin-right: 0 !important;
  }
}

/* Posicion original del bloque visual #poliuretano1 en páginas heredadas. */
@media (min-width: 992px) {
  #templatemo_wrapper.vic-native-offset #poliuretano1 {
    float: left !important;
    width: 550px !important;
    max-width: 550px !important;
    margin: 47px 0 0 40px !important;
    padding: 0 !important;
    text-align: left;
  }
  #templatemo_wrapper.vic-native-offset #poliuretano1 iframe {
    width: 550px !important;
    max-width: 550px !important;
    height: 368px !important;
    display: block;
  }
}
@media (max-width: 991px) {
  #templatemo_wrapper.vic-native-offset #poliuretano1 {
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 24px auto 0 !important;
    padding-left: 16px;
    padding-right: 16px;
  }
  #templatemo_wrapper.vic-native-offset #poliuretano1 iframe {
    width: 100% !important;
    max-width: 550px !important;
    height: auto;
    aspect-ratio: 550 / 368;
    display: block;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Evita que el footer suba detrás de contenido flotado heredado. */
#templatemo_wrapper.vic-native-offset::after {
  content: "";
  display: block;
  clear: both;
}
.vic-shell-footer {
  clear: both;
}
@media (min-width: 992px) {
  #templatemo_wrapper.vic-native-offset #poliuretano1::after,
  #templatemo_wrapper.vic-native-offset #textointerno::after,
  #templatemo_wrapper.vic-native-offset #textointerno3::after {
    content: "";
    display: block;
    clear: both;
  }
}

/* Formularios nativos por página con reCAPTCHA v3. */
.vic-button-trust {
  max-width: 760px;
  margin: 0 auto 16px;
  color: #1f2d3d;
  font-size: 17px;
  line-height: 1.55;
  text-align: center;
}
.vic-page-form {
  clear: both;
  background: #f4f6f8;
  padding: 54px 18px;
  margin: 42px auto 0;
}
.vic-page-form__inner {
  max-width: 920px;
  margin: 0 auto;
  background: #ffffff;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  padding: 30px;
  box-shadow: 0 10px 28px rgba(20, 35, 50, .08);
}
.vic-page-form h2 {
  margin: 0 0 10px;
  color: #064494;
  font-size: 30px;
  line-height: 1.2;
  text-align: center;
}
.vic-page-form p {
  color: #344054;
  font-size: 16px;
  line-height: 1.55;
  text-align: center;
}
.vic-lead-form {
  margin-top: 22px;
}
.vic-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}
.vic-lead-form label {
  display: block;
  color: #1f2d3d;
  font-weight: 700;
  margin-bottom: 16px;
}
.vic-lead-form input,
.vic-lead-form textarea {
  display: block;
  width: 100%;
  margin-top: 7px;
  border: 1px solid #cfd7df;
  border-radius: 6px;
  padding: 12px 13px;
  color: #1f2d3d;
  font: inherit;
}
.vic-lead-form textarea {
  resize: vertical;
}
.vic-lead-form button {
  display: block;
  width: min(100%, 320px);
  margin: 8px auto 0;
  border: 0;
  border-radius: 6px;
  background: #d62828;
  color: #ffffff;
  padding: 14px 22px;
  font-weight: 800;
  cursor: pointer;
}
.vic-form-note {
  margin: 14px 0 0;
  font-size: 13px !important;
  color: #667085 !important;
}
@media (max-width: 700px) {
  .vic-form-grid {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .vic-page-form {
    padding: 38px 14px;
  }
  .vic-page-form__inner {
    padding: 22px 16px;
  }
  .vic-page-form h2 {
    font-size: 25px;
  }
}

/* Respeta el ancho declarado en diagramas de aislamiento sin romper móvil. */
#templatemo_wrapper.vic-native-offset #textointerno3 img.vic-declared-width-img {
  display: block;
  width: 540px !important;
  max-width: 100% !important;
  height: auto !important;
}

/* Encabezados SEO compactos para páginas heredadas sin H1 original. */
#templatemo_wrapper.vic-native-offset .vic-seo-heading {
  max-width: 1120px;
  margin: 0 auto 28px;
  padding: 36px 24px 12px;
  text-align: center;
}
#templatemo_wrapper.vic-native-offset .vic-seo-heading h1 {
  color: #064494;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.15;
  margin: 0 0 14px;
}
#templatemo_wrapper.vic-native-offset .vic-seo-heading p {
  color: #27364a;
  font-size: 18px;
  line-height: 1.55;
  max-width: 840px;
  margin: 0 auto;
  text-align: center;
}

/* Evita que el badge visible de reCAPTCHA se encime con WhatsApp. */
.grecaptcha-badge {
  left: 16px !important;
  right: auto !important;
  bottom: 16px !important;
  z-index: 9998 !important;
}
@media (max-width: 575px) {
  .grecaptcha-badge {
    left: 8px !important;
    bottom: 8px !important;
    transform: scale(.86);
    transform-origin: left bottom;
  }
}

/* Fichas GEO/LLMO de preguntas frecuentes por servicio. */
.vic-geo-faq {
  background: #f5f7f9;
  padding: 56px 20px;
}
.vic-geo-faq .container {
  max-width: 1120px;
  margin: 0 auto;
}
.vic-geo-faq h2 {
  color: #1f2d3d;
  font-size: 30px;
  line-height: 1.2;
  margin: 0 0 28px;
  text-align: center;
}
.vic-geo-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}
.vic-geo-card {
  background: #ffffff;
  border: 1px solid #dfe5ea;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(20, 35, 50, .07);
  padding: 22px;
}
.vic-geo-card h3 {
  color: #1f2d3d;
  font-size: 19px;
  line-height: 1.25;
  margin: 0 0 10px;
}
.vic-geo-card p {
  color: #4b5560;
  font-size: 16px;
  line-height: 1.55;
  margin: 0;
  text-align: left;
}
.vic-geo-cta {
  margin: 28px 0 0;
  text-align: center;
}
.vic-geo-cta a {
  display: inline-block;
  background: #d62828;
  color: #ffffff;
  border-radius: 6px;
  padding: 13px 24px;
  font-weight: 800;
  text-decoration: none;
}
@media (max-width: 900px) {
  .vic-geo-grid {
    grid-template-columns: 1fr;
  }
  .vic-geo-faq {
    padding: 42px 16px;
  }
  .vic-geo-faq h2 {
    font-size: 25px;
  }
}

