@media (max-width: 575.98px) {

  /* SERVICIOS: una fila por servicio */
  #Mod178 .acm-teams > .row {
    row-gap: 12px;
  }

  #Mod178 .acm-teams > .row > div {
    flex: 0 0 100%;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0 12px;
  }

  #Mod178 .teams-item,
  #Mod178 .teams-item-inner {
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
  }

  #Mod178 .teams-item-inner {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 !important;
  }

  #Mod178 .teams-item-inner::after {
    display: none;
  }

  #Mod178 .teams-item-inner > a {
    flex: 0 0 80px;
    width: 80px;
  }

  #Mod178 .teams-img {
    width: 80px;
    height: 80px;
    margin: 0;
  }

  #Mod178 .teams-img img {
    display: block;
    width: 80px;
    max-width: 100%;
    height: 80px;
    object-fit: contain;
  }

  #Mod178 .teams-text {
    flex: 1;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    text-align: left;
    background: #07549a;
    border-radius: 8px;
  }

  #Mod178 .teams-text h4 {
    width: 100%;
    margin: 0;
    font-size: 16px;
    line-height: 1.3;
  }

  #Mod178 .teams-text h4 a {
    display: flex;
    align-items: center;
    min-height: 64px;
    padding: 12px;
    color: #fff !important;
    font-weight: 600;
  }

  /* ASEGURADORAS: dos columnas */
  #Mod278 .custom > p:first-child {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: center;
    justify-items: center;
    gap: 16px;
    margin: 0;
  }

  #Mod278 .custom > p:first-child > img {
    display: block;
    width: 100%;
    max-width: 160px;
    height: auto;
    margin: 0 !important;
    object-fit: contain;
  }

  /* Última aseguradora centrada */
  #Mod278 .custom > p:first-child > img:last-child:nth-child(odd) {
    grid-column: 1 / -1;
    width: calc((100% - 16px) / 2);
    max-width: 160px;
    justify-self: center;
  }
}
/* Espacio después de los servicios en celular */
@media (max-width: 575.98px) {
  #Mod178 {
    margin-bottom: 48px !important;
  }
}
/* Tamaño del botón únicamente en celular */
@media (max-width: 575.98px) {
  #t4-header .t4-header-r .con-solicitar-citas {
    font-size: 14px !important;
    padding: 10px 12px !important;
    min-height: 44px !important;
    white-space: nowrap !important;
  }
}
/* CON · Micrositio de contacto */

body:has(#con-conecta) {
  background: #eef7fc;
}

body:has(#con-conecta) #t4-top-bar,
body:has(#con-conecta) #t4-header,
body:has(#con-conecta) #t4-masthead,
body:has(#con-conecta) #t4-footer-info,
body:has(#con-conecta) #t4-footer {
  display: none !important;
}

body:has(#con-conecta) #t4-main-body {
  padding: 0 !important;
  background: #eef7fc;
}

body:has(#con-conecta) #t4-main-body .article-aside,
body:has(#con-conecta) #t4-main-body .page-header,
body:has(#con-conecta) #t4-main-body .item-tags {
  display: none !important;
}

body:has(#con-conecta) #t4-main-body .article-body {
  margin: 0 !important;
  padding: 0 !important;
}

#con-conecta,
#con-conecta * {
  box-sizing: border-box;
}

#con-conecta {
  --con-blue: #07549A;
  --con-sky: #e8f4fb;
  --con-border: #cfe3f0;
  max-width: 620px;
  margin: 0 auto;
  padding: 32px 16px 40px;
  color: var(--con-blue);
  font-family: Arial, sans-serif;
  font-size: 16px;
  line-height: 1.4;
}

#con-conecta .con-card {
  overflow: hidden;
  border: 1px solid var(--con-border);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 12px 36px rgba(7,84,154,.08);
}

#con-conecta .con-banner {
  background: var(--con-sky);
}

#con-conecta .con-banner img {
  display: block;
  width: 100%;
  height: auto;
  margin: 0;
  border: 0;
  border-radius: 0;
}

#con-conecta .con-brand {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 174px;
  min-height: 86px;
  margin: -30px auto 0;
  padding: 14px 20px;
  background: #fff;
  border: 1px solid var(--con-border);
  border-radius: 16px;
  box-shadow: 0 5px 16px rgba(7,84,154,.06);
}

#con-conecta .con-brand img {
  display: block;
  width: 100%;
  height: auto;
  max-height: 68px;
  object-fit: contain;
  margin: 0;
}

#con-conecta .con-body {
  padding: 18px 24px 24px;
}

#con-conecta .con-intro {
  text-align: center;
  margin: 0 0 22px;
}

#con-conecta .con-intro h1 {
  font: 700 23px/1.2 Arial, sans-serif;
  color: var(--con-blue);
  margin: 0 0 6px;
  letter-spacing: -.4px;
}

#con-conecta .con-intro p {
  margin: 0;
  font-size: 15px;
  color: var(--con-blue);
}

#con-conecta .con-actions {
  display: grid;
  gap: 10px;
}

#con-conecta a {
  text-decoration: none !important;
}

#con-conecta .con-link {
  display: flex;
  align-items: center;
  gap: 14px;
  width: 100%;
  min-height: 76px;
  padding: 15px 17px;
  border: 1px solid var(--con-border);
  border-radius: 13px;
  background: var(--con-sky);
  color: var(--con-blue) !important;
  transition: background .15s ease, box-shadow .15s ease;
}

#con-conecta .con-link-primary {
  background: var(--con-blue);
  border-color: var(--con-blue);
  color: #fff !important;
}

#con-conecta .con-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 25px;
  width: 25px;
  font-size: 24px;
  line-height: 1;
  color: inherit;
}

#con-conecta .con-link-copy {
  display: block;
  flex: 1;
  min-width: 0;
}

#con-conecta .con-link strong {
  display: block;
  margin: 0 0 3px;
  font: 700 17px/1.25 Arial, sans-serif;
  color: inherit;
}

#con-conecta .con-link-copy > span {
  display: block;
  font-size: 13px;
  line-height: 1.3;
  color: inherit;
}

#con-conecta .con-chevron {
  flex: 0 0 auto;
  font: 400 28px/1 Arial, sans-serif;
  color: inherit;
}

#con-conecta .con-link:hover {
  background: #d9edf9;
  box-shadow: 0 3px 10px rgba(7,84,154,.08);
}

#con-conecta .con-link-primary:hover {
  background: var(--con-blue);
}

#con-conecta a:focus-visible {
  outline: 3px solid var(--con-blue);
  outline-offset: 4px;
}

#con-conecta .con-locations {
  margin-top: 25px;
}

#con-conecta h2 {
  margin: 0 0 12px;
  font: 700 18px/1.3 Arial, sans-serif;
  color: var(--con-blue);
}

#con-conecta .con-location {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-top: 10px;
  padding: 16px;
  border: 1px solid var(--con-border);
  border-radius: 13px;
  background: #fff;
  color: var(--con-blue) !important;
}

#con-conecta .con-map-pin {
  flex: 0 0 20px;
  font-size: 21px;
  margin-top: 2px;
}

#con-conecta .con-location > span:last-child {
  display: block;
  min-width: 0;
}

#con-conecta .con-location strong {
  display: block;
  font-size: 16px;
  line-height: 1.3;
  margin: 0 0 5px;
}

#con-conecta .con-location > span > span {
  display: block;
  font-size: 13px;
  line-height: 1.45;
}

#con-conecta .con-location .con-map-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
  margin-top: 9px;
}

#con-conecta .con-location:hover {
  background: var(--con-sky);
}

#con-conecta .con-social {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 8px;
  margin: 18px 0 14px;
}

#con-conecta .con-social a {
  display: inline-flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 9px 8px;
  color: var(--con-blue) !important;
  font-size: 13px;
  font-weight: 600;
}

#con-conecta .con-note {
  margin: 15px 6px 0;
  text-align: center;
  font-size: 12px;
  line-height: 1.4;
  color: var(--con-blue);
}

@media (max-width: 575.98px) {
  #con-conecta {
    padding: 0 0 24px;
  }

  #con-conecta .con-card {
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  #con-conecta .con-body {
    padding: 17px 18px 24px;
  }

  #con-conecta .con-intro h1 {
    font-size: 22px;
  }

  #con-conecta .con-brand {
    width: 154px;
    min-height: 78px;
    margin-top: -26px;
    padding: 12px 18px;
  }

  #con-conecta .con-link {
    padding: 14px;
    gap: 12px;
    min-height: 76px;
  }

  #con-conecta .con-link strong {
    font-size: 16px;
  }

  body:has(#con-conecta) #t4-main-body > .container,
  body:has(#con-conecta) #t4-main-body .t4-main-body > .container {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  #con-conecta .con-link {
    transition: none;
  }
}